SPICE: Self-Play In Corpus Environments Improves Reasoning
About
Self-improving systems require environmental interaction for continuous adaptation. We introduce SPICE (Self-Play In Corpus Environments), a reinforcement learning framework where a single model acts in two roles: a Challenger that mines documents from a large corpus to generate diverse reasoning tasks, and a Reasoner that solves them. Through adversarial dynamics, the Challenger creates an automatic curriculum at the frontier of the Reasoner's capability, while corpus grounding provides the rich, near-inexhaustible external signal necessary for sustained improvement. Unlike existing ungrounded self-play methods that offer more limited benefits, SPICE achieves consistent gains across mathematical (+8.9%) and general reasoning (+9.8%) benchmarks on multiple model families. Our analysis reveals how document grounding is a key ingredient in SPICE to continuously generate its own increasingly challenging goals and achieve them, enabling sustained self-improvement.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Mathematical Reasoning | GSM8K | Accuracy93.9 | 1362 | |
| Mathematical Reasoning | MATH 500 | Accuracy81.8 | 442 | |
| Mathematical Reasoning | AIME 2024 | Accuracy15.2 | 370 | |
| Mathematical Reasoning | AMC | Accuracy70 | 221 | |
| Mathematical Reasoning | AMC | Accuracy (ACC)60.1 | 203 | |
| Mathematical Reasoning | AIME 2024 | Pass@1 Accuracy12.2 | 165 | |
| Mathematical Reasoning | Minerva | -- | 138 | |
| Mathematical Reasoning | Olympiad | Accuracy42.7 | 137 | |
| Reasoning | GPQA Diamond | Accuracy45.5 | 135 | |
| Mathematical Reasoning | AIME 2025 | Pass@1 Accuracy19.1 | 118 |