2025-11-07 · 专家 · 计算机视觉 · 自然语言处理 · 机器学习

The Strong Lottery Ticket Hypothesis for Multi-Head Attention Mechanisms

本文通过理论分析和实验验证,证明了在多头注意力机制中存在强彩票假设(SLTH),并将其扩展到没有归一化层的Transformer架构。

更新于 2025-11-17。作者:Hikari Otsuka、Daiki Chijiwa、Yasuyuki Okoshi、Daichi Fujiki、Susumu Takeuchi、Masato Motomura。

中文摘要

强大的彩票假设(SLTH)推测,在随机初始化的神经网络中隐藏着高性能的子网络,这些子网络被称为强大的彩票票(SLTs)。尽管最近的理论研究已经在各种神经网络架构中确立了SLTH,但针对Transformer架构的SLTH仍缺乏理论上的理解。特别是,当前关于SLTH的理论尚未考虑多头注意力(MHA)机制,这是Transformer的核心组件。为了填补这一空白,我们引入了对MHA中SLTs存在性的理论分析。我们证明,如果一个随机初始化的多头注意力机制具有H个头和输入维度d,其键和值的隐藏维度为O(dlog(Hd^{3/2})),那么它几乎肯定包含一个SLT,该SLT可以以高概率近似具有相同输入维度的任意MHA。此外,通过利用这一理论来分析MHA,我们将SLTH扩展到了没有归一化层的Transformer。我们通过实证验证了我们的理论发现,表明源模型(MHA和Transformer)中的SLT与近似目标对应方之间的近似误差随着源模型隐藏维度的增加而呈指数下降。

英文摘要

The strong lottery ticket hypothesis (SLTH) conjectures that high-performing subnetworks, called strong lottery tickets (SLTs), are hidden in randomly initialized neural networks. Although recent theoretical studies have established the SLTH across various neural architectures, the SLTH for transformer architectures still lacks theoretical understanding. In particular, the current theory of the SLTH does not yet account for the multi-head attention (MHA) mechanism, a core component of transformers. To address this gap, we introduce a theoretical analysis of the existence of SLTs within MHAs. We prove that, if a randomly initialized MHA of H heads and input dimension d has the hidden dimension O(dlog(Hd^{3/2})) for the key and value, it contains an SLT that approximates an arbitrary MHA with the same input dimension with high probability. Furthermore, by leveraging this theory for MHAs, we extend the SLTH to transformers without normalization layers. We empirically validate our theoretical findings, demonstrating that the approximation error between the SLT within a source model (MHA and transformer) and an approximate target counterpart decreases exponentially by increasing the hidden dimension of the source model.

解读

一句话总结

本文通过理论分析和实验验证,证明了在多头注意力机制中存在强彩票假设(SLTH),并将其扩展到没有归一化层的Transformer架构。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源