用上下文语言识别评估大模型复杂推理能力,发现模型越难越不努力。
RELIC: Evaluating Complex Reasoning via the Recognition of Languages In-Context
- 通过上下文语法生成的语法规则判断字符串归属,控制任务难度。
- 先进模型在复杂任务中表现差,推理令牌数反而随难度下降。
- 模型从算法推理转向猜测,出现‘静默放弃’现象,适合评估推理可靠性。
大型语言模型(LLMs)越来越多地用于需要长链推理、从上下文中检索并组合多个信息片段的复杂任务。对于许多真实场景,难以准确评估模型性能与策略如何随任务复杂度变化。为此,我们提出RELIC(上下文语言识别),一种可扩展且可验证的框架,用于评估LLM判断给定字符串是否属于上下文提供的语法所生成的上下文无关语言(CFL)的能力。通过调整语法规模和字符串长度,可调节问题的内在复杂度,并将这种渐近复杂度转化为理想LLM性能的预测。实验发现,即使最先进的推理模型在RELIC上表现不佳,不仅未能按任务难度相应增加推理计算量,甚至在复杂度上升时减少使用推理令牌。这种计算量下降伴随着推理策略的变化:模型从识别并实现算法解法转向随机猜测。对于完整输出未被检查的模型,这表现为在高难度任务上的‘静默放弃’。
原文摘要 · Abstract (English)
Large language models (LLMs) are increasingly used to solve complex tasks where they must retrieve and compose many pieces of in-context information in long reasoning chains. For many real-world tasks it is hard to accurately gauge how model performance and strategy change as task complexity grows. To evaluate models' complex reasoning capability in a scalable and verifiable way, we introduce RELIC (Recognition of Languages In-Context), a framework that evaluates an LLM's ability to decide whether a given string belongs to the context-free language (CFL) generated by a grammar presented in-context. CFL recognition allows us to modulate the intrinsic complexity of the problem by varying grammar size and string length and translate this asymptotic complexity into predictions for ideal LLM performance. We find that even the most advanced reasoning models perform poorly on RELIC, not only failing to appropriately scale their inference compute to keep pace with task difficulty, but even reducing the number of reasoning tokens they use as task complexity increases. We find that these decreases in compute accompany changes in reasoning strategy, as models move from identifying and implementing algorithmic solutions to guessing. For models whose full completions go uninspected, this manifests as ``quiet quitting'' on hard tasks.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。