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

Bridging OOD Detection and Generalization: A Graph-Theoretic View

About

In the context of modern machine learning, models deployed in real-world scenarios often encounter diverse data shifts like covariate and semantic shifts, leading to challenges in both out-of-distribution (OOD) generalization and detection. Despite considerable attention to these issues separately, a unified framework for theoretical understanding and practical usage is lacking. To bridge the gap, we introduce a graph-theoretic framework to jointly tackle both OOD generalization and detection problems. By leveraging the graph formulation, data representations are obtained through the factorization of the graph's adjacency matrix, enabling us to derive provable error quantifying OOD generalization and detection performance. Empirical results showcase competitive performance in comparison to existing methods, thereby validating our theoretical underpinnings. Code is publicly available at https://github.com/deeplearning-wisc/graph-spectral-ood.

Han Wang, Yixuan Li• 2024

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution Detection and GeneralizationCIFAR-10 ID LSUN-C semantic OOD & CIFAR-10-C covariate OOD
OOD Accuracy85.88
74
Generalized OOD DetectionCIFAR-10 with Places365 (semantic OOD) and CIFAR-10-C (covariate OOD) (test)
OOD Accuracy87.04
38
Out-of-Distribution Detection and GeneralizationCIFAR-10 ID Textures semantic OOD CIFAR-10-C covariate OOD
OOD Accuracy81.4
38
Out-of-Distribution Detection and GeneralizationCIFAR-10 ID SVHN semantic OOD CIFAR-10-C covariate OOD
OOD Accuracy0.8662
38
Out-of-Distribution DetectionImageNet-100
Average FPR9521
22
Open Set Domain AdaptationOffice-Home (test)
OOD Accuracy (Ar -> Cl)54.2
8
Showing 6 of 6 rows

Other info

Code

Follow for update