Research map / Architectures and efficiency / Pruning and efficient tuning
MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
Zhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu, Yiming Yang, Denny Zhou
Carnegie Mellon University · Google
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
- QNLI leaderboard accuracy (dev) 91 · rank 25 of 39 papers
- SQuAD v1.1 leaderboard F1 (dev) 90 · rank 15 of 24 papers
- SQuAD v2.0 leaderboard F1 (dev) 79.2 · rank 9 of 14 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| progressive knowledge transfer instead of auxiliary or joint transfer (ablation) | MobileBERT · SQuAD v1.1 dev | F1: 88.2 (AKT) / 89.7 (JKT) -> 90.0 (PKT) | Improved |
| add feature map transfer (ablation) | MobileBERT (+PD) · MNLI-m dev | accuracy: 81.1 -> 83.8 | Improved |
| add attention transfer (ablation) | MobileBERT (+PD+FMT) · MNLI-m dev | accuracy: 83.8 -> 84.4 | Improved |
| add pre-training distillation (ablation) | bare MobileBERT · MNLI-m dev | accuracy: 80.8 -> 81.1 | Improved |
| replace LayerNorm with NoNorm and gelu with relu (operational optimizations) (ablation) | MobileBERT · Pixel 4 latency | latency (ms): 192 ms -> 62 ms | Improved |
| apply operational optimizations (NoNorm, relu) (ablation) | MobileBERT · GLUE test | GLUE score: 78.5 -> 77.7 | Hurt |
| add 8-bit post-training quantization | MobileBERT · GLUE dev / SQuAD v1.1 | accuracy / F1: e.g. QNLI 91.0 -> 90.8; SQuAD 90.0 -> 90.0 | No clear effect |
| reduce inter-block hidden size of IB-BERT teacher from 1024 to 512 (ablation) | IB-BERT_LARGE · SQuAD v1.1 dev | F1: 88.2 -> 88.1 | No clear effect |
| reduce intra-block hidden size of teacher (1024 to 512 with 4 heads) (ablation) | IB-BERT_LARGE · SQuAD v1.1 dev | F1: 88.3 -> 85.8 | Hurt |
| reduce attention heads of teacher from 16 to 4 (ablation) | IB-BERT_LARGE · SQuAD v1.1 dev | F1: 88.2 -> 88.3 | No clear effect |
| MobileBERT vs its teacher IB-BERT_LARGE | MobileBERT · MNLI-m dev | accuracy: 87.0 (teacher) vs 84.4 | Hurt |
Later papers that compared with this method
10 later accepted papers report MobileBERT24 as a baseline in their results tables; 7 of them report a better number on most of the results they share with it.
- Enhancing Scalability of Pre-trained Language Models via Efficient Parameter Sharing (EMNLP 2023 · better on 1 of 1 shared result)
- Fine- and Coarse-Granularity Hybrid Self-Attention for Efficient BERT (ACL 2022 · better on 3 of 3 shared results)
- Learning Adaptive Axis Attentions in Fine-tuning: Beyond Fixed Sparse Attention Patterns (ACL 2022 · better on 0 of 1 shared result)
- MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformers (ACL 2021 · better on 4 of 5 shared results)
- ROSITA: Refined BERT cOmpreSsion with InTegrAted techniques (AAAI 2021 · better on 1 of 2 shared results)
- Enabling Lightweight Fine-tuning for Pre-trained Language Model Compression based on Matrix Product Operators (ACL 2021 · better on 1 of 2 shared results)
- Block Pruning For Faster Transformers (EMNLP 2021 · better on 1 of 1 shared result)
- Parameter-Efficient Transfer Learning with Diff Pruning (ACL 2021 · better on 1 of 1 shared result)
2 more not listed.
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in parameter-efficient transfer analysis
How can transfer and model merging work across architectures, at larger scale and with less tuning?
- Larger models and LLMs are untested. · 11 papers state it
- Key hyperparameters or layers must be tuned by hand per model or task. · 10 papers state it
- Tested on image classification, with other tasks and modalities left out. · 8 papers state it
Closest papers by meaning
- TinyBERT: Distilling BERT for Natural Language Understanding (EMNLP 2020 · similarity 0.88)
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference (ACL 2020 · similarity 0.87)
- FastBERT: a Self-distilling BERT with Adaptive Inference Time (ACL 2020 · similarity 0.87)
- EarlyBERT: Efficient BERT Training via Early-bird Lottery Tickets (ACL 2021 · similarity 0.87)
- AutoBERT-Zero: Evolving BERT Backbone from Scratch (AAAI 2022 · similarity 0.86)
- EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge Distillation (EMNLP 2021 · similarity 0.86)
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.