scimeatlas

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

ACL 2023Architectures and efficiency › Attention and transformersapproach: Efficient language transformersopen problems in this approach2 citations (OpenAlex)

University of Washington · Allen Institute for Artificial Intelligence

Read the paperPlace an idea next to itCheck your own paper ↗

8measured effects
2improved
2no clear effect
3hurt
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.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use ContextFirst (feedforward only on masked tokens) instead of standard BERTBERT · pretraining/inference speedspeedup: 1.33x pretrain, 1.64x inferenceImproved
use SparseQueries with 2 layers before narrowingBERT · MNLIaccuracy: 0.83 -> 0.81, speedups 2.34x pretrain, 3.49x inferenceNo clear effect
use more layers before the narrowing operation in SparseQueries (ablation)SparseQueries · GLUEaccuracy: MNLI 0.77 -> 0.82 from 1 to 4 layersImproved
use more layers before the narrowing operation in SparseQueries (ablation)SparseQueries · pretraining speedspeedup: 2.47x -> 1.63x from 1 to 4 layersHurt
use SparseQueries or ContextFirst instead of BERTBERT · WNLIaccuracy: 0.56 -> 0.59 for {2,sf}:{10,sf}Mixed
use NarrowBERT variants instead of BERTBERT · CoNLL NER, IMDB, Amazonaccuracy/F1: CoNLL 0.90 -> 0.89 (ContextFirst); IMDB 0.93 -> 0.93No clear effect
use NarrowBERT instead of BERTBERT · dev MLM lossMLM lossHurt
use Funnel Transformer instead of BERTBERT · MNLIaccuracy: 0.83 -> 0.78, pretraining speed 0.88xHurt

Open problems in efficient language transformers

Which efficient transformer designs keep their quality, speed and memory gains at larger scale and in more languages?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy