Out-of-Distribution Detection with Adaptive Top-K Logits Integration

Hikaru Shijo, Yutaka Yoshihama, Kenichi Yadani, Norifumi Murata
7/1/2025
cs.CV

No confident code implementation found for this paper.

Abstract

Neural networks often make overconfident predictions from out-of-distribution (OOD) samples. Detection of OOD data is therefore crucial to improve the safety of machine learning.

Show full abstract

The simplest and most powerful method for OOD detection is MaxLogit, which uses the model's maximum logit to provide an OOD score. We have discovered that, in addition to the maximum logit, some other logits are also useful for OOD detection. Based on this finding, we propose a new method called ATLI (Adaptive Top-k Logits Integration), which adaptively determines effective top-k logits that are specific to each model and combines the maximum logit with the other top-k logits. In this study we evaluate our proposed method using ImageNet-1K benchmark. Extensive experiments showed our proposed method to reduce the false positive rate (FPR95) by 6.73% compared to the MaxLogit approach, and decreased FPR95 by an additional 2.67% compared to other state-of-the-art methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shijo2025outofdistribution,
  title  = {Out-of-Distribution Detection with Adaptive Top-K Logits Integration},
  author = {Hikaru Shijo and Yutaka Yoshihama and Kenichi Yadani and Norifumi Murata},
  year   = {2025},
  eprint = {2507.00368},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.00368v1}
}

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/2507.00368.svg)](https://codeofpaper.com/paper/2507.00368)

Discussion