# RewardFlow: Can Action-Level Reward Be Estimated from State-Graph Topology in Agentic RL?

DevFeed: [RewardFlow: Can Action-Level Reward Be Estimated from State-Graph Topology in Agentic RL?](<https://devfeed.tech/articles/rewardflow-can-action-level-reward-be-estimated-from-state-graph-topology-in-agentic-rl-131894.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2603.18859>)

Author: Xiao Feng, Bo Han, Zhanke Zhou, Jiaqi Fan, Jiangchao Yao, Ka Ho Li, Dahai Yu, Michael Kwok-Po Ng

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Multi-step AI processes](<https://devfeed.tech/topics/multi-step-ai-processes.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [credit-assignment](<https://devfeed.tech/tags/credit-assignment.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [graph](<https://devfeed.tech/tags/graph.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [reward](<https://devfeed.tech/tags/reward.md>), [rl](<https://devfeed.tech/tags/rl.md>), [shortest-path](<https://devfeed.tech/tags/shortest-path.md>), [state](<https://devfeed.tech/tags/state.md>)

## AI overview

RewardFlow estimates action-level rewards by linking trajectories for the same task through shared or semantically similar states. It propagates reward backward from successful states, assigning potentials based on shortest-path distance; actions that reduce that distance receive positive potential-difference rewards. These estimates complement outcome-based trajectory advantages during policy optimization, without a learned process reward model or manual action annotations. The abstract reports gains over RL baselines across ALFWorld, WebShop, Sokoban, and search tasks at multiple model scales. For 3B policies, graph construction and reward estimation take 1.47-2.39 seconds per training step on ALFWorld, WebShop, and Sokoban.

## Source excerpt

arXiv:2603.18859v3 Announce Type: replace Abstract: In agentic tasks such as household assistance and web shopping, large language model (LLM) agents take multiple actions before receiving a final outcome indicating success or failure. For reinforcement learning (RL), this outcome obscures individual actions' contributions: a shopping trajectory may find the right product but fail to complete the purchase. To address this credit-assignment problem, we introduce RewardFlow, which connects multiple trajectories for the same task through shared states (states grouped by task-relevant equivalence or semantic similarity). The resulting directed state graph links observed trajectory segments. Therefore, an action in a failed trajectory may reach a state from which another trajectory succeeds. It propagates reward signals backward from states where the task succeeds, assigning state potentials that decrease with shortest-path distance to success in the graph. Potential differences then reward actions that reduce this distance, bringing the agent closer to success in the graph. These estimated rewards yield action-level advantages that complement trajectory-level advantages from outcome rewards during policy optimization, without a learned process reward model or manual action-level annotations. Experiments on ALFWorld, WebShop, Sokoban, and search tasks show gains over RL baselines across model scales. With 3B policies, graph construction and reward estimation take $1.47$-$2.39$ seconds per training step on ALFWorld, WebShop, and Sokoban (Fig. 1). Code is available at https://github.com/tmlr-group/RewardFlow.