arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.15393cs.LG
收藏

LPDS:通过逻辑保持难度扩展评估LLM鲁棒性

LPDS: Evaluating LLM Robustness Through Logic-Preserving Difficulty Scaling

FAIR at Meta(Meta 的 FAIR 部门);Munich Center for Machine Learning(慕尼黑机器学习中心)

Philipp Mondorf, Samuel J. Bell, Jesse Dodge, Dieuwke Hupkes

AI总结:

本文提出LPDS框架,通过系统搜索逻辑保持变化来评估LLM鲁棒性,发现难度增加导致性能下降,且微调困难变体能获得更一致的鲁棒性提升。

摘要:

随着大型语言模型(LLM)越来越多地用于在最小人为监督下执行任务,确保这些模型运行稳健至关重要。特别是,一个能够解决给定问题的模型不应因某些实体(如名称、数字或其他上下文细节)的变化而失败,而问题逻辑保持不变。先前研究表明,当前LLM仍难以处理这种鲁棒性:它们在某些问题变体上成功,但在其他变体上失败。然而,现有评估缺乏系统方法来识别最可能引发失败的逻辑保持变体。相反,它们通常测试允许变体的随机子集,这可能高估鲁棒性。为解决这一差距,我们引入了逻辑保持难度扩展(LPDS),一个框架,它(i)量化问题变体的难度,并(ii)系统搜索允许变体的空间以找到那些最大化难度并暴露失败的变体。我们显示,随着难度增加,性能下降,且模型推理链中的错误变得更加明显。我们进一步证明,LPDS高效地找到困难问题变体,导致性能下降幅度比随机采样大5倍。最后,我们证明在更多困难变体上微调比在更容易的变体上微调能获得更一致的鲁棒性提升。

英文摘要:

As large language models (LLMs) are increasingly deployed to perform tasks with minimal human oversight, it is crucial that these models operate robustly. In particular, a model that can solve a given problem should not fail simply because certain entities$\unicode{x2013}$such as names, numbers, or other contextual details$\unicode{x2013}$have changed while the underlying problem logic remains the same. Prior work suggests that current LLMs still struggle with this form of robustness: they often succeed on some variations of a problem but fail on others. However, existing evaluations often lack a systematic way to identify which logic-preserving variations are most likely to induce failure. Instead, they typically test a random subset of allowable variations, which can overstate robustness. To address this gap, we introduce logic-preserving difficulty scaling (LPDS), a framework that (i) quantifies the difficulty of a problem variation and (ii) systematically searches the space of allowable variations to find those that maximize difficulty and expose failures. We show that as difficulty increases, performance declines and errors in the models' reasoning chains become more pronounced. We further demonstrate that LPDS efficiently finds difficult problem variations for a model, resulting in performance drops up to 5 times larger compared to random sampling. Finally, we show that fine-tuning on more difficult variations leads to more consistent robustness gains than training on easier ones.

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

↑