Research map / Architectures and efficiency / Attention and transformers
Sketching as a Tool for Understanding and Accelerating Self-attention for Long Sequences
Yifan Chen, Qi Zeng, Dilek Hakkani-Tur, Di Jin, Heng Ji, Yun Yang
University of Illinois, Urbana Champaign · Amazon
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
- LRA ListOps leaderboard accuracy 38.73 · rank 30 of 39 papers
- LRA Image leaderboard accuracy 37.27 · rank 38 of 39 papers
- LRA Text leaderboard accuracy 62.47 · rank 38 of 38 papers
- LRA Retrieval leaderboard accuracy 80.42 · rank 31 of 36 papers
- LRA Pathfinder leaderboard accuracy 71.51 · rank 32 of 35 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use importance column sampling instead of uniform sampling (ablation) | Skeinformer · LRA average | accuracy (%): 55.28 -> 58.08 | Improved |
| use importance column sampling instead of uniform sampling (ablation) | Skeinformer · LRA ListOps | accuracy (%): 30.02 -> 38.73 | Improved |
| use importance column sampling instead of uniform sampling (ablation) | Skeinformer · LRA Text | accuracy (%): 64.48 -> 62.47 | Hurt |
| add adaptive row normalization (ablation) | Skeinformer · LRA average | accuracy (%): 56.09 -> 58.08 | Improved |
| use adaptive instead of simple row normalization (ablation) | Skeinformer · LRA average | accuracy (%): 56.54 -> 58.08 | Improved |
| use adaptive instead of simple row normalization (ablation) | Skeinformer · LRA Image | accuracy (%): 39.72 -> 37.27 | Hurt |
| add pilot sampling reutilization (ablation) | Skeinformer · LRA average | accuracy (%): 57.83 -> 58.08 | Improved |
| add padding mask to Informer | Informer · LRA average | accuracy (%): 55.35 -> 55.57 | Improved |
| use unreduced JLT in Linformer instead of reduced form | Linformer · LRA average | accuracy (%): 53.39 -> 56.08 | Improved |
| remove dropout from standard attention (ablation) | Standard attention · LRA average | accuracy (%): 57.50 -> 57.38 | No clear effect |
| replace standard attention with Skeinformer | 2-layer Transformer · LRA Text | accuracy and time: 4.78% accuracy improvement, nearly 9x speed-up | Improved |
| replace standard attention with Skeinformer | 2-layer Transformer · LRA average | accuracy (%): 57.50 -> 58.08 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- BigBird — Big Bird: Transformers for Longer Sequences (NeurIPS 2020) · better on 1 of 1 shared result
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in linear attention approximations
Can linear attention match softmax attention on retrieval and at larger scale, with real speedups?
- Not tested on models beyond a few billion parameters. · 17 papers state it
- Wall-clock speedups are missing for lack of optimized kernels. · 9 papers state it
- Retrieval and copy tasks remain weaker than with full attention. · 5 papers state it
Closest papers by meaning
- Nyströmformer: A Nyström-based Algorithm for Approximating Self-Attention (AAAI 2021 · similarity 0.88)
- Linear Log-Normal Attention with Unbiased Concentration (ICLR 2024 · similarity 0.87)
- On the Expressive Flexibility of Self-Attention Matrices (AAAI 2023 · similarity 0.87)
- PolySketchFormer: Fast Transformers via Sketching Polynomial Kernels (ICML 2024 · similarity 0.87)
- Short-Long Convolutions Help Hardware-Efficient Linear Attention to Focus on Long Sequences (ICML 2024 · similarity 0.85)
- Mixture-of-Top-k Attention: Efficient Attention as Scalable Fast Weights (NeurIPS 2026 · similarity 0.85)
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.