TL;DR
Large reasoning models love to "overthink"—burning thousands of tokens on dead-end paths, repetitive double-checking, and abandoned plans just to solve basic problems. Instead of forcing models to speak in choppy shorthand or slapping an arbitrary word-count limit on them, MinPath treats reasoning like a graph: it traces backward from the final answer to keep only the logical steps that actually matter. Fine-tuning on these clean, minimal paths slashes token generation by over a third while keeping accuracy virtually untouched.
What Problem Does This Paper Address?
Giving Large Language Models (LLMs) time to "think out loud" via Chain-of-Thought (CoT) has unlocked incredible math and logic capabilities. The catch? Models have developed a costly habit of overthinking. Ask a reasoning model a grade-school age puzzle, and it might spiral into a 6,218-token existential crisis about the direction of time before spitting out "8."
In fact, when the authors analyzed raw reasoning traces on math problems, they found only ~58% of tokens were actually deriving answers; the rest were spent planning and second-guessing. Existing fixes usually treat this as a text-shortening problem—using token budgets, skipping "unimportant" words, or halting early. That often breaks the natural flow of logic, leaving behind fragmented, incoherent thoughts or hurting accuracy on tough problems. The missing piece was a way to ask: which steps does the final answer actually depend on?
Methods
The novelty of MinPath lies entirely in how it prepares training data, turning messy text into a clean graph problem before using completely standard Supervised Fine-Tuning (SFT) with LoRA.
Here is how the data pipeline works:
- Typed Reasoning Graph (TRG): First, regex splits a raw CoT into sequential steps. An auxiliary annotator model then labels each step with one of five functional roles—Setup, Plan, Derive, Reflect, or Conclude—and draws directed arrows between steps whenever a later step logically relies on an earlier one. Crucially, pure Reflect steps (double-checking without changing the math) aren't allowed to be prerequisites for derivations or conclusions, isolating redundant verification loops by design. (If a reflection actually catches a mistake and fixes it, it gets promoted to Derive).
- Extracting the Minimal Path: Starting from the final, verified Conclude node, the algorithm walks backward along the dependency arrows, collecting every ancestor node it can reach. Everything else—dead-end branches, unused setups, paranoid triple-checks—is left behind.
- Verbatim Fine-Tuning: The surviving steps are stitched back together in their original order, word-for-word, without any AI rewriting. Models fine-tuned on these paths learn to generate crisp, linear CoTs at test time—no graph machinery needed during inference.
Datasets
The paper introduces no new benchmarks, relying on established datasets:
- Training: 7,323 filtered math reasoning traces sampled from OpenR1-Math-220k.
- In-Domain Evaluation: GSM8K (grade-school math), MATH-500 (competition math), and AIME24 (Olympiad-level math).
- Out-of-Domain Evaluation: GPQA-Diamond (graduate-level science) and the History subset of MMLU-Pro (humanities) to test whether math-trained efficiency transfers to other subjects.
Key Insights and Ideas
- It’s which steps you cut, not how many: In ablations, randomly dropping the exact same number of steps as MinPath tanked accuracy. Conversely, blindly axing all Plan and Reflect steps caused accuracy on AIME24 to collapse from 8/30 to 4/30—proving that some planning and self-correction are load-bearing walls, while others are just scaffolding.
- Efficiency transfers across domains: Even though MinPath was trained exclusively on math, evaluating those same checkpoints on graduate science and history questions still cut token usage by ~23% on average with minimal accuracy drift (-0.92 percentage points). Stripping dead-end logic appears to teach a generalizable habit of direct thinking.
- A measurable shift in "tone": After MinPath training, models noticeably drop hesitant filler words like "Wait", "No", "But", and "Maybe", while leaning harder into decisive connectives like "Therefore".
Key Results
Tested across four models (DeepSeek-R1-Distill-Qwen-1.5B/7B, DeepSeek-R1-Distill-LLaMA-8B, and Qwen3-4B-Thinking-2507) against five compression baselines:
- Token Savings: Reduced generated tokens by 33.9% on average (ranging from 15.5% to 60.4% across pairs). For instance, our 6,218-token age puzzle shrank to 406 tokens.
- Accuracy Preserved (and sometimes boosted): Mean accuracy shifted by just -0.11 percentage points, and strictly improved in 5 of the 12 test settings (e.g., lifting Qwen3-4B on AIME24 from 16/30 to 18/30 while cutting 40.8% of tokens).
- Clean Sweep: MinPath beat every compression baseline in accuracy across all 12 evaluated settings, and used the fewest tokens in 11 of them.
Limitations and Future Work
- Garbage in, garbage out: MinPath leans heavily on its offline data-construction pipeline. If the regex splitter botches a step boundary, or the auxiliary annotator mislabels a crucial self-correction as a pure reflection without dependency links, vital logic gets pruned away.
- Upfront pipeline complexity: While inference stays fast and simple, building the Typed Reasoning Graphs adds an extra offline annotation tax before training can begin.
- Future directions: The authors expect this graph-based dependency lens to scale naturally beyond math benchmarks as reasoning models continue to grow.
Summary updated