arXivDaily arXiv每日学术速递 周一至周五更新

大厂专区

Tencent

2026-07-16 至 2026-07-16 收录 2
2607.13399 2026-07-16 cs.CL cs.LG 新提交

Demystifying On-Policy Distillation: Roles, Pathologies, and Regulations

揭开在线策略蒸馏的神秘面纱:作用、问题及调控

Rui Wang, Hongru Wang, Yi Chen, Boyang Xue, Tianqing Fang, Wenhao Yu, Kam-Fai Wong

发表机构 * The Chinese University of Hong Kong(香港中文大学) Tencent AI Lab(腾讯人工智能实验室)

AI总结 研究在线策略蒸馏的作用、问题及调控,阐明其为探索催化剂,揭示师生不匹配和长度利用问题,提出优势裁剪和对数尺度压缩调控,实验表明良好调控的信号质量决定OPD中成功探索。

详情
AI中文摘要

在线策略蒸馏(OPD)已成为大语言模型训练后的关键范式,但其训练动态仍未被充分理解。我们进行了一项系统研究,考察OPD的作用、问题及调控。首先阐明OPD作为探索催化剂的作用:通过密集的token级指导引导学生走向正确推理路径,而不提高能力上限。通过表明提示多样性比每个问题的采样数量更重要,且OPD的有效性完全取决于其指导信号的质量来证实这一点。这种依赖性揭示了两种阻碍探索的问题。当师生分布差距大导致指导信号与任务正确性不一致时,会出现师生不匹配,引导探索走向适得其反的方向。当聚合的token级目标产生长度依赖的捷径时,会出现长度利用问题,使学生通过响应截断或冗余填充来操纵奖励格局,探索退化的长度模式而非推理策略。为解决这些问题,我们研究了轻量级信号调控:优势裁剪和对数尺度压缩,确保探索由可靠信号引导。在七个基准上的实验表明,这些调控减轻了长度利用问题并实现了有效蒸馏,稳定超越OPD变体和RLVR基线,从而证实良好调控的信号质量而非仅仅教师规模决定了OPD中成功的探索。

英文摘要

On-policy distillation (OPD) has become a key paradigm in LLM post-training, yet its training dynamics remain poorly understood. We present a systematic study examining the role, pathologies, and regulations of OPD. We first clarify the role of OPD as an exploration catalyst: it steers the student toward correct reasoning paths via dense token-level guidance, without expanding capability ceiling. We confirm this by showing that prompt diversity matters more than per-problem sampling numbers, and critically, that the effectiveness of OPD hinges entirely on the quality of its guiding signal. This dependency exposes two pathologies that derail exploration. The Student-Teacher Mismatch occurs when a large teacher-student distributional gap causes the guiding signal to misalign with task correctness, steering exploration in counterproductive directions. Length Exploitation arises when the aggregated token-level objective creates length-dependent shortcuts, allowing the student to game the reward landscape through response truncation or redundant padding, exploring degenerate length modes rather than reasoning strategies. To tame these pathologies, we investigate lightweight signal regulations: advantage clipping and log-scale compression, ensuring exploration is guided by faithful signals. Experiments across seven benchmarks demonstrate that these regulations alleviate length exploitation and enable effective distillation, stably surpassing OPD variants and RLVR baselines, thereby confirming that well-regulated signal quality, rather than mere teacher scale, governs successful exploration in OPD.

URL PDF HTML
2607.13285 2026-07-16 cs.AI cs.SE 新提交

Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editable

Harness手册:使不断演进的智能体框架具有可读性、可导航性和可编辑性

Ruhan Wang, Yucheng Shi, Zongxia Li, Zhongzhi Li, Yue Yu, Junyao Yang, Kishan Panaganti, Haitao Mi, Dongruo Zhou, Leoweiliang

发表机构 * Tencent(腾讯) Indiana University(印第安纳大学) University of Maryland, College Park(马里兰大学帕克分校) University of Georgia(佐治亚大学) National University of Singapore(新加坡国立大学)

AI总结 研究智能体框架演进中行为定位难的问题,提出通过Harness手册和行为引导的渐进式披露,以行为为中心自动合成框架表示并辅助规划,提高行为定位和编辑计划质量,助力复杂智能体系统发展。

Comments 29 pages, 6 figures. Project page: https://ruhan-wang.github.io/Harness-Handbook/

详情
AI中文摘要

现代人工智能智能体的能力不仅取决于其基础模型,还取决于其框架,框架用于构建提示、管理状态、调用工具和协调执行。随着模型、API、环境和需求的发展,框架必须不断修改。在进行此类更改之前,开发人员或编码智能体必须识别实现目标行为的所有代码位置。这很困难,因为生产框架庞大、紧密耦合且行为分散,而修改请求描述系统应做什么,存储库按文件和模块组织。代码搜索、存储库索引和长上下文处理便于检查,但仍需手动恢复行为到代码的映射。行为定位因此是框架演进的核心瓶颈。我们引入了Harness手册,这是一种以行为为中心的表示,通过静态分析和LLM辅助结构化从框架代码库自动合成,将每个行为与其相应源链接起来。我们还引入了行为引导的渐进式披露(BGPD),它引导智能体从高级行为到相关实现细节,并根据当前源验证候选位置。在来自两个开源框架的各种修改请求上,手册辅助规划提高了行为定位和编辑计划质量,同时使用更少的规划器令牌,在分散站点、很少执行的路径和跨模块交互方面收益最大。因此,不断发展复杂的智能体系统不仅取决于生成编辑,还取决于确定这些编辑应在何处进行。

英文摘要

The capability of a modern AI agent depends not only on its foundation model but also on its harness, which constructs prompts, manages state, invokes tools, and coordinates execution. As models, APIs, environments, and requirements evolve, the harness must be continually modified. Before such a change can be made, a developer or coding agent must identify all code locations that implement the target behavior. This is difficult because production harnesses are large, tightly coupled, and behaviorally distributed, while modification requests describe what the system should do and repositories are organized by files and modules. Code search, repository indexing, and long-context processing ease inspection, but still leave this behavior-to-code mapping to be recovered by hand. Behavior localization is therefore a central bottleneck in harness evolution. We introduce the Harness Handbook, a behavior-centric representation synthesized automatically from a harness codebase via static analysis and LLM-assisted structuring, linking each behavior to its corresponding source. We also introduce Behavior-Guided Progressive Disclosure (BGPD), which guides agents from high-level behaviors to relevant implementation details and verifies candidate locations against the current source. On diverse modification requests from two open-source harnesses, Handbook-Assisted planning improves behavior localization and edit-plan quality while using fewer planner tokens, with the largest gains on scattered sites, rarely executed paths, and cross-module interactions. Evolving complex agentic systems thus depends not only on generating edits, but also on determining where those edits should be made.

URL PDF HTML