Research map / Architectures and efficiency / Attention and transformers
ETC: Encoding Long and Structured Inputs in Transformers
Joshua Ainslie, Santiago Ontañón, Chris Alberti, Vaclav Cvicek, Zachary Fisher, Philip Pham, Anirudh Ravula, Sumit Sanghai, Qifan Wang, Li Yang
Read the paperPlace an idea next to itCheck your own paper ↗
15measured effects
13improved
1no clear effect
1hurt
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 CPC pre-training task (ablation) | ETC base 4096 · NQ dev | long/short answer F1: 0.692 / 0.497 -> 0.717 / 0.524 (long/short, shared, no hard g2l) | Improved |
| use separate (non-shared) W_Q, W_K, W_V for long and global inputs (ablation) | ETC base 4096 · NQ dev | long answer F1: 0.721 -> 0.725 | Improved |
| share W_Q, W_K, W_V across long and global inputs (ablation) | ETC base 4096 · WikiHop dev | accuracy: 73.2 -> 73.7 | Improved |
| increase long input length from 512 to 4096 (ablation) | ETC base · NQ dev | long/short answer F1: 0.645 / 0.478 -> 0.692 / 0.497 | Improved |
| increase long input length from 4096 to 8192 (ablation) | ETC base · NQ dev | long/short answer F1: 0.725 / 0.522 -> 0.740 / 0.542 | Improved |
| use fixed blocks for global tokens (no CPC, no hard g2l) (ablation) | ETC base 4096 · NQ dev | long/short answer F1: 0.692 / 0.497 -> 0.697 / 0.508 | Improved |
| add hard g2l masking (ablation) | ETC base 4096 · WikiHop dev | accuracy: 75.9 -> 73.2 | Hurt |
| add CPC and hard g2l masking (ablation) | ETC base 4096 · HotpotQA dev | answer F1 / supporting F1: 0.722 / 0.857 -> 0.751 / 0.869 | Improved |
| use structure (vs. flat structure) (ablation) | ETC base 4096 · HotpotQA dev | answer F1 / supporting F1: 0.748 / 0.870 vs 0.751 / 0.869 | No clear effect |
| use structure (vs. flat structure) (ablation) | ETC base 4096 · WikiHop dev | accuracy: 70.7 -> 73.2 | Improved |
| add visual features (ablation) | ETC base 4096 · OpenKP dev | F1@3: 0.402 -> 0.409 | Improved |
| use max-logit over keyphrase occurrences (max loss) (ablation) | ETC base 4096 · OpenKP dev | F1@3: 0.409 -> 0.416 | Improved |
Closest papers by meaning
- Viewing Transformers Through the Lens of Long Convolutions Layers (ICML 2024 · similarity 0.90)
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.89)
- Functional Interpolation for Relative Positions improves Long Context Transformers (ICLR 2024 · similarity 0.88)
- AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers (ICML 2024 · similarity 0.87)
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025 · similarity 0.87)
- Unveiling Induction Heads: Provable Training Dynamics and Feature Learning in Transformers (NeurIPS 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.
