Skip to main navigation Skip to search Skip to main content

COSEE: Consistency-Oriented Signal-Based Early Exiting via calibrated sample weighting mechanism

  • Jianing He
  • , Qi Zhang
  • , Hongyun Zhang
  • , Xuanjing Huang
  • , Usman Naseem
  • , Duoqian Miao*
  • *Corresponding author for this work

Research output: Contribution to journal › Conference paper › peer-review

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.
Original languageEnglish
Pages (from-to)24023-24031
Number of pages9
JournalProceedings of the AAAI Conference on Artificial Intelligence
Volume39
Issue number22
DOIs
Publication statusPublished - 2025
Event39th AAAI Conference on Artificial Intelligence - Philadelphia, Panama
Duration: 25 Feb 2025 → 4 Mar 2025

Bibliographical note

ISBN-10: 1-57735-897-X
ISBN-13: 978-1-57735-897-8

Fingerprint

Dive into the research topics of 'COSEE: Consistency-Oriented Signal-Based Early Exiting via calibrated sample weighting mechanism'. Together they form a unique fingerprint.

Cite this