arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.10646cs.LGcs.CL
收藏

推理流如何流动?追踪注意力诱导的信息流以实现LLM中的目标RL

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

Shanghai Jiao Tong University(上海交通大学);Alibaba Group(阿里巴巴集团);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Zhichen Dong, Yang Li, Yuhan Sun, Weixun Wang, Yijia Luo, Zinian Peng, Taiheng Ye, Chao Yang, Wenbo Su, Yu Cheng, Bo Zheng, Junchi Yan

AI总结:

提出FlowTracer框架,通过注意力诱导的有向无环图追踪答案导向的推理流,基于全局信息流结构分配token级信用,从而提升LLM在推理任务中的强化学习效果。

摘要:

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

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑