scimeatlas

Research map / Architectures and efficiency / Attention and transformers

SkipBERT: Efficient Inference with Shallow Layer Skipping

Jue Wang, Ke Chen, Gang Chen, Lidan Shou, Julian McAuley

ACL 2022Architectures and efficiency › Attention and transformersapproach: Language model pretraining and inductionopen problems in this approach41 citations (OpenAlex)

Zhejiang University · University of California, San Diego

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

11measured effects
6improved
2no clear effect
2hurt
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
skip 6 shallow layers via PLOT (SkipBERT6+4) vs 4-layer baseline (ablation)BERT4 · CoLA devCoLA score: 23.7 -> 32.9Improved
replace local transformer layers with a single-layer FFN or CNN (ablation)SkipBERT · CoLA/MRPC/MNLI devscore: CoLA 23.7 -> 25.4 (FFN), 24.1 (Conv)No clear effect
increase local layers beyond 6 (8 layers) (ablation)SkipBERT6+4 · CoLA/MRPC devscore: CoLA 32.9 -> 32.4; MRPC 86.3/90.4 -> 85.0/89.5No clear effect
use 2-gram instead of 1-gram chunks (ablation)SkipBERT6+4 · CoLA devCoLA score: 23.5 -> 29.1Improved
use 5-gram instead of 3-gram chunks (computed on the fly) (ablation)SkipBERT6+4 · CoLA devCoLA score: 32.9 -> 34.5Improved
weighted sum over chunks instead of center token only (3-gram) (ablation)SkipBERT6+4 · CoLA devCoLA score: 32.3 -> 32.9Improved
weighted sum over chunks instead of center token only (5-gram) (ablation)SkipBERT6+4 · MRPC and MNLI devscore: MRPC 87.5/91.2 -> 86.8/90.7Hurt
add attention distillation in general distillation (ablation)SkipBERT6+4 · CoLA devCoLA score: 29.9 -> 32.9Improved
add attention distillation in general distillation (ablation)SkipBERT6+4 · MNLI devaccuracy: 81.3/81.6 -> 80.9/81.1Hurt
randomly replace 10% of tri-grams with bi-grams in training (vs 0%) (ablation)SkipBERT · MRPC, 24.7% OOVF1/accuracy: 85.8/89.6 -> 88.0/91.2Improved
enable early exitSkipBERT6+6 · GLUE testGLUE score and latency: 78.9 -> 78.3 score; latency -49% -> -65%Mixed

Open problems in language model pretraining and induction

Do positional-encoding, tokenization and pretraining findings hold beyond small models and a few languages?

All 4 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