arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.23080cs.LG
收藏

归因契约:生成式语言模型的特征归因

The Attribution Contract for Generative Language Models

Guide Labs(Guide实验室)

Giang Nguyen

AI总结:

针对生成式语言模型中特征归因的歧义性,提出归因契约规范,明确归因对象、特征范围、生成过程等要素,并通过自回归和扩散模型案例展示不同契约下的归因效果。

摘要:

特征归因方法承诺识别哪些输入特征对模型输出重要。然而,在生成式语言模型中,首先往往不清楚什么应算作特征。在自回归语言模型中,先前生成的标记既是模型的输出,也是后续预测的输入。在扩散语言模型中,生成通过迭代去噪或去掩码进行,而非固定的从左到右预测,因此局部解释可能针对扩散状态而非下一个标记。我们认为这种模糊性不仅是实现细节,而是将分类器时代的特征归因直接带入生成式语言建模的概念局限。我们引入归因契约,这是一种特征归因声明的规范,它命名了被解释的输出、有资格获得归因的特征、假定的生成过程、保持不变的内容以及被归因的模型分数。该契约澄清了为什么相同的归因方法可以根据其实例化方式回答不同的问题。我们认为,生成式语言模型中关于特征归因的许多分歧并非关于归因算法的分歧,而是关于未明确说明的解释契约的分歧。以自回归和扩散语言模型为案例研究,我们展示了何时对先前生成的标记、中间状态或去噪阶段的归因是有信息的,何时是误导的,以及为什么生成式语言模型中的特征归因方法应作为方法-契约对进行评估。

英文摘要:

Feature attribution scores each part of an input by how much it explains a model's output. We argue that in generative language models these scores carry no fixed meaning. A classifier has a single output to explain, but a generative model produces its output token by token, and each generated token is both an output and an input, so explaining the output becomes several distinct questions. We support this claim by proposing the Attribution Contract, a framework that names the question a set of attribution scores answers. A contract specifies the model score being explained, what is held fixed, the target output, the generation process, and which features can receive attribution, choices that matter in practice. For example, eligible features decide what a score explains: under a local next-token contract, the model's own generated tokens receive $29\%$ of the attribution mass, comparable to the $25\%$ on the input question, and reading this as a prompt-level explanation is a mistake we name the self-attribution fallacy. The generative process also shapes feature attribution: on a mixture-of-experts model, Integrated Gradients completeness is unreliable, since recomputing expert routing along the attribution path leaves a large residual that holding the routing fixed substantially lowers, while a masked-diffusion model, which fixes its choices at generation, has a residual that instead decreases with more steps. These results show that Attribution Contracts should be carefully specified when proposing and evaluating attribution methods for generative language models, since the meaning and evaluation of an attribution depend on its explanatory setting.

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

↑