LLM 代理何时对表面噪声与语义噪声做出不同处理?一项基于 68 个单元格的测量研究及留出轨迹级验证
AgentDiff: Meaning-Bearing Rewrites Trigger Deeper Divergence than Presentation Changes in LLM Agents
AI总结:
本研究通过 68 个单元格的测量实验,发现大语言模型驱动的思维链和 ReAct 代理对语义扰动(如释义、同义词)比表现扰动(如格式、重排序)更敏感,并基于留出模型和轨迹级机制分析提出了“隐蔽发散”解释。
摘要:
我们记录了一个经验现象:在来自七个架构家族的十种大语言模型驱动的思维链和 ReAct 代理中,意义承载扰动(例如,释义、同义词)比同等严重程度的表现扰动(例如,格式、重排序)更频繁地改变最终答案。跨越 GSM8K、MATH 和 HotpotQA 的 68 个单元格(1,530 个原始样本和约 11,150 个变体),在严重性匹配后,不一致性差距平均为 +19.69 个百分点(配对 t=9.58,p<0.0001),其中 64/68 个单元格为正。该差距通过了四次严重性代理审计,并且在排除 qwen 模型时仍然显著(+11.10 个百分点,p<0.0001)。几项压力测试诚实地失败了:在更严格的假设下,聚类自助法显著性消失;可处理性对比无法复制;跨架构生成器交换破坏了每个单元格的排名;第二个 LLM 判断器仅产生中等一致性(κ=0.50)。 然后,我们在一个完全留出的第 11 个模型(qwen2.5-14B-Instruct;1,800 条轨迹)上验证了标题效应,并重新测试了一个预先注册的能力×可处理性分区,观察到一个小但正的留出效应(3/4 个单元格为正;合并 Welch t=3.81,p=9.6×10^{-4})。利用留出轨迹,我们探测了四个轨迹级机制信号。两个先前的机制主张未能复制并被明确撤回。两个新的探测反而支持一种“隐蔽发散”图景:语义扰动通常保留第一个动作,但从后续步骤开始导致中间推理发散,并伴随略微更深的轨迹。我们将此定位为一项带有留出复现和部分轨迹级解释的测量贡献,说明语义扰动如何通过代理推理传播。代码、扰动语料库、原始轨迹和分析脚本已匿名发布以供评审。
英文摘要:
LLM agents should respond to what an input means, not how it is presented. We show that they do not treat these two kinds of variation equally. AgentDiff measures the difference between answer changes caused by meaning-bearing rewrites (paraphrase and synonym substitution) and presentation changes (reordering, formatting, and distractors), while matching perturbation severity. Across 68 model--benchmark--scaffold cells spanning ten LLMs from seven architecture families, three benchmarks, 1{,}530 original questions, and approximately 11{,}150 variants, meaning-bearing rewrites produce a $+19.69$ percentage-point higher inconsistency rate (paired $t=9.58$, $p<0.0001$; 64/68 cells positive). The result is stable under four severity proxies ($+18.9$ to $+20.9$~pp, all $p<0.0001$) and remains $+11.10$~pp on the 48 cells outside the qwen family. A fully held-out qwen2.5-14B-Instruct evaluation then tests the structure of this effect on 1{,}800 new trajectories: the pre-registered capable-and-tractable partition is positive in 3/4 held-out cells and remains sharply separated after pooling (Welch $t=3.81$, $p=9.6\!\times\!10^{-4}$). Trace analysis explains how the difference propagates. Meaning-bearing rewrites preserve the first action but reduce thought similarity from step 2 onward by $5.6$--$10.5$ points and extend the resulting cascade by $0.17$ steps (paired $t=7.69$, $p=2.5\!\times\!10^{-14}$), a pattern we call \emph{stealth divergence}. AgentDiff therefore establishes a reproducible directional robustness gap, identifies the regime in which it is most reliable, and connects final-answer inconsistency to a distinct trajectory-level signature. Code, perturbations, trajectories, and analysis scripts are released for review at https://anonymous.4open.science/r/agentdiff-emnlp-0BB4/
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。