TL;DR
Large Reasoning Models (LRMs) often "over-think," generating verbose, repetitive chains of thought that slow down inference. This paper introduces SCMA (Self-Compression via Multi-Agent Reinforcement Learning), a framework that trains a model to compress its own reasoning by selectively penalizing redundant steps while preserving critical logic. The result is a massive reduction in token length (up to 39%) alongside a significant boost in accuracy, all with zero extra overhead at inference time.
What Problem Does This Paper Address?
State-of-the-art Large Reasoning Models (like DeepSeek-R1) use detailed Chain-of-Thought (CoT) sequences to solve complex problems. However, because these models are typically trained using sparse, outcome-based rewards (i.e., did it get the right answer?), they are prone to "over-thinking." They often generate prolonged paths cluttered with non-essential steps, repetitive verifications, and filler "meta-talk" to maximize their confidence.
Existing solutions try to curb this verbosity by adding a simple length penalty to the reward function. The problem? This undifferentiated strategy penalizes the total sequence length indiscriminately. As a result, models often inadvertently sacrifice critical reasoning steps just to satisfy the length constraint, which tanks their final accuracy or causes "training collapse" (where the model stops thinking entirely).
The core challenge is fine-grained credit assignment: how do we distinguish and preserve high-value reasoning steps while precisely eliminating redundancy?
Methods
The authors propose Self-Compression via MARL (SCMA). Instead of treating reinforcement learning as a single-agent problem, they reformulate CoT compression as a collaborative game between three specialized roles, all sharing parameters of a single base LLM:
- The Reasoning Agent: Explores the solution space to generate the initial reasoning path.
- The Segmentation Agent: Structurally parses the reasoning path into discrete logical chunks.
- The Scoring Agent: Evaluates the inferential significance of each chunk, assigning an importance score from 1 to 5.
Importance-Weighted Length Penalty
Instead of a flat penalty, the Segmentation and Scoring agents collaboratively define a dynamic reward. Critical segments (score $\rightarrow$ 5) receive a negligible penalty weight, exempting them from compression. Redundant segments (score $\rightarrow$ 1) receive a high penalty weight, forcing the model to trim the fat.
The entire system is optimized jointly using an extension of Group Relative Policy Optimization (GRPO) to a multi-agent setting. Crucially, the segmentation and scoring agents act purely as training-time auxiliaries. During deployment, they are deactivated, leaving only the streamlined Reasoning Agent to run autonomously with zero test-time computational overhead.
Datasets
- Training: The models were fine-tuned exclusively on the GSM8K dataset (7,473 grade-school math word problems).
- Evaluation (Out-of-Distribution): To test how well the compression generalizes to harder, unseen tasks, the authors evaluated SCMA across several challenging benchmarks:
- MATH500: High-school level math challenges.
- AMC23: Problems from the 2023 American Mathematics Competitions.
- AIME24 / AIME25: Elite competition math from the American Invitational Mathematics Examination.
Key Insights and Ideas
- The Power of Joint Optimization: A major "aha" moment was that freezing the scoring/segmentation modules or using off-the-shelf models (like GPT-4o) via an API performs significantly worse than joint training. Co-evolving the agents allows them to align their internal objectives dynamically.
- Content-Adaptive Segmentation: As training progresses, the Segmentation Agent naturally transitions from rigid, equal-length "uniform segmentation" to "fine-grained segmentation." It learns to allocate longer text blocks to encapsulate complex numerical derivations while keeping simple transitions concise.
- Information Entropy Maximization: From an information-theoretic perspective, SCMA forces the model to maximize semantic density. It systematically prunes low-confidence exploratory phrases (e.g., "Wait, let me check that again...") and focuses purely on high-contribution reasoning kernels.
Key Results
- Simultaneous Length Reduction and Accuracy Boost: Across multiple model scales (DeepSeek-R1-Distill-Qwen-1.5B/7B and Qwen3-4B/8B), SCMA reduced overall response lengths by 11.1% to 39.0% while boosting accuracy by 4.33% to 10.02% compared to vanilla RL.
- Extreme Compression on Hard Tasks: On the Qwen3-4B model evaluated on MATH500, the response length plummeted by over 62% (from 4,300 to 1,629 tokens) while maintaining a higher accuracy than the baseline.
- Training Stability: Standard RL with length penalties often suffers from catastrophic training collapse where the model learns a "No Think" strategy (reducing length to near-zero and failing). SCMA completely mitigates this, stabilizing convergence through its self-adaptive penalty regulator.
Limitations and Future Work
While highly effective, the paper notes a few areas for expansion:
- Scaling to Heterogeneous Systems: Currently, all agents share parameters of a single base model. The authors plan to scale this paradigm toward large-scale, heterogeneous multi-agent systems.
- Domain Expansion: The evaluation focused heavily on mathematical and logical reasoning tasks. Testing the framework on more subjective or open-ended generation tasks (where "redundancy" is harder to define mathematically) remains an open direction.
Summary updated