Strategically Diverse Sampling for Self-Training
Organizations: School of Informatics, University of Edinburgh
Abstract
Many LLM training and inference methods, including RL and test-time scaling, depend on repeated sampling, but benefit only when the responses meaningfully differ. Self-training faces the same challenge: training data is typically constructed by sampling IID responses and filtering primarily for correctness, thereby overrepresenting strategies a model already favours. We investigate strategic diversity, or substantive variation among approaches to a problem, as an alternative principle for constructing self-training data. We generate strategically diverse data with two sampling methods: GROOT, a new method which constructs a hierarchical tree of approaches and samples distinct paths, and Verbalized Sampling (VS), adapted to produce an unstructured set of approaches. Across competitive programming and Next-Chapter Prediction domains, models trained on strategically sampled data outperform IID-trained counterparts on difficult tasks and provide strong initializations for RL and test-time scaling. Most strikingly, self-training on strategically diverse but incorrect traces from Qwen3-4B outperforms IID distillation from a 235B teacher. These results challenge prevailing assumptions about what makes useful self-training data and show that diversity of approaches can matter more than correctness or teacher scale.
Figures & tables
| Code | NCP | |||||
|---|---|---|---|---|---|---|
| Method | 4 | 8 | 64 | 5% | 10% | 15% |
| IID | 0 42 | 0 77 | 312 | 1,921 | 631 | 156 |
| IID ( ) | 0 60 | 106 | 379 | 5,326 | 3,545 | 1,495 |
| Groot | 155 | 240 | — | 2,775 | 1,077 | 286 |
| Groot ( ) | 158 | 243 | — | 5,366 | 3,474 | 1,505 |
| VS | 137 | 217 | — | 2,835 | 1,127 | 321 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Base | 0.5/3.6/21.9 | 0.2/1.3/7.4 | 0.1/0.5/2.9 | 0.2/0.9/5.2 |
| IID-4 | 0.7/4.9/19.8 | 0.2/1.5/7.0 | 0.1/0.7/3.5 | 0.2/1.1/5.2 |
| IID-4 ( ) | 1.0/6.5/22.4 | 0.5/3.2/10.8 | 0.1/1.0/5.2 | 0.3/2.1/8.0 |
| IID-64 | 1.0/6.3/21.5 | 0.4/2.5/8.7 | 0.1/1.0/4.4 | 0.2/1.8/6.5 |
| IID-64 ( ) | 1.5/7.4/23.0 | 0.4/2.8/10.7 | 0.2/1.4/5.2 | 0.3/2.1/7.9 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| IID-4 (self) | 0.7/5.2/20.5 | 0.3/1.9/8.2 | 0.1/0.7/3.3 | 0.2/1.3/5.8 |
| IID-4 (teacher) | 4.6/16.7/39.3 | 1.1/6.9/19.1 | 0.3/2.1/7.6 | 0.7/4.5/13.4 |
| GROOT-4 (self) | 4.8/18.5/39.5 | 2.4/11.3/25.0 | 1.8/7.3/ 15.2 | 2.1/9.3/20.1 |
| GROOT-4 (teacher) | 5.0/19.4/ 40.3 | 1.8/9.3/20.5 | 1.4/6.7/15.0 | 1.6/8.0/17.8 |
| VS-4 (self) | 5.5 / 19.6 / 40.3 | 3.1 / 13.6 / 30.8 | 2.1 / 7.6 /14.7 | 2.6 / 10.6 / 22.8 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Base | 0 0.5 / | 0 3.6 / | 21.9 | 0 0.2 / | 0 1.3 / | 0 7.4 | 0 0.1 / | 0 0.5 / | 0 2.9 | 0 0.2 / | 0 0.9 / | 0 5.2 |
| +RL | 0 4.5 / | 13.9 / | 29.3 | 0 1.1 / | 0 5.9 / | 15.3 | 0 0.4 / | 0 2.4 / | 0 7.5 | 0 0.8 / | 0 4.1 / | 11.4 |
| IID-4 | 0 0.7 / | 0 4.9 / | 19.8 | 0 0.2 / | 0 1.5 / | 0 7.0 | 0 0.1 / | 0 0.7 / | 0 3.5 | 0 0.2 / | 0 1.1 / | 0 5.2 |
| +RL | 0 5.5 / | 17.3 / | 36.6 | 0 1.1 / | 0 6.0 / | 15.4 | 0 0.4 / | 0 2.0 / | 0 6.4 | 0 0.7 / | 0 4.0 / | 10.9 |
| GROOT-4 | 0 3.5 / | 14.1 / | 30.5 | 0 1.5 / | 0 8.0 / | 19.5 | 0 1.2 / | 0 5.3 / | 11.5 | 0 1.4 / | 0 6.7 / | 15.5 |
Appendix figures & tables28 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| Base | 11.4/32.4/52.2 | 23.1/38.2/50.4 | 3.2/6.6/10.5 | 13.2/22.4/30.4 |
| IID-4 | 12.9/33.7/51.8 | 23.4/37.5/49.0 | 3.3/7.0/11.5 | 13.3/22.2/30.2 |
| IID-8 | 15.4 /38.0/55.2 | 26.7 /40.8/52.5 | 3.9/8.8/16.5 | 15.3 /24.8/34.5 |
| IID-64 | 13.1/33.9/52.5 | 24.1/38.9/51.9 | 3.5/7.5/12.5 | 13.8/23.2/32.2 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| Base | 11.4/32.4/52.2 | 23.1/38.2/50.4 | 3.2/6.6/10.5 | 13.2/22.4/30.4 |
| +RL | 27.7/57.5/73.6 | 35.4/51.9/62.4 | 9.9/21.0/30.1 | 22.6/36.5/46.3 |
| IID-4 | 12.9/33.7/51.8 | 23.4/37.5/49.0 | 3.3/7.0/11.5 | 13.3/22.2/30.2 |
| +RL | 30.2/58.7/73.7 | 38.9 / 55.6 /65.6 | 11.0 / 22.8 / 31.5 | 25.0 / 39.3 / 48.5 |
| Full test set | Frontier ( ) | |||||
| Method | Cobalt | LiveCodeBench | OJBench | Cobalt | LiveCodeBench | OJBench |
| Base | 0 8.0 21.9 | 21.0 28.2 | 0 2.6 0 7.7 | 0 0.3 0 3.9 | 0 0.3 0 2.2 | 0 0.1 0 3.5 |
| IID-4 | 10.7 23.8 | 21.9 29.9 | 0 2.9 0 9.1 | 0 0.6 0 4.8 | 0 0.3 0 0.9 | 0 0.1 0 4.1 |
| IID-8 | 13.6 26.7 | 25.9 32.5 | 0 3.6 0 9.3 | 0 1.0 0 5.5 | 0 0.6 0 2.8 | 0 0.3 0 4.4 |
| Groot -4 | 11.5 22.8 | 23.4 28.8 | 0 4.4 0 8.0 | 0 1.4 0 4.3 | 0 0.6 0 2.4 | 0 1.1 0 3.8 |
| Groot -8 | 11.3 22.7 | 22.7 28.1 | 0 3.7 0 7.3 | 0 1.0 0 4.2 | 0 0.6 0 2.3 | 0 0.7 0 3.0 |
| Code | NCP | |||||
|---|---|---|---|---|---|---|
| Method | 4 | 8 | 64 | 5% | 10% | 15% |
| IID | 52 | 97 | 424 | 5,375 | 2,807 | 0 915 |
| Groot | 115 | 197 | — | 5,725 | 3,340 | 1,140 |
| VS | 137 | 233 | — | 5,707 | 3,286 | 1,172 |
| Method | ||||||
|---|---|---|---|---|---|---|
| Base (no distill) | 74.9 | 86.7 | 37.4 | 51.4 | 11.1 | 18.6 |
| IID | 72.3 | 83.9 | 34.6 | 48.0 | 10.4 | 17.1 |
| Groot | 82.8 | 91.0 | 45.3 | 59.5 | 14.6 | 23.4 |
| VS | 81.4 | 90.8 | 43.6 | 57.7 | 14.2 | 22.6 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| Base | 11.4/32.4/52.2 | 23.1/38.2/50.4 | 3.2/6.6/10.5 | 13.2/22.4/30.4 |
| IID-4 (self) | 12.9/33.7/51.8 | 23.4/37.5/49.0 | 3.3/7.0/11.5 | 13.3/22.2/30.2 |
| IID-4 (teacher) | 13.0/35.6/55.8 | 23.6/38.7/51.4 | 3.9/9.1/16.7 | 13.8/23.9/34.0 |
| GROOT-4 (self) | 13.2/36.0/56.7 | 25.6/41.9/55.8 | 5.0/12.5/22.0 | 15.3/27.2/38.9 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| Base | 16.0/39.4/56.7 | 34.3 /44.0/50.3 | 9.3 /14.8/18.3 | 21.8 /29.4/34.3 |
| IID-4 | 15.0/37.9/55.1 | 34.0/43.4/50.0 | 8.8/14.6/18.4 | 21.4/29.0/34.2 |
| IID-8 | 15.1/38.1/55.5 | 33.9/43.3/50.1 | 9.0/14.6/18.3 | 21.4/28.9/34.2 |
| IID-64 | 16.2/39.6/55.7 | 33.9/43.7/50.8 | 9.2/14.8/19.1 | 21.5/29.2/35.0 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| Base | 16.0/39.4/56.7 | 34.3/44.0/50.3 | 9.3/14.8/18.3 | 21.8/29.4/34.3 |
| IID-4 RFT | 15.0/37.9/55.1 | 34.0/43.4/50.0 | 8.8/14.6/18.4 | 21.4/29.0/34.2 |
| IID-4 SFT | 15.3/38.6/55.0 | 33.8/43.7/50.9 | 9.3/14.9/18.8 | 21.5/29.3/34.9 |
| IID-4 ANTI | 15.5/38.7/55.1 | 34.1/43.5/49.9 | 9.0/14.6/18.9 | 21.6/29.1/34.4 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| Base | 16.0/39.4/56.7 | 34.3/44.0/50.3 | 9.3/14.8/18.3 | 21.8/29.4/34.3 |
| IID-4 | 15.0/37.9/55.1 | 34.0/43.4/50.0 | 8.8/14.6/18.4 | 21.4/29.0/34.2 |
| IID-4 ( ) | 17.2/41.1/56.8 | 34.7 /44.9/52.1 | 9.6 /15.2/20.1 | 22.2 /30.0/36.1 |
| IID-8 | 15.1/38.1/55.5 | 33.9/43.3/50.1 | 9.0/14.6/18.3 | 21.4/28.9/34.2 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| IID-4 (self) | 15.1/38.3/55.5 | 34.1/43.8/50.6 | 8.8/14.3/17.8 | 21.5/29.0/34.2 |
| IID-4 (teacher) | 16.9/43.8/63.9 | 32.9/45.9/54.9 | 7.8/15.0/21.8 | 20.3/30.4/38.4 |
| IID-8 (self) | 15.2/38.3/55.9 | 34.0/43.7/50.8 | 9.0/14.3/17.6 | 21.5/29.0/34.2 |
| IID-8 (teacher) | 17.9/45.5/65.2 | 32.7/46.2/55.6 | 8.0/15.2/21.7 | 20.4/30.7/38.6 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| IID-4 (self) | 15.0/37.9/55.1 | 34.0 /43.4/50.0 | 8.8/14.6/18.4 | 21.4 /29.0/34.2 |
| IID-4 (teacher) | 16.0/42.0/62.3 | 32.4/45.1/54.3 | 7.5/14.4/21.1 | 19.9/29.8/37.7 |
| IID-8 (self) | 15.1/38.1/55.5 | 33.9/43.3/50.1 | 9.0/14.6/18.3 | 21.4 /28.9/34.2 |
| IID-8 (teacher) | 17.0/ 43.4 / 63.0 | 32.1/45.2/53.5 | 7.7/14.7/20.9 | 19.9/30.0/37.2 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| Base | 16.0/39.4/56.7 | 34.3/44.0/50.3 | 9.3/14.8/18.3 | 21.8/29.4/34.3 |
| +RL | 19.5/43.5/59.1 | 33.6/45.3/53.5 | 9.2/15.6/21.8 | 21.3/30.5/37.7 |
| IID-4 | 15.0/37.9/55.1 | 34.0/43.4/50.0 | 8.8/14.6/18.4 | 21.4/29.0/34.2 |
| +RL | 21.8/46.6/63.6 | 35.6 /46.8/54.1 | 9.3/15.6/20.9 | 22.5 /31.2/37.5 |
| Method | Cobalt | LiveCodeBench | OJBench | Macro-Avg |
|---|---|---|---|---|
| Full dataset | ||||
| IID-4 SFT | 15.3/38.6/55.0 | 33.8/43.7/50.9 | 9.3/14.9/18.8 | 21.5/29.3/34.9 |
| +RL | 21.5 / 45.9 /60.9 | 36.0 /46.5/53.6 | 9.6 /16.0/21.9 | 22.8 /31.3/37.7 |
| IID-4 ANTI | 15.5/38.7/55.1 | 34.1/43.5/49.9 | 9.0/14.6/18.9 | 21.6/29.1/34.4 |
| +RL | 20.0/43.1/58.7 | 35.4/45.7/52.0 | 9.0/14.6/19.3 | 22.3/30.1/35.6 |
| Method | Easy ( ) | Medium ( ) | Med-hard ( ) | Hard ( ) | V-hard ( ) |
|---|---|---|---|---|---|
| Base | 19.0/41.4/54.8 | 14.5/40.9/67.7 | 14.2/38.0/61.7 | 14.8 /38.4/55.7 | 7.2 /15.3/15.4 |
| IID-4 | 18.5/41.3/54.6 | 13.4/35.9/63.1 | 13.2/37.9/62.3 | 13.5/36.6/51.2 | 6.2/15.8/22.1 |
| IID-64 | 20.2/43.8/57.6 | 14.1/38.9/59.3 | 14.1/39.3/61.7 | 14.7/ 38.9 /53.7 | 6.1/15.1/19.2 |
| IID-64 ( ) | 22.1 / 46.6 / 58.9 | 14.3/39.3/62.2 | 14.4/37.9/59.5 | 14.5/38.8/53.3 | 6.9/16.1/21.2 |
| GROOT-4 | 20.0/43.8/57.5 | 21.8/55.3/ 75.0 | 15.3/43.1/62.3 | 12.0/37.2/54.7 | 5.0/16.1/26.0 |
| Method | Easy ( ) | Medium ( ) | Hard ( ) |
|---|---|---|---|
| Base | 86.2/95.4/97.7 | 32.3/47.2/57.7 | 7.8 /14.3/20.0 |
| IID-4 | 85.4/95.0/97.6 | 32.1/46.3/56.9 | 7.6/13.8/19.9 |
| IID-64 | 85.8/95.2/97.4 | 31.8/47.3/59.3 | 7.5/13.6/20.3 |
| IID-64 ( ) | 86.4 /95.6/97.6 | 32.4 /48.2/60.0 | 7.6/15.3/22.0 |
| GROOT-4 | 84.1/ 96.4 / 98.8 | 28.9/51.5/65.4 | 6.9/18.1/28.0 |
| Method | Easy ( ) | Medium ( ) | Hard ( ) |
|---|---|---|---|
| Base | 45.7/63.5/70.7 | 5.8/12.1/18.5 | 0.4/1.6/2.0 |
| IID-4 | 43.8/62.5/68.0 | 5.4/12.2/20.6 | 0.4/1.5/1.7 |
| IID-64 | 45.3/62.5/69.0 | 5.7/12.7/22.1 | 0.4/1.5/1.7 |
| IID-64 ( ) | 45.9 /64.5/75.7 | 6.0/13.4/21.5 | 0.5 / 1.7 /2.1 |
| GROOT-4 | 41.7/70.2/ 90.2 | 7.0 /19.6/29.3 | 0.2/1.0/ 2.4 |
| Method | Cobalt | LiveCodeBench | OJBench |
|---|---|---|---|
| Base | 15.9 29.6 | 34.2 39.9 | 0 9.1 12.6 |
| IID-4 | 15.5 27.7 | 34.6 40.4 | 0 9.1 12.5 |
| IID-64 ( ) | 17.4 33.9 | 34.7 42.5 | 0 9.2 13.4 |
| Groot -4 | 16.8 37.0 | 33.9 44.5 | 0 9.3 14.1 |
| VS -4 | 17.9 35.2 | 33.4 45.1 | 0 9.3 14.1 |
| Method | Easy | Medium | Med-hard | Hard | V-hard | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Base | 17.9 | 35.9 | 16.0 | 27.3 | 15.1 | 27.5 | 15.4 | 25.6 | 6.2 | 12.8 |
| IID-4 | 19.1 | 34.5 | 14.0 | 21.2 | 13.1 | 28.4 | 14.4 | 22.7 | 5.6 | 10.1 |
| IID-64 | 19.9 | 38.7 | 17.0 | 21.3 | 13.8 | 31.3 | 14.7 | 26.2 | 6.7 | 9.1 |
| IID-64 ( ) | 22.5 | 44.1 | 16.1 | 28.1 | 14.2 | 29.6 | 15.1 | 25.4 | 5.9 | 10.7 |
| GROOT-4 | 19.5 | 42.6 | 21.0 | 39.5 | 16.8 | 37.5 | 12.9 | 30.3 | 5.6 | 12.3 |
| VS-4 | 22.2 | 42.0 | 23.1 | 44.0 | 17.0 | 34.6 | 12.8 | 24.2 | 4.6 | 10.9 |
| Threshold | |||
|---|---|---|---|
| Model | 5% | 10% | 15% |
| Base | 27.6 | 9.5 | 2.0 |
| IID-8 | 27.2 | 9.5 | 1.9 |
| IID-16 | 28.3 | 9.7 | 2.1 |
| Groot -8 | 39.9 | 15.7 | 3.7 |
| Groot -16 | 39.1 | 15.0 | 3.6 |
| Threshold | |||
| Model | 5% | 10% | 15% |
| IID-16 RFT | 8.9/19.7/27.1 | 2.0/5.8/9.1 | 0.3/1.1/2.0 |
| IID-16 SFT | 8.9/19.7/27.2 | 2.1/6.0/9.1 | 0.3/1.1/2.0 |
| IID-16 ANTI | 9.0/19.9/28.0 | 2.0/6.1/9.7 | 0.3/1.1/2.0 |
| Groot -16 RFT | 13.6/29.1/39.5 | 3.5/10.0/15.4 | 0.6/2.1/3.9 |
| Threshold | |||
| Model | 5% | 10% | 15% |
| Base | 9.0/20.1/27.6 | 2.0/6.0/9.5 | 0.3/1.1/2.0 |
| +RL | 5.4/13.3/19.3 | 1.1/3.2/5.0 | 0.2/0.6/1.2 |
| IID-16 | 9.3/20.5/28.3 | 2.1/6.2/9.7 | 0.3/1.2/2.1 |
| +RL | 7.7/17.9/24.9 | 1.6/4.8/7.8 | 0.2/0.9/1.6 |
| Foil threshold | |||
| Model | 5% | 10% | 15% |
| Own threshold 5% | |||
| Base | 2.7/7.6/11.2 | 4.5/11.1/16.2 | 5.2/12.6/18.2 |
| IID-16 | 3.4/9.3/13.9 | 6.0/14.6/21.1 | 7.2/16.8/23.5 |
| Groot -16 | 5.1/13.7/ 20.4 | 14.3/30.9/ 41.2 | 21.5/40.8/ 51.9 |
| Setting | Value | |
|---|---|---|
| Sampling (code) | default budget per problem | 4 ( ) |
| planner / top- / max tokens | 0.45 / 0.95 / 8192 | |
| solver and IID / top- / max tokens | 0.85 / 0.95 / 8192 | |
| high-temperature IID | ||
| Sampling (NCP) | default budget per section | 16 ( ) |
| planner and solver | 0.85 |
Self-Training for Language Models
Self-training for language models uses their own generations, feedback, and interaction traces as supervision to improve capabilities with less labeled data.
See all 79 papers