Implicit Kernel Attention
Kyungwoo Song, Yohan Jung, Dongjun Kim, Il-Chul Moon

TL;DR
This paper introduces a generalized implicit kernel attention mechanism that unifies and extends traditional attention by incorporating implicit kernels, $L^{p}$ norms, and structured multi-heads, leading to improved performance across various tasks.
Contribution
It proposes a novel implicit kernel attention framework that generalizes existing attention mechanisms with flexible kernel and norm choices, enhancing model adaptability.
Findings
Improved performance on classification, translation, and regression tasks.
Demonstrated effectiveness of implicit kernel attention over traditional methods.
Extended attention to structured multi-head configurations.
Abstract
\textit{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 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 norm as the norm. Third, we extend…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsAdvanced Graph Neural Networks · Machine Learning and Data Classification · Domain Adaptation and Few-Shot Learning
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Layer Normalization · Dropout · Dense Connections · Byte Pair Encoding · Label Smoothing · Adam · Residual Connection
