Enhancing Out-of-Distribution Detection with Extended Logit Normalization

Yifan Ding, Xixi Liu, Jonas Unger, Gabriel Eilertsen; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026, pp. 24823-24832

Abstract


Out-of-distribution (OOD) detection is essential for the safe deployment of machine learning models. While extensive work has focused on designing effective scoring functions for OOD detection, relatively few studies explore training neural networks with calibration-oriented objectives, which often compromise predictive accuracy and restrict the choice of scoring functions. In this work, we first identify feature collapse in Logit Normalization (LogitNorm), and then propose a novel hyperparameter-free training formulation that significantly improves a wide range of post-hoc detection methods. Specifically, we introduce a feature distance-aware normalization objective, termed ELogitNorm, which enhances both OOD detection performance and in-distribution (ID) confidence calibration. Extensive experiments on standard benchmarks demonstrate that our approach outperforms state-of-the-art training-time methods in OOD detection while preserving strong ID classification performance. Our code is available at: https://github.com/limchaos/ElogitNorm.

Related Material


[pdf] [supp] [arXiv]
[bibtex]
@InProceedings{Ding_2026_CVPR, author = {Ding, Yifan and Liu, Xixi and Unger, Jonas and Eilertsen, Gabriel}, title = {Enhancing Out-of-Distribution Detection with Extended Logit Normalization}, booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, month = {June}, year = {2026}, pages = {24823-24832} }