Component-Based Out-of-Distribution Detection

arXiv cs.CV / 4/24/2026

📰 NewsModels & Research

Key Points

  • The paper addresses challenges in out-of-distribution (OOD) detection, including sensitivity to subtle distribution shifts, instability of existing patch-based approaches, and failure modes for compositional OODs built from in-distribution (ID) parts.
  • It proposes a training-free Component-Based OOD Detection (CoOD) framework that decomposes an input into functional components rather than relying on global representations or brittle local patches.
  • CoOD introduces two scoring mechanisms: a Component Shift Score (CSS) for detecting local appearance changes and a Compositional Consistency Score (CCS) for flagging inconsistencies across components.
  • Experiments indicate that CoOD provides consistent improvements across both coarse-grained and fine-grained OOD detection settings.
  • Overall, the work reframes OOD detection granularity to better capture local and compositional discrepancies while reducing false reactions to natural ID diversity.

Abstract

Out-of-Distribution (OOD) detection requires sensitivity to subtle shifts without overreacting to natural In-Distribution (ID) diversity. However, from the viewpoint of detection granularity, global representation inevitably suppress local OOD cues, while patch-based methods are unstable due to entangled spurious-correlation and noise. And neither them is effective in detecting compositional OODs composed of valid ID components. Inspired by recognition-by-components theory, we present a training-free Component-Based OOD Detection (CoOD) framework that addresses the existing limitations by decomposing inputs into functional components. To instantiate CoOD, we derive Component Shift Score (CSS) to detect local appearance shifts, and Compositional Consistency Score (CCS) to identify cross-component compositional inconsistencies. Empirically, CoOD achieves consistent improvements on both coarse- and fine-grained OOD detection.

Component-Based Out-of-Distribution Detection | AI Navigate