Behavior Leverage Imbalance in Multi-Teacher On-Policy Distillation
Summary
Multi-teacher on-policy distillation (OPD) for agentic language models, designed to specialize teachers for tasks like tool calls or direct responses, can inadvertently cause a "behavior shift." This shift, invisible through aggregate losses, leads to over-calling tools on examples that require direct answers. Specifically, vanilla generalized knowledge distillation (GKD) improved tool-call recall but increased over-calling from 13.7% to 9.0% on APIGen-MT. The issue stems from "behavior leverage imbalance," where local token-level signals at mode-entry and structural positions disproportionately control global generation. To address this, Soft Clamp, a per-token divergence calibration method, dynamically compresses extreme Jensen-Shannon divergence while preserving gradients, matching GKD's decision accuracy.
Key takeaway
For machine learning engineers developing agentic language models with multi-teacher distillation, you should implement mechanisms to monitor and calibrate local token-level divergence. Ignoring "behavior leverage imbalance" can lead to models over-calling tools, even if aggregate losses appear stable. Consider integrating methods like Soft Clamp to reduce over-calling from 13.7% to 9.0% and prevent undesirable tool-call loops, ensuring more reliable and efficient agent behavior.
Key insights
Multi-teacher distillation can induce subtle behavior shifts in agentic LMs due to imbalanced local token-level signals.
Principles
- Local token-level signals can disproportionately control global generation mode.
- Multi-teacher on-policy distillation should monitor where teacher signals act.
Method
Soft Clamp dynamically compresses extreme token-level Jensen-Shannon divergence while preserving nonzero gradients to calibrate per-token divergence.
In practice
- Reduces tool over-calling from 13.7% to 9.0% on APIGen-MT.
- Lowers tool-call loops and repeated calls in BFCL multi-turn diagnostics.
Topics
- Agentic Language Models
- Knowledge Distillation
- On-Policy Distillation
- Tool Use
- Behavior Leverage Imbalance
- Soft Clamp
- Jensen-Shannon Divergence
Best for: Research Scientist, AI Engineer, AI Scientist, Machine Learning Engineer, NLP Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.