RomeBERT: Robust Training of Multi-Exit BERT
By Shijie Geng, Peng Gao, Zuohui Fu, Yongfeng Zhang. 2021
32 citations recorded by the source corpus.
BERT has achieved superior performances on Natural Language Understanding (NLU) tasks. However, BERT possesses a large number of parameters and demands certain resources to deploy. For acceleration, Dynamic Early Exiting for BERT (DeeBERT) has been proposed recently, which incorporates multiple exits and adopts a dynamic early-exit mechanism to ensure efficient inference. While obtaining an efficiency-performance tradeoff, the performances of early exits in multi-exit BERT are significantly worse than late exits. In this paper, we leverage gradient regularized self-distillation for RObust training of Multi-Exit BERT (RomeBERT), which can effectively solve the performance imbalance problem between early and late exits. Moreover, the proposed RomeBERT adopts a one-stage joint training strategy for multi-exits and the BERT backbone while DeeBERT needs two stages that require more training time. Extensive experiments on GLUE datasets are performed to demonstrate the superiority of our approach. Our code is available at https://github.com/romebert/RomeBERT.
Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Large Language Models
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Tommi S. Jaakkola
- Regina Barzilay
- Julian McAuley
- Tal Schuster
- Adam Fisch
- Luke S. Zettlemoyer
- Percy Liang
- Caiming Xiong
In Computer Vision and Pattern Recognition
- Julian McAuley
- Regina Barzilay
- Adam Fisch
- Tal Schuster
- Tommi S. Jaakkola
- Canwen Xu
- Percy Liang
- Yongfeng Zhang
In Large Language Models
Citations in the corpus
- Consistent Accelerated Inference via Confident Adaptive Transformers (2021, methodology): “As discussed in §1, our method is inspired by the approach of Schwartz et al. (2020) and others (Liu et al., 2020; Geng et al., 2021; Zhou et al., 2020), where they preempt computation if the softmax value of any early clas-sifier is above a predefined threshold.”
- A Survey on Dynamic Neural Networks for Natural Language Processing (2022, background): “, 2020) two-stage; self-distillation entropy < θ RomeBERT (Geng et al., 2021) joint; self-distillation + GR entropy < θ SkipBERT (2022) joint; weighted sum of CE + KD max class probability > θ”