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

在奇异值域中学习用于线性 Transformer 的高级自注意力

Learning Advanced Self-Attention for Linear Transformers in the Singular Value Domain

Korea Advanced Institute of Science and Technology (KAIST)(韩国科学技术院);Yonsei University(延世大学)

Hyowon Wi, Jeongwhan Choi, Noseong Park

AI总结:

本文提出 AGF,从有向图图信号处理视角在奇异值域学习图滤波器,以 O(nd^2) 线性复杂度增强自注意力,并在 Long Range Arena 与时间序列分类任务上达到 SOTA。

摘要:

Transformer 已在多个不同领域展现出卓越性能。Transformer 的关键组件是自注意力,它学习输入序列中任意两个 token 之间的关系。近期研究表明,自注意力可以被理解为图的归一化邻接矩阵。值得注意的是,从图信号处理(GSP)的角度来看,自注意力可以等价地定义为一个简单的图滤波器,它以 value 向量作为信号来应用 GSP。然而,自注意力是一种仅使用一阶多项式矩阵定义的图滤波器,并且充当低通滤波器,阻碍了对各种频率信息的有效利用。因此,现有自注意力机制的设计方式相当简化。基于此,我们提出了一种名为 Attentive Graph Filter(AGF)的新方法,从有向图的图信号处理角度,将自注意力解释为在奇异值域中学习图滤波器,并具有相对于输入长度 n 的线性复杂度,即 O(nd^2)。在实验中,我们证明 AGF 在包括 Long Range Arena 基准测试和时间序列分类在内的多种任务上取得了最先进的性能。

英文摘要:

Transformers have demonstrated remarkable performance across diverse domains. The key component of Transformers is self-attention, which learns the relationship between any two tokens in the input sequence. Recent studies have revealed that the self-attention can be understood as a normalized adjacency matrix of a graph. Notably, from the perspective of graph signal processing (GSP), the self-attention can be equivalently defined as a simple graph filter, applying GSP using the value vector as the signal. However, the self-attention is a graph filter defined with only the first order of the polynomial matrix, and acts as a low-pass filter preventing the effective leverage of various frequency information. Consequently, existing self-attention mechanisms are designed in a rather simplified manner. Therefore, we propose a novel method, called \underline{\textbf{A}}ttentive \underline{\textbf{G}}raph \underline{\textbf{F}}ilter (AGF), interpreting the self-attention as learning the graph filter in the singular value domain from the perspective of graph signal processing for directed graphs with the linear complexity w.r.t. the input length $n$, i.e., $\mathcal{O}(nd^2)$. In our experiments, we demonstrate that AGF achieves state-of-the-art performance on various tasks, including Long Range Arena benchmark and time series classification.

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

↑