Transformers Generalize DeepSets and Can be Extended to Graphs and Hypergraphs
원문 초록
We present a generalization of Transformers to any-order permutation invariant data (sets, graphs, and hypergraphs). We begin by observing that Transformers generalize DeepSets, or first-order (set-input) permutation invariant MLPs. Then, based on recently characterized higher-order invariant MLPs, we extend the concept of self-attention to higher orders and propose higher-order Transformers for order-$k$ data ($k=2$ for graphs and $k>2$ for hypergraphs). Unfortunately, higher-order Transformers turn out to have prohibitive complexity $\mathcal{O}(n^{2k})$ to the number of input nodes $n$. To address this problem, we present sparse higher-order Transformers that have quadratic complexity to the number of input hyperedges, and further adopt the kernel attention approach to reduce the complexity to linear. In particular, we show that the sparse second-order Transformers with kernel attention are theoretically more expressive than message passing operations while having an asymptotically identical complexity. Our models achieve significant performance improvement over invariant MLPs and message-passing graph neural networks in large-scale graph regression and set-to-(hyper)graph prediction tasks. Our implementation is available at https://github.com/jw9730/hot.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
MGVQ: Could VQ-VAE Beat VAE? A Generalizable Tokenizer with Multi-group Quantization
Graph Neural Networks for Jamming Source Localization
Improving the Effective Receptive Field of Message-Passing Neural Networks
Segment Policy Optimization: Effective Segment-Level Credit Assignment in RL for Large Language Models
MMP-2K: A Benchmark Multi-Labeled Macro Photography Image Quality Assessment Database
Twin-2K-500: A dataset for building digital twins of over 2,000 people based on their answers to over 500 questions
토론
이 논문과 연결된 포럼 글이 아직 없습니다.