GL-MCM: Global and Local Maximum Concept Matching for Zero-Shot Out-of-Distribution Detection

Atsuyuki Miyai, Qing Yu, Go Irie, Kiyoharu Aizawa
4/10/2023
50 citations
cs.CV

Official code: AtsuMiyai/GL-MCM (18 stars, Python, MIT, last commit 2025-01-22).

Abstract

Zero-shot out-of-distribution (OOD) detection is a task that detects OOD images during inference with only in-distribution (ID) class names. Existing methods assume ID images contain a single, centered object, and do not consider the more realistic multi-object scenarios, where both ID and OOD objects are present.

Show full abstract

To meet the needs of many users, the detection method must have the flexibility to adapt the type of ID images. To this end, we present Global-Local Maximum Concept Matching (GL-MCM), which incorporates local image scores as an auxiliary score to enhance the separability of global and local visual features. Due to the simple ensemble score function design, GL-MCM can control the type of ID images with a single weight parameter. Experiments on ImageNet and multi-object benchmarks demonstrate that GL-MCM outperforms baseline zero-shot methods and is comparable to fully supervised methods. Furthermore, GL-MCM offers strong flexibility in adjusting the target type of ID images. The code is available via https://github.com/AtsuMiyai/GL-MCM.

View on arXivView PDF

Code Implementations(1)

AtsuMiyai/GL-MCMOfficial100%
MIT

[IJCV2025] https://arxiv.org/abs/2304.04521

181Python, ShellAug 19, 20231 years agoMIT

Similar Papers

Cite this paper

@article{miyai2023glmcm,
  title  = {GL-MCM: Global and Local Maximum Concept Matching for Zero-Shot Out-of-Distribution Detection},
  author = {Atsuyuki Miyai and Qing Yu and Go Irie and Kiyoharu Aizawa},
  year   = {2023},
  eprint = {2304.04521},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.04521v4}
}

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

Discussion