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

Xiao Feng, Bo Han, Zhanke Zhou, Jiaqi Fan, Jiangchao Yao +3 more
3/19/2026
cs.AIcs.CLcs.LG

Official code: tmlr-group/RewardFlow (13 stars, Apache-2.0, last commit 2026-03-23).

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[arXiv:2603.18859] "RewardFlow: Topology-Aware Reward Propagation on State Graphs for Agentic RL with Large Language Models"

130C, CSSFeb 12, 20267 months agoApache-2.0

Similar Papers

Cite this paper

@article{feng2026rewardflow,
  title  = {RewardFlow: Topology-Aware Reward Propagation on State Graphs for Agentic RL with Large Language Models},
  author = {Xiao Feng and Bo Han and Zhanke Zhou and Jiaqi Fan and Jiangchao Yao and Ka Ho Li and Dahai Yu and Michael Kwok-Po Ng},
  year   = {2026},
  eprint = {2603.18859},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.18859v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.18859.svg)](https://codeofpaper.com/paper/2603.18859)

Discussion