TL;DR
Gen-SSD (Generation-time Self-Selection Distillation) is a novel knowledge distillation framework that puts the student model "in the loop" during a large teacher model's generation process. By using perplexity to select the most learnable reasoning chunks in real-time, it prunes unhelpful paths early, resulting in more stable training data and significantly better reasoning performance for smaller models.
What Problem Does This Paper Address?
Distilling the reasoning capabilities of Large Reasoning Models (LRMs) like DeepSeek-R1 or OpenAI's o1 into smaller, cost-effective models is highly desirable but notoriously difficult. Standard knowledge distillation (Standard KD) simply hands over the teacher's long, complex Chain-of-Thought (CoT) trajectories to the student. However, smaller models often struggle to absorb these overly complex paths.
Existing solutions rely on post-hoc filtering—generating the entire trajectory first and then filtering based on heuristic rules. This is computationally wasteful and cannot fix unlearnable or convoluted reasoning paths once they are fully generated. The authors ask: Can we involve the student during the generation process to guide the selection of trajectories best suited for its own learning?
Methods
The authors propose Gen-SSD, a student-in-the-loop framework that performs generation-time selection rather than passive post-hoc filtering.
The pipeline consists of three main phases:
- Cold Start: The student model (e.g., a 1.5B parameter model) is initially fine-tuned on a small set of verified teacher trajectories. This aligns the student with the teacher's reasoning format (such as handling
<think>tokens). - Generation-Time Selection: The teacher generates candidate continuations in chunks (e.g., 4K tokens). Instead of letting the teacher run wild, the student evaluates these partial sequences using its own Perplexity (PPL). The continuation with the lowest PPL—meaning the path most compatible with the student's current capacity—is selected to continue the generation.
- Progressive Sampling Reduction: To minimize inference costs, the framework adaptively reduces the number of candidate chunks sampled over time (e.g., 16 candidates for the first chunk, 8 for the second, and 4 for subsequent chunks).
Datasets
- Training Data: Built on a subset of OpenMathReasoning containing 25K instructions. The authors used QwQ-32B and DeepSeek-R1 as teacher models, and Qwen2.5-Math-1.5B as the student.
- Evaluation Benchmarks: The primary evaluation focused on hard mathematical reasoning benchmarks: AIME24, AIME25, AMC23, OlympiadBench, and GSM8K.
- Generalization Benchmarks: To test capabilities beyond math, they evaluated on MBPP (coding) as well as ARC-C, StrategyQA, and CommonsenseQA (general reasoning).
Key Insights and Ideas
- Timing is Everything: Intervening during generation is far more effective than filtering after the fact. Early pruning prevents the teacher from wandering down speculative, highly complex paths that ultimately confuse the student.
- The Low-PPL Sweet Spot: Selecting low-PPL chunks balances learnability with reasoning richness. While self-distillation yields the lowest PPL (since the model evaluates its own data), it lacks new learning signals. Gen-SSD finds the optimal middle ground.
- Shorter, Cleaner Paths: Gen-SSD naturally produces shorter reasoning trajectories (averaging ~1,000 fewer tokens than post-hoc methods like MoRSD) with smoother PPL transitions, proving that concise reasoning is easier for smaller models to absorb.
Key Results
Gen-SSD consistently achieved top-tier performance across all mathematical and general reasoning benchmarks.
- Math Benchmarks: Gen-SSD outperformed Standard KD by an average of 5.9 points and beat advanced baselines like MoRSD and MCC-KD by up to 4.7 points.
- Closed-Source Robustness: Even when simulated under closed-source API conditions (fixing chunk sizes to 16K where step-by-step intervention isn't fully supported), Gen-SSD maintained a robust 4-point boost over standard distillation.
- Generalization: The model showed strong cross-domain improvements, outperforming baselines on code generation (MBPP) and common-sense QA.
Limitations and Future Work
While highly effective, Gen-SSD's chunk-level intervention requires token-level access or multiple parallel API calls, which can be challenging or expensive with strictly closed-source teacher APIs.
Moving forward, the authors plan to scale Gen-SSD to larger-scale and multimodal teacher models. They also aim to explore more reasoning-intensive domains like scientific problem solving and plan to integrate Gen-SSD with reinforcement learning-based data selection strategies to further optimize cost efficiency.
Summary updated