SPICE: Self-Play In Corpus Environments Improves Reasoning

Bo Liu, Chuanyang Jin, Seungone Kim, Weizhe Yuan, Wenting Zhao +5 more
10/28/2025
cs.CL

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2025spice,
  title  = {SPICE: Self-Play In Corpus Environments Improves Reasoning},
  author = {Bo Liu and Chuanyang Jin and Seungone Kim and Weizhe Yuan and Wenting Zhao and Ilia Kulikov and Xian Li and Sainbayar Sukhbaatar and Jack Lanchantin and Jason Weston},
  year   = {2025},
  eprint = {2510.24684},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.24684v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.24684.svg)](https://codeofpaper.com/paper/2510.24684)

Discussion