Word Salad Chopper: Cutting Wasted Decoding Tokens in Large Reasoning Models
This post discusses the paper *"Word Salad Chopper: Reasoning Models Waste A Ton Of Decoding Budget On Useless Repetitions, Self-Knowingly"* (accepted to EMNLP 2025 as an Oral Presentation).
Key points
1. The "Word Salad" problem
- Large Reasoning Models (LRMs) achieve strong reasoning by generating long thinking traces, but decoding is the most expensive phase of LLM inference (e.g., OpenAI's o3 charges ~4x more for output tokens than input tokens).
- A significant portion of these expensive reasoning tokens is wasted on meaningless, repetitive, looping text — termed "Word Salad." In some cases, more than half of the decoding budget is consumed by useless self-repetition.
- When an LRM enters a repetition loop, its hidden states display a distinctive, learnable pattern that differs from normal reasoning — the model's internal state effectively "knows" it is stuck.
- Hidden states captured after specific tokens (e.g., the
<\n\n>newline/paragraph separator) are particularly informative indicators of whether the model is entering or already inside a Word Salad loop. - Runtime overhead: only 0.4%.
- No retraining or modification of the underlying model is required; the classifier is trained on hidden states collected from the target model's own normal vs. repetitive reasoning traces.
- The classifier is model-specific: a detector trained on one LRM does not transfer perfectly to another and must be retrained per model.
- Output length reductions of 10%–50%+ (up to 57.34% for Qwen-1.5B on GPQA-Diamond at τ=0) with essentially unchanged accuracy.
- On Qwen3-8B (cross-model generalization, Appendix J), accuracy drops but remains usable (~78%–88% depending on dataset and temperature).
- Naive chopping alone hurts accuracy significantly; the regeneration prompt step restores accuracy to near-original levels, confirming it is essential to the pipeline.
- Strengths: plug-and-play, minimal invasiveness, negligible overhead (0.4%), large length savings without accuracy loss.
- Limitations: requires model-specific classifier training; performance varies across model/task combinations, so users should validate on their own setups.
- Wenya Xie, Zirui Liu — University of Minnesota
- Shaochen (Henry) Zhong, Hoang Anh Duy Le — Rice University
- Zhaozhuo Xu — Stevens Institute of Technology
- Jianwen Xie — Lambda, Inc.
- Accepted at EMNLP 2025 (Oral). Code is open-sourced on GitHub (
wenyaxie023/WordSaladChopper). - The finding that repetition loops are detectable from hidden states opens avenues for monitoring and intervening in other pathological LRM behaviors via internal-state analysis.
- Future work includes more universal (cross-model) detectors, smarter interventions (e.g., guided self-reflection or backtracking instead of truncate-and-restart), and combining WSC with techniques like dynamic early exit and adaptive computation for broader efficiency gains.
2. Core insight: models are "self-knowingly" repetitive
3. The WordSaladChopper (WSC) system
WSC is a lightweight, plug-and-play module with a three-step loop:
1. Detection — a single-layer linear classifier monitors hidden states after key tokens (like <\n\n>) and flags when the model enters a repetition loop.
2. Chopping — the redundant continuation is truncated from the point where Word Salad began.
3. Regeneration — a simple prompt nudges the model back onto an effective reasoning path.
4. Experimental results
Models tested: Qwen-1.5B, Qwen-7B, Llama-8B. Benchmarks: GSM8K, MATH-500, AIME25, GPQA-Diamond.
End-to-end performance (τ = 0.6, from paper Table 8):
| Model | Dataset | Original Acc (%) | Original Len | WSC Acc (%) | WSC Len | Acc Change (%) | Len Change (%) | | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | | Qwen-1.5B | GSM8K | 82.56 | 1012 | 83.02 | 818 | +0.46 | -19.20 | | Qwen-1.5B | MATH-500 | 81.60 | 4485 | 80.40 | 4065 | -1.23 | -9.38 | | Qwen-1.5B | AIME25 | 21.67 | 16462 | 21.67 | 13591 | 0.00 | -17.44 | | Qwen-1.5B | GPQA-Diamond | 35.86 | 7790 | 35.35 | 5708 | -0.45 | -26.73 | | Qwen-7B | GSM8K | 89.76 | 565 | 89.99 | 545 | +0.23 | -3.44 | | Qwen-7B | MATH-500 | 90.80 | 3597 | 90.40 | 3215 | -0.40 | -10.62 | | Qwen-7B | AIME25 | 37.92 | 15305 | 36.25 | 12239 | -1.67 | -20.03 | | Qwen-7B | GPQA-Diamond | 43.43 | 6201 | 43.43 | 5345 | 0.00 | -13.81 | | Llama-8B | GSM8K | 85.75 | 650 | 85.67 | 650 | -0.08 | 0.00 | | Llama-8B | MATH-500 | 83.60 | 3899 | 83.80 | 3641 | +0.20 | -6.60 | | Llama-8B | AIME25 | 28.75 | 14358 | 29.16 | 13768 | +0.42 | -4.11 | | Llama-8B | GPQA-Diamond | 44.44 | 7061 | 44.44 | 6604 | 0.00 | -6.46 |
Detector accuracy (DeepSeek-R1-Distill-Qwen-7B, τ=0):
| Dataset | Classifier Accuracy (%) | | :--- | :--- | | GSM8K | 92.72 | | MATH-500 | 92.31 | | AIME25 | 89.77 |
Ablation on chopping vs. regeneration (Qwen-7B, τ=0.6, Table 6):
| Dataset | Original | Chopped | Regenerated | | :--- | :--- | :--- | :--- | | GSM8K | 89.76 | 78.24 | 89.69 | | MATH-500 | 90.8 | 83.2 | 89.60 | | AIME25 | 37.92 | 29.17 | 37.92 | | GPQA-Diamond | 43.43 | 42.93 | 43.43 |