Enhancing Out-of-Distribution Detection with Extended Logit Normalization

Yifan Ding, Xixi Liu, Jonas Unger, Gabriel Eilertsen
4/15/2025
cs.CV

No official code found. Best implementation: limchaos/ELogitNormOOD (2 stars, MIT, last commit 2026-02-25).

Abstract

\noindent Out-of-distribution (OOD) detection is essential for the safe deployment of machine learning models. Extensive work has focused on devising various scoring functions for detecting OOD samples, while only a few studies focus on training neural networks using certain model calibration objectives, which often lead to a compromise in predictive accuracy and support only limited choices of scoring functions. In this work, we first identify the feature collapse phenomena in Logit Normalization (LogitNorm), then propose a novel hyperparameter-free formulation that significantly benefits a wide range of post-hoc detection methods. To be specific, we devise a feature distance-awareness loss term in addition to LogitNorm, termed $\textbf{ELogitNorm}$, which enables improved OOD detection and in-distribution (ID) confidence calibration. Extensive experiments across standard benchmarks demonstrate that our approach outperforms state-of-the-art training-time methods in OOD detection while maintaining strong ID classification accuracy. Our code is available on: https://github.com/limchaos/ElogitNorm.

View on arXivView PDF

Code Implementations(1)

MIT

Enhancing Out-of-Distribution Detection with Extended Logit Normalization (CVPR 2026)

22Shell, PythonFeb 22, 20267 months agoMIT

Similar Papers

Cite this paper

@article{ding2025enhancing,
  title  = {Enhancing Out-of-Distribution Detection with Extended Logit Normalization},
  author = {Yifan Ding and Xixi Liu and Jonas Unger and Gabriel Eilertsen},
  year   = {2025},
  eprint = {2504.11434},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.11434v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.11434.svg)](https://codeofpaper.com/paper/2504.11434)

Discussion