mlsanityData to 14 Oct 2026

FlexiBERT: Are Current Transformer Architectures too Homogeneous and Rigid?

arXiv 2205.11656 ↗First posted 23 May 2022cs.LG cs.CLcited by 12

Not on the map. Why?

Abstract (arXiv)

The existence of a plethora of language models makes the problem of selecting the best one for a custom task challenging. Most state-of-the-art methods leverage transformer-based models (e.g., BERT) or their variants. Training such models and exploring their hyperparameter space, however, is computationally expensive. Prior work proposes several neural architecture search (NAS) methods that employ performance predictors (e.g., surrogate models) to address this issue; however, analysis has been limited to homogeneous models that use fixed dimensionality throughout the network. This leads to sub-optimal architectures. To address this limitation, we propose a suite of heterogeneous and flexible models, namely FlexiBERT, that have varied encoder layers with a diverse set of possible operations and different hidden dimensions. For better-posed surrogate modeling in this expanded design space, we propose a new graph-similarity-based embedding scheme. We also propose a novel NAS policy, called BOSHNAS, that leverages this new scheme, Bayesian modeling, and second-order optimization, to quickly train and use a neural surrogate model to converge to the optimal architecture. A comprehensive set of experiments shows that the proposed policy, when applied to the FlexiBERT design space, pushes the performance frontier upwards compared to traditional models. FlexiBERT-Mini, one of our proposed models, has 3% fewer parameters than BERT-Mini and achieves 8.9% higher GLUE score. A FlexiBERT model with equivalent performance as the best homogeneous model achieves 2.6x smaller size. FlexiBERT-Large, another proposed model, achieves state-of-the-art results, outperforming the baseline models by at least 5.7% on the GLUE benchmark.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 49 of its 64 references that are in the map. First posted on arXiv 23 May 2022.

Builds on

49 of 64 references.

References · 49

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  8. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  9. 2018How Powerful are Graph Neural Networks?cited by 4,393
  10. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  11. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  12. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,501
37 more
  1. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  2. 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
  3. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,200
  4. 2018Self-Attention with Relative Position Representationscited by 1,120
  5. 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,101
  6. 2019Cross-lingual Language Model Pretrainingcited by 1,090
  7. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
  8. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
  9. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  10. 2018Regularized Evolution for Image Classifier Architecture Searchcited by 909
  11. 2018Efficient Neural Architecture Search via Parameter Sharingcited by 837
  12. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
  13. 2019AutoML: A Survey of the State-of-the-Artcited by 390
  14. 2021FNet: Mixing Tokens with Fourier Transformscited by 347
  15. 2019NAS-Bench-101: Towards Reproducible Neural Architecture Searchcited by 344
  16. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 251
  17. 2017graph2vec: Learning Distributed Representations of Graphscited by 230
  18. 2018Music Transformercited by 211
  19. 2020ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learningcited by 202
  20. 2019The Evolved Transformercited by 180
  21. 2019BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Searchcited by 179
  22. 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 164
  23. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  24. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 120
  25. 2021How Powerful are Performance Predictors in Neural Architecture Search?cited by 90
  26. 2020ConvBERT: Improving BERT with Span-based Dynamic Convolutioncited by 88
  27. 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 56
  28. 2020AdaBERT: Task-Adaptive BERT Compression with Differentiable Neural Architecture Searchcited by 51
  29. 2016Natural-Parameter Networks: A Class of Probabilistic Neural Networkscited by 34
  30. 2021AutoTinyBERT: Automatic Hyper-parameter Optimization for Efficient Pre-trained Language Modelscited by 31
  31. 2020Neural Architecture Generator Optimizationcited by 30
  32. 2021AutoBERT-Zero: Evolving BERT Backbone from Scratchcited by 21
  33. 2021COSCO: Container Orchestration using Co-Simulation and Gradient Based Optimization for Fog Computing Environmentscited by 19
  34. 2020schuBERT: Optimizing Elements of BERTcited by 17
  35. 2020NASGEM: Neural Architecture Search via Graph Embedding Methodcited by 9
  36. 2021GOSH: Task Scheduling Using Deep Surrogate Models in Fog Computing Environmentscited by 5
  37. 2019SPRING: A Sparsity-Aware Reduced-Precision Monolithic 3D CNN Accelerator Architecture for Training and Inferencecited by 4

Built on by

Cited by year (2026 to 14 Oct)

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

12 papers.