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

几何注意力:一种针对Transformer注意力的显式操作语义

Architecture Before the Formula: Training-Dependent Computational Semantics in Transformers

University of Michigan(密歇根大学)

Luis F. Rosario Freytes

AI总结:

几何注意力提出了一种显式操作语义,通过四个独立输入定义注意力层,支持多头、混合核和计划锚等显式领域选择,实现注意力机制的原理性比较与扩展。

摘要:

几何注意力(GA)通过四个独立输入来指定一个注意力层:有限载体(可寻址的索引)、证据核规则(如何通过掩码原型分数和链接诱导非负权重)、探测族(哪些可观测值被视为可接受)以及锚/更新规则(选择哪个代表核以及如何应用)。探测族在核上诱导一个操作等价关系,从而产生规范;锚选择相对于该探测的代表。在标量关系-工作表示和证据的乘法组合性定律下,可接受的链接族呈指数级增长,产生Gibbs权重;通过行锚定,这包括softmax核族作为子领域。在商除一元行/列分数场后,剩余的交互成分允许一个标准的秩-r正常形式(Eckart-Young/SVD);点积分数图表实现相应的低秩交互领域。固定载体和扩展更新得到标准固定标记Transformer注意力操作符;允许载体更新则产生自适应载体和分阶段深度领域。操作语言还支持多头/混合核、基于计划的锚(例如,熵OT/Sinkhorn)以及一元操作符(例如,FFN风格场)作为显式领域选择。这将不变结构与建模选择分开,使注意力机制和基于注意力的架构的原理性比较和扩展成为可能。

英文摘要:

An operation's input-output function does not, by itself, determine its computational role within a represented process. That role also depends on the processes producing its inputs and receiving its outputs, a philosophical stance termed deep learning externalism (DLE). We develop a mathematical account of represented computation that distinguishes functional equivalence, retained predecessor distinctions, restricted receiver capability, and context-dependent effective architectures. The resulting equivalences depend on which computational relations a scientific description must preserve. We prove that two injective producer contexts can preserve every predecessor distinction while changing whether fixed local and attention receiver families are equivalent. We investigate these relations in a dimension-labelled PreNorm Transformer and their evolution under training. Residual bypasses restrict complete-state information identifications to two merges per block, while finer branches can change receiver accessibility. Exact gradient-descent models yield covariance-dependent geometric attenuation under learned producer routing and algebraic $(t^{-1/2})$ attenuation under Q/K-softmax training, with optimal bounded-receiver recovery errors derived in both cases. Coupled producer-attention dynamics establish how learning jointly reorganizes the presented features and receiver allocation. Finally, present functional or receiver-profile equivalence need not determine future behavior under an optimizer. In an input-conditioned attention model, two accessibility measurements form an exact reduced predictive state, whereas one alone does not.

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

↑