MADOD: Generalizing OOD Detection to Unseen Domains via G-Invariance Meta-Learning

Haoliang Wang, Chen Zhao, Feng Chen
11/2/2024
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

Real-world machine learning applications often face simultaneous covariate and semantic shifts, challenging traditional domain generalization and out-of-distribution (OOD) detection methods. We introduce Meta-learned Across Domain Out-of-distribution Detection (MADOD), a novel framework designed to address both shifts concurrently. MADOD leverages meta-learning and G-invariance to enhance model generalizability and OOD detection in unseen domains. Our key innovation lies in task construction: we randomly designate in-distribution classes as pseudo-OODs within each meta-learning task, simulating OOD scenarios using existing data. This approach, combined with energy-based regularization, enables the learning of robust, domain-invariant features while calibrating decision boundaries for effective OOD detection. Operating in a test domain-agnostic setting, MADOD eliminates the need for adaptation during inference, making it suitable for scenarios where test data is unavailable. Extensive experiments on real-world and synthetic datasets demonstrate MADOD's superior performance in semantic OOD detection across unseen domains, achieving an AUPR improvement of 8.48% to 20.81%, while maintaining competitive in-distribution classification accuracy, representing a significant advancement in handling both covariate and semantic shifts.

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{wang2024madod,
  title  = {MADOD: Generalizing OOD Detection to Unseen Domains via G-Invariance Meta-Learning},
  author = {Haoliang Wang and Chen Zhao and Feng Chen},
  year   = {2024},
  eprint = {2411.02444},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.02444v1}
}

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

Discussion