SHAPE of Chain-of-Thought in Math Reasoning

Jonghyun Song, Sangjun Song, Minjae Oh, Haesung Pyun, Sungsik Lee, Yohan Jo

arXiv:2608.28600 · 2026-09-01 공개 · arXiv · PDF

reinforcement-learning llm-evaluation chain-of-thought math-reasoning llm-post-training model-diagnosis semantic-spaces heuristics

Abstract

Large language models (LLMs) achieve strong performance on mathematical reasoning benchmarks, yet the mathematically meaningful skills underlying their reasoning remain underexplored. We introduce SHAPE, a framework that analyzes Chain-of-Thought (CoT) trajectories through two lenses developed in mathematics education: (1) semantic spaces: the model's evolving mathematical interpretations of a problem (e.g., algebraic, geometric), and (2) heuristics: the specific mathematical actions taken within those spaces (e.g., simplifying the problem, working backward). We first use SHAPE to analyze the reasoning patterns of various models. Our findings reveal that the mathematical heuristics employed by a model better explain final answer correctness than traditional CoT features. Furthermore, models are likely to reach correct solutions by concentrating their reasoning effort within a few semantic spaces rather than exploring many disparate ones -- a pattern consistent with human behavior. Next, we utilize the SHAPE lens to evaluate whether post-training truly enhances mathematical proficiency. We find that reinforcement learning induces mode-seeking in heuristic usage. Lastly, we post-train LLMs by promoting diverse heuristics and demonstrate its effectiveness in improving accuracy. Overall, SHAPE provides a theoretically-grounded diagnostic framework for decoding LLM reasoning and offers a new path toward post-training LLMs for math reasoning. The code for our model is available at https://github.com/holi-lab/SHAPE-of-CoT

한국어 요약

한 줄 요약

SHAPE는 수학적 추론의 사고 흐름을 해석하기 위한 이론적 프레임워크로, 히ュ리스틱과 의미 공간을 분석하여 LLM의 추론 패턴을 진단하고 정확도를 향상시킨다.

핵심 기여도

핵심 아이디어

SHAPE은 수학 교육 연구에서 유래한 두 가지 개념—의미 공간 (semantic space)과 히ュ리스틱 (heuristic)—을 기반으로 LLM의 추론 흐름을 분석한다. 의미 공간은 문제를 대하는 수학적 해석 방식 (예: 대수적, 기하적)을 나타내고, 히ュ리스틱은 그 공간 내에서 취하는 구체적 수학적 행동 (예: 문제 간소화, 역추론)을 나타낸다. 기존 CoT 분석이 길이, 토큰 통계, 자기 수정 마커 등 표면적 특성을 중점으로 삼았다면, SHAPE은 추론의 구조적 흐름과 수학적 해석을 추적함으로써 보다 깊은 진단이 가능하다. 특히, 히ュ리스틱 빈도와 의미 공간 간 전이 빈도 (transition density)가 추론의 정확도와 밀접한 관련이 있음을 밝혀내며, 이는 기존 CoT 분석 방법보다 더 신뢰성 있는 진단 지표로 작용한다.

기술적 접근법

주요 결과

의의 및 한계

SHAPE은 LLM의 추론 구조를 수학적 관점에서 정량적으로 분석할 수 있는 이론적 기반을 제공하며, 추론 실패 원인 진단과 후-트레이닝 전략 개선에 활용 가능하다. 특히, 히ュ리스틱 정보를 강화 학습에 통합함으로써 정확도를 향상시킬 수 있음을 보여준다. 그러나 SHAPE의 현재 검증은 수학적 벤치마크에 한정되며, 다른 도메인으로 확장 가능성은 아직 검증되지 않았다. 또한, 후-트레이닝이 히ュ리스틱 다양성을 줄이는 경향을 보이므로, 이에 대한 균형 잡힌 접근이 필요하다.

실용적 활용

SHAPE은 수학 문제 풀이 알고리즘의 개선, 학습 모델의 추론 진단, 교육 AI의 설계 등에서 활용 가능하다. 특히, 히ュ리스틱 정보를 강화 학습에 통합하는 방식은 LLM의 수학적 추론 능력을 향상시키는 실용적 전략으로 활용될 수 있다.