Research map / Architectures and efficiency / Attention and transformers
Explaining How Transformers Use Context to Build Predictions
Javier Ferrando, Gerard I. Gállego, Ioannis Tsiamas, Marta R. Costa-jussà
Universitat Politècnica de Catalunya · Meta
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use ALTI-Logit / Logit explanations instead of gradient- and erasure-based baselines | GPT-2 Small · BLiMP subsets, SVA, IOI | MRR alignment: SVA 4: 0.371 (Erasure) -> 0.566 (ALTI-Logit) | Improved |
| add contextual-mixing tracking (ALTI-Logit instead of Logit) (ablation) | Logit explanation · darn (GPT-2 Small) | MRR alignment: 0.802 -> 0.949 | Improved |
| add contextual-mixing tracking (ALTI-Logit instead of Logit) (ablation) | Logit explanation · dna (GPT-2 Small) | MRR alignment: 0.737 -> 0.646 | Hurt |
| add contextual-mixing tracking (ALTI-Logit instead of Logit) (ablation) | Logit explanation · dnaa (GPT-2 XL) | MRR alignment: 0.932 -> 0.615 | Hurt |
| use Logit/ALTI-Logit instead of Grad Norm | GPT-2 Small · npi | MRR alignment: Grad Norm 0.785 vs Logit 0.445, ALTI-Logit 0.417 | Hurt |
| use Logit/ALTI-Logit instead of Grad Norm | GPT-2 Small · asp | MRR alignment: Grad Norm 0.751 vs Logit 0.386, ALTI-Logit 0.499 | Hurt |
| use ALTI-Logit instead of Erasure | GPT-2 XL · IOI | MRR alignment: 0.643 -> 1.0 | Improved |
| derive source-target alignments from cross-attention logit updates instead of attention weights | 6-layer De-En Transformer · Europarl De-En alignment | AER: 48.6 -> 26.0 | Improved |
| derive alignments from logit updates instead of attention weights | M2M · De-En alignment | AER: 96.4 -> 27.3 | Improved |
| more logit update from evidence tokens | ALTI-Logit on GPT-2 · BLiMP/SVA predictions | prediction correctness | Improved |
Open problems in efficient language transformers
Which efficient transformer designs keep their quality, speed and memory gains at larger scale and in more languages?
- Experiments stop at small models, often 1B parameters or fewer. · 10 papers state it
- The method is slower or heavier than its baseline in training or inference. · 10 papers state it
- Only English or alphabetic languages were tested. · 9 papers state it
Closest papers by meaning
- Analyzing the Source and Target Contributions to Predictions in Neural Machine Translation (ACL 2021 · similarity 0.89)
- Quantifying the Plausibility of Context Reliance in Neural Machine Translation (ICLR 2024 · similarity 0.88)
- What Context Features Can Transformer Language Models Use? (ACL 2021 · similarity 0.88)
- Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Space (EMNLP 2022 · similarity 0.88)
- Separating Tongue from Thought: Activation Patching Reveals Language-Agnostic Concept Representations in Transformers (ACL 2025 · similarity 0.88)
- Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Pass (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.