TL;DR
Reinforcement learning methods like GRPO often cause large language models (LLMs) to suffer from mode collapse and sparse rewards during complex reasoning tasks. This paper introduces Feedback Distillation, a post-training method that trains models using token-level natural language critiques generated by an LLM verifier. This approach maintains high policy diversity during training and, when combined with GRPO, significantly boosts formal theorem-proving performance in Lean 4.
What Problem Does This Paper Address?
State-of-the-art post-training pipelines for reasoning models typically combine Supervised Fine-Tuning (SFT) on expert solutions with Reinforcement Learning (RL), most commonly using Group Relative Policy Optimization (GRPO). However, this paradigm faces severe bottlenecks:
- Sparse, Trajectory-Level Rewards: GRPO evaluates entire generation outputs (e.g., did the whole proof pass or fail?). If all sampled attempts fail, the model receives zero learning signal.
- Mode Collapse: Instead of exploring new reasoning paths, GRPO tends to collapse onto a narrow set of high-reward answers that the model already knew before RL training.
In formal mathematics (such as proving theorems in Lean 4), a model must navigate vast search spaces and libraries containing hundreds of thousands of lemmas. Mode collapse is devastating here because success requires continuous exploration of alternative tactics and lemmas.
Methods
The authors propose Feedback Distillation (FD), an on-policy self-distillation variant that provides dense, token-level supervision.
[Student Model] ---> Generates Proof Attempt ---> [Lean Compiler]
|
[Teacher Model] <--- Receives Critique Prompt <-----------+
|
v
(Trains Student via Token-Level KL Loss)
- Generation & Verification: The student model generates a proof attempt for a given problem. The attempt is executed by the Lean compiler to get ground-truth success/failure outputs.
- Feedback Generation: A feedback model (either a stronger external LLM like Claude 4.6 or a frozen copy of the student model itself) receives the problem, the student's attempt, and the compiler logs. It generates concise, natural language critiques (e.g., "Use Real.pi instead of the unicode π symbol").
- Distillation: A teacher model is formed by conditioning a moving average (EMA) copy of the student model on this textual feedback. The student is then trained via a token-level Kullback-Leibler (KL) divergence loss to match the teacher's distribution.
Crucially, Feedback Distillation can be paired with RL: developers can run FD first to build a diverse, capable base policy, and then continue training with GRPO to maximize verifiable rewards.
Datasets
- LeanWorkbook: A large-scale dataset of Lean problems. The authors trained models on a subset of 10,000 statements and evaluated them on a 256-statement test split.
- MiniF2F: A standard benchmark consisting of 244 competition-level formal Olympiad mathematics problems formalized in Lean.
Key Insights and Ideas
- Critiques Preserve Uncertainty: Standard distillation using ground-truth solutions often suppresses epistemic verbalization—the model's healthy expression of uncertainty (using words like "wait", "hmm", or "perhaps"). Phrasing feedback as a critique rather than a direct answer allows the model to retain its reflective, exploratory reasoning style.
- Token-Level Credit Assignment: By translating compiler errors into natural language hints, the model learns exactly which token caused a failure.
- Exploration vs. Exploitation: Feedback Distillation acts as an exploration mechanism, expanding the model's vocabulary of mathematical tactics and lemmas. GRPO can then act as an exploitation phase, sharpening the model's execution on those discovered paths.
Key Results
The authors evaluated their approach using Qwen3-8B and Qwen3.5-9B base models.
- Substantial Accuracy Gains: On the LeanWorkbook test split, Qwen3.5-9B achieved 75% accuracy when GRPO was initialized from a Feedback Distillation checkpoint, compared to just 59% using GRPO alone.
- Sustained Policy Diversity: Feedback Distillation maintained significantly higher policy entropy during training. This directly translated to superior test-time scaling performance when sampling multiple solutions ($pass@k$).
- Self-Feedback Success: Even when the feedback model was just a frozen copy of the student itself (Self-Feedback Distillation), combining it with GRPO still outperformed pure GRPO, proving the model can successfully extract learning signals from its own self-reflections.
Limitations and Future Work
- Training Instabilities: Like many RL and self-distillation setups, Feedback Distillation suffers from long-term training instability and sudden performance drops. Developing robust stabilization mechanisms is a priority.
- Prompt Sensitivity: The quality of the distillation depends heavily on how the feedback prompt is structured. More rigorous prompt engineering or optimizing the feedback loop automatically remains an open challenge.
- Scale Gap: While highly sample-efficient in early stages, these models have not yet been scaled to match industrial-level SFT+GRPO pipelines trained on massive compute clusters.
Summary updated