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

MTA:面向大型语言模型蒸馏的多粒度轨迹对齐

MTA: Multi-Granular Trajectory Alignment for Large Language Model Distillation

Hanoi University of Science and Technology(河内理工大学);Monash University(墨尔本大学);University of Oregon(俄勒冈大学)

Pham Khanh Chi, Quoc Phong Dao, Thuat Nguyen, Linh Ngo Van, Trung Le, Thanh Hong Nguyen

AI总结:

提出多粒度轨迹对齐(MTA)框架,通过层自适应策略对齐师生模型的层间变换轨迹,结合动态结构对齐损失和隐藏表示对齐损失,提升知识蒸馏效果。

摘要:

知识蒸馏是压缩大型语言模型(LLMs)的关键技术,但现有方法大多在固定层或token级输出上对齐表示,忽略了表示随深度演化的过程。因此,学生在蒸馏过程中仅能弱化地捕捉教师的内部关系结构,限制了知识迁移。为解决这一局限,我们提出多粒度轨迹对齐(MTA)框架,该框架沿层间变换轨迹对齐师生表示。MTA采用层自适应策略:低层在词级别对齐以保留词汇信息,而高层在短语级跨度(如名词短语和动词短语)上操作以捕获组合语义。我们通过动态结构对齐损失实例化这一思想,该损失匹配每层内语义单元之间的相对几何关系。该设计基于Transformer表示随深度逐渐抽象的实验发现,也与语言学观点一致,即高层意义通过低层词汇单元的组合涌现。我们进一步引入隐藏表示对齐损失以直接对齐选定的师生层。实验表明,MTA在标准基准上持续优于最先进的基线,消融实验证实了每个组件的贡献。

英文摘要:

Knowledge distillation is a key technique for compressing large language models (LLMs), but most existing methods align representations at fixed layers or token-level outputs, ignoring how representations evolve across depth. As a result, the student is only weakly guided to capture the teacher's internal relational structure during distillation, which limits knowledge transfer. To address this limitation, we propose Multi-Granular Trajectory Alignment (MTA), a framework that aligns teacher and student representations along their layer-wise transformation trajectory. MTA adopts a layer-adaptive strategy: lower layers are aligned at the word level to preserve lexical information, while higher layers operate on phrase-level spans (e.g., noun and verb phrases) to capture compositional semantics. We instantiate this idea through a Dynamic Structural Alignment loss that matches the relative geometry among semantic units within each layer. This design is motivated by empirical findings that Transformer representations become increasingly abstract with depth, and is also consistent with linguistic views in which higher-level meaning emerges through the composition of lower-level lexical units. We further incorporate a Hidden Representation Alignment loss to directly align selected teacher-student layers. Experiments show that MTA consistently outperforms state-of-the-art baselines on standard benchmarks, with ablations confirming the contribution of each component.

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

↑