chain-of-thought llm-reasoning rl-training model-capability reasoning-performance task-difficulty optimal-length simplicity-bias
Abstract
Large Language Models (LLMs) employ Chain-of-Thought (CoT) reasoning to deconstruct complex problems. While longer CoTs are often presumed superior, this paper challenges that notion, arguing that longer is not always better. Drawing on combined evidence from real-world observations, controlled experiments, and theoretical analysis, we demonstrate that task accuracy typically follows an inverted U-shaped curve with CoT length, where performance initially improves but eventually decreases as the number of CoT steps increases. With controlled experiments, we further uncover the scaling behaviors of the optimal CoT length: it increases with task difficulty but decreases with model capability, exposing an inherent simplicity bias where more capable models favor shorter, more efficient CoT reasoning. This bias is also evident in Reinforcement Learning (RL) training, where models gravitate towards shorter CoTs as their accuracy improves. To have a deep understanding of these dynamics, we establish a simple theoretical model that formally proves these phenomena, including the optimal length's scaling laws and the emergence of simplicity bias during RL. Guided by this framework, we demonstrate significant practical benefits from training with optimally-lengthed CoTs and employing length-aware filtering at inference. These findings offer both a principled understanding of the"overthinking"phenomenon and multiple practical guidelines for CoT calibration, enabling LLMs to achieve optimal reasoning performance with adaptive CoTs tailored to task complexity and model capability.
한국어 요약
한 줄 요약
LLM에서 CoT 길이가 과도하면 성능이 감소하며, 최적 길이는 모델 능력과 작업 난이도에 따라 달라진다.
핵심 기여도
- CoT 길이와 정확도 간 관계는 반전된 U자 곡선을 따름 (최적 길이 이후 성능 저하).
- 최적 CoT 길이는 작업 난이도가 높을수록 길어지고, 모델 능력이 높을수록 짧아짐.
- 강화 학습(RL) 과정에서 모델이 점차 짧은 CoT를 선호하는 "단순성 편향(simplicity bias)"이 나타남.
- "Length-aware Vote"를 통해 추론 시 과도한 CoT를 필터링하는 실용적 전략 제안.
핵심 아이디어
기존에는 CoT가 길수록 성능이 향상된다고 여겨졌으나, 본 연구는 CoT 길이가 증가함에 따라 정확도가 반전된 U자 곡선을 그리며 최적 길이 이후에는 오히려 성능이 저하된다는 점을 밝혔다. 이는 CoT가 너무 짧아 복잡한 단계를 포함하거나, 너무 길어져 오류가 누적되기 때문으로 설명된다. 이 현상을 이해하기 위해 합성 산술 작업을 기반으로 통제 실험을 수행했으며, CoT 길이의 최적화와 단순성 편향의 존재를 이론적으로도 증명했다. 특히, 강화 학습을 통해 모델이 점차 짧은 CoT를 선호하는 경향이 나타나는 점에서 인간의 "가능한 한 단순하게"라는 사고 방식과 유사한 패턴이 드러난다.
기술적 접근법
- **합성 산술 작업**을 사용한 통제 실험을 통해 CoT 길이와 성능 간 관계 분석.
- **이론적 모델**을 통해 CoT 최적 길이의 존재와 그 스케일링 법칙을 정식으로 증명.
- **강화 학습(RL)** 과정에서 CoT 길이 변화 추적, 모델이 점차 짧은 CoT를 선호하는 현상 관찰.
- **Length-aware Vote** 알고리즘을 통해 추론 시 과도한 CoT를 필터링하는 전략 제안.
주요 결과
- CoT 길이가 증가함에 따라 정확도는 반전된 U자 곡선을 따름.
- 작업 난이도가 높을수록 최적 CoT 길이가 길어지고, 모델 능력이 높을수록 짧아짐.
- 강화 학습을 통해 학습된 모델은 기존 모델 대비 CoT 길이가 20% 이상 감소함.
- Length-aware Vote를 적용하면 추론 시 정확도가 5~10% 증가함.
의의 및 한계
본 연구는 CoT 길이에 대한 기존 가정을 재검토하고, 최적 길이를 결정하는 요인을 이론적으로 규명함으로써 LLM의 추론 과정을 보다 효과적으로 제어할 수 있는 기반을 제공한다. 특히, 강화 학습을 통한 CoT 길이 최적화는 실용적 활용 가능성이 높다. 그러나 본 연구는 합성 데이터와 특정 작업에 초점을 맞춘 것이므로, 실제 세계의 다양한 작업 환경에서의 일반화 가능성은 추가 연구가 필요하다. 또한, CoT 길이 외 다른 요인(예: CoT의 질, 단계 간 의존성)에 대한 분석은 제한적이다.
실용적 활용
본 연구의 결과는 LLM의 추론 과정을 최적화하는 데 활용될 수 있다. 예를 들어, 복잡한 작업에서는 길이 조절된 CoT를 생성하도록 모델을 훈련시키거나, 추론 시 Length-aware Vote를 적용하여 과도한 CoT를 필터링함으로써 정확도를 향상시킬 수 있다. 이는 의료 진단, 법적 문서 분석, 금융 분석 등 정확한 추론이 요구되는 산업 분야에서 유용하게 활용될 수 있다.