SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper ยท 2606.10646 ยท ICML ยท 2026

How Does Reasoning Flow? Tracing Attention-Induced Information Flow for Targeted RL in LLMs

Weixun Wang, Junchi Yan, Yang Li, Bo Zheng, Chao Yang, Zhichen Dong, Yijia Luo, Wenbo Su, Yuhan Sun, Zinian Peng, Taiheng Ye, ! ๐‘“๐‘™๐‘œ๐‘ค !" = ! ๐‘“๐‘™๐‘œ๐‘ค #$%

arXiv ยท PDF ยท Open in the Atlas

Code that ran

We lifted 10 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
Jiayi-Pan/TinyZero canonical 5 of 10
FunctionStatusWhere it lives
create_huggingface_actor Ran Jiayi-Pan/TinyZero/verl/utils/model.py
code served (permissive licence) ยท get_code("360c671d6041ba3b")
extract_step Ran Jiayi-Pan/TinyZero/verl/trainer/fsdp_sft_trainer.py
code served (permissive licence) ยท get_code("216e28c040173a61")
get_kl_controller Ran Jiayi-Pan/TinyZero/verl/trainer/ppo/core_algos.py
code served (permissive licence) ยท get_code("45d08b3300b3da88")
is_transformers_version_in_range Ran Jiayi-Pan/TinyZero/verl/models/transformers/monkey_patch.py
code served (permissive licence) ยท get_code("42a7954a8cfa89e0")
unpad_dataproto Ran Jiayi-Pan/TinyZero/verl/protocol.py
code served (permissive licence) ยท get_code("25f0ea3f460f6ce1")
apply_monkey_patch Not yet run Jiayi-Pan/TinyZero/verl/models/transformers/monkey_patch.py
code served (permissive licence) ยท get_code("1fb4adb621eefddc")
compute_grpo_outcome_advantage Not yet run Jiayi-Pan/TinyZero/verl/trainer/ppo/core_algos.py
code served (permissive licence) ยท get_code("e25af267f6e0b9e8")
get_huggingface_actor_config Not yet run Jiayi-Pan/TinyZero/verl/utils/model.py
code served (permissive licence) ยท get_code("19472d4343d0a082")
get_weight_loader Not yet run Jiayi-Pan/TinyZero/verl/models/weight_loader_registry.py
code served (permissive licence) ยท get_code("919cf310ad4c189a")
squeeze Not yet run Jiayi-Pan/TinyZero/verl/utils/model.py
code served (permissive licence) ยท get_code("3b15e2ac7497c441")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Token-level credit assignment remains a key obstacle for reinforcement learning (RL) in large language models (LLMs), where RL recipes typically treat all tokens equally, failing to distinguish decisive reasoning steps from routine formatting or fluent filler. Recent attempts leverage modelinternal signals to assign finer-grained credit, but these are often point-wise heuristics that ignore the global structure of information propagation. We propose FlowTracer, an RL framework that traces answer-targeted reasoning flow on an attention-induced directed acyclic graph in which nodes correspond to tokens and edge capacities come from aggregated attention weights and derives token credit from this global structure. The edge capacities are reweighted to retain only the influence that can reach the answer region, while enforcing local flow conservation so intermediate tokens neither lose nor gain effective mass due to path length or irrelevant branches. On this graph, FlowTracer extracts an information-flow backbone connecting the question to the answer and scores tokens by flow throughput, revealing high-impact hubs and aggregation checkpoints that mediate long-range dependencies. These derived importances are used to shape token-level rewards, enabling learning signals to focus precisely on the tokens that route information toward (or away from) correct answers and delivering consistent performance gains across a range of reasoning tasks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2606.10646")
get_code_for_paper("2606.10646")
have("2606.10646")

Connect an agent โ€” have() is free.