arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.04384cs.CLcs.AI
收藏

可压缩的softmax注意力语言在不可压缩的注意力下

Compressible Softmax-Attended Language under Incompressible Attention

Seoul National University(首尔大学);SK Hynix America(SK海力士美国)

Wonsuk Lee

AI总结:

研究通过分解注意力logit场,发现语言数据的可压缩性是数据属性而非分析框架,核心方法测量logit能量场的谱,主要贡献展示有效秩与谱间隙的关系。

摘要:

Softmax注意力通过$d_h$个头维度定义交互,但真实文本经过后并非所有维度权重相等。我们将注意力logit场分解为学习组件和生成组件,并分别测量其谱。在五个transformer语言模型(124M--7B参数,四类架构)的5,888个KV头中,logit能量场$\tilde{E}$在2-11个奇异组件内达到90%的方差。学习交互矩阵$W_Q^\mathrm{T} W_K$在相同阈值下需要38-75个组件($d_h \in {64, 128}$)。谱间隙在有效秩上为5-25倍。softmax注意力语言的可压缩性是数据属性,而非分析框架属性。

英文摘要:

Softmax attention defines an interaction through $d_h$ head dimensions, but not all dimensions carry equal weight once real text passes through. We decompose the attention logit field into a learned component and a generated component and measure their spectra separately. For all 5,888 KV heads in five transformer language models (124M--7B parameters, four architecture families), the logit energy field $\tilde{E}$ reaches 90\% of its variance in 2--11 singular components. The learned interaction matrix $W_Q^\mathrm{T} W_K$ needs 38--75 components for the same threshold out of $d_h \in {64, 128}$. The spectral gap is 5--25$\times$ in effective rank. The compressibility of softmax-attended language is a property of the data, not the frame that analyzes it.

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

↑