arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.24208cs.CLcs.LG
收藏

超越神经不兼容:通过潜在语义对齐实现语言模型中的跨尺度知识转移

Beyond Neural Incompatibility: Cross-Scale Knowledge Transfer in Language Models through Latent Semantic Alignment

Monash University(墨尔本大学);Technical University of Munich(慕尼黑技术大学);Chongqing University(重庆大学)

Jian Gu, Aldeida Aleti, Chunyang Chen, Hongyu Zhang

AI总结:

本文提出SemAlign方法,通过潜在语义对齐实现跨尺度知识转移,解决了不同架构和参数化模型间参数重用受限的问题,通过激活值作为转移介质,利用语义分解与重组稳定地实现知识迁移。

摘要:

语言模型(LMs)在其参数中编码了大量知识,但如何以细粒度方式转移此类知识,即参数化知识转移(PKT)仍不明确。核心挑战是当源模型和目标模型在架构和参数化上存在差异时,如何实现有效的、高效的跨尺度转移,这使得直接参数重用受到神经不兼容的限制。在本文中,我们识别出潜在语义对齐是跨尺度知识转移的关键前提。与直接移动层参数不同,我们的方法使用激活值作为转移介质。SemAlign包含两个阶段:一个层归因阶段,用于归因任务相关的源层并为每个目标层选择恰好一个源层;一个语义对齐阶段,通过逐层配对并优化目标模型,利用源侧语义监督。对齐通过语义分解和重组在潜在空间中进行。在浅层到深层的转移过程中,只有前沿目标层是可训练的。层目标通过匹配中心化的词-词关系几何与对齐的监督残差来监督该层的残差贡献,而输出KL保持源级预测行为。因此,转移介质既不是参数块也不是绝对的隐藏状态,而是由配对源层监督诱导的目标空间残差几何。在四个基准测试中的评估证实了SemAlign的有效性,进一步分析确认语义分解和重组为跨尺度知识转移提供了一个稳定的机制。

英文摘要:

Language Models (LMs) encode substantial knowledge in their parameters, yet it remains unclear how to transfer such knowledge in a fine-grained manner, namely parametric knowledge transfer (PKT). A central challenge is to make cross-scale transfer effective and efficient when source and target models differ in architecture and parameterization, making direct parameter reuse strongly limited by neural incompatibility. In this paper, we identify latent semantic alignment as the key prerequisite for cross-scale knowledge transfer. Instead of directly moving layer parameters, our approach uses activations as the transfer medium. \textsc{SemAlign} has two stages: an \emph{layer attribution} stage that attributes task-relevant source layers and selects exactly one source layer for each target layer, and a \emph{semantic alignment} stage that pairs them layer by layer and optimizes the target with source-side semantic supervision. The alignment is carried out in latent space through semantic decomposition and recomposition. During the shallow-to-deep transfer, only the frontier target layer is trainable. The layer objective supervises the residual contribution of that layer by matching centered token-token relation geometry against an aligned supervisory residual, while output KL preserves source-level predictive behavior. The transferred medium is therefore neither a parameter block nor an absolute hidden state, but target-space residual geometry induced by paired source-layer supervision. Evaluations on four benchmarks demonstrate the efficacy of \textsc{SemAlign}, and further analysis confirms that semantic decomposition and recomposition provide a stable mechanism for cross-scale knowledge transfer.

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

↑