Research Papers 论文研究 1d ago Updated 1d ago 更新于 1天前 49

Behavior Leverage Imbalance in Multi-Teacher On-Policy Distillation 多教师在线策略蒸馏中的行为杠杆不平衡

Multi-teacher on-policy distillation for agentic LLMs can cause "behavior leverage imbalance," leading to over-calling of tools despite aggregate loss metrics appearing stable. Local token-level signals at structural entry points (e.g., tags, function names) exert disproportionate influence on global generation modes, a factor often missed by standard divergence monitoring. The proposed "Soft Clamp" method dynamically compresses extreme per-token Jensen-Shannon divergence while preserving gradie 多教师在线策略蒸馏(OPD)在智能体工具调用场景中会导致“行为杠杆失衡”,引发模型过度调用工具的隐蔽偏差。 传统聚合损失指标无法揭示该问题,研究发现局部令牌级信号(如模式入口标记)对全局生成模式具有不成比例的控制力。 提出Soft Clamp方法,通过动态压缩极端的Jensen-Shannon散度并保留非零梯度,校准每令牌分歧。 在APIGen-MT基准上,Soft Clamp将过度调用率从13.7%降至9.0%,同时保持决策准确率,并减少多轮对话中的循环调用。

65
Hot 热度
75
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • Multi-teacher on-policy distillation for agentic LLMs can cause "behavior leverage imbalance," leading to over-calling of tools despite aggregate loss metrics appearing stable.
  • Local token-level signals at structural entry points (e.g., tags, function names) exert disproportionate influence on global generation modes, a factor often missed by standard divergence monitoring.
  • The proposed "Soft Clamp" method dynamically compresses extreme per-token Jensen-Shannon divergence while preserving gradients, effectively calibrating teacher signals.
  • Empirical results on APIGen-MT show Soft Clamp reduces tool over-calling from 13.7% to 9.0% without sacrificing decision accuracy compared to vanilla Generalized Knowledge Distillation.
  • The study highlights the necessity of monitoring the spatial distribution of teacher signals rather than relying solely on aggregate loss values during distillation training.

Why It Matters

This research addresses a critical failure mode in training agentic language models that rely on multi-teacher distillation, revealing that standard aggregate metrics can mask significant behavioral shifts like excessive tool usage. For AI practitioners, it provides a concrete solution (Soft Clamp) to improve the reliability and efficiency of tool-use agents by preventing redundant or incorrect tool calls, which is essential for deploying robust autonomous systems.

Technical Details

  • Problem Analysis: The authors identify "behavior leverage imbalance" where vanilla generalized knowledge distillation (GKD) improves tool-call recall but induces over-calling. They demonstrate that aggregate losses and total token exposure do not adequately explain this shift.
  • Mechanism: The core issue lies in local token-level signals at mode-entry and structural positions (such as <tool> tags or function names) having disproportionate control over the global generation mode.
  • Proposed Solution: "Soft Clamp," a per-token divergence calibration method that dynamically compresses extreme token-level Jensen-Shannon divergence. Crucially, it preserves non-zero gradients to ensure learning continues.
  • Evaluation Benchmarks: The method was tested on APIGen-MT and BFCL (Big Function Call Benchmark).
  • Performance Metrics: On APIGen-MT, Soft Clamp reduced over-calling rates from 13.7% to 9.0% relative to vanilla GKD while maintaining equivalent decision accuracy. In BFCL multi-turn diagnostics, it also reduced tool-call loops and repeated calls.

Industry Insight

  • Monitoring Granularity: AI teams implementing multi-teacher distillation should move beyond aggregate loss tracking and implement fine-grained, token-level divergence monitoring, particularly around structural tokens and mode-entry points.
  • Agent Reliability: Reducing over-calling is vital for cost efficiency and latency in agentic workflows; techniques like Soft Clamp offer a path to more stable and predictable agent behavior without retraining from scratch.
  • Distillation Strategy: When combining specialized teachers (e.g., one for tool use, one for direct response), explicit calibration of signal influence is necessary to prevent one teacher from dominating the policy in unintended ways.

TL;DR

  • 多教师在线策略蒸馏(OPD)在智能体工具调用场景中会导致“行为杠杆失衡”,引发模型过度调用工具的隐蔽偏差。
  • 传统聚合损失指标无法揭示该问题,研究发现局部令牌级信号(如模式入口标记)对全局生成模式具有不成比例的控制力。
  • 提出Soft Clamp方法,通过动态压缩极端的Jensen-Shannon散度并保留非零梯度,校准每令牌分歧。
  • 在APIGen-MT基准上,Soft Clamp将过度调用率从13.7%降至9.0%,同时保持决策准确率,并减少多轮对话中的循环调用。

为什么值得看

本文揭示了多教师蒸馏中常被忽视的细粒度行为偏差机制,为构建更可靠的智能体模型提供了关键的理论依据。提出的Soft Clamp方法为解决工具调用中的过拟合与逻辑错误提供了有效的工程实践方案。

技术解析

  • 问题定义:在多教师OPD中,一个教师专攻工具调用,另一个专攻直接回答。虽然整体召回率提升,但模型倾向于在应直接回答的场景下错误调用工具(Over-calling)。
  • 原因分析:通过行为杠杆失衡(Behavior Leverage Imbalance)视角分析,发现局部令牌(如<tool>标签或函数名)处的微小分歧信号会放大并主导全局生成模式,而聚合损失掩盖了这一结构性偏差。
  • 解决方案:提出Soft Clamp算法,这是一种每令牌分歧校准方法。它动态压缩极端的高Jensen-Shannon散度值,同时确保梯度不为零以维持学习信号。
  • 实验验证:在APIGen-MT数据集上,相比原始广义知识蒸馏(GKD),Soft Clamp显著降低了过度调用率且未牺牲准确性;在BFCL多轮诊断中也有效减少了工具调用循环。

行业启示

  • 监控维度升级:在训练多教师智能体时,不应仅关注整体损失或宏观指标,必须深入监控特定结构位置(如工具调用标记)的细粒度分布变化。
  • 蒸馏策略优化:简单的知识蒸馏可能引入行为偏移,需引入类似Soft Clamp的校准机制来平衡不同教师信号的强度,防止单一信号主导生成过程。
  • 智能体可靠性提升:解决过度调用问题是提升Agent实用性的关键,通过精细化调控令牌级分歧可显著改善多轮交互中的稳定性和效率。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Agent Agent LLM 大模型 Training 训练 Research 科学研究