Research map / Architectures and efficiency / Attention and transformers
The Lipschitz Constant of Self-Attention
Hyunjik Kim, George Papamakarios, Andriy Mnih
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 changed | Where | Measured | Effect |
|---|---|---|---|
| Replace dot-product attention with L2 attention | Transformer · PTB character-level language modelling | test NLL | No clear effect |
| Tie query and key weights in L2 self-attention (ablation) | Transformer with L2 attention · PTB character-level language modelling | test NLL: 1.024 -> 1.023 | Hurt |
| Normalize L2 attention by its Lipschitz upper bound (ablation) | Transformer with tied L2 attention · PTB character-level language modelling | test NLL: 1.008 -> 1.029 | Hurt |
| Normalize L2 attention by its Lipschitz upper bound (ablation) | Transformer with tied L2 attention · PTB character-level language modelling, deeper models | training stability | Improved |
| Use L2 attention with tied query and key weights instead of dot-product attention (ablation) | Transformer · PTB character-level language modelling, fixed learning rate | training stability | Improved |
| Normalize attention by the Lipschitz bound (ablation) | L2-MHA · PTB character-level language modelling | test NLL: 1.008 -> 1.029 | Mixed |
| Backpropagate through the normalization denominator (ablation) | Contractive-L2-MHA · PTB character-level language modelling | test NLL | Improved |
| Use L2 self-attention with tied query and key weights rather than dot-product attention | Self-attention module · Unbounded input domain | Lipschitz continuity | Improved |
| Tie query and key weights (ablation) | L2 self-attention · Unbounded input domain | Lipschitz continuity | Improved |
| Add the additional A_h linear transformation within each L2 attention head | L2-MHA · Unbounded input domain | Lipschitz upper bound | Improved |
| Replace the upper-bound-based normalization with stop-gradient on the denominator (ablation) | Contractive-L2-MHA · PTB character-level language modelling | test NLL | Hurt |
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?
- Theory covers only simplified one-layer or single-head attention. · 12 papers state it
- Experiments stay at small model scale. · 8 papers state it
- Theory assumes token distributions that real data does not match. · 7 papers state it
Closest papers by meaning
- How Smooth Is Attention? (ICML 2024 · similarity 0.94)
- Width Independent Bounds for the Local Lipschitz Constant of Deep Neural Networks at Random Initialization and after Lazy Training (ICML 2026 · similarity 0.90)
- Efficient and Accurate Estimation of Lipschitz Constants for Deep Neural Networks (NeurIPS 2019 · similarity 0.90)
- Some Fundamental Aspects about Lipschitz Continuity of Neural Networks (ICLR 2024 · similarity 0.89)
- ECLipsE: Efficient Compositional Lipschitz Constant Estimation for Deep Neural Networks (NeurIPS 2024 · similarity 0.89)
- A provable control of sensitivity of neural networks through a direct parameterization of the overall bi-Lipschitzness (NeurIPS 2024 · similarity 0.87)
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.