帮助的诅咒:通过 DistractionIF 在干扰指令鲁棒性中的逆缩放定律
The Curse of Helpfulness: Inverse Scaling Law in Robustness to Distractor Instructions via DistractionIF
AI总结:
提出 DistractionIF 基准,发现大语言模型在参考文本中干扰指令的鲁棒性存在逆缩放现象,并通过 GRPO 强化学习提升鲁棒性。
摘要:
大型语言模型(LLMs)越来越多地部署在智能体和检索增强生成(RAG)系统中,在这些系统中,它们必须对外部提供的参考文本执行用户指定的任务。实际上,这种上下文通常是非结构化的,并且包含良性的但类似指令的语义噪声,例如编辑评论和系统痕迹,这些应严格视为数据。我们引入了 DistractionIF,这是一个旨在评估对参考文本中此类干扰指令鲁棒性的基准。在广泛模型范围内,我们观察到一致的逆缩放现象:较大的模型通常鲁棒性较差,随着规模增加,性能下降多达 30 个百分点。从机制上讲,我们的困惑度分析表明,缩放侵蚀了鲁棒和受干扰行为之间的概率边界,使模型越来越倾向于将噪声过度解释为指令。为了解决这个问题,我们证明了强化学习,特别是群体相对策略优化(GRPO),可以恢复这一边界,在不损害通用指令遵循能力的情况下,将鲁棒性提高多达 15.5%。我们的发现突显了参考接地任务中关键的指令遵循鲁棒性差距,并确立了强化学习作为在大规模下强制严格数据-指令分离的有前途的途径。
英文摘要:
Large Language Models (LLMs) are increasingly deployed in agentic and retrieval-augmented generation (RAG) systems, where they must execute user-specified tasks over externally provided reference text. In practice, such context is often unstructured and contaminated with benign but instruction-like semantic noise, such as editorial comments and system traces, which should be treated strictly as data. We introduce DistractionIF, a benchmark designed to evaluate robustness against such distractor instructions in reference text. Across a broad range of models, we observe a consistent inverse scaling phenomenon: larger models are often less robust, with performance dropping by up to 30 points as scale increases. Mechanistically, our perplexity analysis reveals that scaling erodes the probabilistic boundary between robust and distracted behaviors, making models increasingly prone to over-interpreting noise as instructions. To address this, we demonstrate that reinforcement learning, specifically Group Relative Policy Optimization (GRPO), can restore this boundary, improving robustness by up to 15.5% without compromising general instruction-following capability. Our findings highlight a critical instruction-following robustness gap in reference-grounded tasks and establish reinforcement learning as a promising path for enforcing strict data-instruction separation at scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。