Improving Prediction Certainty Estimation for Reliable Early Exiting via Null Space Projection
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 8077-8085.
https://doi.org/10.24963/ijcai.2025/898
Keywords
- Natural Language Processing: NLP: Language models
- Natural Language Processing: NLP: Other
- Natural Language Processing: NLP: Text classification
Abstract
Early exiting has demonstrated great potential in accelerating the inference of pre-trained language models (PLMs) by enabling easy samples to exit at shallow layers, eliminating the need for executing deeper layers. However, existing early exiting methods primarily rely on class-relevant logits to formulate their exiting signals for estimating prediction certainty, neglecting the detrimental influence of class-irrelevant information in the features on prediction certainty. This leads to an overestimation of prediction certainty, causing premature exiting of samples with incorrect early predictions. To remedy this, we define an NSP score to estimate prediction certainty by considering the proportion of class-irrelevant information in the features. On this basis, we propose a novel early exiting method based on the Certainty-Aware Probability (CAP) score, which integrates insights from both logits and the NSP score to enhance prediction certainty estimation, thus enabling more reliable exiting decisions. The experimental results on the GLUE benchmark show that our method can achieve an average speed-up ratio of 2.19× across all tasks with negligible performance degradation, surpassing the state-of-the-art (SOTA) ConsistentEE by 28%, yielding a better trade-off between task performance and inference efficiency. The code is available at https://github.com/He-Jianing/NSP.git.
@inproceedings{ijcai2025p898,
title = {Improving Prediction Certainty Estimation for Reliable Early Exiting via Null Space Projection},
author = {He, Jianing and Zhang, Qi and Miao, Duoqian and Yi, Kun and Hao, Shufeng and Zhang, Hongyun and Wei, Zhihua},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {8077--8085},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/898},
url = {https://doi.org/10.24963/ijcai.2025/898},
}
TY - CPAPER TI - Improving Prediction Certainty Estimation for Reliable Early Exiting via Null Space Projection AU - He, Jianing AU - Zhang, Qi AU - Miao, Duoqian AU - Yi, Kun AU - Hao, Shufeng AU - Zhang, Hongyun AU - Wei, Zhihua T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 8077 EP - 8085 DO - 10.24963/ijcai.2025/898 UR - https://doi.org/10.24963/ijcai.2025/898 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: