COSEE: Consistency-Oriented Signal-Based Early Exiting via Calibrated Sample Weighting Mechanism
Jianing He, Qi Zhang, Hongyun Zhang, Xuanjing Huang, Usman Naseem, Duoqian Miao
摘要
Early exiting is an effective paradigm for improving the inference efficiency of pre-trained language models (PLMs) by dynamically adjusting the number of executed layers for each sample. However, in most existing works, easy and hard samples are treated equally by each classifier during training, which neglects the test-time early exiting behavior, leading to inconsistency between training and testing. Although some methods have tackled this issue under a fixed speed-up ratio, the challenge of flexibly adjusting the speed-up ratio while maintaining consistency between training and testing is still under-explored. To bridge the gap, we propose a novel Consistency-Oriented Signal-based Early Exiting (COSEE) framework, which leverages a calibrated sample weighting mechanism to enable each classifier to emphasize the samples that are more likely to exit at that classifier under various acceleration scenarios. Extensive experiments on the GLUE benchmark demonstrate the effectiveness of our COSEE across multiple exiting signals and backbones, yielding a better trade-off between performance and efficiency.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- FastBERT: a Self-distilling BERT with Adaptive Inference Time 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascade 引用了 FastBERT: a Self-distilling BERT with Adaptive Inference Time
- A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation 引用了 FastBERT: a Self-distilling BERT with Adaptive Inference Time
- ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference 引用了 FastBERT: a Self-distilling BERT with Adaptive Inference Time
- ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference 引用了 CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascade
- ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference 引用了 A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation
引用它的顶会 Paper1
它引用的 Paper11
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
- FastBERT: a Self-distilling BERT with Adaptive Inference TimeWeijie Liu, Peng Zhou, Zhiruo Wang, Zhe Zhao 等ACL 2020 · 257 次引用
- CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models CascadeLei Li, Yankai Lin, Deli Chen, Shuhuai Ren 等EMNLP Findings 2021 · 33 次引用
- ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models InferenceZiqian Zeng, Yihuai Hong, Hongliang Dai, Huiping Zhuang 等AAAI 2024 · 26 次引用
- A Simple Hash-Based Early Exiting Approach For Language Understanding and GenerationTianxiang Sun, Xiangyang Liu, Wei Zhu, Zhichao Geng 等ACL Findings 2022 · 20 次引用
相关 Paper
- LeeBERT: Learned Early Exit for BERT with cross-level optimizationWei ZhuACL 2021
- BERT Loses Patience: Fast and Robust Inference with Early ExitWangchunshu Zhou, Canwen Xu, Tao Ge, Julian J. McAuley 等NeurIPS 2020 · 473 次引用
- You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language ModelShengkun Tang, Yaqing Wang, Zhenglun Kong, Tianchi Zhang 等CVPR 2023
- HadSkip: Homotopic and Adaptive Layer Skipping of Pre-trained Language Models for Efficient InferenceHaoyu Wang, Yaqing Wang, Tianci Liu, Tuo Zhao 等EMNLP Findings 2023 · 3 次引用
- Early Exit with Disentangled Representation and Equiangular Tight FrameYixin Ji, Jikai Wang, Juntao Li, Qiang Chen 等ACL Findings 2023 · 5 次引用
