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
Zhejiang University · University of California, San Diego
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
- SQuAD v1.1 leaderboard F1 (dev) 89.1 · rank 16 of 24 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| skip 6 shallow layers via PLOT (SkipBERT6+4) vs 4-layer baseline (ablation) | BERT4 · CoLA dev | CoLA score: 23.7 -> 32.9 | Improved |
| replace local transformer layers with a single-layer FFN or CNN (ablation) | SkipBERT · CoLA/MRPC/MNLI dev | score: CoLA 23.7 -> 25.4 (FFN), 24.1 (Conv) | No clear effect |
| increase local layers beyond 6 (8 layers) (ablation) | SkipBERT6+4 · CoLA/MRPC dev | score: CoLA 32.9 -> 32.4; MRPC 86.3/90.4 -> 85.0/89.5 | No clear effect |
| use 2-gram instead of 1-gram chunks (ablation) | SkipBERT6+4 · CoLA dev | CoLA score: 23.5 -> 29.1 | Improved |
| use 5-gram instead of 3-gram chunks (computed on the fly) (ablation) | SkipBERT6+4 · CoLA dev | CoLA score: 32.9 -> 34.5 | Improved |
| weighted sum over chunks instead of center token only (3-gram) (ablation) | SkipBERT6+4 · CoLA dev | CoLA score: 32.3 -> 32.9 | Improved |
| weighted sum over chunks instead of center token only (5-gram) (ablation) | SkipBERT6+4 · MRPC and MNLI dev | score: MRPC 87.5/91.2 -> 86.8/90.7 | Hurt |
| add attention distillation in general distillation (ablation) | SkipBERT6+4 · CoLA dev | CoLA score: 29.9 -> 32.9 | Improved |
| add attention distillation in general distillation (ablation) | SkipBERT6+4 · MNLI dev | accuracy: 81.3/81.6 -> 80.9/81.1 | Hurt |
| randomly replace 10% of tri-grams with bi-grams in training (vs 0%) (ablation) | SkipBERT · MRPC, 24.7% OOV | F1/accuracy: 85.8/89.6 -> 88.0/91.2 | Improved |
| enable early exit | SkipBERT6+6 · GLUE test | GLUE 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?
- Conclusions come from models of about 1B parameters or smaller. · 11 papers state it
- Tested on a handful of languages, mostly English. · 6 papers state it
- Theory is missing or rests on simplified models and assumptions. · 6 papers state it
Closest papers by meaning
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference (ACL 2020 · similarity 0.92)
- FastBERT: a Self-distilling BERT with Adaptive Inference Time (ACL 2020 · similarity 0.89)
- PoWER-BERT: Accelerating BERT Inference via Progressive Word-vector Elimination (ICML 2020 · similarity 0.89)
- The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models (EMNLP 2022 · similarity 0.89)
- EarlyBERT: Efficient BERT Training via Early-bird Lottery Tickets (ACL 2021 · similarity 0.88)
- EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge Distillation (EMNLP 2021 · similarity 0.88)
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.