COSEE: Consistency-Oriented Signal-Based Early Exiting via Calibrated Sample Weighting Mechanism
Jianing He, Qi Zhang, Hongyun Zhang, Xuanjing Huang, Usman Naseem, Duoqian Miao
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- FastBERT: a Self-distilling BERT with Adaptive Inference Time cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascade cites FastBERT: a Self-distilling BERT with Adaptive Inference Time
- A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation cites FastBERT: a Self-distilling BERT with Adaptive Inference Time
- ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference cites FastBERT: a Self-distilling BERT with Adaptive Inference Time
- ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference cites 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 cites A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation
Cited by top-tier papers1
Builds on11
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
- FastBERT: a Self-distilling BERT with Adaptive Inference TimeWeijie Liu, Peng Zhou, Zhiruo Wang, Zhe Zhao et al.ACL 2020 · 257 citations
- CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models CascadeLei Li, Yankai Lin, Deli Chen, Shuhuai Ren et al.EMNLP Findings 2021 · 33 citations
- ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models InferenceZiqian Zeng, Yihuai Hong, Hongliang Dai, Huiping Zhuang et al.AAAI 2024 · 26 citations
- A Simple Hash-Based Early Exiting Approach For Language Understanding and GenerationTianxiang Sun, Xiangyang Liu, Wei Zhu, Zhichao Geng et al.ACL Findings 2022 · 20 citations
Related papers
- 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 et al.NeurIPS 2020 · 473 citations
- You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language ModelShengkun Tang, Yaqing Wang, Zhenglun Kong, Tianchi Zhang et al.CVPR 2023
- HadSkip: Homotopic and Adaptive Layer Skipping of Pre-trained Language Models for Efficient InferenceHaoyu Wang, Yaqing Wang, Tianci Liu, Tuo Zhao et al.EMNLP Findings 2023 · 3 citations
- Early Exit with Disentangled Representation and Equiangular Tight FrameYixin Ji, Jikai Wang, Juntao Li, Qiang Chen et al.ACL Findings 2023 · 5 citations
