Research map / Architectures and efficiency / Attention and transformers
DeFormer: Decomposing Pre-trained Transformers for Faster Question Answering
Qingqing Cao, Harsh Trivedi, Aruna Balasubramanian, Niranjan Balasubramanian
State University of New York at Stony Brook
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.
On benchmark leaderboards
- BoolQ leaderboard accuracy (dev) 78.8 · rank 6 of 12 papers
- MNLI leaderboard accuracy (dev) 82.6 · rank 32 of 35 papers
- SQuAD leaderboard F1 (dev) 90.8 · rank 5 of 23 papers
- QQP leaderboard accuracy (dev) 90.3 · rank 16 of 24 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add layerwise representation similarity loss (ablation) | DeFormer-BERT-base · SQuAD dev | F1: 86.2 -> 87.1 | Improved |
| add layerwise representation similarity loss (ablation) | DeFormer-BERT-large · SQuAD dev | F1: 88.9 -> 90.8 | Improved |
| add knowledge distillation loss (on top of LRS) (ablation) | DeFormer-BERT-base · SQuAD dev | F1: 85.8 -> 86.2 | Improved |
| add knowledge distillation loss (on top of LRS) (ablation) | DeFormer-BERT-large · SQuAD dev | F1: 87.5 -> 88.9 | Improved |
| decompose lower nine layers of BERT-base | BERT-base · SQuAD dev | F1 and speed: 88.5 -> 87.1 F1; 3.2x speedup | Mixed |
| decompose lower layers of XLNet-base | XLNet-base · BoolQ dev | accuracy and speed: 80.4 -> 78.8; 3.0x speedup | Mixed |
| decompose BERT-large instead of using BERT-base | BERT-large · SQuAD dev | F1: 88.5 (BERT-base) -> 90.8 (DeFormer-BERT-large) | Improved |
| decompose BERT-large | BERT-large · SQuAD dev | GFLOPs: 204.1 -> 47.7 | Improved |
| decompose BERT-base | BERT-base · QQP dev | accuracy: 90.5 -> 90.3 | No clear effect |
| separate at lower layers (until layer 3 for base, 13 for large) (ablation) | DeFormer-BERT · SQuAD dev | F1 drop | 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
- Harvesting and Refining Question-Answer Pairs for Unsupervised QA (ACL 2020 · similarity 0.88)
- Unsupervised Question Decomposition for Question Answering (EMNLP 2020 · similarity 0.88)
- Unsupervised Adaptation of Question Answering Systems via Generative Self-training (EMNLP 2020 · similarity 0.87)
- Block-Skim: Efficient Question Answering for Transformer (AAAI 2022 · similarity 0.87)
- Retrieval as Attention: End-to-end Learning of Retrieval and Reading within a Single Transformer (EMNLP 2022 · similarity 0.87)
- Learning to Decompose: Hypothetical Question Decomposition Based on Comparable Texts (EMNLP 2022 · 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.