AI Navigate

RewardFlow: Topology-Aware Reward Propagation on State Graphs for Agentic RL with Large Language Models

arXiv cs.AI / 3/20/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • RewardFlow is a lightweight method for estimating state-level rewards by constructing state graphs from reasoning trajectories and applying topology-aware propagation to quantify each state's contribution.
  • It tackles sparse terminal rewards and lowers the computational burden of reward-model training, enabling more efficient state-level optimization.
  • When used as dense rewards in reinforcement learning, RewardFlow substantially outperforms prior baselines across four agentic reasoning benchmarks, showing improved performance and robustness.
  • The authors have released an open-source implementation at the linked GitHub repository.

Abstract

Reinforcement learning (RL) holds significant promise for enhancing the agentic reasoning capabilities of large language models (LLMs) with external environments. However, the inherent sparsity of terminal rewards hinders fine-grained, state-level optimization. Although process reward modeling offers a promising alternative, training dedicated reward models often entails substantial computational costs and scaling difficulties. To address these challenges, we introduce RewardFlow, a lightweight method for estimating state-level rewards tailored to agentic reasoning tasks. RewardFlow leverages the intrinsic topological structure of states within reasoning trajectories by constructing state graphs. This enables an analysis of state-wise contributions to success, followed by topology-aware graph propagation to quantify contributions and yield objective, state-level rewards. When integrated as dense rewards for RL optimization, RewardFlow substantially outperforms prior RL baselines across four agentic reasoning benchmarks, demonstrating superior performance, robustness, and training efficiency. The implementation of RewardFlow is publicly available at https://github.com/tmlr-group/RewardFlow.