Explore the research collection
15 entries · Follow this search
- Paper
Strategically Diverse Sampling for Self-Training
Challenges what makes good self-training data. Standard RFT (IID sampling, filter for correctness) overrepresents strategies the model already favors, so asymptotic pass@k barely improves. Instead, first ask the model to enumerate distinct approaches, then solve each problem once per approach: GROOT builds a hierarchical tree over the approach space and samples distinct paths; Verbalized Sampling produces a probability-weighted list of approaches. Results on competitive programming and Next-Chapter Prediction: GROOT with 4 samples beats IID with 64 samples on held-out frontier pass@64 (15.5 vs 7.9); training on only the *incorrect* strategic samples still outperforms standard IID rejection sampling (17.5 VS-4-incorrect-only vs 7.9 IID-64) — diversity of approaches matters more than correctness; a 4B student's own diverse samples beat IID distillation from a 235B teacher (22.8 vs 13.4) at far lower cost. GROOT/VS-trained models also start and end higher for test-time scaling and as RL initialization (GROOT-4 hits 19% validation pass@8 ~41 RL steps before IID-64). Directly relevant to the user's LLM training/post-training setups and the SFT-vs-GRPO thread.
- Paper
Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents
Terminal agents act through stochastic model generations, but the ability to generate a useful action doesn't ensure reliable execution — one bad shell command (wrong package install) can poison the environment even when the model could have generated a better alternative. Investigates allocating test-time compute at the model-harness boundary: Mid-Harness samples and verifies candidate actions before forwarding one for execution, leaving generator and harness unchanged. With a TMAX-9B generator, more action sampling helps little under weak verification, while a capable verifier exploits useful alternatives from the same generator. On TerminalBench-Lite, a GPT-5.6 Sol verifier raises Pass@1 from 50.00% to 68.03% with 8 sampled actions; with TMAX-9B as its own verifier, pairwise verification performs best; distilling the stronger verifier into TMAX-9B improves Pass@1 further without touching the generator. Combining action and trajectory scaling reaches higher success at lower estimated token cost than more trajectories alone. Key design rule: spend more on the verifier than on extra samples. Practitioner takeaway (@thesignalnow): label candidate pairs offline with the strong verifier, fine-tune a small model, deploy it as the always-on checker — avoids paying frontier-model prices per action. Directly relevant to the user's agent-harness work.
- Paper
Reason in Style: Discovering and Controlling Style in Language Models
Language models learn style and content jointly, making stylistic variation hard to identify and control. Trains an autoencoder to separate style from content representations on 100K+ verified math reasoning traces from nine teacher models (gemma, gpt-5, gpt-oss, llama, olmo, phi-4, qwen2.5, qwen3, qwen3.5), discovering six recurring yet imbalanced styles. Fine-tunes Qwen3 students (0.6B, 1.7B, 4B) with a style prefix and importance weighting to balance styles, then conditions on each style at eval: improves Pass@k over SFT on the same data across six math benchmarks. Key finding: style affects correctness — the probability of solving a problem depends on the style conditioned on, and different problems benefit from different styles. Stylistic variation in model-generated data can be discovered unsupervised and made explicit, giving both control and improved reasoning performance. Strong correspondence between requested and realized styles.
- Paper
Gumbel Straight Flow: Distilling Autoregressive Models into One-step Flow Maps
Can autoregressive language models be used as teachers for flow-map parallel samplers? Yes — via the Gumbel-max trick: sampling from an AR model is argmax(logits + Gumbel noise) per token. The paper defines a flow matching process directly over this noise-token coupling and theoretically demonstrates the induced coupling between Gumbel noise and one-hot token sequences yields non-intersecting linear paths from noise to sequence representations. They then distill into a bidirectional flow-map student: the AR teacher supervises the velocity along the path (tangent condition), and a consistency loss (flow map semigroup objective) trains few-step jumps. At inference, GSF maps noise to a full token sequence in parallel in just 1-4 steps. Across OpenWebText, LM1B, TinyStories, and XSum, GSF outperforms several few-step baselines (FMLM, GD, discrete diffusion) establishing a strong compute-quality Pareto frontier, and outperforms current few-step language generation baselines on pretraining and downstream tasks. Comparison table: GSF is the only method with all of parallel generation, deterministic pairing, and straight paths.
- Paper
Post-Training Leaves Behavioral Shadows on Unrelated Decisions
Finds that language models can transfer capabilities through task-unrelated text. Active Taskless Distillation (ATD) achieves capability transfer using only a single word from the teacher per prompt: it selects prompts where the teacher and student's shared public ancestor is nearly indifferent between two ordinary words, and a student initialized from that ancestor learns solely from the resulting prompt-word pairs, with no target-task examples, teacher logits, or teacher parameters. In the primary coding experiment with Qwen2.5-1.5B, 5,664 instances yield a 5.34 percentage-point gain on HumanEval+ over an exact nuisance-matched control; transfer also appears in scientific knowledge, commonsense reasoning, and reading comprehension across model generations, sizes, and families. The learned shadow is composable and its strength tracks the teacher's update strength.
- Paper
Beyond Teacher Assignment: Domain-Normalized Multi-Teacher On-Policy Distillation
RL can turn one language model into several specialists (math, coding, instruction-following), and multi-teacher on-policy distillation (MOPD) merges them by having the specialist for each prompt's domain give per-token feedback. But the routing decides which specialist teaches, not how strongly its feedback moves the shared student: in Qwen3.5 models at three sizes, the MOPD student does not beat one taught by the best single specialist and captures little of the math specialist's advantage, because instruction-following feedback is several times more spread out than math feedback and dominates updates. Domain-Normalized MOPD (DN-MOPD) keeps the routing and rescales each domain's feedback by its measured spread; on six public benchmarks it improves average score over MOPD at every size, across three seeds and two answer-length limits, recovering most of the lost math gain. Controls show the gain comes mainly from turning down instruction-following feedback rather than turning up math alone.
- Paper
Recursive Self-Improvement via On-Policy Distillation for Reasoning
On-policy distillation (OPD) trains a student model by having it generate trajectories, then matching its next-token predictions with an external teacher's next-token predictions. This provides dense, token-level supervision to the student. On-policy self-distillation (OPSD) eliminates the need for the external teacher. Specifically, a second frozen copy of the student model, now given the ground truth in its context, serves as the teacher. The student model only receives the problem and learns to mimic the privile…
- Paper
Fine Until Fine-Tuned: Repeated Solutions Make Reasoning Fragile
Shows that reasoning distillation recipes like s1 and LIMO -- training a model on the same thousand or fewer worked solutions many times over -- leave reasoning fragile to later training stages, even stages with nothing to do with reasoning. Qwen3.5-9B-Base fine-tuned on its own correct competition-math solutions solved ~95% of held-out problems whether drilled on a few hundred solutions ~8 times each or shown many more once. But one pass of ordinary instruction tuning left the once-shown model intact while the drilled one fell to 86.0%, and harsher later stages took it to 59.3% or below. A third model that revisited the drilled problems equally often with a fresh solution each time was unharmed, so the damage comes from seeing the same texts again, not from few problems. The break recurs with a stronger model's traces, across further runs, models, and tasks. It is cheap to undo: reasoning is suppressed rather than erased -- five updates of reasoning training (or brief training on the reasoning format with almost no mathematics) bring almost all of it back. Fresh solutions and replaying 6.25% of original solutions in gentler later stages also prevent the damage; sharpening alone does not explain it.
- Paper
Rethinking On-Policy Distillation of Large Language Models II: One Training Example
Argues on-policy distillation is data-overfed but algorithm-starved: state coverage grows quickly with few queries while teacher alignment remains slow. One query reaches 71.5% of full-data OPD state coverage; 16 diverse queries reach 98.9% and match full-data training.
- Paper
ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks
Turns interactive web apps into verifiable, reference-guided software-engineering tasks. The mine-craft-patch pipeline replays app behaviors to produce 1,975 replay-verified behaviors across 26 apps and 4,063 tasks with no human intervention.
- Paper
A Smaller Transformer in Your Transformer
arXiv 2609.20100v1 (cs.CV; submitted 2026-09-17; accepted BMVC 2026). Formalises ViT block redundancy (contiguous layers with high functional similarity) and proposes Transformer-Within-Transformer (TWT): max–min DP discovery of redundant phases, auditioned single-layer surrogate init, then single-stage deep-supervision distillation. Unlike Raptor/BRH (recurrent shared layer keeps FLOPs) or TOAST linear maps (lose token mixing), TWT replaces each phase with one ViT layer. Natural images: ~6-layer TWT ~half FLOPs, competitive ImageNet (e.g. DINOv2 B/14 84.2% vs 84.6% baseline / 84.0% Raptor-6). Histopathology H0-mini/Hibou-B: often matches or improves MIL QWK/accuracy at 3–5 layers. ADE20k denser drop. Code: https://github.com/dsb-ifi/TWT.
- Paper
Speculative Knowledge Distillation: Bridging the Teacher-Student Gap Through Interleaved Sampling
arXiv 2410.11325: Speculative Knowledge Distillation (SKD)—student proposes tokens; teacher replaces those outside top-K; mixes on-policy alignment with teacher quality. Discord Philipp Schmid: Google method addressing on-policy KD limits via interleaved teacher/student sampling.
- Paper
Trajectory-Refined Distillation
arXiv 2606.08432. Identifies prefix failure in on-policy (self-)distillation: wrong student prefixes make per-token teacher KL bimodal/fragmented. Proposes TRD: sample on-policy y_o, then teacher-refine to y_r (OPSD conditions on reference), distill forward KL on y_r. Gains on AIME/AMOBench/code vs Forward/Reverse KL ± clip/top-K with Qwen3-1.7B/4B/8B; code https://github.com/louieworth/trd.
- Paper
Late-to-Early Training: LET LLMs Learn Earlier, So Faster and Better
LET adds a decaying cosine-alignment loss so early layers of a larger target, early in training, match the last-layer hidden states of a small already-trained teacher (late-to-early-layer and late-to-early-step). On 1.4B LLaMA-like models on The Pile (~20B tokens) it reports up to 1.6x faster downstream improvement and ~5% higher average one-shot accuracy vs standard CLM, even with a 10x smaller teacher (SmolLM-135M); 7B also beats baseline, reverse KD, and SALT. Ablations: last-to-early (L2E) alignment is best; lambda=0.1; S_stop=1500. No official code on the abs page.
- Paper
DAPD: Dual-Anchored Policy Distillation
Diagnoses OPSD failure as information asymmetry: a privileged teacher (reference/tool) supervises a student that lacks that information at inference, so the student learns unreproducible privilege-dependent behavior. DAPD adds Dual-Path Anchoring (self-conditioned bridge aligning reference and rollout with and without privilege) and Dual-Source Anchoring (reference-to-rollout and rollout-to-reference). On Qwen3-4B, +2.00 avg over OPSD across reasoning/coding/instruct; gains hold at scale (+2.69 at 4B, +2.78 at 32B vs OPSD on reasoning Avg@12) while OPSD's gains vanish. Code https://github.com/uanu2002/DAPD.