DiffAdapt: Difficulty-Adaptive Reasoning for Token-Efficient LLM Inference

Xiang Liu, Xuming Hu, Xiaowen Chu, Eunsol Choi

Introduction

Recent reasoning Large Language Models (LLMs), such as the OpenAI o1 series and DeepSeek-R1, have achieved remarkable problem-solving breakthroughs through test-time scaling—essentially allowing the model to "think" longer before answering. However, these models currently apply a "one-size-fits-all" approach, generating elaborate Chain-of-Thought (CoT) traces for every query, regardless of whether it is a complex calculus problem or simple arithmetic.

This leads to a phenomenon known as overthinking: models squander expensive computational resources on easy tasks where a direct answer would suffice, yet they may still lack the budget for truly grueling problems. The challenge lies in finding a way to "right-size" the computation budget for each specific question without the massive expense of retraining or fine-tuning the underlying LLM.

The "Overthinking" Phenomenon

To understand this inefficiency, researchers analyzed the "uncertainty" (entropy) of token probabilities during reasoning. They discovered a counterintuitive U-shaped entropy pattern across various models.

U-Shaped Entropy Curve Revealing Overthinking

As shown above, entropy is surprisingly high on easy problems, indicating that the model wanders through unnecessary reasoning paths even when it ultimately gets the answer right. Entropy dips to a low "sweet spot" on medium-difficulty problems (the Certainty Region) and rises again on hard problems due to genuine uncertainty (the Capability Limit). This 22–25% entropy reduction from simple to optimal regions reveals that when a model is "too smart" for a question, it struggles to find the simplest path, leading to computational waste.

The DiffAdapt Framework

To address this, the authors introduce DiffAdapt, a lightweight, deployment-ready framework designed for compute-efficient reasoning. DiffAdapt operates in three stages:

  1. The Probe: Instead of modifying the base LLM, DiffAdapt attaches a tiny Multi-Layer Perceptron (MLP) probe to the model’s final hidden state. This probe is trained to classify a problem's difficulty based on the internal representations generated during the initial "prefill" stage—before the model even starts generating text.
  2. Difficulty Classification: The probe categorizes the prompt as Easy, Normal, or Hard.
  3. Adaptive Strategies: Based on the prediction, DiffAdapt dynamically selects an optimized inference template:
  4. Easy: Uses a "direct solving" prompt, lower temperature, and a strict 40% token cap to prevent rambling.
  5. Normal: Uses standard methodical reasoning and a full token budget.
  6. Hard: Employs a "Fail-Fast" mechanism. Because extremely hard problems often exceed a model's capability regardless of how long it thinks, this strategy uses a 50% token limit to cut losses and avoid unproductive "hallucination loops."

Key Results and Performance

The framework was evaluated across eight benchmarks, spanning in-domain math (GSM8K, MATH, AIME) and out-of-domain science/general tasks (Minerva, GPQA, MMLU-Pro).

Performance vs. Token Usage Across Benchmarks
  • Token Efficiency & Speed: DiffAdapt reduced token usage by up to 22.4% on Qwen3-4B and roughly 10% on DeepSeek-R1-Qwen-7B. In end-to-end testing, it achieved a 6x reduction in wall-clock time compared to standard vLLM baselines and was 5x faster than other dynamic "early-exit" methods.
  • Accuracy Gains: By preventing the model from "talking itself out of" a correct answer on easy problems, the system actually became more reliable. In "Oracle" experiments (where the optimal strategy is perfectly selected, shown as yellow stars in the charts), the approach improved accuracy by 7.2% to 16.2%.
  • Reasoning Integrity: A blind "LLM-as-a-Judge" study found that DiffAdapt’s concise answers were preferred 76% of the time over standard long-winded traces. Truncation errors (accidentally cutting off a correct answer) occurred in only 2% of cases.
  • Zero-Shot Transfer: Difficulty thresholds calibrated on one model (like DeepSeek-R1) transferred remarkably well to others (like Qwen3), suggesting that problem "difficulty" is represented similarly across different model families.

Limitations and Future Work

While DiffAdapt offers a practical path toward compute-efficient reasoning, it currently relies on a static prefill prediction. It cannot adapt if a model realizes a problem is harder than expected during the generation process. Future iterations could incorporate step-wise entropy signals to adjust the budget on the fly. Additionally, while the math-trained probe transferred well to science domains, extremely niche or non-textual domains might require brief calibration to set optimal difficulty thresholds.

Summary updated

BibTeX
@inproceedings{liu2026diffadapt,
  author = {Xiang Liu and Xuming Hu and Xiaowen Chu and Eunsol Choi},
  title = {{DiffAdapt: Difficulty-Adaptive Reasoning for Token-Efficient LLM Inference}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=644FH1vVIl},
}
Figure