arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.34945cs.LGcs.AIcs.FL
收藏

关系组合作为平行迁移:每实体框架在注意力机制中施加的约束

Relational Composition as Parallel Transport: What Per-Entity Frames Force in Attention

University of California, San Francisco(加利福尼亚大学旧金山分校);Brigham and Women’s Hospital(布莱根妇女医院)

Aakash Sarkar, Ananya Mukherjee, Motoshige Sato

AI总结:

该研究将每实体框架自由度视为对称性,探究其对注意力机制的约束,提出正交迁移等方法,在CLUTRR等数据集上验证了迁移组合的性能,揭示了有限群表示与注意力机制的关联。

摘要:

点积仅在两个向量共享同一坐标系时才有意义:内容词拥有各自的坐标系,而新实体则没有——仅旋转其坐标不会产生任何变化。我们将这种每实体框架的自由度视为一种对称性,并探究其在注意力机制中施加的约束。对于正交迁移,不变分数仅依赖于范数和迁移内积⟨x_i,T_{ij}x_j⟩;等变消息则位于x_i与T_{ij}x_j的张成空间中。端点通道数限制了迁移的秩,因此当每个实体对应一个向量时,必须提供关系;标准注意力是共享框架的平坦扇区。表示理论为每个机制赋予一个整数,读出函数则决定选择哪一个。对于正交变换,凸单元读出函数仅在达到或超过有限群的最小忠实实表示维度时,才能精确合成该有限群;在该最小值下,精确性要求存在忠实表示。偶数读出函数可在更小宽度下解码覆盖,且该差距无界。低于阈值时,机制无法感知的群部分会设定训练前即可计算的准确率上限。17/17个最小宽度的拟合种子通过了长度达1000的测试,而两倍宽度时仅为7/18;12个模型仅通过权重就获得了显式长度的正确性证明。在C₃×A₄(忠实宽度为5)上,宽度4的下降在符号盲注意力下学习到了72态双覆盖(6/48个种子;单调情况为0/48);在冻结覆盖下,交叉熵最优仿射头是均匀的,二次头是精确的。在解析后的CLUTRR数据集上,迁移组合在4-10跳时比匹配的Transformer高出41个点,但强制等距变换会损失65个点;在StepGame的交换代数任务中,等距变换有帮助。静态嵌入为每个词提供一个向量;上下文模型为每个出现的词提供单独向量;每实体框架使每个关系成为一个算子,即关系合成的单位。

英文摘要:

A dot product means something only when both vectors share a coordinate system. Content words have one; a fresh entity does not: rotating its coordinates alone changes nothing. We take this per-entity frame freedom as a symmetry and ask what it forces in attention. For orthogonal transports, invariant scores depend only on norms and the transported inner product $\langle x_i,T_{ij}x_j\rangle$; equivariant messages lie in the span of $x_i$ and $T_{ij}x_j$. Endpoint channel count bounds transport rank, so with one vector per entity relations must be supplied; standard attention is the flat sector of a shared frame. Representation theory attaches an integer to each mechanism; the readout decides which. With orthogonal transitions, a convex-cell readout composes a finite group exactly only at or above its smallest faithful real representation dimension. At this minimum, exactness forces a faithful representation. An even readout can decode a cover at smaller width, and the gap is unbounded. Below its threshold, the part of the group a mechanism cannot see sets an accuracy ceiling computable before training. 17/17 fitting seeds at minimal width passed tests through length 1000, versus 7/18 at twice the width; 12 models carry correctness certificates to explicit lengths, from the weights alone. On $C_3\times A_4$ (faithful width 5), descent at width 4 learned the 72-state double cover under sign-blind attention (6/48 seeds; monotone 0/48); on a frozen cover the cross-entropy-optimal affine head is uniform, a quadratic head exact. On parsed CLUTRR, transported composition beats a matched transformer by 41 points at 4-10 hops, but forcing isometries costs 65 points; on StepGame's commutative algebra, isometries help. Static embeddings gave each word one vector; contextual models gave each occurrence its own; per-entity frames make each relation an operator, the unit in which relations compose.

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

↑