Chain-of-thought reasoning changed everything for large language models. OpenAI o1, DeepSeek-R1, Qwen-3 — they all "think" by generating thousands of reasoning tokens before giving you an answer. The results are impressive. The costs are brutal.

A single query to a reasoning model can burn 5,000 to 50,000 tokens of chain-of-thought before the final answer appears. At scale, this means higher latency, higher compute bills, and more power consumption per query. The question is obvious: can you compress the reasoning process without killing the accuracy?

A new paper from researchers at Li Auto Inc. says yes, and they have the numbers to prove it. HMPO — Hybrid Median-length Policy Optimization — achieves 19–46% token compression across models from 9B to 122B parameters with negligible accuracy loss. Trained on math data alone. Tested on math, code, science, and instruction-following. Single training stage. No data distillation. No SFT warm-up.

Let me walk through why this matters and how it works.

The Problem with Existing CoT Compression

Current approaches to compressing chain-of-thought reasoning share three weaknesses.

Rigid length budgets. Methods like ThinkPrune and length-aware RL baselines require you to manually set a target token count. Set it too low and the model produces wrong answers. Set it too high and you waste tokens. Different problems need different amounts of reasoning, but a static budget treats every query the same.

Expensive multi-stage training. Thinkless needs supervised fine-tuning on distilled data before the RL stage kicks in. AdaptThink requires a two-stage pipeline with separate mode selection training. ThinkPrune runs multiple rounds of iterative pruning. Each stage adds GPU hours. The paper reports HMPO cuts training cost by 1.5x to 2.5x compared to these multi-stage baselines.

Small model evaluations only. Prior work tested CoT compression on models up to 32B parameters. Nobody had shown compression works on 100B+ models or on Mixture-of-Experts architectures. That matters because MoE models like Qwen3.5-122B-A10B activate only a fraction of their parameters per token, making the training dynamics different from dense models.

HMPO addresses all three.

How HMPO Works: Three Components

HMPO builds on GRPO (Group Relative Policy Optimization), the same RL framework that powers DeepSeek-R1's training. The key innovation is how HMPO redesigns the reward signal to jointly optimize for correctness and brevity. Three components make this work.

Adaptive Median-Based Budgets

Here is the core insight: instead of manually setting a token budget, let the model's own successful rollouts tell you what the budget should be.

During training, the model generates a group of rollouts for each query. Some are correct, some are wrong. HMPO takes the median length of the correct rollouts and uses that as the budget for that query. The formula is simple:

b = median(lengths of correct rollouts)

This has three properties that matter.

It adapts to difficulty. Hard problems naturally produce longer correct rollouts, so the budget relaxes. Easy problems get shorter correct rollouts, so the budget tightens. No manual tuning required.

It filters noise. Failed rollouts are often very short or very long — the distribution is heavy-tailed. By computing the median only on correct rollouts, you isolate the signal from the noise.

It self-tightens. As the model learns to reason more efficiently over training, the median length of correct rollouts shrinks. The budget follows it down. This creates an implicit curriculum — the model is always nudged toward shorter correct reasoning, but the nudge never overshoots what the model can actually achieve.

Cosine-Decay Token Reward

Once you have the budget, you need a reward signal that pushes the model below it. A hard cutoff would be too aggressive — you would lose important reasoning steps. A linear penalty would be crude. HMPO uses a cosine decay function.

For correct rollouts shorter than the budget, the token reward is:

R_token = min(1, cos(π * n / 2b) + λ)

Where n is the rollout length, b is the adaptive budget, and λ controls the reward magnitude. For incorrect rollouts or rollouts exceeding the budget, R_token = 0.

The cosine curve gives a "soft landing." Very short correct responses get high reward. As the length approaches the budget, the reward decays smoothly. There is no cliff. The model can keep reasoning steps that matter while shedding the ones that do not.

The min(1, ...) truncation prevents the token reward from overwhelming the accuracy signal. Efficiency matters, but correctness comes first.

Multiplicative Reward Formulation

This is the anti-hacking mechanism. The final reward is:

R_final = R_acc × R_token

Not addition. Multiplication. This choice has precise consequences for the four categories of rollout:

  • Correct and short: High reward. Racc = 1, Rtoken is close to 1 + λ.
  • Correct but too long: Zero reward. Racc = 1 but Rtoken = 0, so the product is zero.
  • Incorrect but short: Zero reward. Racc = 0, so the product is zero regardless of Rtoken.
  • Incorrect and long: Zero reward. Same logic.

Under additive formulation (Racc + Rtoken), a correct-but-long rollout still gets Racc = 1. The model has no incentive to shorten its reasoning because it gets the full correctness bonus regardless. The multiplicative form zeroes out any rollout that is not both correct and concise. The gradient signal is sharper. Reward hacking — producing short but wrong answers to exploit the length reward — gets no gradient because Racc = 0 kills the entire signal.

Why Single-Stage Training Matters

Previous CoT compression methods need multiple training stages. Thinkless does SFT on distilled short reasoning traces, then runs RL. ThinkPrune runs multiple rounds of progressive pruning. Each stage requires separate data preparation, hyperparameter tuning, and GPU time.

HMPO runs one RL stage. No distillation. No SFT warm-up. You feed the model math problems, generate rollouts, compute the adaptive budget, calculate the multiplicative reward, and update the policy. Training converges in 40 to 60 steps, with the best accuracy-compression trade-off appearing around steps 16 to 24.

The practical impact is straightforward: fewer GPU hours, simpler training scripts, less hyperparameter sensitivity. The adaptive budget removes the need to manually tune target lengths. The multiplicative reward removes the need for reward hacking countermeasures. The cosine decay removes the need for careful penalty scheduling.

The Results

HMPO was tested on three Qwen3.5 model configurations:

  • Qwen3.5-9B — dense model
  • Qwen3.5-35B-A3B — MoE with 35B total, 3B active parameters
  • Qwen3.5-122B-A10B — MoE with 122B total, 10B active parameters

Training used only 6,500 challenging math problems from DeepMath-103K (levels 5–9). Evaluation covered five benchmarks across four domains: AIME 2025 and AIME 2026 (math), GPQA-Diamond (science), IFEval (instruction following), and LiveCodeBench-V6 (code).

The compression ratios across benchmarks ranged from 19% to 46%. On the 122B MoE model, HMPO achieved highly compact reasoning with near-perfect accuracy parity relative to the uncompressed baseline. On smaller models, compression was even more aggressive but accuracy held.

Critically, the model was trained exclusively on math data. The cross-domain generalization — working on code, science, and instruction-following without any domain-specific training — happened for free. This suggests that the compression learned through HMPO is structural rather than domain-specific. The model learns to identify and remove redundant reasoning steps, and that skill transfers across task types.

Compared to baselines:

  • AdaptThink uses binary "think or skip" decisions. It saves tokens but with more accuracy loss.
  • Thinkless requires a two-stage pipeline with SFT. More expensive training, comparable or worse compression.
  • ThinkPrune uses iterative multi-round pruning. Most expensive training pipeline of the three.

HMPO achieved comparable or better compression with less accuracy degradation and lower training cost across all three model sizes.

First 100B+ MoE Compression

This is the first paper to demonstrate successful chain-of-thought compression on a model with over 100 billion parameters, and the first to test on Mixture-of-Experts architectures. The 122B MoE model is the most capable model tested for CoT compression to date.

The MoE results are particularly interesting. MoE models activate only a subset of their parameters per token, which means the relationship between reasoning length and compute cost is different from dense models. Shorter reasoning in an MoE model saves not just output tokens but also the per-token activation cost. The paper reports that the compressed 122B model performed competitively against frontier models with much larger activated parameter counts (700B+ MoEs) while using drastically fewer tokens.

What This Means for Production

Three practical takeaways.

You can compress reasoning models without retraining on domain-specific data. Train once on math. Deploy everywhere. This dramatically reduces the engineering cost of deploying compressed reasoning models across different task types.

Single-stage RL is enough. If you have been putting off CoT compression because the multi-stage training pipeline looks expensive and fragile, HMPO removes that barrier. One RL stage, one set of hyperparameters, 40 to 60 training steps.

The budget tunes itself. The biggest practical headache with length-aware RL is setting the target token count. Too aggressive and you lose accuracy. Too conservative and you waste tokens. HMPO's median-based budget eliminates this. You do not need to run a separate budget estimation step or tune a hyperparameter for target length.

The code and training configurations are promised upon paper acceptance.

The Bigger Picture

CoT compression is becoming an active research area with real practical stakes. Reasoning models are expensive to run. The "overthinking" problem — where models generate far more reasoning tokens than necessary — is not a niche concern. It directly affects inference cost, latency, and energy consumption at deployment scale.

HMPO joins a growing list of approaches that tackle this problem from different angles. ConciseHint injects learnable hints during generation to reduce verbosity. HybridThinker retains compressed memory tokens alongside reasoning steps. ThinkPrune iteratively prunes reasoning chains. Each approach makes different trade-offs.

What distinguishes HMPO is the combination of simplicity and scale. The three-component design — adaptive median budget, cosine decay reward, multiplicative formulation — is clean. The evaluation up to 122B MoE models is the most ambitious in the field. The cross-domain generalization from math-only training is a strong result that suggests compression learns something fundamental about reasoning structure rather than domain-specific shortcuts.

If you are deploying reasoning models in production and feeling the token cost, this paper is worth your time. The approach is practical, the results are solid, and the training pipeline is simpler than anything else in the space.


Citations

  • Zheng, M., Chen, H., Ren, H., et al. "HMPO: Hybrid Median-length Policy Optimization for Chain-of-Thought Compression." arXiv:2606.01934, June 2026. https://arxiv.org/abs/2606.01934
  • Shao, Z., et al. "Group Relative Policy Optimization." 2024. (GRPO baseline)
  • Zhang, Z., et al. "AdaptThink." 2025. (binary think-or-skip baseline)
  • Fang, Q., et al. "Thinkless." 2026. (two-stage SFT + RL baseline)
  • Hou, Y., et al. "ThinkPrune." 2025. (iterative pruning baseline)
  • Guo, D., et al. "DeepSeek-R1." 2025.
  • Yang, A., et al. "Qwen-3." 2025.
  • He, Z., et al. "DeepMath-103K." 2025. (training dataset)

Suggested Title

HMPO: Chain-of-Thought Compression That Actually Works at Scale

Word Count

~1,550

Fact-Check Notes

  • The 19–46% compression range and 1.5x–2.5x training cost reduction come directly from the paper abstract and introduction. These are author-reported figures; independent reproduction has not yet occurred.
  • The claim that this is "the first successful CoT compression on massive MoE architectures" and "the most extensive CoT compression evaluation to date" comes from the authors' stated contributions. I could not find a prior paper testing CoT compression on 100B+ MoE models.
  • The 40–60 step convergence and 16–24 step optimal trade-off are from the implementation details section of the paper.
  • The claim about competing with 700B+ MoE models comes from the paper's introduction. The specific comparison is not detailed in the main results I accessed. Flag this for verification against the full results tables.
  • Code is promised upon acceptance. Not yet available at time of writing.