arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.09332cs.LG

How Expressive are Transformers in Spectral Domain for Graphs?

Indian Institute of Technology, Hyderabad(印度理工学院海得拉巴分校);RWTH Aachen(亚琛工业大学);Zerotha Research(泽罗萨研究院);Cerence GmbH(赛轮思公司);The University of Tokyo(东京大学);IBM Research(IBM研究院)

Anson Bastos, Abhishek Nadgeri, Kuldeep Singh, Hiroki Kanezashi, Toyotaro Suzumura, Isaiah Onando Mulang'

英文摘要:

The recent works proposing transformer-based models for graphs have proven the inadequacy of Vanilla Transformer for graph representation learning. To understand this inadequacy, there is a need to investigate if spectral analysis of the transformer will reveal insights into its expressive power. Similar studies already established that spectral analysis of Graph neural networks (GNNs) provides extra perspectives on their expressiveness. In this work, we systematically study and establish the link between the spatial and spectral domain in the realm of the transformer. We further provide a theoretical analysis and prove that the spatial attention mechanism in the transformer cannot effectively capture the desired frequency response, thus, inherently limiting its expressiveness in spectral space. Therefore, we propose FeTA, a framework that aims to perform attention over the entire graph spectrum (i.e., actual frequency components of the graphs) analogous to the attention in spatial space. Empirical results suggest that FeTA provides homogeneous performance gain against vanilla transformer across all tasks on standard benchmarks and can easily be extended to GNN-based models with low-pass characteristics (e.g., GAT).

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

↑