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

不同LLM架构中相似深度的层生成相似的激活

Layers at Similar Depths Generate Similar Activations Across LLM Architectures

Department of Computer Science University of Chicago(计算机科学系芝加哥大学);Department of Statistics University of Chicago(统计系芝加哥大学)

Christopher Wolfram, Aaron Schein

AI总结:

本研究通过分析24个开放权重LLM的层激活最近邻关系,发现激活几何逐层递进但跨模型共享,表明LLM潜在空间具有架构间的一致性。

摘要:

独立训练的LLM所使用的潜在空间之间有何关联?我们研究了24个开放权重LLM不同层激活所引发的最近邻关系,发现它们1)在模型内部往往逐层变化,且2)在不同模型的对应层之间近似共享。主张2表明这些最近邻关系并非任意,因为它们跨模型共享;但主张1表明它们也并非“显而易见”,因为不存在一组普遍共享的最近邻关系。综合来看,这些发现表明LLM逐层生成激活几何的递进,但整个递进过程在模型间大体共享,经过拉伸和压缩以适应不同的架构。

英文摘要:

How do the latent spaces used by independently-trained LLMs relate to one another? We study the nearest neighbor relationships induced by activations at different layers of 24 open-weight LLMs, and find that they 1) tend to vary from layer to layer within a model, and 2) are approximately shared between corresponding layers of different models. Claim 2 shows that these nearest neighbor relationships are not arbitrary, as they are shared across models, but Claim 1 shows that they are not "obvious" either, as there is no single set of nearest neighbor relationships that is universally shared. Together, these suggest that LLMs generate a progression of activation geometries from layer to layer, but that this entire progression is largely shared between models, stretched and squeezed to fit into different architectures.

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

↑