Research map / Architectures and efficiency / Attention and transformers
Attention Under Attack: Analog Noise Effects and Mechanistic Vulnerabilities in Transformer Models
Mafizur Rahman, Lijun Qian
Prairie View A&M University
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
1improved
1no clear effect
8hurt
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 |
|---|---|---|---|
| run inference on simulated analog hardware (medium noise) | BERT, DistilBERT, RoBERTa, DeBERTa · MNLI | accuracy: e.g. 84 -> 83 (BERT); 87 -> 85 (RoBERTa) | Hurt |
| run inference on simulated analog hardware (medium noise) | BERT, RoBERTa, ALBERT · SST-2 | accuracy: 93 -> 90 (ALBERT); 93 -> 92 (BERT) | Hurt |
| run inference on simulated analog hardware (medium noise) | RoBERTa · SQuAD v1.1 | F1: 95 -> 89 | Hurt |
| run inference on simulated analog hardware (medium noise) | DeBERTa · MNLI | loss: 0.48 -> 1.40 | Hurt |
| double noise level from medium to high (ablation) | Phi-3-mini and LLaMA-3.2-1B · ARC-Easy (zero-shot) | accuracy change: -2.6 -> -7.1 (Phi-3); -2.6 -> -6.4 (LLaMA-3.2-1B) | Hurt |
| halve noise level to low (ablation) | Phi-3-mini and LLaMA-3.2-1B · ARC-Easy (zero-shot) | accuracy change: -2.6 -> -1.3 (Phi-3); -2.6 -> -1.4 (LLaMA-3.2-1B) | Improved |
| apply analog noise only to Q, K, V projections (ablation) | encoder transformers · SST-2, MNLI, SQuAD | performance drop | Hurt |
| apply analog noise only to FFN layers (ablation) | encoder transformers · SST-2, MNLI | performance drop | No clear effect |
| apply analog noise only to attention output projection (ablation) | encoder transformers · SQuAD v1.1 | performance drop | Mixed |
| lengthen SQuAD contexts to 257-320 tokens | BERT and RoBERTa under analog noise · SQuAD v1.1 | F1 drop (digital - analog): more than five F1 points | Hurt |
| go deeper into the network (higher layers) | RoBERTa under analog noise · SQuAD v1.1 | attention KL divergence | Hurt |
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
- Memorization Capacity of Multi-Head Attention in Transformers (ICLR 2024 · similarity 0.87)
- An Evolved Universal Transformer Memory (ICLR 2025 · similarity 0.87)
- Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modeling (NeurIPS 2024 · similarity 0.87)
- Spectral Conditioning of Attention Improves Transformer Performance (NeurIPS 2025 · similarity 0.87)
- Understanding Differential Transformer Unchains Pretrained Self-Attentions (NeurIPS 2025 · similarity 0.87)
- Rethinking Attention: Exploring Shallow Feed-Forward Neural Networks as an Alternative to Attention Layers in Transformers (Student Abstract) (AAAI 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.