Research map / Architectures and efficiency / Attention and transformers
Understanding Attention for Text Classification
Xiaobing Sun, Wei Lu
Singapore University of Technology and Design
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
4improved
5no clear effect
1hurt
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 |
|---|---|---|---|
| raise scaling factor lambda from 0.001 to 10 in scaled dot-product attention (ablation) | DP · SST | accuracy: 55.3 -> 82.2 | Improved |
| raise scaling factor lambda from 0.001 to 10 (ablation) | DP · 20News II | accuracy: 31.8 -> 93.4 | Improved |
| raise lambda from 10 to 10000 (attention approaches mean pooling) (ablation) | DP · SST | accuracy: 82.2 -> 79.6 | No clear effect |
| raise lambda from 10 to 10000 (ablation) | DP · IMDB | accuracy: 89.2 -> 89.3 | No clear effect |
| use LSTM encoder (DP-L) instead of word embeddings at very small lambda (ablation) | DP · IMDB | accuracy: 55.5 -> 87.7 (lambda 0.001) | Improved |
| use LSTM or affine input encoder (ablation) | DP · SST, IMDB, 20News | accuracy | No clear effect |
| use a moderate lambda (10) so V^T W lambda is small (ablation) | DP · SST, IMDB, 20News I | attention score of polarity tokens vs neutral | Improved |
| use very large lambda (100) (ablation) | DP · SST | interpretability of attention scores | Hurt |
| add regularization minimizing V^T W at large lambda (ablation) | DP · SST | interpretability of attention scores / test accuracy | Mixed |
| replace scaled dot-product attention with additive attention (ablation) | DP · SST | polarity and attention score patterns | No clear effect |
| 3-class instead of binary classification | DP · 20News II | attention scores | No clear effect |
Open problems in long-context KV and memory attention
How can long-context attention be made fast and small in memory without losing quality against full attention?
- Validated only on models up to about 13B parameters. · 8 papers state it
- Speedups are limited because the code is not fused or kernel-optimized. · 5 papers state it
- Compressed or sparse attention still trails full attention. · 4 papers state it
Closest papers by meaning
- Is Attention Interpretable? (ACL 2019 · similarity 0.94)
- Attention is not Explanation (NAACL 2019 · similarity 0.91)
- Towards Understanding the Word Sensitivity of Attention Layers: A Study via Random Features (ICML 2024 · similarity 0.88)
- Attention with Trained Embeddings Provably Selects Important Tokens (NeurIPS 2025 · similarity 0.87)
- Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibration (ICML 2024 · similarity 0.87)
- When Attention Sink Emerges in Language Models: An Empirical View (ICLR 2025 · 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.