LGAIDec 17, 2024

COSEE: Consistency-Oriented Signal-Based Early Exiting via Calibrated Sample Weighting Mechanism

arXiv:2412.13236v13 citationsh-index: 28AAAI
Originality Incremental advance
AI Analysis

This work addresses a specific bottleneck in inference efficiency for NLP applications, offering an incremental improvement over existing early exiting methods.

The paper tackles the inconsistency between training and testing in early exiting for pre-trained language models by proposing COSEE, a framework that uses calibrated sample weighting to align classifiers with test-time behavior under flexible speed-up ratios, achieving improved performance-efficiency trade-offs on the GLUE benchmark.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes