Lune

AAAI2021顶会

Implicit Kernel Attention

Kyungwoo Song, Yohan Jung, Dongjun Kim, Il-Chul Moon

摘要

Attention computes the dependency between representations, and it encourages the model to focus on the important selective features. Attention-based models, such as Transformer and graph attention network (GAT), are widely utilized for sequential data and graph-structured data. This paper suggests a new interpretation and generalized structure of the attention in Transformer and GAT. For the attention in Transformer and GAT, we derive that the attention is a product of two parts: 1) the RBF kernel to measure the similarity of two instances and 2) the exponential of L 2 norm to compute the importance of individual instances. From this decomposition, we generalize the attention in three ways. First, we propose implicit kernel attention with an implicit kernel function instead of manual kernel selection. Second, we generalize L 2 norm as the L p norm. Third, we extend our attention to structured multi-head attention. Our generalized attention shows better performance on classification, translation, and regression tasks.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Perceiving Longer Sequences With Bi-Directional Cross-Attention Transformers 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Perceiving Longer Sequences With Bi-Directional Cross-Attention Transformers 引用了 Rethinking Attention with Performers
  • Rethinking Attention with Performers 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Choose a Transformer: Fourier or Galerkin 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Choose a Transformer: Fourier or Galerkin 引用了 Rethinking Attention with Performers
  • Is Attention Better Than Matrix Decomposition? 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Choose a Transformer: Fourier or GalerkinShuhao CaoNeurIPS 2021 · 516 次引用
  2. Is Attention Better Than Matrix Decomposition?Zhengyang Geng, Meng-Hao Guo, Hongxu Chen, Xia Li 等ICLR 2021 · 171 次引用
  3. Uniform Memory Retrieval with Larger Capacity for Modern Hopfield ModelsDennis Wu, Jerry Yao-Chieh Hu, Teng-Yun Hsiao, Han LiuICML 2024 · 44 次引用
  4. Perceiving Longer Sequences With Bi-Directional Cross-Attention TransformersMarkus Hiller, Krista A. Ehinger, Tom DrummondNeurIPS 2024 · 23 次引用

它引用的 Paper3

  1. Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 次引用
  2. Encoding word order in complex embeddingsBenyou Wang, Donghao Zhao, Christina Lioma, Qiuchi Li 等ICLR 2020 · 134 次引用
  3. Rethinking Attention with PerformersKrzysztof Marcin Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song 等ICLR 2021 · 122 次引用

相关 Paper

  1. FourierFormer: Transformer Meets Generalized Fourier Integral TheoremTan Nguyen, Minh Pham, Tam Nguyen, Khai Nguyen 等NeurIPS 2022 · 59 次引用
  2. A Primal-Dual Framework for Transformers and Neural NetworksTan Minh Nguyen, Tam Minh Nguyen, Nhat Ho, Andrea L. Bertozzi 等ICLR 2023 · 2 次引用
  3. DHAKR: Learning Deep Hierarchical Attention-Based Kernelized Representations for Graph ClassificationFeifei Qian, Lu Bai, Lixin Cui, Ming Li 等AAAI 2025 · 4 次引用
  4. GBK-GNN: Gated Bi-Kernel Graph Neural Networks for Modeling Both Homophily and HeterophilyLun Du, Xiaozhou Shi, Qiang Fu, Xiaojun Ma 等WWW 2022 · 155 次引用
  5. Sequential Recommendation with Relation-Aware Kernelized Self-AttentionMingi Ji, Weonyoung Joo, Kyungwoo Song, Yoon-Yeong Kim 等AAAI 2020 · 31 次引用
黄昏的海面,两侧是细线勾勒的悬崖