SHAPE of Thinking: Mathematical Heuristics for Analyzing and Improving LLM Reasoning
Jonghyun Song, Sangjun Song, Minjae Oh, Haesung Pyun, Sungsik Lee, Yohan Jo
Abstract
Large language models (LLMs) achieve strong performance on mathematical reasoning benchmarks, yet final-answer accuracy reveals little about the strategies they use. We introduce SHAPE (Structured Heuristic Analysis for Problem-solving Evolution), a framework grounded in mathematics-education research that characterizes local mathematical actions in reasoning trajectories using a problem-independent heuristic taxonomy. Using SHAPE, we examine two previously hypothesized phenomena in LLM reasoning. First, we revisit the hypothesis that LLMs reuse learned solution techniques under problem perturbations. Across six models on MATH-Perturb, perturbations requiring a different solution approach yield lower accuracy but greater heuristic shifts than those preserving it. Second, we characterize mode-seeking in RLVR through mathematical heuristic profiles. Across four base--RL pairs, successful RL solutions overlap substantially with base-model profiles. We further introduce Heuristic-Augmented Plan-GRPO (HA-Plan-GRPO), which guides RLVR planning through heuristic selection and applicability reasoning. Across three models and five evaluation sets, it improves mean Avg@16 by up to 7.0\% absolute and mean Pass@16 by up to 2.4\% absolute over planning-only RLVR. Our code is available at https://github.com/holi-lab/shape-of-CoThttps://github.com/holi-lab/shape-of-CoT.
Create a lesson
Metadata
- Comments
- 21 pages
Related papers
SLP-Bench: Evaluating and Improving Acoustic Claims of Reasoning Audio Language Models on Clinical Speech
Shared title terminologycs.AICôme Hosxe, Rachid Riad, Quentin Spinat
Improving LLM Reasoning with Homophily-aware Structural and Semantic Text-Attributed Graph Compression
Shared title terminologycs.AIZijun Di, Bin Lu, Huquan Kang et al.
Process Advantage Signal Shaping: Advantage Construction for Process-Supervised Reinforcement Learning in LLM Reasoners
Shared title terminologycs.AIChao Wang, Hongtao Tian, Tao Yang et al.
MER-R1: Multimodal Emotion Reasoning via Slow-Fast Thinking Synergy
Shared title terminologycs.AIZhiyuan Han, Beier Zhu, Wenwen Tong et al.
Fin-RSI: A Unified Library of Financial Skills, Checks, and Self-Improvement for LLM Agents
Shared title terminologycs.AIWanghao Ye, Shwai He, Sihan Chen et al.
Do You Even Know What I Want? Improving LLMs Ability to Detect Hidden User Intent
Shared title terminologycs.AIKelsey Sikes, Sarath Sreedharan