arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01100cs.AIcs.CLcs.LG
收藏

ZebraLogic:关于大型语言模型逻辑推理的扩展极限

ZebraLogic: On the Scaling Limits of LLMs for Logical Reasoning

Allen Institute for AI(艾伦人工智能研究所);University of Washington(华盛顿大学);Stanford University(斯坦福大学)

Bill Yuchen Lin, Ronan Le Bras, Kyle Richardson, Ashish Sabharwal, Radha Poovendran, Peter Clark, Yejin Choi

AI总结:

本文提出ZebraLogic评估框架,通过逻辑网格谜题系统研究LLM在复杂非单调推理中的扩展极限,发现模型存在随复杂度增加准确率显著下降的“复杂度诅咒”现象,并探索了Best-of-N采样等改进策略。

摘要:

我们研究了大型语言模型(LLMs)的逻辑推理能力及其在复杂非单调推理中的可扩展性。为此,我们引入了ZebraLogic,这是一个综合评估框架,用于评估LLM在源自约束满足问题(CSPs)的逻辑网格谜题上的推理表现。ZebraLogic能够生成具有可控和可量化复杂度的谜题,从而促进对Llama、o1模型和DeepSeek-R1等模型的扩展极限进行系统研究。通过涵盖广泛的搜索空间复杂度和多样的逻辑约束,ZebraLogic提供了一个结构化的环境,以评估在难度增加情况下的推理能力。我们的结果显示,随着问题复杂度的增加,准确率显著下降——我们将其称为“复杂度诅咒”。即使使用更大的模型和增加的推理时计算量,这一限制仍然存在,这表明当前LLM推理能力存在固有的约束。此外,我们探索了增强逻辑推理的策略,包括Best-of-N采样、回溯机制和自我验证提示。我们的发现为LLM推理的可扩展性提供了关键见解,突出了基本局限性,并概述了潜在的改进方向。

英文摘要:

We investigate the logical reasoning capabilities of large language models (LLMs) and their scalability in complex non-monotonic reasoning. To this end, we introduce ZebraLogic, a comprehensive evaluation framework for assessing LLM reasoning performance on logic grid puzzles derived from constraint satisfaction problems (CSPs). ZebraLogic enables the generation of puzzles with controllable and quantifiable complexity, facilitating a systematic study of the scaling limits of models such as Llama, o1 models, and DeepSeek-R1. By encompassing a broad range of search space complexities and diverse logical constraints, ZebraLogic provides a structured environment to evaluate reasoning under increasing difficulty. Our results reveal a significant decline in accuracy as problem complexity grows -- a phenomenon we term the curse of complexity. This limitation persists even with larger models and increased inference-time computation, suggesting inherent constraints in current LLM reasoning capabilities. Additionally, we explore strategies to enhance logical reasoning, including Best-of-N sampling, backtracking mechanisms, and self-verification prompts. Our findings offer critical insights into the scalability of LLM reasoning, highlight fundamental limitations, and outline potential directions for improvement.

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

↑