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

是什么让两个语言模型思考相似?

What Makes Two Language Models Think Alike?

UNICOG;CNRS(法国国家科学研究中心);INSERM(法国国家健康与医学研究院);CEA(法国原子能委员会);Paris-Saclay University(巴黎-萨克雷大学);LSCP(语言科学研究中心);EHESS(高等科学研究所);ENS(巴黎高等师范学校);PSL University(巴黎科学哲学大学)

Louis Jalouzot, Christophe Pallier, Emmanuel Chemla, Yair Lakretz

AI总结:

本文研究了语言模型表示和处理语言的方式是否受架构和训练差异影响,提出了一种新的方法来量化模型间相似性和差异性,并发现模型相似性主要由发布日期和模型家族决定。

摘要:

模型的架构和训练差异是否影响它们表示和处理语言的方式?传统相似性度量只能告诉我们两个模型是否具有相似的表示几何,但无法解释原因。本文提出了一种新的、简单的方法来解决这个问题。该方法将每个模型各层的神经活动映射到一组可解释的语言特征,并量化这些特征如何驱动模型间的相似性和差异性。我们使用这种方法比较了43个语言模型,涵盖10个家族,包括解码器Transformer、状态空间模型和循环神经网络。我们发现,模型层面的相似性主要由发布日期(作为通用LLM发展的代理)和模型家族决定,表明语言签名并非主要由规模或架构类别决定。总体而言,我们的方法提供了一种将理论动机的符号描述与神经表示联系起来的方法,并可以轻易扩展到其他领域如语音和视觉,以及到其他神经系统如生物大脑。

英文摘要:

Do architectural and training differences influence the way models represent and process language? Traditional similarity metrics tell us whether two models share a similar representational geometry, but they cannot explain why. Here, we propose a new, simple, approach to address this question. This approach maps neural activity in each model layer onto a set of interpretable linguistic features and quantifies how much each of them drives similarities and differences between models. We use this approach to compare 43 language models across 10 families, including decoder Transformers, State-Space Models, and Recurrent Neural Networks. We find that model-level similarity is driven most strongly by release date, a proxy for general LLM development, and model family, suggesting that linguistic signatures are not primarily shaped by scale or architecture class. Overall, our approach provides a way to link theoretically-motivated symbolic descriptions to neural representations and can readily be extended to other domains such as speech and vision, and to other neural systems such as biological brains.

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

↑