aifollow.news
返回 Rohan Paul
Rohan Paul· @rohanpaul_ai · X· · 原发布时间 AI 评分54

Nvidia 等实验室研究发现无关文本会削弱模型利用问题的能力

AI 导读

一篇来自 Nvidia 等实验室的论文指出,检索或长上下文中的无关文本,主要通过削弱模型对问题的利用来影响回答。研究在 7B 规模模型的四项任务中,屏蔽约 10 个特定注意力头后,平均挽回了干扰文本造成的 57% 准确率损失;这一方法需要针对具体模型确定这些注意力头。

原帖引用 · 原文

@rohanpaul_ai

New Nvidia + other labs paper shows that irrelevant text hurts mainly by weakening the model's use of the question, not by directly pushing against the right answer.

Prompts in RAG, tool use, and long-context apps often carry text that has nothing to do with the question. Even a line like "Computers are useful" lowers a model's support for the right answer.

They traced this inside open models and found intrusion heads, a small set of attention heads that read the unrelated text and weaken the answer. Masking those heads' attention to the context leaves the heads that use helpful evidence untouched.

Across 4 tasks on 7B-scale models, masking about 10 heads recovered 57% of the accuracy lost to distractors on average. An oracle fix that needs a matching clean run recovered 97.6%.

If you serve open-weight models with noisy retrieved context, a training-free mask on a few model-specific heads can win back much of the lost accuracy.

来源:Rohan Paul · x.com

论文
发现内容有误?提交纠错