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

多人称越多越好——简论微调层的空间几何

The more polypersonal the better -- a short look on space geometry of fine-tuned layers

National Research University “Higher School of Economics”(国立研究型大学高等经济学院)

Sergei Kudriashov, Veronika Zykova, Angelina Stepanova, Yakov Raskind, Eduard Klyshinsky

AI总结:

本文研究 BERT 在加入多人称语法模块和数据后的内部表征变化,发现单个语法层可使新旧语法系统在潜在空间中分离,并改善困惑度。

摘要:

深度学习模型的解释是一个快速发展的领域,其中对语言模型的兴趣尤为浓厚。完成这项任务有多种方法,包括训练更简单的模型来复现神经网络预测,以及分析模型的潜在空间。后一种方法不仅使我们能够识别模型决策过程中的模式,还能理解其内部结构的特征。在本文中,我们分析了 BERT 模型在使用额外语法模块以及包含新语法结构(多人称,polypersonality)的数据进行训练时,其内部表征发生的变化。我们发现,添加单个语法层会促使模型在其内部将新的语法系统与旧的语法系统分离开来,从而提升其在困惑度指标上的整体性能。

英文摘要:

The interpretation of deep learning models is a rapidly growing field, with particular interest in language models. There are various approaches to this task, including training simpler models to replicate neural network predictions and analyzing the latent space of the model. The latter method allows us to not only identify patterns in the model's decision-making process, but also understand the features of its internal structure. In this paper, we analyze the changes in the internal representation of the BERT model when it is trained with additional grammatical modules and data containing new grammatical structures (polypersonality). We find that adding a single grammatical layer causes the model to separate the new and old grammatical systems within itself, improving the overall performance on perplexity metrics.

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

↑