狗追猫的猫让模型困惑:衡量语言模型何时放弃结构分析而采用捷径
The Dog the Cat Chased Stumped the Model: Measuring When Language Models Abandon Structure for Shortcuts
AI总结:
本文提出CenterBench数据集,用于衡量语言模型在处理中心嵌套句子时何时从结构分析转向语义捷径,揭示模型在复杂性增加时性能差距扩大及人类与模型的差异。
摘要:
当语言模型正确解析“那只被狗追的猫喵叫了”时,它们是分析语法还是仅仅熟悉狗追猫的情景?尽管进行了广泛的基准测试,我们缺乏区分结构理解与语义模式匹配的方法。我们引入了CenterBench,这是一个包含9720个关于中心嵌套句子(如“那只被狗追的猫喵叫了”)的问答数据集,其中从句递归嵌套,产生从简单到深度嵌套的处理需求。每个句子都有一个在语法上相同但语义不合理的对应句(例如,邮递员开处方,医生送邮件),并有六个问答测试表面理解、语法依赖和因果推理。测试六个模型发现,合理与不合理句子之间的性能差距随着复杂性增加而系统性扩大,模型的中位差距高达26.8个百分点,量化了它们何时放弃结构分析而采用语义关联。值得注意的是,语义合理性对涉及结果动作的问题有负面影响,其中遵循因果关系比语义一致性更重要。推理模型提高了准确性,但其痕迹显示语义捷径、过度思考和拒绝回答。与那些合理性优势随着复杂性增加而扩大模型不同,人类显示出语义效果的波动。CenterBench提供了第一个框架,用于识别模型何时从结构分析转向模式匹配。
英文摘要:
When language models correctly parse "The cat that the dog chased meowed," are they analyzing syntax or simply familiar with dogs chasing cats? Despite extensive benchmarking, we lack methods to distinguish structural understanding from semantic pattern matching. We introduce CenterBench, a dataset of 9,720 comprehension questions on center-embedded sentences (like "The cat [that the dog chased] meowed") where relative clauses nest recursively, creating processing demands from simple to deeply nested structures. Each sentence has a syntactically identical but semantically implausible counterpart (e.g., mailmen prescribe medicine, doctors deliver mail) and six comprehension questions testing surface understanding, syntactic dependencies, and causal reasoning. Testing six models reveals that performance gaps between plausible and implausible sentences widen systematically with complexity, with models showing median gaps up to 26.8 percentage points, quantifying when they abandon structural analysis for semantic associations. Notably, semantic plausibility harms performance on questions about resulting actions, where following causal relationships matters more than semantic coherence. Reasoning models improve accuracy but their traces show semantic shortcuts, overthinking, and answer refusal. Unlike models whose plausibility advantage systematically widens with complexity, humans shows variable semantic effects. CenterBench provides the first framework to identify when models shift from structural analysis to pattern matching.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。