Papers › Delving into Out-of-Distribution Detection with Vision-Language Representations

Delving into Out-of-Distribution Detection with Vision-Language Representations

24 Nov 2022arXiv:2211.13445archive 2025-07-28

Yifei Ming, Ziyang Cai, Jiuxiang Gu, Yiyou Sun, Wei Li, Yixuan Li

Recognizing out-of-distribution (OOD) samples is critical for machine learning systems deployed in the open world. The vast majority of OOD detection methods are driven by a single modality (e.g., either vision or language), leaving the rich information in multi-modal representations untapped. Inspired by the recent success of vision-language pre-training, this paper enriches the landscape of OOD detection from a single-modal to a multi-modal regime. Particularly, we propose Maximum Concept Matching (MCM), a simple yet effective zero-shot OOD detection method based on aligning visual features with textual concepts. We contribute in-depth analysis and theoretical insights to understand the effectiveness of MCM. Extensive experiments demonstrate that MCM achieves superior performance on a wide variety of real-world tasks. MCM with vision-language features outperforms a common baseline with pure visual features on a hard OOD task with semantically similar classes by 13.1% (AUROC). Code is available at https://github.com/deeplearning-wisc/MCM.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2211.13445")

Code

Syntology Ran 4 of 5 code samples harvested from 2 repositories linked to this paper; 1 has no recorded run. Of those that ran: 3 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 1 ran; community (archive-listed): 4 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

deeplearning-wisc/mcm officialmentioned in paperpytorch report
HHU-MMBS/plp-official-tmlr2024 mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

5 samples harvested; 4 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · fixture could not drive it
1ran
1unverified

Licence: 1 of the 5 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_ood_scores_clip deeplearning-wisc/mcm/utils/detection_util.py official repository ran · fixture could not drive it no licence file found · pointer only · 44d9ad0d40e49f34 · report
OOD_cls_max_val HHU-MMBS/plp-official-tmlr2024/eval/ood_scores.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · b2b3162dc355af43 · report
_norm_by_name HHU-MMBS/plp-official-tmlr2024/eval/ood_scores.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · d437442e8b6bc274 · report
available_norms HHU-MMBS/plp-official-tmlr2024/eval/ood_scores.py community (archive-listed) ran Apache-2.0 (permissive) · ba7d44d0dbfa802c · report
norm_feats HHU-MMBS/plp-official-tmlr2024/eval/ood_scores.py community (archive-listed) unverified Apache-2.0 (permissive) · 8592992c17099ed5 · report

Tasks

Out-of-Distribution Detection

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Out-of-Distribution Detection ImageNet-1k vs Curated OODs (avg.) MCM (CLIP-L) AUROC 91.49 #10 of 16 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Curated OODs (avg.) MCM (CLIP-L) FPR95 38.17 #10 of 16 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Places MCM (CLIP-L) AUROC 92.00 #6 of 25 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Places MCM (CLIP-L) FPR95 35.42 #6 of 25 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Places MCM (CLIP-B) AUROC 89.77 #10 of 25 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Places MCM (CLIP-B) FPR95 44.69 #10 of 25 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs SUN MCM (CLIP-L) AUROC 94.14 #7 of 22 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs SUN MCM (CLIP-L) FPR95 29.00 #7 of 22 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs SUN MCM (CLIP-B) AUROC 92.57 #10 of 22 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs SUN MCM (CLIP-B) FPR95 37.59 #10 of 22 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Textures MCM (CLIP-B) AUROC 86.11 #23 of 34 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Textures MCM (CLIP-B) FPR95 57.77 #23 of 34 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Textures MCM (CLIP-L) AUROC 84.88 #25 of 34 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Textures MCM (CLIP-L) FPR95 59.88 #25 of 34 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs iNaturalist MCM (CLIP-L) AUROC 94.95 #15 of 28 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs iNaturalist MCM (CLIP-L) FPR95 28.38 #15 of 28 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs iNaturalist MCM (CLIP-B) AUROC 94.61 #18 of 28 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs iNaturalist MCM (CLIP-B) FPR95 30.91 #18 of 28 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections