Explore the research collection
6 entries · Follow this search
- 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
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
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
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
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.