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

AHA: Human-Assisted Out-of-Distribution Generalization and Detection

About

Modern machine learning models deployed often encounter distribution shifts in real-world applications, manifesting as covariate or semantic out-of-distribution (OOD) shifts. These shifts give rise to challenges in OOD generalization and OOD detection. This paper introduces a novel, integrated approach AHA (Adaptive Human-Assisted OOD learning) to simultaneously address both OOD generalization and detection through a human-assisted framework by labeling data in the wild. Our approach strategically labels examples within a novel maximum disambiguation region, where the number of semantic and covariate OOD data roughly equalizes. By labeling within this region, we can maximally disambiguate the two types of OOD data, thereby maximizing the utility of the fixed labeling budget. Our algorithm first utilizes a noisy binary search algorithm that identifies the maximal disambiguation region with high probability. The algorithm then continues with annotating inside the identified labeling region, reaping the full benefit of human feedback. Extensive experiments validate the efficacy of our framework. We observed that with only a few hundred human annotations, our method significantly outperforms existing state-of-the-art methods that do not involve human assistance, in both OOD generalization and OOD detection. Code is publicly available at \url{https://github.com/HaoyueBaiZJU/aha}.

Haoyue Bai, Jifan Zhang, Robert Nowak• 2024

Related benchmarks

TaskDatasetResultRank
Domain GeneralizationPACS (leave-one-domain-out)
Art Accuracy92.6
146
Out-of-Distribution Detection and GeneralizationCIFAR-10 ID LSUN-C semantic OOD & CIFAR-10-C covariate OOD
OOD Accuracy91.08
74
Generalized OOD DetectionCIFAR-10 with Places365 (semantic OOD) and CIFAR-10-C (covariate OOD) (test)
OOD Accuracy88.93
38
Out-of-Distribution Detection and GeneralizationCIFAR-10 ID SVHN semantic OOD CIFAR-10-C covariate OOD
OOD Accuracy89.01
38
Out-of-Distribution Detection and GeneralizationCIFAR-10 ID Textures semantic OOD CIFAR-10-C covariate OOD
OOD Accuracy90.51
38
OOD DetectionCIFAR-10 LSUN-Resize semantic OOD + CIFAR-10-C covariate OOD (test)
FPR0.02
22
Out-of-Distribution DetectionImageNet-100 and iNaturalist (test)
OOD Accuracy72.74
3
OOD DetectionCIFAR-10 SVHN semantic OOD & CIFAR-10-C covariate OOD (test)
FPR0.08
2
OOD DetectionCIFAR-10 Texture semantic OOD & CIFAR-10-C covariate OOD (test)
FPR5.63
2
Showing 9 of 9 rows

Other info

Code

Follow for update