不要只看封面判断一本书:测试LLMs在逻辑混淆下的鲁棒性
Don't Judge a Book by its Cover: Testing LLMs' Robustness Under Logical Obfuscation
AI总结:
本研究提出Logifus框架和LogiQAte基准,测试LLMs在逻辑混淆下的鲁棒性,发现混淆显著降低模型性能,揭示当前LLMs缺乏深度理解。
摘要:
像解决算术方程、评估真值表和完成三段论这样的任务,大型语言模型(LLMs)在标准形式下表现良好,但当同样的问题以逻辑等价但混淆的形式提出时,它们往往会失败。为了研究这种漏洞,我们引入了Logifus,一个结构保持的逻辑混淆框架,并利用该框架提出了LogiQAte,一个首个此类诊断基准,包含1108个问题,涵盖四个推理任务:(i)Obfus FOL(在等价重写下的一阶逻辑蕴含),(ii)Obfus Blood Relation(在间接关系链下的家庭图蕴含),(iii)Obfus Number Series(在符号替换下的模式归纳),以及(iv)Obfus Direction Sense(在改变方向和参考系下的导航推理)。在所有任务中,评估六个最先进的模型,我们发现混淆严重地降低了零样本性能,GPT-4o的性能平均下降了47%,GPT-5下降了27%,推理模型o4-mini下降了22%。我们的发现表明,当前LLMs在解析问题时缺乏深度理解,突显了构建真正理解和保持意义超越表面形式的模型的紧迫性。
英文摘要:
Tasks such as solving arithmetic equations, evaluating truth tables, and completing syllogisms are handled well by large language models (LLMs) in their standard form, but they often fail when the same problems are posed in logically equivalent yet obfuscated formats. To study this vulnerability, we introduce Logifus, a structure-preserving logical obfuscation framework, and, utilizing this, we present LogiQAte, a first-of-its-kind diagnostic benchmark with 1,108 questions across four reasoning tasks: (i) Obfus FOL (first-order logic entailment under equivalence-preserving rewrites), (ii) Obfus Blood Relation (family-graph entailment under indirect relational chains), (iii) Obfus Number Series (pattern induction under symbolic substitutions), and (iv) Obfus Direction Sense (navigation reasoning under altered directions and reference frames). Across all the tasks, evaluating six state-of-the-art models, we find that obfuscation severely degrades zero-shot performance, with performance dropping on average by 47% for GPT-4o, 27% for GPT-5, and 22% for reasoning model, o4-mini. Our findings reveal that current LLMs parse questions without deep understanding, highlighting the urgency of building models that genuinely comprehend and preserve meaning beyond surface form.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。