BERxiT: Early Exiting for BERT with Better Fine-Tuning and Extension to Regression

By Ji Xin, Raphael Tang, Yaoliang Yu, Jimmy J. Lin. 2021

165 citations recorded by the source corpus.

The slow speed of BERT has motivated much research on accelerating its inference, and the early exiting idea has been proposed to make trade-offs between model quality and efficiency. This paper aims to address two weaknesses of previous work: (1) existing fine-tuning strategies for early exiting models fail to take full advantage of BERT; (2) methods to make exiting decisions are limited to classification tasks. We propose a more advanced fine-tuning strategy and a learning-to-exit module that extends early exiting to tasks other than classification. Experiments demonstrate improved early exiting for BERT, with better trade-offs obtained by the proposed fine-tuning strategy, successful application to regression tasks, and the possibility to combine it with other acceleration methods. Source code can be found at https://github.com/castorini/berxit.

Subfields: Artificial Intelligence, Large Language Models, Efficiency & Compression

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

  1. Yi Tay
  2. Mostafa Dehghani
  3. Donald Metzler
  4. Tommi S. Jaakkola
  5. Regina Barzilay
  6. Dara Bahri
  7. Luke S. Zettlemoyer
  8. Tal Schuster

In Large Language Models

  1. Julian McAuley
  2. Yi Tay
  3. Canwen Xu
  4. Mostafa Dehghani
  5. Dara Bahri
  6. Jai Gupta
  7. Donald Metzler
  8. Regina Barzilay

In Efficiency & Compression

  1. Julian McAuley
  2. Canwen Xu
  3. Dara Bahri
  4. Yi Tay
  5. Donald Metzler
  6. Regina Barzilay
  7. Vinh Q. Tran
  8. Adam Fisch

Citations in the corpus