Less is More Tokens: Efficient Math Reasoning via Difficulty-Aware Chain-of-Thought Distillation
Preprint
Abstract
Chain-of-thought reasoning, while powerful, can produce unnecessarily verbose output for simpler problems. We present a framework for difficulty-aware reasoning that teaches models to dynamically adjust reasoning depth based on problem complexity. Remarkably, we show that models can be endowed with such dynamic inference pathways without any architectural modifications; we simply post-train on data that is carefully curated to include chain-of-thought traces that are proportional in length to problem difficulty. Our analysis reveals that post-training via supervised fine-tuning (SFT) primarily captures patterns like reasoning length and format, while direct preference optimization (DPO) preserves reasoning accuracy, with their combination reducing length and maintaining or improving performance. Both quantitative metrics and qualitative assessments confirm that models can learn to "think proportionally", reasoning minimally on simple problems while maintaining depth for complex ones.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- A survey on LLM-as-a-judgeThe Innovation, 2026
- s1: Simple test-time scaling2025
- MATHVERSE: Does Your Multi-modal LLM Truly See the Diagrams in Visual Math Problems?2024
- Graph of Thoughts: Solving Elaborate Problems with Large Language ModelsProceedings of the AAAI Conference on Artificial Intelligence, 2024
- OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problems2024
- Adapting Language Models to Compress Contexts2023
- Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizes2023
- SCOTT: Self-Consistent Chain-of-Thought Distillation2023
- Learn to Explain: Multimodal Reasoning Via Thought Chains for Science Question Answering2022
- Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models2022