arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.09456cs.LG
收藏

打破分词器壁垒:跨模型系列的在线策略蒸馏

Breaking the Tokenizer Barrier: On-Policy Distillation across Model Families

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Tencent(腾讯);The Hong Kong University of Science and Technology(香港科技大学)

Yifan Niu, Han Xiao, Dongyi Liu, Zelong Wang, Dihong Gong, Yasheng Wang, Jia Li

AI总结:

提出跨分词器在线策略蒸馏方法,通过精确的token映射算法使教师模型概率分布信号能跨不同分词器传播,显著提升计算效率。

摘要:

在线策略蒸馏(OPD)已成为大型语言模型(LLM)后训练中从领域专家向学生模型迁移知识的核心技术。然而,现有的OPD蒸馏方法要求教师和学生模型共享相同的分词器,限制了OPD在模型系列内的适用性。当前主流实践通常采用在教师生成的响应上进行监督微调(SFT)来实现跨分词器蒸馏,这未能捕捉到嵌入在教师概率分布中的丰富知识。在这项工作中,我们使标准的在线策略蒸馏方法能够跨模型系列运行,确保高保真的token级信号可以通过精确的token映射算法在不同分词器之间传播。大量实验表明,在各种基准测试上,跨分词器OPD在计算效率上显著优于基线方法。我们的结果为OPD解锁了更广泛的教师-学生配对,为适应和增强LLM之间的交互开辟了新途径。

英文摘要:

On-Policy Distillation (OPD) has become a core technique in the post-training of Large Language Models (LLMs) for transferring knowledge from domain experts to student models. However, existing OPD distillation methods require teacher and student models to share the same tokenizer, restricting the applicability of OPD within the model series. Current mainstream practice typically employs Supervised Fine-Tuning (SFT) on teacher-generated responses for cross-tokenizer distillation, which fails to capture the rich knowledge embedded in the teacher's probability distribution. In this work, we enable the standard on-policy distillation method to operate across model families, ensuring that high-fidelity token-level signals can propagate across different tokenizers with a precise token-mapping algorithm. Extensive experiments show that cross-tokenizer OPD is significantly more compute-efficient than baselines on various benchmarks. Our results unlock a broader range of teacher-student pairs for OPD, opening up new avenues for adapting and enhancing interactions between LLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑