Research map / Architectures and efficiency / Attention and transformers
schuBERT: Optimizing Elements of BERT
Ashish Khetan, Zohar Karnin
Amazon
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
5improved
1no clear effect
4hurt
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 |
|---|---|---|---|
| prune hidden size (schuBERT-h, 12 layers) instead of removing layers to 3 layers (ablation) | BERT-base · GLUE+SQuAD average, 43M params | average accuracy: 75.1 -> 81.7 | Improved |
| prune hidden size (schuBERT-h) instead of removing layers to 6 layers (ablation) | BERT-base · GLUE+SQuAD average, 66M params | average accuracy: 81.0 -> 82.9 | Improved |
| prune all dimensions (schuBERT-all) instead of removing layers to 9 layers (ablation) | BERT-base · GLUE+SQuAD average, 88M params | average accuracy: 82.7 -> 83.8 | Improved |
| prune all dimensions non-uniformly (schuBERT-all) instead of uniformly (ablation) | BERT-base · GLUE+SQuAD average, 99M params | average accuracy: 83.7 -> 84.1 | Improved |
| prune all dimensions non-uniformly (schuBERT-all) instead of uniformly (ablation) | BERT-base · GLUE+SQuAD average, 77M params | average accuracy: 83.1 -> 82.7 | Hurt |
| prune only attention heads (schuBERT-a) instead of all dimensions (ablation) | BERT-base · GLUE+SQuAD average, 88M params | average accuracy: 83.8 -> 80.8 | Hurt |
| prune only attention heads (schuBERT-a) instead of all dimensions (ablation) | BERT-base · GLUE+SQuAD average, 77M params | average accuracy: 82.7 -> 79.8 | Hurt |
| prune hidden size only (schuBERT-h) instead of all dimensions at small sizes (ablation) | BERT-base · GLUE+SQuAD average, 43M params | average accuracy: 81.0 -> 81.7 | Improved |
| prune only feed-forward filter size (schuBERT-f) instead of hidden size (ablation) | BERT-base · GLUE+SQuAD average, 43M params | average accuracy: 81.7 -> 77.5 | Hurt |
| use schuBERT-all instead of BERT base at 99M params | BERT-base · GLUE+SQuAD average, 99M params | average accuracy: 84.3 -> 84.1 | No clear effect |
| use ALBERT factorized embeddings (ALBERT-e) versus schuBERT-all at 88M params | ALBERT · SQuAD v1.1 and SST-2/MNLI, 88M params | accuracy: SQuAD v1.1 89.9/82.9 vs 89.4/82.5; MNLI 82.9 vs 84.1 | Mixed |
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
- MosaicBERT: A Bidirectional Encoder Optimized for Fast Pretraining (NeurIPS 2023 · similarity 0.90)
- The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models (EMNLP 2022 · similarity 0.88)
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference (ACL 2020 · similarity 0.88)
- ALBERT: A Lite BERT for Self-supervised Learning of Language Representations (ICLR 2020 · similarity 0.88)
- No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023 · similarity 0.87)
- Token Dropping for Efficient BERT Pretraining (ACL 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.