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

SRA: 面向大型语言模型蒸馏的跨度表示对齐

SRA: Span Representation Alignment for Large Language Model Distillation

Hanoi University of Science and Technology(河内科学技术大学);VNU University of Engineering and Technology(VNU工程大学);Monash University(莫纳什大学)

Quoc Phong Dao, Hoang Son Nguyen, Pham Khanh Chi, Tung Nguyen, Linh Ngo Van, Nguyen Thi Ngoc Diep, Trung Le

AI总结:

提出SRA框架,通过将蒸馏对齐单元从token转为跨度的质心表示,并引入几何正则化和对齐跨度logit蒸馏,显著提升跨分词器知识蒸馏性能。

摘要:

跨分词器知识蒸馏(CTKD)使得大型语言模型与较小的学生模型之间能够进行知识迁移,即使它们使用不同的分词器。现有方法主要关注token级别的对齐策略,这些策略往往脆弱且对分词器之间的差异敏感。我们认为,在蒸馏之前将token聚合成更稳健的表示同样重要。本文提出SRA(面向大型语言模型蒸馏的跨度表示对齐),这是一个通过多粒子动力系统的物理视角重新定义CTKD的新框架。SRA将对齐的基本单元从token转移到稳健、与分词器无关的跨度。我们将每个跨度建模为一个粒子簇,并通过其质心(CoM)——一种捕捉丰富语义信息的注意力加权平均值——来表示其状态。我们利用跨度质心的概念,结合注意力导出的权重来优先考虑最显著的跨度。此外,我们采用几何正则化器来保持表示空间的结构完整性,并引入对齐跨度logit蒸馏以增强跨模型的知识迁移。在具有挑战性的跨架构蒸馏实验中,SRA始终显著优于最先进的CTKD基线,验证了我们基于物理的方法的有效性。

英文摘要:

Cross-Tokenizer Knowledge Distillation (CTKD) enables knowledge transfer between a large language model and a smaller student, even when they employ different tokenizers. While existing approaches mainly focus on token-level alignment strategies, which are often brittle and sensitive to discrepancies between tokenizers, we argue that the method of aggregating tokens into more robust representations before distillation is of equal importance. In this paper, we introduce \textbf{SRA} (\textbf{S}pan \textbf{R}epresentation \textbf{A}lignment for Large Language Model Distillation), a novel framework that reframes CTKD through the physical lens of Multi-Particle Dynamical Systems. SRA shifts the fundamental unit of alignment from tokens to robust, tokenizer-agnostic spans. We model each span as a cluster of particles and represent its state by its Center of Mass (CoM) - an attention-weighted average that captures rich semantic information. We leverage the concept of span centers of mass with attention-derived weighting to prioritize the most salient spans. In addition, we employ a geometric regularizer to preserve the structural integrity of the representation space and introduce aligned span logit distillation to enhance knowledge transfer across models. In challenging cross-architecture distillation experiments, SRA consistently and significantly outperforms state-of-the-art CTKD baselines, validating our physically-grounded approach.

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

↑