TL;DR
Archer is a new reinforcement learning framework that improves LLM reasoning by treating "knowledge" and "reasoning" tokens differently during training. By applying looser constraints to high-entropy reasoning steps and tighter guardrails to low-entropy factual tokens, Archer achieves state-of-the-art performance on math and coding benchmarks for 1.5B-parameter models, all while maintaining training efficiency and model stability.
What Problem Does This Paper Address?
Reinforcement Learning with Verifiable Rewards (RLVR)—the technique behind models like DeepSeek-R1—has proven incredibly effective at teaching models how to "think" through reflection and planning. However, standard RLVR algorithms (like GRPO) treat every token in a response the same way.
This is problematic because tokens serve different functions. Some tokens represent factual knowledge (low entropy), while others represent critical logical decision points (high entropy). If you apply the same learning signal to both, you risk two things:
- Knowledge Erosion: The model might "forget" or distort factual information while trying to optimize for a reward.
- Stifled Reasoning: Strict constraints intended to keep the model stable might prevent it from exploring the creative logical paths necessary to solve complex problems.
Previous attempts to solve this used "gradient masking" (freezing certain tokens) or asynchronous updates. The authors argue these methods are flawed because they break the semantic and syntactic dependencies between tokens. An LLM generates text sequentially; you cannot effectively optimize a reasoning step if the factual premise it relies on is completely disconnected from the learning process.
Methods
The authors introduce Archer, an entropy-aware RLVR approach that uses dual-token constraints in a synchronous update cycle.
- Critical Token Identification: Archer uses token entropy to distinguish between types. High-entropy tokens (e.g., logical connectors like "Therefore" or "However") are classified as reasoning tokens, while low-entropy tokens (e.g., factual data or word suffixes) are knowledge tokens.
- Response-Level Statistics: Unlike prior work that looked at entropy across a whole batch, Archer calculates entropy quantiles for each individual response. This accounts for the fact that some prompts are inherently "simpler" than others, preventing misclassification.
- Dual-Token Constraints: Archer applies differentiated constraints during the policy update:
- Reasoning Tokens: Assigned a higher clipping threshold and weaker KL regularization. This encourages the model to explore diverse reasoning paths.
- Knowledge Tokens: Assigned a lower clipping threshold and stronger KL regularization. This acts as a "stabilizer," ensuring the model stays close to its original factual distributions.
- Synchronous Updates: Crucially, all tokens are updated together. This preserves the semantic links between facts and the logic derived from them.
Datasets
The authors curated high-quality datasets for two primary domains:
- Mathematics: A training set of 51,800 problems merged from DeepScaleR, Skywork-OR1, and DAPO, filtered for quality and deduplicated against evaluation sets.
- Code: A training set of 6,753 problems sourced from DeepCoder, CodeContests, and CodeForces, emphasizing problems with extensive test cases to reduce false positives.
Evaluation Benchmarks: * Math: AIME24, AIME25, AMC23, MATH-500, Minerva Math, and OlympiadBench. * Code: LiveCodeBench v5 and v6.
Key Insights and Ideas
- The "Participatory" Training Hypothesis: The authors demonstrate that completely masking low-entropy tokens (setting their updates to zero) actually hurts the learning of high-entropy reasoning tokens. The model needs the "context" of the factual tokens to learn how to transition into a reasoning phase.
- Entropy as a Logical Compass: The paper confirms that high-entropy tokens frequently appear at "forking points"—logical transitions where the model must choose a path. By loosening the reins at these specific points, the model becomes a better problem solver.
- KL Divergence is Non-Negotiable: The study finds that removing the KL penalty entirely leads to rapid "model collapse" (repetitive, low-quality output). Archer’s contribution is showing that the KL penalty shouldn't be a "one-size-fits-all" value but a dynamic tool.
Key Results
Archer-Math-1.5B and Archer-Code-1.5B set new standards for models of their size:
- Performance Gains: Compared to the standard DAPO algorithm, Archer saw a +6.6 gain in Pass@1 on AIME24 and +5.2 on AIME25. On LiveCodeBench v5, it improved by +3.4.
- SOTA Status: Archer outperformed specialized models like DeepScaleR-1.5B and general-purpose reasoning models like Nemotron-1.5B across almost all benchmarks.
- Efficiency: Archer achieved these results in a single training stage. For example, Archer-Math-1.5B required only 1,900 H800 GPU hours, whereas Nemotron-1.5B required 16,000 H100 hours across 8 stages.
Limitations and Future Work
- Manual Hyperparameter Tuning: While the dual-constraint approach is powerful, the specific values for clipping ($\epsilon$) and KL weights ($\beta$) still require manual tuning. Future work could explore automated, dynamic adjustment of these values.
- Token Categorization: The current model uses a binary split (knowledge vs. reasoning). The authors suggest that more fine-grained token roles could be identified to further refine the optimization process.
- Scaling: The experiments were conducted on 1.5B parameter models. While the results are impressive, testing the framework on 7B, 32B, or larger models is necessary to prove its universal applicability.
Summary updated