arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.01914cs.LG
收藏

面向长程可解释性:高效且忠实的多Token归因用于推理大语言模型

Towards Long-Horizon Interpretability: Efficient and Faithful Multi-Token Attribution for Reasoning LLMs

Department of Computer Science, City University of Hong Kong, Hong Kong SAR, China(香港城市大学计算机科学系);Harbin Institute of Technology, Harbin, China(哈尔滨工业大学)

Wenbo Pan, Zhichao Liu, Xianlong Wang, Haining Yu, Xiaohua Jia

AI总结:

提出FlashTrace方法,通过跨跨度聚合和递归归因机制,在长上下文推理中实现高效且忠实的多Token归因,速度提升超130倍。

摘要:

Token归因方法通过识别因果重要的输入Token为语言模型输出提供直观解释。然而,随着现代LLM越来越依赖扩展的推理链,现有方案面临两个关键挑战:(1)效率瓶颈,在长度为N的上下文中归因M个Token的目标跨度需要O(M*N)次操作,使得长上下文归因极其缓慢;(2)忠实度下降,中间推理Token吸收归因质量,阻止重要性传播回原始输入。为解决这些问题,我们引入FlashTrace,一种高效的多Token归因方法,它采用跨跨度聚合在单次传递中计算多Token目标的归因,同时保持忠实度。此外,我们设计了一种递归归因机制,通过中间推理链将重要性追溯回源输入。在长上下文检索(RULER)和多步推理(MATH、MorehopQA)任务上的大量实验表明,FlashTrace在保持优越忠实度的同时,比现有基线实现了超过130倍的加速。我们进一步分析了递归归因的动态特性,表明即使单次递归跳跃也能通过沿推理链追溯重要性来提高忠实度。

英文摘要:

Token attribution methods provide intuitive explanations for language model outputs by identifying causally important input tokens. However, as modern LLMs increasingly rely on extended reasoning chains, existing schemes face two critical challenges: (1) efficiency bottleneck, where attributing a target span of M tokens within a context of length N requires O(M*N) operations, making long-context attribution prohibitively slow; and (2) faithfulness drop, where intermediate reasoning tokens absorb attribution mass, preventing importance from propagating back to the original input. To address these, we introduce FlashTrace, an efficient multi-token attribution method that employs span-wise aggregation to compute attribution over multi-token targets in a single pass, while maintaining faithfulness. Moreover, we design a recursive attribution mechanism that traces importance through intermediate reasoning chains back to source inputs. Extensive experiments on long-context retrieval (RULER) and multi-step reasoning (MATH, MorehopQA) tasks demonstrate that FlashTrace achieves over 130x speedup over existing baselines while maintaining superior faithfulness. We further analyze the dynamics of recursive attribution, showing that even a single recursive hop improves faithfulness by tracing importance through the reasoning chain.

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

↑