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

大语言模型中关系译码线性算子的结构

The Structure of Relation Decoding Linear Operators in Large Language Models

Fazekas Mihály High School(法泽卡米哈伊高中);HUN-REN Alfréd Rényi Insititute of Mathematics(HUN-REN阿弗雷德·雷尼数学研究所);Eötvös Loránd University(欧多布查伊·劳尔大学)

Miranda Anna Christ, Adrián Csiszárik, Gergely Becsó, Dániel Varga

摘要:

本文研究了Hernandez等人[2023]中引入的线性运算符的结构,这些运算符解码Transformer语言模型中的特定关系事实。我们将他们的单一关系的研究结果扩展到关系的集合,并系统地绘制它们的组织。我们表明,这种关系解码器的集合可以高度压缩简单的3阶张量网络,而不会显着损失解码精度。为了解释这种令人惊讶的冗余,我们开发了一个交叉评估协议,在该协议中,我们将每个线性解码器运算符应用于每个其他关系的主题。我们的研究结果表明,这些线性映射不编码不同的关系,但提取重复的,粗粒度的语义属性(例如,首都所在国和食品所在国都属于X国属性)。这种以属性为中心的结构澄清了操作符的可压缩性,并强调了为什么它们只推广到语义上接近的新关系。因此,我们的研究结果解释线性关系解码的Transformer语言模型,主要是基于属性,而不是特定的关系。

英文摘要:

This paper investigates the structure of linear operators introduced in Hernandez et al. [2023] that decode specific relational facts in transformer language models. We extend their single-relation findings to a collection of relations and systematically chart their organization. We show that such collections of relation decoders can be highly compressed by simple order-3 tensor networks without significant loss in decoding accuracy. To explain this surprising redundancy, we develop a cross-evaluation protocol, in which we apply each linear decoder operator to the subjects of every other relation. Our results reveal that these linear maps do not encode distinct relations, but extract recurring, coarse-grained semantic properties (e.g., country of capital city and country of food are both in the country-of-X property). This property-centric structure clarifies both the operators' compressibility and highlights why they generalize only to new relations that are semantically close. Our findings thus interpret linear relational decoding in transformer language models as primarily property-based, rather than relation-specific.

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

↑