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

令牌蒸馏:面向新令牌的注意力感知输入嵌入

Token Distillation: Attention-aware Input Embeddings For New Tokens

Hasso Plattner Institute ELLIS Unit(波茨坦大学哈索普兰特纳研究所ELLIS单位);University of Copenhagen ELLIS Unit(哥本哈根大学ELLIS单位)

Konstantin Dobler, Desmond Elliott, Gerard de Melo

AI总结:

本文提出令牌蒸馏方法,通过蒸馏原始分词获得的表示快速学习高质量新令牌嵌入,实验表明其优于现有基线。

摘要:

当前语言模型依赖预训练时确定的静态词汇表,这会导致在原词汇表中未被代表的领域性能下降和计算成本增加。通过添加新令牌并结合良好的初始化可以解决问题,但现有嵌入初始化方法需要昂贵的进一步训练或预训练额外模块。本文提出令牌蒸馏,显示通过蒸馏使用原始分词获得的表示,可以快速学习高质量的新令牌输入嵌入。广泛开放权重模型的实验结果表明,令牌蒸馏优于甚至强于现有基线。

英文摘要:

Current language models rely on static vocabularies determined at pretraining time, which can lead to decreased performance and increased computational cost for domains underrepresented in the original vocabulary. New tokens can be added to solve this problem, when coupled with a good initialization for their new embeddings. However, existing embedding initialization methods require expensive further training or pretraining of additional modules. In this paper, we propose Token Distillation and show that by distilling representations obtained using the original tokenization, we can quickly learn high-quality input embeddings for new tokens. Experimental results with a wide range of open-weight models show that Token Distillation outperforms even strong baselines.

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

↑