Lune

ICLR2023顶会

A Primal-Dual Framework for Transformers and Neural Networks

Tan Minh Nguyen, Tam Minh Nguyen, Nhat Ho, Andrea L. Bertozzi, Richard G. Baraniuk, Stanley J. Osher

摘要

Self-attention is key to the remarkable success of transformers in sequence modeling tasks including many applications in natural language processing and computer vision. Like neural network layers, these attention mechanisms are often developed by heuristics and experience. To provide a principled framework for constructing attention layers in transformers, we show that the self-attention corresponds to the support vector expansion derived from a support vector regression problem, whose primal formulation has the form of a neural network layer. Using our framework, we derive popular attention layers used in practice and propose two new attentions: 1) the Batch Normalized Attention (Attention-BN) derived from the batch normalization layer and 2) the Attention with Scaled Head (Attention-SH) derived from using less training data to fit the SVR model. We empirically demonstrate the advantages of the Attention-BN and Attention-SH in reducing head redundancy, increasing the model's accuracy, and improving the model's efficiency in a variety of practical applications including image and time-series classification.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Elliptical Attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Elliptical Attention 引用了 Zero-Shot Text-to-Image Generation
  • Elliptical Attention 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Elliptical Attention 引用了 Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representation
  • Elliptical Attention 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Elliptical Attention 引用了 Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis
  • Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis 引用了 Elliptical Attention
  • Towards Causal Foundation Model: on Duality between Optimal Balancing and Attention 引用了 Language Models are Few-Shot Learners
  • Towards Causal Foundation Model: on Duality between Optimal Balancing and Attention 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
  • Zero-Shot Text-to-Image Generation 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Max-Margin Token Selection in Attention Mechanism 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Max-Margin Token Selection in Attention Mechanism 引用了 Zero-Shot Text-to-Image Generation
  • Max-Margin Token Selection in Attention Mechanism 引用了 Language Models are Few-Shot Learners
  • Max-Margin Token Selection in Attention Mechanism 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representation 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representation 引用了 Language Models are Few-Shot Learners
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 Language Models are Few-Shot Learners
  • Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis 引用了 Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representation
  • Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis 引用了 Language Models are Few-Shot Learners
  • Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis 引用了 Learning Transferable Visual Models From Natural Language Supervision
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Max-Margin Token Selection in Attention MechanismDavoud Ataee Tarzanagh, Yingcong Li, Xuechen Zhang, Samet OymakNeurIPS 2023 · 67 次引用
  2. Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal RepresentationYingyi Chen, Qinghua Tao, Francesco Tonin, Johan A. K. SuykensNeurIPS 2023 · 42 次引用
  3. Elliptical AttentionStefan K. Nielsen, Laziz U. Abdullaev, Rachel S. Y. Teo, Tan NguyenNeurIPS 2024 · 12 次引用
  4. Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component AnalysisRachel S. Y. Teo, Tan M. NguyenNeurIPS 2024 · 11 次引用
  5. Towards Causal Foundation Model: on Duality between Optimal Balancing and AttentionJiaqi Zhang, Joel Jennings, Agrin Hilmkil, Nick Pawlowski 等ICML 2024 · 9 次引用

它引用的 Paper29

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  3. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
  4. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  5. Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray 等ICML 2021 · 6,356 次引用

相关 Paper

  1. Implicit Kernel AttentionKyungwoo Song, Yohan Jung, Dongjun Kim, Il-Chul MoonAAAI 2021 · 18 次引用
  2. SLAB: Efficient Transformers with Simplified Linear Attention and Progressive Re-parameterized Batch NormalizationJialong Guo, Xinghao Chen, Yehui Tang, Yunhe WangICML 2024 · 40 次引用
  3. FourierFormer: Transformer Meets Generalized Fourier Integral TheoremTan Nguyen, Minh Pham, Tam Nguyen, Khai Nguyen 等NeurIPS 2022 · 59 次引用
  4. Improving Transformers with Probabilistic Attention KeysTam Minh Nguyen, Tan Minh Nguyen, Dung D. Le, Duy Khuong Nguyen 等ICML 2022 · 38 次引用
  5. Dissecting the Interplay of Attention Paths in a Statistical Mechanics Theory of TransformersLorenzo Tiberi, Francesca Mignacco, Kazuki Irie, Haim SompolinskyNeurIPS 2024 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖