# Selecting Diverse SFT Traces Improves Post-RL Generalization

> Selecting diverse reasoning routes from verified solutions for SFT improves post-RL generalization by up to 16.9 points, outperforming all baselines via a CPU-only, model-free fingerprint.

- **Source:** [arXiv](https://arxiv.org/abs/2609.33780)
- **Published:** 2026-11-28
- **Permalink:** https://picx.dev/p/R496Fn
- **Whiteboard:** https://picx.dev/p/R496Fn/image

## Summary

## Summary (Overview)

- **Core finding**: Verified solutions are not equally useful for preparing reasoning models for reinforcement learning (RL); selecting diverse reasoning routes (variation in sequences of reasoning steps) from the same candidate pool significantly improves post-RL generalization compared to selecting similar routes.
- **Key contribution**: A lightweight, rule-based fingerprint $\phi(y)$ that parses reasoning traces into fixed-length vectors, enabling CPU-only, model-free selection of route-diverse SFT data at scale (over 2 million solutions).
- **Quantitative results**: Route-diverse SFT improves OLMo3-7B's pass@8 by **16.9 percentage points** on environments held out from SFT; in a single-model condition, gains of **3.39–6.17 points** of mean pass@8 across 10 mathematics benchmarks.
- **Mechanism**: Diverse SFT produces mixed reward outcomes (successes and failures) on more prompts (54.7% vs. 46.9%), giving group-relative RL more learning signals despite slightly lower mean accuracy.
- **Practical scalability**: The CPU-only selector outperforms more expensive baselines (gradient-diversity, embedding, lexical) in **every comparison** across three open-source corpora (OpenThoughts3, INTELLECT-3, Nemotron-Cascade 2).

---

## Introduction and Theoretical Foundation

### Background

The standard post-training recipe for reasoning models involves two stages:
1. **Supervised Fine-Tuning (SFT)** on verified solutions
2. **Reinforcement Learning with Verifiable Rewards (RLVR)** on the model's own attempts

Since RL samples from the policy that SFT produces, the starting distribution critically influences which successful attempts the model can discover within a finite rollout budget. Recent systems keep pre-RL SFT lightweight, and studies caution that too much SFT can limit subsequent learning.

### The Problem

The research question is not only *how much* supervised data to use, but **which verified solutions best prepare the model for the RL stage that follows**. Existing selection criteria (readability, length, reward scores, per-problem quotas) do not directly characterize whether retained solutions provide *different ways of reasoning* or repeatedly demonstrate the same one.

### Key Concepts

**Route**: The sequence of reasoning steps a verified solution takes from problem to answer (e.g., case splits in mathematics, moves in Sokoban, program state rewrites).

**Route diversity**: How much retained routes differ, including among solutions to the same problem.

**Theoretical motivation**: If reasoning is viewed as search over sequences of steps, training on varied search traces can improve the model's reasoning. The hypothesis is that practicing more varied routes puts correct attempts within sampling reach on more problems, giving subsequent RL more opportunities to learn.

**Mathematical foundation for mixed rewards**: With binary rewards, a group of $G$ independent rollouts on a prompt $x$ with per-rollout success probability $p(x)$ is *mixed* with probability:

$$P(\text{mixed} | x) = 1 - p(x)^G - (1 - p(x))^G$$

A group whose rewards all agree yields zero group-relative advantage. Mean solve rate averages $p(x)$ over prompts, so two policies with the same accuracy can give RL different amounts of signal.

---

## Methodology

### Experimental Protocol

Every comparison follows one protocol: the two conditions share the student model, prompt pool, SFT trajectory budget, group-relative RL recipe, and evaluation. **They differ only in which solutions the SFT data contains**. Both conditions are read at the same RL step.

### Fingerprint Construction

The topology of each verified solution $y$ is parsed as a fingerprint $\phi(y)$, a fixed-length vector describing:
- **Step event frequencies** (e.g., parse, infer, branch, check, correct, answer)
- **Positions** of steps in the sequence
- **Shape** (number of steps)
- **Transitions** between step types

The fingerprint is computed via fixed rules for labeling steps and a fixed random projection for dimensionality reduction—requiring **no model calls, no new generation, and no gradients**.

### Selection Procedure

From one candidate pool, two datasets of the same target size are selected:

- **Diverse set $D_{div}$**: Cluster fingerprints, allocate size-proportional budgets per cluster, then iteratively add the candidate farthest from those already chosen (coreset construction / farthest-point sampling).
- **Similar set $D_{sim}$**: Nearest-centroid selection from one dense region.

### Experimental Settings

| Setting | SFT Domain | RL Domain | Evaluation |
|---------|-----------|-----------|------------|
| RLVE synthetic puzzles | Environments 1–5 | Environments 1–10 | Environments 1–15 (difficulty extrapolation) |
| OMEGA mathematics | RLVE puzzles | OMEGA training set / reasoning-gym | OMEGA OOD splits, AIME 2024/2025, MATH-500, Minerva |
| Single-model condition | Dolci-Think prompts (Qwen3-4B-Thinking-2507 as sole teacher) | GRPO | 10 competition mathematics benchmarks |
| Released corpora | OpenThoughts3, INTELLECT-3, Nemotron-Cascade 2 | Mixed (math, code, instruction, science) | Competition math, OMEGA splits, GPQA-Diamond |

### Teacher Count as Proxy

Initial experiments use teacher count as a coarse proxy for route diversity: 1, 6, or 12 teachers generate SFT solutions at the same trajectory budget.

---

## Empirical Validation / Results

### Teacher Count Experiments

**Enigmata puzzles (RL on a domain different from SFT)**:
- Twelve teachers add ~18 points of pass@64 over one teacher for Qwen3-4B-Base on held-out puzzles
- Twelve teachers beat one in **54 of 56** benchmark/pool/budget cells when RL moves to mathematics (DAPO-Math-17k)
- MATH-500 pass@1 rises from **34.14% to 65.08%** (16-environment pool)

**Out-of-distribution evaluation (OMEGA)**:
- Five teachers beat one on OMEGA's OOD compositional problems at every sampling budget in both environment pools
- Advantage persists when RL runs on reasoning-gym (neither SFT nor RL trains on OMEGA)

### Route-Diverse Selection on RLVE

**OLMo3-7B results** (Figure 1):

| Setting | Diverse | Similar | Gap |
|---------|---------|---------|-----|
| All environments, pass@8 | ~40% | ~23% | **+16.9 pts** |
| SFT-seen environments | Higher | Lower | Positive |
| SFT-unseen environments | Higher | Lower | Positive |
| Difficulty bands 1–15 | Leads in every band | — | Positive |

**Solved-set expansion**: The diverse model solves **1,133 questions** that the similar model misses, while the similar model uniquely solves only **53** (Figure 1c). Diverse retains 95.67% of Similar's solved questions.

### Single-Model Condition

When one model (Qwen3-4B-Thinking-2507) writes every candidate solution:

| SFT Examples | Mean pass@8 Gain (Diverse − Similar) |
|--------------|--------------------------------------|
| 10k | +3.4 pts |
| 25k | +6.2 pts |
| 50k | +5.5 pts |

### Pre-RL Diagnostics (Mixed Rewards)

On 64 mathematics training prompts (OLMo3-7B, before RL):

| Condition | Mixed Rewards Share | Mean Solve Rate |
|-----------|---------------------|-----------------|
| Route-diverse | **54.7%** | Slightly lower |
| Route-similar | 46.9% | Slightly higher |
| Pre-SFT base | 51.6% | — |

The two selections move the informative-reward share in **opposite directions** from the base.

### Answer Diversity After RL

After the same RL, correct completions of diverse Qwen3 checkpoints show higher bigram Jaccard distance: **+16.68%** for Qwen3-4B and **+15.13%** for Qwen3-1.7B vs. similar checkpoints.

### Released Corpora Results

On OpenThoughts3, INTELLECT-3, and Nemotron-Cascade 2:

- Diverse selection leads on **every mathematics benchmark** in all three corpora, by **4.9 to 18.5 points** of average accuracy
- Leads on all three OMEGA splits and GPQA-Diamond
- Relative gains in mean score from **1.2% to 10.8%** at pass@1 and pass@8 over baselines

### Computational Cost

| Method | Time | Hardware |
|--------|------|----------|
| **Our selection (CPU-only)** | ~3 hours | 1 CPU node, 0 GPU |
| Gradient-diversity baseline | 64–232 GPU-hours | 7B/8B model per candidate |
| Embedding baseline | 64–232 GPU-hours | 7B/8B model per candidate |

---

## Theoretical and Practical Implications

### Theoretical Implications

1. **SFT accuracy is an unreliable predictor of RL readiness**: The route-diverse checkpoint had *lower* mean accuracy but produced *better* post-RL outcomes, confirming that the distribution of successes and failures across prompts matters more than aggregate accuracy.

2. **The mixed-reward mechanism provides a theoretical account**: Route diversity increases the share of prompts where $0 < p(x) < 1$ (mixed outcomes), which is precisely the regime where group-relative RL (e.g., GRPO) produces non-zero learning signals. This connects data selection to the mathematical structure of the RL objective.

3. **Coverage gap dynamics**: The gap between diverse and similar conditions widens with sampling budget up to a finite point, then narrows as both policies approach saturation. The gap is largest on problems near the edge of what each starting model solves reliably—consistent with an account where diversity expands the "reachable" problem set.

### Practical Implications

1. **A new selection criterion**: Route diversity is identified as a practical, orthogonal criterion alongside correctness and task coverage for SFT data selection.

2. **Cost-effective scalability**: The CPU-only, rule-based fingerprint enables selection over pools exceeding 2 million solutions with zero model calls, making it feasible for any post-training pipeline.

3. **Works within existing pipelines**: The method requires no new generation, no additional teachers, and no changes to the training objective—it is a drop-in selection step.

4. **Generalizes across settings**: Benefits appear across synthetic puzzles, competition mathematics, OOD benchmarks, different model sizes (1.7B, 4B, 7B), and multiple released corpora.

---

## Conclusion

Verified solutions are **not interchangeable** as preparation for RL. At a fixed demonstration budget, under matched training recipes and matched checkpoints, route-diverse selection from the same pool improves post-RL coverage, including on problems harder than either training stage encountered. The benefit persists even when a single model writes every candidate.

Pre-RL diagnostics explain why accuracy alone can mislead: the route-diverse checkpoint produces mixed rewards on more prompts despite slightly lower mean accuracy, giving group-relative RL more learning opportunities.

The proposed CPU-only selector outperforms random selection and topology, gradient-diversity, embedding, and lexical baselines in **every comparison** of mean post-RL performance across three released reasoning corpora, without model calls or additional generation.

**Future directions** (from Appendix H): Further exploration of the interaction between route diversity and other selection criteria, application to code and instruction-following domains, and investigation of optimal diversity levels for different RL recipes and model scales.

---

_Markdown view of https://picx.dev/p/R496Fn, served by PicX — AI-generated visual whiteboard summaries of research papers._
