NERO: Explainable Out-of-Distribution Detection with Neuron-level Relevance

Anju Chhetri, Jari Korhonen, Prashnna Gyawali, Binod Bhattarai
6/18/2025
cs.CVcs.LG

No official code found. Best implementation: hijirii/nero-presentation (0 stars, last commit 2025-07-08).

Abstract

Ensuring reliability is paramount in deep learning, particularly within the domain of medical imaging, where diagnostic decisions often hinge on model outputs. The capacity to separate out-of-distribution (OOD) samples has proven to be a valuable indicator of a model's reliability in research. In medical imaging, this is especially critical, as identifying OOD inputs can help flag potential anomalies that might otherwise go undetected. While many OOD detection methods rely on feature or logit space representations, recent works suggest these approaches may not fully capture OOD diversity. To address this, we propose a novel OOD scoring mechanism, called NERO, that leverages neuron-level relevance at the feature layer. Specifically, we cluster neuron-level relevance for each in-distribution (ID) class to form representative centroids and introduce a relevance distance metric to quantify a new sample's deviation from these centroids, enhancing OOD separability. Additionally, we refine performance by incorporating scaled relevance in the bias term and combining feature norms. Our framework also enables explainable OOD detection. We validate its effectiveness across multiple deep learning architectures on the gastrointestinal imaging benchmarks Kvasir and GastroVision, achieving improvements over state-of-the-art OOD detection methods.

View on arXivView PDF

Code Implementations(1)

NERO: Explainable Out-of-Distribution Detection with Neuron-level Relevance - Professional Presentation

00HTMLJul 5, 20251 years ago

Similar Papers

Cite this paper

@article{chhetri2025nero,
  title  = {NERO: Explainable Out-of-Distribution Detection with Neuron-level Relevance},
  author = {Anju Chhetri and Jari Korhonen and Prashnna Gyawali and Binod Bhattarai},
  year   = {2025},
  eprint = {2506.15404},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.15404v2}
}

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

Discussion