ZebraLogic: On the Scaling Limits of LLMs for Logical Reasoning

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

arXiv:2502.01100 · 2026-07-27 공개 · arXiv · PDF

llama constraint-satisfaction logical-reasoning deepseek-r1 self-verification llm-scaling zebra-logic non-monotonic-reasoning

Abstract

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.

한국어 요약

한 줄 요약

ZebraLogic은 LLM의 논리적 추론 능력과 확장성을 평가하기 위한 제어 가능한 퍼즐 기반 벤치마크로, 복잡도 증가에 따른 성능 저하 현상을 밝혀낸다.

핵심 기여도

핵심 아이디어

ZebraLogic은 CSP 기반의 논리 그리드 퍼즐을 통해 LLM의 추론 능력을 **정량적이고 제어 가능한 환경**에서 평가한다. 기존 연구는 특정 도메인 지식이나 데이터 누수에 의존했지만, ZebraLogic은 **수학적으로 정의된 CSP**를 기반으로 도메인 독립적 추론을 평가한다. 특히, **Z3 충돌 수**와 **검색 공간 크기**를 복잡도 지표로 사용하여 LLM의 확장 한계를 분석한다. 연구는 LLM이 단순히 모델 크기나 추론 샘플 수를 늘리는 것만으로는 복잡도 저주를 극복할 수 없다는 점을 밝히며, **추론 과정을 명시적으로 학습**하는 방식이 필요하다는 통찰을 제시한다.

기술적 접근법

주요 결과

의의 및 한계

ZebraLogic은 LLM의 논리 추론 능력과 확장성을 정량적으로 평가할 수 있는 **제어 가능한 벤치마크**로, 모델 크기나 샘플 수 증가만으로는 복잡도 저주를 극복할 수 없다는 점을 명확히 밝힌다. 이는 추론 과정을 명시적으로 학습하는 방식, 즉 **강화 학습 기반 추론 모델** 개발의 필요성을 강조한다. 한편, ZebraLogic은 CSP 기반 퍼즐에만 적용되며, 실생활의 다차원 논리 문제를 다루는 데는 한계가 있다. 또한, 자기 검증 프롬프트나 Best-of-N 샘플링의 효과는 제한적이며, **추론 토큰 수 증가**가 모든 문제에 유의미한 개선을 가져오는 것은 아님을 보여준다.

실용적 활용

ZebraLogic은 **작업 계획**, **스케줄링**, **자원 할당** 등 복잡한 논리적 결정이 필요한 산업 분야에서 LLM의 추론 능력을 평가하는 데 활용 가능하다. 또한, **추론 과정을 명시적으로 학습**하는 모델 개발에 있어 실험적 기반을 제공하며, **백트래킹 기반 추론 전략**의 중요성을 실증적으로 입증한다.