Research map / Architectures and efficiency / Attention and transformers
Transformer Uncertainty Estimation with Hierarchical Stochastic Attention
Jiahuan Pei, Cheng Wang, György Szarvas
University of Amsterdam · Amazon
Read the paperPlace an idea next to itCheck your own paper ↗
7measured effects
2improved
1hurt
4mixed
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 |
|---|---|---|---|
| Add stochastic attention over learnable centroids alongside stochastic attention over values | Transformer · IMDB ID and CR OOD | accuracy (%): 87.63% and 67.14% | Improved |
| Use stochastic attention over values only, with τ=1 rather than τ=40 (ablation) | Sto-trans · IMDB ID and CR OOD | accuracy (%): 82.62 ± 0.092 vs 87.42 ± 0.022; 67.92 ± 0.634 vs 63.78 ± 0.289 | Mixed |
| Add stochastic attention over learnable centroids to stochastic attention over values (ablation) | Transformer · CoLA ID and OOD | MCC (%): 23.27 ± 0.75 vs 20.52 ± 0.76; 15.25 ± 4.65 vs 16.49 ± 4.08 | Mixed |
| Use stochastic attention over values only instead of hierarchical stochastic attention (ablation) | Transformer · CoLA ID and OOD | MCC (%): 23.27 ± 0.75 vs 20.52 ± 0.76; 15.25 ± 4.65 vs 16.49 ± 4.08 | Mixed |
| Use a small τ₁ and large τ₂ rather than the reverse (ablation) | H-sto-trans · IMDB ID and CR OOD | accuracy (%) | Improved |
| Remove stochastic attention to centroids, retaining only stochastic attention over values (ablation) | H-sto-trans · IMDB ID and CR OOD | accuracy (%): 87.63% and 67.14% vs 87.42% and 63.78% | Hurt |
| Add stochastic attention to learnable centroids and retain attention over values | Transformer · CoLA ID and OOD | MCC (%): 0.43% and 0.03% | Mixed |
Open problems in attention head and block redesign
Do attention redesigns still help at large scale, or only in small models and carefully set conditions?
- Theory rests on simplifying assumptions that real transformers break. · 13 papers state it
- Tested only on small models, not at LLM scale. · 12 papers state it
- Gains over the baseline attention are small or mixed. · 10 papers state it
Closest papers by meaning
- Calibrating Transformers via Sparse Gaussian Processes (ICLR 2023 · similarity 0.87)
- Designing Robust Transformers using Robust Kernel Density Estimation (NeurIPS 2023 · similarity 0.86)
- Uncertainty Estimation of Transformer Predictions for Misclassification Detection (ACL 2022 · similarity 0.86)
- In-context Convergence of Transformers (ICML 2024 · similarity 0.86)
- Transformers are almost optimal metalearners for linear classification (NeurIPS 2025 · similarity 0.84)
- InfoFlow: A Framework for Multi-Layer Transformer Analysis (NeurIPS 2026 · similarity 0.84)
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.