atlas

Research map / Label-efficient and robust learning / OOD and anomaly detection

Overcoming Shortcut Problem in VLM for Robust Out-of-Distribution Detection

CVPR 2025 · Label-efficient and robust learning › OOD and anomaly detection · approach: Robust fine-tuning for OOD generalization · 8 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes OSPCoOp, a few-shot CLIP prompt-learning method that decouples foreground/background with segmentation and inpainting to create pseudo-OOD background samples and uses masks to regularize ID-irrelevant regions, and introduces the ImageNet-Bg background-OOD benchmark.

Problem

CLIP-based OOD detection suffers from a shortcut problem where foreground and background semantics are coupled, so background-only OOD images are misclassified as in-distribution, and existing few-shot prompt-tuning methods fail to address it.

Approach

Decouple images into ID-relevant foreground and ID-irrelevant background via segmentation and inpainting to synthesize pseudo-OOD background samples and background-replaced ID samples, then use the decoupling masks to apply entropy-based regularization to ID-irrelevant patches, rather than CLIP-similarity-based region selection as in LoCoOp.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use OSPCoOp instead of LAPTCLIP ViT-B/16 OOD detection · SUNAUROC: 96.01 -> 96.74Helped
Use OSPCoOp instead of EOECLIP ViT-B/16 OOD detection · PlacesAUROC: 92.94 -> 94.01Helped
Use OSPCoOp instead of DPM-FCLIP ViT-B/16 OOD detection · ImageNet-BgAUROC: 89.53 -> 91.37Helped
Add decoupled background OOD augmentation (ablation)OSPCoOp · Four traditional OOD datasets (Avg)AUROC: 92.97 -> 94.65Helped
Add local-repeat OOD augmentation (ablation)OSPCoOp · Four traditional OOD datasets (Avg)AUROC: 92.97 -> 93.43Helped
Combine background and local-repeat OOD augmentation (ablation)OSPCoOp · Four traditional OOD datasets (Avg)AUROC: 94.65 -> 94.75Helped
Add ID augmentation (ablation)OSPCoOp · Four traditional OOD datasets (Avg), one-shotAUROC: 93.81 -> 93.92Helped
Add ID augmentation (ablation)OSPCoOp · Four traditional OOD datasets (Avg), two-shotAUROC: 93.51 -> 93.91Helped
Add ID augmentation (ablation)OSPCoOp · Four traditional OOD datasets (Avg), four-shotAUROC: 93.86 -> 94.16Helped
Add OOD-region irrelevance loss (ablation)OSPCoOp · ImageNet-1K OOD (Avg)AUROC: 92.05 -> 93.94Helped
Add OOD-global irrelevance loss (ablation)OSPCoOp · ImageNet-1K OOD (Avg)AUROC: 92.05 -> 94.14Helped
Use both OOD-region and OOD-global irrelevance losses (ablation)OSPCoOp · ImageNet-1K OOD (Avg)AUROC: 92.05 -> 94.75Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K iNaturalist SUN Places Texture ImageNet-Bg

Benchmarks: ImageNet-1K OOD (iNaturalist, SUN, Places, Texture) ImageNet-Bg ImageNet-Bg(S)

Metrics: AUROC FPR95

Baselines: ZOC MCM GL-MCM CLIPN-A DPM-F NegLabel LAPT EOE OLE CoOp LoCoOp SCT

Builds on: CoOp LoCoOp GL-MCM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy