Harness-Aware Distillation for Small Language Model Agents
Moonseok Choi, Taehong Moon, Giung Nam, Juho Lee
Key points
From the paper's conclusion- We proposed Harness-Aware Distillation (HAD) to distill language model agents with a harness, focusing on teacher's abilities beyond the harness.
- HAD complements on-policy distillation with action preference and validity check.
- HAD outperforms on-policy distillation baselines and adaptively keeps learnable feedback in its weights while reading state information from the harness.
Abstract
Language model agents are deployed with a harness, the software around the model that manages its context, tools, and feedback. When such an agent is distilled into a smaller one, the harness stays in place, so the student mainly needs the teacher-specific abilities that the harness cannot provide, such as acting correctly on harness information. Standard distillation, however, imitates the teacher's full outputs and treats the harness as part of the input. We propose Harness-Aware Distillation (HAD), which focuses distillation on what the teacher adds beyond the harness. HAD complements on-policy distillation with two components: an action preference that contrasts the same teacher's actions with and without the harness information, scored after the student's own reasoning, and a validity check that drops preference pairs whose preferred action contradicts the harness records. We show that the contrast gives the student information that imitating the teacher alone cannot provide, and HAD needs no task rewards, success labels, or future information. Across multiple long-horizon agent benchmarks and models, HAD outperforms on-policy distillation baselines with the same fixed harness. Our analysis shows that HAD enters fewer unproductive loops and recovers from errors more often than the baselines, and suggests that it adaptively keeps learnable feedback in its weights while reading state information from the harness.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- We proposed Harness-Aware Distillation (HAD) to distill language model agents with a harness, focusing on teacher's abilities beyond the harness.
- HAD complements on-policy distillation with action preference and validity check.
- HAD outperforms on-policy distillation baselines and adaptively keeps learnable feedback in its weights while reading state information from the harness.
Readers' thoughts
No reader thoughts yet.
Related papers
- Harness Annealing: Learning to Act with Less External ControlarXiv · 2026
- Your Policy Is Secretly a Harness: The Decision Geometry of Agent InterfacesarXiv · 2026
- Harness Policy Distillation: Aligning Agent Policies with Runtime SemanticsarXiv · 2026
- Elicitation or Expansion? Demystifying Gains from Agent Harness OptimizationarXiv · 2026
- Learning When to Ask: Advisor-Aware Post-Training for SLM AgentsarXiv · 2026
- ZeroHero: Training Small Language Agents from ScratcharXiv · 2026