2026-06-10 · 专家 · 自然语言处理 · 机器学习

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

本文提出了一种名为FlowTracer的强化学习框架,通过追踪注意力诱导的信息流来优化大型语言模型中的目标强化学习。

更新于 2026-08-14。作者:Zhichen Dong、Yang Li、Yuhan Sun、Weixun Wang、Yijia Luo、Zinian Peng、Taiheng Ye、Chao Yang、Wenbo Su、Yu Cheng、Bo Zheng、Junchi Yan。

中文摘要

在大型语言模型(LLMs)中,基于强化学习(RL)的信用分配在分词级别上仍然是一个关键障碍。通常,RL方法对待所有分词一视同仁,无法区分关键的推理步骤与常规的格式化或流畅的填充内容。最近的研究尝试利用模型内部的信号来分配更细粒度的信用,但这些方法通常只是点状的启发式算法,忽略了信息传播的全球结构。我们提出了FlowTracer,这是一个RL框架,它在一个由注意力诱导的有向无环图上追踪针对答案的推理流程,图中节点对应于分词,边容量来自聚合的注意力权重,并从这种全局结构中推导出分词信用。边容量被重新加权,仅保留能够到达答案区域的影响,同时强制执行局部流量守恒,以确保中间分词不会因为路径长度或不相关的分支而损失或获得有效质量。在这个图上,FlowTracer提取了一条信息流主干,将问题与答案连接起来,并通过流量吞吐量对分词进行评分,揭示了具有高影响力的中心节点和调节长距离依赖的聚合检查点。这些推导出的重要性被用来塑造分词级别的奖励,使学习信号能够精确地集中在将信息路由到(或远离)正确答案的分词上,并在各种推理任务上实现一致的性能提升。

英文摘要

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 model-internal 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.

解读

一句话总结

本文提出了一种名为FlowTracer的强化学习框架,通过追踪注意力诱导的信息流来优化大型语言模型中的目标强化学习。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt