Research map / Architectures and efficiency / Attention and transformers
NarrowBERT: Accelerating Masked Language Model Pretraining and Inference
Haoxin Li, Phillip Keung, Daniel Cheng, Jungo Kasai, Noah A. Smith
University of Washington · Allen Institute for Artificial Intelligence
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
- IMDB leaderboard accuracy 93 · rank 41 of 174 papers
- CoNLL-2003 NER leaderboard F1 89 · rank 31 of 37 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use ContextFirst (feedforward only on masked tokens) instead of standard BERT | BERT · pretraining/inference speed | speedup: 1.33x pretrain, 1.64x inference | Improved |
| use SparseQueries with 2 layers before narrowing | BERT · MNLI | accuracy: 0.83 -> 0.81, speedups 2.34x pretrain, 3.49x inference | No clear effect |
| use more layers before the narrowing operation in SparseQueries (ablation) | SparseQueries · GLUE | accuracy: MNLI 0.77 -> 0.82 from 1 to 4 layers | Improved |
| use more layers before the narrowing operation in SparseQueries (ablation) | SparseQueries · pretraining speed | speedup: 2.47x -> 1.63x from 1 to 4 layers | Hurt |
| use SparseQueries or ContextFirst instead of BERT | BERT · WNLI | accuracy: 0.56 -> 0.59 for {2,sf}:{10,sf} | Mixed |
| use NarrowBERT variants instead of BERT | BERT · CoNLL NER, IMDB, Amazon | accuracy/F1: CoNLL 0.90 -> 0.89 (ContextFirst); IMDB 0.93 -> 0.93 | No clear effect |
| use NarrowBERT instead of BERT | BERT · dev MLM loss | MLM loss | Hurt |
| use Funnel Transformer instead of BERT | BERT · MNLI | accuracy: 0.83 -> 0.78, pretraining speed 0.88x | Hurt |
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
- Training compute-optimal transformer encoder models (EMNLP 2025 · similarity 0.91)
- MosaicBERT: A Bidirectional Encoder Optimized for Fast Pretraining (NeurIPS 2023 · similarity 0.90)
- Masking as an Efficient Alternative to Finetuning for Pretrained Language Models (EMNLP 2020 · similarity 0.90)
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference (ACL 2020 · similarity 0.89)
- Train Big, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformers (ICML 2020 · similarity 0.89)
- Data-Constrained Language Model Pretraining: Improved Regularization and Scaling Laws (NeurIPS 2026 · similarity 0.89)
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.