Timezone: »
In this paper, we propose Patience-based Early Exit, a straightforward yet effective inference method that can be used as a plug-and-play technique to simultaneously improve the efficiency and robustness of a pretrained language model (PLM). To achieve this, our approach couples an internal-classifier with each layer of a PLM and dynamically stops inference when the intermediate predictions of the internal classifiers do not change for a pre-defined number of steps. Our approach improves inference efficiency as it allows the model to make a prediction with fewer layers. Meanwhile, experimental results with an ALBERT model show that our method can improve the accuracy and robustness of the model by preventing it from overthinking and exploiting multiple classifiers for prediction, yielding a better accuracy-speed trade-off compared to existing early exit methods.
Author Information
Wangchunshu Zhou (Beihang University)
Canwen Xu (UC San Diego)
Tao Ge (Microsoft Research Asia)
Julian McAuley (UCSD)
Ke Xu (Beihang University)
Furu Wei (Microsoft Research Asia)
More from the Same Authors
-
2022 Poster: On the Representation Collapse of Sparse Mixture of Experts »
Zewen Chi · Li Dong · Shaohan Huang · Damai Dai · Shuming Ma · Barun Patra · Saksham Singhal · Payal Bajaj · XIA SONG · Xian-Ling Mao · Heyan Huang · Furu Wei -
2023 Poster: Extensible Prompts for Language Models on Zero-shot Language Style Customization »
Tao Ge · Hu Jing · Li Dong · Shaoguang Mao · Yan Xia · Xun Wang · Si-Qing Chen · Furu Wei -
2023 Poster: TextDiffuser: Diffusion Models as Text Painters »
Jingye Chen · Yupan Huang · Tengchao Lv · Lei Cui · Qifeng Chen · Furu Wei -
2023 Poster: Language Is Not All You Need: Aligning Perception with Language Models »
Shaohan Huang · Li Dong · Wenhui Wang · Yaru Hao · Saksham Singhal · Shuming Ma · Tengchao Lv · Lei Cui · Owais Khan Mohammed · Barun Patra · Qiang Liu · Kriti Aggarwal · Zewen Chi · Nils Bjorck · Vishrav Chaudhary · Subhojit Som · XIA SONG · Furu Wei -
2023 Poster: On the Pareto Front of Multilingual Neural Machine Translation »
Liang Chen · Shuming Ma · Dongdong Zhang · Furu Wei · Baobao Chang -
2023 Poster: Optimizing Prompts for Text-to-Image Generation »
Yaru Hao · Zewen Chi · Li Dong · Furu Wei -
2023 Poster: Language Models Augmented with Decoupled Memory »
Weizhi Wang · Li Dong · Hao Cheng · Xiaodong Liu · Xifeng Yan · Jianfeng Gao · Furu Wei -
2022 Poster: VLMo: Unified Vision-Language Pre-Training with Mixture-of-Modality-Experts »
Hangbo Bao · Wenhui Wang · Li Dong · Qiang Liu · Owais Khan Mohammed · Kriti Aggarwal · Subhojit Som · Songhao Piao · Furu Wei -
2020 Poster: Towards Interpretable Natural Language Understanding with Explanations as Latent Variables »
Wangchunshu Zhou · Jinyi Hu · Hanlin Zhang · Xiaodan Liang · Maosong Sun · Chenyan Xiong · Jian Tang -
2020 Poster: MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers »
Wenhui Wang · Furu Wei · Li Dong · Hangbo Bao · Nan Yang · Ming Zhou -
2019 Poster: Unified Language Model Pre-training for Natural Language Understanding and Generation »
Li Dong · Nan Yang · Wenhui Wang · Furu Wei · Xiaodong Liu · Yu Wang · Jianfeng Gao · Ming Zhou · Hsiao-Wuen Hon -
2018 Poster: Does mitigating ML's impact disparity require treatment disparity? »
Zachary Lipton · Julian McAuley · Alexandra Chouldechova