TL;DR
Self-Questioning Language Models (SQLM) enables large language models (LLMs) to improve their reasoning capabilities entirely from scratch—without human-annotated answers or even human-written questions. By using an asymmetric self-play framework prompted with only a single topic description, a "proposer" generates problems calibrated to the model's current learning frontier while a "solver" learns from unsupervised consensus or generated unit tests.
What Problem Does This Paper Address?
Reinforcement learning (RL) has rapidly become the cornerstone of LLM post-training for math and code. Recent unsupervised methods remove the need for ground-truth answers by using majority voting or model confidence as reward signals. However, these methods still depend on massive, carefully curated sets of human-written questions or prompts.
Curating questions remains a labor-intensive bottleneck. Can a model simultaneously act as both teacher and student—generating its own curriculum of questions and discovering correct answers through self-play, starting from nothing more than a single high-level prompt?
Methods
SQLM adapts asymmetric self-play (originally from robotics) to language models, splitting the model into two interactive roles (which share weights):
- The Proposer ($\pi_P$): Given a high-level task description (e.g., "create linear equation word problems"), it proposes a problem $x$.
- The Solver ($\pi_S$): Given problem $x$, it generates solution candidates $y$.
The core technical challenge is evaluating correctness and difficulty without external ground truth. The authors handle this by looking at the generator-verifier gap:
- Small Gap (Arithmetic & Algebra): Solving and verifying are equally difficult. The solver generates $N$ answers, and candidates matching the majority vote receive a reward of $1$ (0 otherwise). The proposer receives a "Goldilocks" reward of $1$ if the problem is neither too easy (all $N$ solver outputs agree) nor too hard (no consensus exists).
- Large Gap (Coding): Verifying code with unit tests is much easier than writing the solution. Here, the proposer outputs both a problem and 5 unit tests. The solver is rewarded with the fraction of test cases passed. The proposer receives a reward of $1$ only if the solver passes some, but not all, test cases ($0 < \text{Pass} < 1$).
Training is carried out using PPO/RL implementations on the open-source verl framework. The authors find that updating the proposer every 5 training steps offers an ideal balance between task stability and difficulty progression.
+-------------------------------------------------------------+
| PROPOSER (pi_P) |
| Prompt: "Generate a question in [topic]" |
| Reward: 1 if problem is moderately challenging (not 0, N) |
+------------------------------+------------------------------+
| Generates Problem (x)
v
+-------------------------------------------------------------+
| SOLVER (pi_S) |
| Generates N solutions {y_1, ..., y_N} |
| Reward: Matches majority answer (or passes unit tests) |
+-------------------------------------------------------------+
Datasets
The training phase uses zero external datasets; models train exclusively on self-generated problems seeded by a single task prompt.
For evaluation, the paper benchmarks on:
- Arithmetic: 4,096 procedurally generated 3-digit multiplication problems following the TinyZero setup.
- Algebra: 100 linear equation word problems from the OMEGA benchmark.
- Coding: 123 Python problems drawn from Codeforces (curated via the Eurus-2 benchmark).
Key Insights and Ideas
- Dynamic Curriculum Beats Static Synthetic Data: Generating a static pool of 6,400 questions up-front—even with explicit instructions to be diverse and difficult—resulted in low question diversity and stalled model accuracy. In contrast, online interactive self-play created an organic difficulty progression (e.g., moving from 1-line array squaring to longest contiguous subarray algorithms).
- Genuine Reasoning Gains, Not Just Format Following: When compared against an ablation that rewarded only formatting compliance, SQLM showed substantial gains, demonstrating that consensus rewards genuinely reinforce valid logical chains.
- Asymmetric Self-Play Generalizes Across Architectures: The setup successfully transfers across model families and parameter scales without architectural modifications.
Key Results
SQLM yields consistent performance gains over base instruct models across all three domains:
- Arithmetic (Qwen2.5-3B-Instruct): Jumps from 79.1% to 94.8% ± 0.9% (vs. 82.6% for formatting baseline).
- Algebra (Qwen2.5-3B-Instruct): Improves from 44.0% to 60.0% ± 1.0% (vs. 55.3% for formatting baseline).
- Codeforces (Qwen2.5-Coder-3B-Instruct): Rises from 32.0% to 39.1% ± 1.9%.
- Model Generality on Codeforces:
- Llama-3.2-3B-Instruct: Improves from 21.1% to 24.3% ± 2.6%.
- Llama-3.1-8B-Instruct: Jumps from 23.1% to 38.2% ± 2.3%.
Limitations and Future Work
- Residual Prompt Sensitivity: While human data curation is eliminated, setting up format constraints and initial generation boundaries still requires manual prompt design.
- No Semantic Safeguards: The proposer has no built-in guardrails against producing nonsensical, trivial, or harmful queries beyond the agreement heuristic.
- Risk of Reinforced Systematic Errors: Because the reward relies on self-consistency or model-generated tests, if the model holds a consistent hallucination or flawed premise, it risks strongly reinforcing its own errors without external grounding.
- Future Directions: Incorporating lightweight automated prompt exploration, LLM-based problem filtering, and semi-supervised seeding with minimal ground-truth data.
Summary updated