Research map / Architectures and efficiency / Attention and transformers
LV-BERT: Exploiting Layer Variety for BERT
Weihao Yu, Zihang Jiang, Fei Chen, Qibin Hou, Jiashi Feng
National University of Singapore · Huawei Technologies
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add dynamic convolution to the layer type set (SA+FF -> DC+SA+FF) (ablation) | LV-BERT-small · GLUE dev | GLUE avg: 81.2 -> 81.8 | Improved |
| replace self-attention with dynamic convolution (DC+FF only) (ablation) | LV-BERT-small · GLUE dev | GLUE avg: 81.2 -> 65.7 | Hurt |
| remove feed-forward layers (DC+SA only) (ablation) | LV-BERT-small · GLUE dev | GLUE avg: 81.8 -> 79.8 | Hurt |
| use EA-searched layer order instead of random orders (ablation) | LV-BERT-small (DC+SA+FF) · GLUE dev | GLUE avg: 80.6 -> 81.8 | Improved |
| use evolutionary search instead of random search over supernet (ablation) | LV-BERT-small (DC+SA+FF) · GLUE dev | GLUE avg: 80.9 -> 81.8 | Improved |
| use EA-searched SA+FF order instead of interleaved order (ablation) | ELECTRA-small · GLUE dev | GLUE avg: 80.4 -> 81.2 | Improved |
| replace bottom two layers of ELECTRA-small with dynamic convolution (ablation) | ELECTRA-small · GLUE dev | GLUE avg: +0.3 | Improved |
| replace top layer of ELECTRA-small with self-attention (ablation) | ELECTRA-small · GLUE dev | GLUE avg: +0.5 | Improved |
| replace bottom 8 layers with 'ccsfccsf' and top 8 with 'ssfsssfs' (ablation) | ELECTRA-small · GLUE dev | GLUE avg: +0.7 | Improved |
| scale searched small architecture to medium/base hidden size | LV-BERT · GLUE dev | GLUE avg: base 85.1 -> 85.9 vs ELECTRA-base | Improved |
| use LV-BERT architecture instead of ELECTRA-small | ELECTRA-small · SQuAD 2.0 dev | F1: 69.4 -> 73.7 | Improved |
| use LV-BERT architecture at base size instead of ELECTRA-base | ELECTRA-base · SQuAD 1.1 dev | F1: 90.8 -> 90.8 | No clear effect |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 2 of 2 on most shared results.
- ELECTRA-small — ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators (ICLR 2020) · better on 7 of 8 shared results
- MobileBERT — MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices (ACL 2020) · better on 1 of 1 shared result
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 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
- EBERT: Efficient BERT Inference with Dynamic Structured Pruning (ACL 2021 · similarity 0.83)
- BERT Has More to Offer: BERT Layers Combination Yields Better Sentence Embeddings (EMNLP 2023 · similarity 0.83)
- SkipBERT: Efficient Inference with Shallow Layer Skipping (ACL 2022 · similarity 0.83)
- What's so special about BERT's layers? A closer look at the NLP pipeline in monolingual and multilingual models (EMNLP 2020 · similarity 0.83)
- Improving BERT with Syntax-aware Local Attention (ACL 2021 · similarity 0.83)
- BERTGen: Multi-task Generation through BERT (ACL 2021 · similarity 0.82)
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.