scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Understanding Attention for Text Classification

Xiaobing Sun, Wei Lu

ACL 2020Architectures and efficiency › Attention and transformersapproach: Long-context KV and memory attentionopen problems in this approach98 citations (OpenAlex)

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 changedWhereMeasuredEffect
raise scaling factor lambda from 0.001 to 10 in scaled dot-product attention (ablation)DP · SSTaccuracy: 55.3 -> 82.2Improved
raise scaling factor lambda from 0.001 to 10 (ablation)DP · 20News IIaccuracy: 31.8 -> 93.4Improved
raise lambda from 10 to 10000 (attention approaches mean pooling) (ablation)DP · SSTaccuracy: 82.2 -> 79.6No clear effect
raise lambda from 10 to 10000 (ablation)DP · IMDBaccuracy: 89.2 -> 89.3No clear effect
use LSTM encoder (DP-L) instead of word embeddings at very small lambda (ablation)DP · IMDBaccuracy: 55.5 -> 87.7 (lambda 0.001)Improved
use LSTM or affine input encoder (ablation)DP · SST, IMDB, 20NewsaccuracyNo clear effect
use a moderate lambda (10) so V^T W lambda is small (ablation)DP · SST, IMDB, 20News Iattention score of polarity tokens vs neutralImproved
use very large lambda (100) (ablation)DP · SSTinterpretability of attention scoresHurt
add regularization minimizing V^T W at large lambda (ablation)DP · SSTinterpretability of attention scores / test accuracyMixed
replace scaled dot-product attention with additive attention (ablation)DP · SSTpolarity and attention score patternsNo clear effect
3-class instead of binary classificationDP · 20News IIattention scoresNo 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?

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