PhD Seminar • Data Systems — Dynamic Early Exiting for Accelerating BERT InferenceExport this event to calendar

Wednesday, February 26, 2020 — 12:15 PM EST

Ji Xin, PhD candidate
David R. Cheriton School of Computer Science

Pretrained language models such as BERT have brought significant improvement to NLP applications. These models are based on the Transformer architecture and are pretrained on large-scale unsupervised data. Despite their success, they are also notorious for being slow in inference, which makes it difficult to deploy them in real-time scenarios.

In the talk, I will introduce a simple but effective method, DeeBERT, to accelerate BERT inference by early exiting. It allows inference samples to exit earlier after going through only a part of the BERT model. Experiments show that DeeBERT is able to save up to 36% inference time while maintaining the same model quality. Further analyses show different behaviour of transformer layers in BERT, and also reveal BERT’s redundancy. 

I will also discuss different ways to train the early exit architecture effectively, and other problems encountered during the process. Our work provides a new idea to apply deep transformer-based pretrained models to downstream tasks.

Location 
DC - William G. Davis Computer Research Centre
1304
200 University Avenue West

Waterloo, ON N2L 3G1
Canada

S M T W T F S
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
  1. 2020 (149)
    1. September (1)
    2. August (14)
    3. July (14)
    4. June (19)
    5. May (17)
    6. April (20)
    7. March (17)
    8. February (25)
    9. January (22)
  2. 2019 (255)
    1. December (21)
    2. November (25)
    3. October (16)
    4. September (20)
    5. August (18)
    6. July (12)
    7. June (23)
    8. May (23)
    9. April (32)
    10. March (25)
    11. February (16)
    12. January (24)
  3. 2018 (220)
  4. 2017 (36)
  5. 2016 (21)
  6. 2015 (36)
  7. 2014 (33)
  8. 2013 (23)
  9. 2012 (4)
  10. 2011 (1)
  11. 2010 (1)
  12. 2009 (1)
  13. 2008 (1)