arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.17221cs.LGmath.AG
收藏

闪电自注意力的几何:可识别性与维度

Geometry of Lightning Self-Attention: Identifiability and Dimension

University of Toronto(多伦多大学);Royal Institute of Technology (KTH)(皇家理工学院(KTH))

Nathan W. Henry, Giovanni Luca Marchetti, Kathlén Kohn

AI总结:

本文利用代数几何工具,分析了无归一化自注意力网络的函数空间几何,给出了深层注意力的可识别性描述并计算了函数空间维度,同时刻画了单层模型的奇异点和边界点,并推测了归一化情形的结果。

摘要:

我们考虑由无归一化的自注意力网络定义的函数空间,并理论上分析其几何结构。由于这些网络是多项式,我们依赖代数几何的工具。特别地,我们通过描述任意层数参数化的通用纤维来研究深层注意力的可识别性,并据此计算函数空间的维度。此外,对于单层模型,我们刻画了奇异点和边界点。最后,我们提出一个关于归一化自注意力网络结果的推测性扩展,在单层情况下证明该推测,并在深层情况下进行数值验证。

英文摘要:

We consider function spaces defined by self-attention networks without normalization, and theoretically analyze their geometry. Since these networks are polynomial, we rely on tools from algebraic geometry. In particular, we study the identifiability of deep attention by providing a description of the generic fibers of the parametrization for an arbitrary number of layers and, as a consequence, compute the dimension of the function space. Additionally, for a single-layer model, we characterize the singular and boundary points. Finally, we formulate a conjectural extension of our results to normalized self-attention networks, prove it for a single layer, and numerically verify it in the deep case.

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

↑