scimeatlas

Research map / Architectures and efficiency / Attention and transformers

The Lipschitz Constant of Self-Attention

Hyunjik Kim, George Papamakarios, Andriy Mnih

ICML 2021Architectures and efficiency › Attention and transformersapproach: Sparse and structured attentionopen problems in this approach31 citations (OpenAlex)

Google DeepMind

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

11measured effects
6improved
1no clear effect
3hurt
1mixed

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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace dot-product attention with L2 attentionTransformer · PTB character-level language modellingtest NLLNo clear effect
Tie query and key weights in L2 self-attention (ablation)Transformer with L2 attention · PTB character-level language modellingtest NLL: 1.024 -> 1.023Hurt
Normalize L2 attention by its Lipschitz upper bound (ablation)Transformer with tied L2 attention · PTB character-level language modellingtest NLL: 1.008 -> 1.029Hurt
Normalize L2 attention by its Lipschitz upper bound (ablation)Transformer with tied L2 attention · PTB character-level language modelling, deeper modelstraining stabilityImproved
Use L2 attention with tied query and key weights instead of dot-product attention (ablation)Transformer · PTB character-level language modelling, fixed learning ratetraining stabilityImproved
Normalize attention by the Lipschitz bound (ablation)L2-MHA · PTB character-level language modellingtest NLL: 1.008 -> 1.029Mixed
Backpropagate through the normalization denominator (ablation)Contractive-L2-MHA · PTB character-level language modellingtest NLLImproved
Use L2 self-attention with tied query and key weights rather than dot-product attentionSelf-attention module · Unbounded input domainLipschitz continuityImproved
Tie query and key weights (ablation)L2 self-attention · Unbounded input domainLipschitz continuityImproved
Add the additional A_h linear transformation within each L2 attention headL2-MHA · Unbounded input domainLipschitz upper boundImproved
Replace the upper-bound-based normalization with stop-gradient on the denominator (ablation)Contractive-L2-MHA · PTB character-level language modellingtest NLLHurt

Open problems in sparse and structured attention

How well do the theory and the efficient designs of attention carry over from simplified models to full-scale transformers?

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