mlsanityData to 7 Oct 2026

SuperShaper: Task-Agnostic Super Pre-training of BERT Models with Variable Hidden Dimensions

arXiv 2110.04711 ↗First posted 10 Oct 2021cs.LG cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Task-agnostic pre-training followed by task-specific fine-tuning is a default approach to train NLU models. Such models need to be deployed on devices across the cloud and the edge with varying resource and accuracy constraints. For a given task, repeating pre-training and fine-tuning across tens of devices is prohibitively expensive. We propose SuperShaper, a task agnostic pre-training approach which simultaneously pre-trains a large number of Transformer models by varying shapes, i.e., by varying the hidden dimensions across layers. This is enabled by a backbone network with linear bottleneck matrices around each Transformer layer which are sliced to generate differently shaped sub-networks. In spite of its simple design space and efficient implementation, SuperShaper discovers networks that effectively trade-off accuracy and model size: Discovered networks are more accurate than a range of hand-crafted and automatically searched networks on GLUE benchmarks. Further, we find two critical advantages of shape as a design variable for Neural Architecture Search (NAS): (a) heuristics of good shapes can be derived and networks found with these heuristics match and even improve on carefully searched networks across a range of parameter counts, and (b) the latency of networks across multiple CPUs and GPUs are insensitive to the shape and thus enable device-agnostic search. In summary, SuperShaper radically simplifies NAS for language models and discovers networks that generalize across tasks, parameter constraints, and devices.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 43 of its 54 references that are in the map. First posted on arXiv 10 Oct 2021.

Builds on

43 of 54 references.

References · 43

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  8. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  9. 2018DARTS: Differentiable Architecture Searchcited by 1,782
  10. 2016Neural Architecture Search with Reinforcement Learningcited by 1,489
  11. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  12. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
31 more
  1. 2019Are Sixteen Heads Really Better than One?cited by 803
  2. 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
  3. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  4. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  5. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  6. 2021Pay Attention to MLPscited by 367
  7. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  8. 2017Large-Scale Evolution of Image Classifierscited by 348
  9. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  10. 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
  11. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
  12. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
  13. 2019Universally Slimmable Networks and Improved Training Techniquescited by 219
  14. 2019Structured Pruning of Large Language Modelscited by 201
  15. 2017SMASH: One-Shot Model Architecture Search through HyperNetworkscited by 200
  16. 2020BigNAS: Scaling Up Neural Architecture Search with Big Single-Stage Modelscited by 187
  17. 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
  18. 2021Learned Token Pruning for Transformerscited by 138
  19. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  20. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 118
  21. 2020When BERT Plays the Lottery, All Tickets Are Winningcited by 114
  22. 2020BERT-of-Theseus: Compressing BERT by Progressive Module Replacingcited by 112
  23. 2019A Tensorized Transformer for Language Modelingcited by 85
  24. 2020EarlyBERT: Efficient BERT Training via Early-bird Lottery Ticketscited by 79
  25. 2019Playing the lottery with rewards and multiple languages: lottery tickets in RL and NLPcited by 73
  26. 2020AttentiveNAS: Improving Neural Architecture Search via Attentive Samplingcited by 65
  27. 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 55
  28. 2020AdaBERT: Task-Adaptive BERT Compression with Differentiable Neural Architecture Searchcited by 51
  29. 2021AutoBERT-Zero: Evolving BERT Backbone from Scratchcited by 21
  30. 2021You Only Compress Once: Towards Effective and Elastic BERT Compression via Exploit-Explore Stochastic Nature Gradientcited by 14
  31. 2020Improving Task-Agnostic BERT Distillation with Layer Mapping Searchcited by 8

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 3; 2025: 1.

6 papers.