Consistent Accelerated Inference via Confident Adaptive Transformers

By Tal Schuster, Adam Fisch, Tommi S. Jaakkola, Regina Barzilay. 2021

86 citations recorded by the source corpus.

We develop a novel approach for confidently accelerating inference in the large and expensive multilayer Transformers that are now ubiquitous in natural language processing (NLP). Amortized or approximate computational methods increase efficiency, but can come with unpredictable performance costs. In this work, we present CATs – Confident Adaptive Transformers – in which we simultaneously increase computational efficiency, while guaranteeing a specifiable degree of consistency with the original model with high confidence. Our method trains additional prediction heads on top of intermediate layers, and dynamically decides when to stop allocating computational effort to each input using a meta consistency classifier. To calibrate our early prediction stopping rule, we formulate a unique extension of conformal prediction. We demonstrate the effectiveness of this approach on four classification and regression tasks.

Subfields: Artificial Intelligence, Model Architectures, 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. Luke S. Zettlemoyer
  5. Dara Bahri
  6. Tal Schuster
  7. Mohit Bansal
  8. Yoav Goldberg

In Model Architectures

  1. Yi Tay
  2. Mostafa Dehghani
  3. Donald Metzler
  4. Dara Bahri
  5. Jai Gupta
  6. Mor Geva
  7. Vinh Q. Tran
  8. Yossi Matias

In Efficiency & Compression

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

Citations in the corpus