Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Neuron Activation Coverage: Rethinking Out-of-distribution Detection and Generalization

About

The out-of-distribution (OOD) problem generally arises when neural networks encounter data that significantly deviates from the training data distribution, i.e., in-distribution (InD). In this paper, we study the OOD problem from a neuron activation view. We first formulate neuron activation states by considering both the neuron output and its influence on model decisions. Then, to characterize the relationship between neurons and OOD issues, we introduce the \textit{neuron activation coverage} (NAC) -- a simple measure for neuron behaviors under InD data. Leveraging our NAC, we show that 1) InD and OOD inputs can be largely separated based on the neuron behavior, which significantly eases the OOD detection problem and beats the 21 previous methods over three benchmarks (CIFAR-10, CIFAR-100, and ImageNet-1K). 2) a positive correlation between NAC and model generalization ability consistently holds across architectures and datasets, which enables a NAC-based criterion for evaluating model robustness. Compared to prevalent InD validation criteria, we show that NAC not only can select more robust models, but also has a stronger correlation with OOD test performance.

Yibing Liu, Chris Xing Tian, Haoliang Li, Lei Ma, Shiqi Wang• 2023

Related benchmarks

TaskDatasetResultRank
Domain GeneralizationVLCS
Accuracy79.2
238
Domain GeneralizationPACS--
221
Out-of-Distribution DetectioniNaturalist--
200
Domain GeneralizationOfficeHome
Accuracy80.52
182
Out-of-Distribution DetectionTextures
AUROC0.979
141
Domain GeneralizationDomainBed
Average Accuracy74.1
127
Out-of-Distribution DetectionOpenImage-O
AUROC91.58
107
OOD DetectionMVTec Pill (Dissimilar)
AUROC67.88
90
OOD DetectionMVTec Pill (Similar)
AUROC68.27
90
OOD DetectionMVTec Metal Nut Dissimilar
AUROC0.5213
90
Showing 10 of 47 rows

Other info

Code

Follow for update