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

通过字级接口进行跨分词器语言模型蒸馏

Cross-Tokenizer LLM Distillation through a Byte-Level Interface

MediaTek Research, Cambridge (United Kingdom)(联发科技研究中心,剑桥(英国));Orbital Materials, London (United Kingdom)(轨道材料公司,伦敦(英国))

Avyav Kumar Singh, Yen-Chen Wu, Alexandru Cioba, Alberto Bernacchia, Davide Buffelli

AI总结:

本文提出字级蒸馏方法,通过统一的字级接口实现跨分词器知识转移,验证了字级作为自然共同基础的有效性,同时指出跨任务改进仍存挑战。

摘要:

跨分词器蒸馏(CTD),即当两个模型使用不同分词器时,从教师模型向学生模型转移知识,仍是一个未解问题。现有方法依赖启发式策略对不匹配的词汇进行对齐,引入了大量复杂性。本文提出一种简单但有效的基线方法,称为字级蒸馏(BLD),通过在字级层面的共同接口实现CTD。具体而言,将教师模型的输出分布转换为字级概率,将轻量级的字级解码器头附加到学生模型上,并通过该共享的字级接口进行蒸馏。尽管其简单性,BLD在多个基准上表现优异,超越了更复杂的CTD方法。我们的结果表明,字级是跨分词器知识转移的自然共同基础,同时强调在所有任务和基准上的一致改进仍难以实现,凸显CTD仍是一个开放性问题。

英文摘要:

Cross-tokenizer distillation (CTD), the transfer of knowledge from a teacher to a student language model when the two use different tokenizers, remains a largely unsolved problem. Existing approaches rely on heuristic strategies to align mismatched vocabularies, introducing considerable complexity. In this paper, we propose a simple but effective baseline called Byte-Level Distillation (BLD) which enables CTD by operating at a common interface across tokenizers: the byte level. In more detail, we convert the teacher's output distribution to byte-level probabilities, attach a lightweight byte-level decoder head to the student, and distill through this shared byte-level interface. Despite its simplicity, BLD performs competitively with--and on several benchmarks surpasses--significantly more sophisticated CTD methods, across a range of distillation tasks with models from 1B to 8B parameters. Our results suggest that the byte level is a natural common ground for cross-tokenizer knowledge transfer, while also highlighting that consistent improvements across all tasks and benchmarks remain elusive, underscoring that CTD is still an open problem.

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

↑