Research map / Architectures and efficiency / Attention and transformers
Transformer Dissection: An Unified Understanding for Transformer's Attention via the Lens of Kernel
Yao-Hung Hubert Tsai, Shaojie Bai, Makoto Yamada, Louis-Philippe Morency, Ruslan Salakhutdinov
Carnegie Mellon University · Kyoto University · RIKEN AIP
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- WikiText-103 leaderboard perplexity 24.28 · rank 79 of 123 papers
This paper tried a common change: Add positional encoding
add positional embedding (vs none in the whole model) · IWSLT'14 De-En · BLEU: 14.47 -> 34.71 Improved
What 733 accepted papers report for this change
- 590 improved
- 67 no clear effect
- 9 mixed
- 67 hurt
- Learning-Augmented Scalable Linear Assignment Problem Optimization via Neural Dual Warm-Starts ICML 2026 · add positional encodings to features (d=13 -> d=21) · Block-structured, N=4096 · speedupImproved
- Mesh Based Simulations with Spatial and Temporal awareness ICML 2026 · use learned positional embedding, learnable relative bias or weighted adjacency instead of RoPE · Aneurysm · RMSEHurt
- Sparse ActionGen: Accelerating Diffusion Policy with Real-time Pruning ICML 2026 · add sinusoidal positional encoding to the pruner · Robomimic Tool Hang · success rate (%): 28 -> 54Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use a linear kernel in attention (ablation) | Transformer attention · IWSLT'14 De-En / WikiText-103 | BLEU / perplexity: not converge | Hurt |
| use infinite-feature-space kernels (exponential/RBF) instead of polynomial (ablation) | Transformer attention · IWSLT'14 De-En | BLEU: 32.72 -> 33.98 (exp), 34.26 (RBF) | Improved |
| use symmetric kernel (W_q = W_k) instead of asymmetric (ablation) | RBF kernel attention · IWSLT'14 De-En | BLEU: 34.26 -> 34.14 | No clear effect |
| use symmetric kernel (W_q = W_k) instead of asymmetric (ablation) | Exponential kernel attention · WikiText-103 | perplexity: 24.10 -> 24.01 | No clear effect |
| remove positional embedding only in decoder self-attention (ablation) | Ours · IWSLT'14 De-En | BLEU: 34.71 -> 34.49 | Hurt |
| add positional embedding (vs none in the whole model) (ablation) | Ours · IWSLT'14 De-En | BLEU: 14.47 -> 34.71 | Improved |
| add positional embedding (ablation) | Ours · WikiText-103 | perplexity: 30.92 -> 24.28 | Improved |
| add positional embedding to the value function (ablation) | Ours · IWSLT'14 De-En | BLEU: 34.71 (without) vs 34.60 (with) | No clear effect |
| add positional embedding to the value function (ablation) | Ours · WikiText-103 | perplexity: 24.28 (without) vs 24.42 (with) | No clear effect |
| use proposed product-kernel PE instead of Vaswani et al. PE | Transformer decoder self-attention · WikiText-103 | perplexity: 30.97 -> 24.28 | Improved |
Open problems in sparse efficient transformers for long context
Do sparse and efficient long-context attention methods keep their quality and speed at larger model scale?
- Not tested on models larger than a few billion parameters. · 12 papers state it
- Training costs more or is less stable than a standard transformer. · 7 papers state it
- Quality still falls behind softmax attention or the teacher model. · 6 papers state it
Closest papers by meaning
- The Devil in Linear Transformer (EMNLP 2022 · similarity 0.91)
- Composite Slice Transformer: An Efficient Transformer with Composition of Multi-Scale Multi-Range Attentions (ICLR 2023 · similarity 0.90)
- Random Feature Attention (ICLR 2021 · similarity 0.90)
- H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequences (ACL 2021 · similarity 0.90)
- Pool Me Wisely: On the Effect of Pooling in Transformer-Based Models (NeurIPS 2025 · similarity 0.88)
- Token Statistics Transformer: Linear-Time Attention via Variational Rate Reduction (ICLR 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.