scimeatlas

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

EMNLP 2019Architectures and efficiency › Attention and transformersapproach: Sparse efficient transformers for long contextopen problems in this approach400 citations (OpenAlex)

Carnegie Mellon University · Kyoto University · RIKEN AIP

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
4improved
4no clear effect
2hurt

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

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

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 changedWhereMeasuredEffect
use a linear kernel in attention (ablation)Transformer attention · IWSLT'14 De-En / WikiText-103BLEU / perplexity: not convergeHurt
use infinite-feature-space kernels (exponential/RBF) instead of polynomial (ablation)Transformer attention · IWSLT'14 De-EnBLEU: 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-EnBLEU: 34.26 -> 34.14No clear effect
use symmetric kernel (W_q = W_k) instead of asymmetric (ablation)Exponential kernel attention · WikiText-103perplexity: 24.10 -> 24.01No clear effect
remove positional embedding only in decoder self-attention (ablation)Ours · IWSLT'14 De-EnBLEU: 34.71 -> 34.49Hurt
add positional embedding (vs none in the whole model) (ablation)Ours · IWSLT'14 De-EnBLEU: 14.47 -> 34.71Improved
add positional embedding (ablation)Ours · WikiText-103perplexity: 30.92 -> 24.28Improved
add positional embedding to the value function (ablation)Ours · IWSLT'14 De-EnBLEU: 34.71 (without) vs 34.60 (with)No clear effect
add positional embedding to the value function (ablation)Ours · WikiText-103perplexity: 24.28 (without) vs 24.42 (with)No clear effect
use proposed product-kernel PE instead of Vaswani et al. PETransformer decoder self-attention · WikiText-103perplexity: 30.97 -> 24.28Improved

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy