What Dense Graph Do You Need for Self-Attention?
Yuxin Wang, Chu-Tak Lee, Qipeng Guo, Zhangyue Yin, Yunhua Zhou, Xuanjing Huang, Xipeng Qiu
摘要
Transformers have made progress in miscellaneous tasks, but suffer from quadratic computational and memory complexities. Recent works propose sparse Transformers with attention on sparse graphs to reduce complexity and remain strong performance. While effective, the crucial parts of how dense a graph needs to be to perform well are not fully explored. In this paper, we propose Normalized Information Payload (NIP), a graph scoring function measuring information transfer on graph, which provides an analysis tool for trade-offs between performance and complexity. Guided by this theoretical analysis, we present Hypercube Transformer, a sparse Transformer that models token interactions in a hypercube and shows comparable or even better results with vanilla Transformer while yielding O(N log N ) complexity with sequence length N . Experiments on tasks requiring various sequence lengths lay validation for our graph function well 1 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Long Range Arena : A Benchmark for Efficient Transformers 引用了 Big Bird: Transformers for Longer Sequences
- Efficient Attention via Control Variates 引用了 Long Range Arena : A Benchmark for Efficient Transformers
- Efficient Attention via Control Variates 引用了 Big Bird: Transformers for Longer Sequences
- Efficient Attention via Control Variates 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Efficient Attention via Control Variates 引用了 Nyströmformer: A Nyström-based Algorithm for Approximating Self-Attention
- Nyströmformer: A Nyström-based Algorithm for Approximating Self-Attention 引用了 Long Range Arena : A Benchmark for Efficient Transformers
- Training-free Diffusion Model Adaptation for Variable-Sized Text-to-Image Synthesis 引用了 Big Bird: Transformers for Longer Sequences
- Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
引用它的顶会 Paper3
- Training-free Diffusion Model Adaptation for Variable-Sized Text-to-Image SynthesisZhiyu Jin, Xuli Shen, Bin Li, Xiangyang XueNeurIPS 2023 · 72 次引用
- Efficient Attention via Control VariatesLin Zheng, Jianbo Yuan, Chong Wang, Lingpeng KongICLR 2023 · 2 次引用
- A Capacity-Based Rationale for Multi-Head AttentionMicah AdlerICML 2026 · 2 次引用
它引用的 Paper7
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Big Bird: Transformers for Longer SequencesManzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie 等NeurIPS 2020 · 3,159 次引用
- Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetLi Yuan, Yunpeng Chen, Tao Wang, Weihao Yu 等ICCV 2021 · 2,462 次引用
- Long Range Arena : A Benchmark for Efficient TransformersYi Tay, Mostafa Dehghani, Samira Abnar, Yikang Shen 等ICLR 2021 · 881 次引用
- Nyströmformer: A Nyström-based Algorithm for Approximating Self-AttentionYunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, Mingxing Tan 等AAAI 2021 · 675 次引用
相关 Paper
- O(n) Connections are Expressive Enough: Universal Approximability of Sparse TransformersChulhee Yun, Yin-Wen Chang, Srinadh Bhojanapalli, Ankit Singh Rawat 等NeurIPS 2020 · 111 次引用
- NAGphormer: A Tokenized Graph Transformer for Node Classification in Large GraphsJinsong Chen, Kaiyuan Gao, Gaichao Li, Kun HeICLR 2023 · 22 次引用
- Transformers Generalize DeepSets and Can be Extended to Graphs & HypergraphsJinwoo Kim, Saeyoon Oh, Seunghoon HongNeurIPS 2021 · 48 次引用
- Even Sparser Graph TransformersHamed Shirzad, Honghao Lin, Balaji Venkatachalam, Ameya Velingker 等NeurIPS 2024 · 18 次引用
- SparseFlow: Accelerating Transformers by Sparsifying Information FlowsYeachan Kim, SangKeun LeeACL 2024 · 1 次引用
