atlas

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

ID-like Prompt Learning for Few-Shot Out-of-Distribution Detection

CVPR 2024 · Label-efficient and robust learning › OOD and anomaly detection · approach: Provable and feature-based OOD detection · 27 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 ID-like prompt learning for few-shot OOD detection: crops ID images, uses CLIP similarity to mine ID-like outliers, and learns ID and OOD text prompts on a frozen CLIP-B/16.

Problem

Few-shot OOD detection struggles to separate the most challenging OOD samples that resemble in-distribution data, especially without auxiliary outlier datasets and with only a few ID samples.

Approach

Generate ID-like outliers from random crops of ID images by filtering with CLIP similarity to class prompts (high similarity = ID, low = outlier), then learn a set of learnable OOD prompts alongside ID prompts with a cross-entropy-style outlier loss plus a prompt diversity regularizer, using CLIP frozen except text embeddings.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ID-like prompt learning instead of LoCoOpFew-shot CLIP-B/16 OOD detection · ImageNet-1k average OOD, one-shotFPR95: 42.32 -> 27.69Helped
Use ID-like prompt learning instead of LoCoOpFew-shot CLIP-B/16 OOD detection · ImageNet-1k average OOD, four-shotAUROC: 91.60 -> 94.36Helped
Use ID-like prompt learning instead of LoCoOpFew-shot CLIP-B/16 OOD detection · ImageNet-1k average OOD, four-shotFPR95: 38.24 -> 26.08Helped
Use ID-like prompt learning instead of LoCoOpFew-shot CLIP-B/16 OOD detection · ImageNet-1k ID; SUN OOD, one-shotFPR95: 33.27 -> 44.02Hurt
Use ID-like prompt learning instead of LoCoOpFew-shot CLIP-B/16 OOD detection · ImageNet-1k ID; SUN OOD, four-shotAUROC: 93.24 -> 91.64Hurt
Generate ID-like outliers from ID samples instead of using auxiliary outliers (ablation)ID-like Prompt Learning · ImageNet-1k average OOD, four-shotAUROC: 86.15 -> 96.66Helped
Generate ID-like outliers from ID samples instead of using Gaussian noise (ablation)ID-like Prompt Learning · ImageNet-1k average OOD, four-shotFPR95: 57.15 -> 16.38Helped
Increase generated-outlier training from one-shot to four-shot (ablation)ID-like Prompt Learning · ImageNet-1k average OODAUROC: 95.12 -> 96.66Helped
Increase the number of OOD prompts (ablation)ID-like Prompt Learning · ImageNet-100 OOD detectionAUROCHelped
Use prompt learning rather than full-model fine-tuning (ablation)Few-shot CLIP OOD detection · ImageNet-100 OOD detection, one-shot and four-shotAUROCHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1k ImageNet-100 iNaturalist Places Texture SUN

Benchmarks: ImageNet-1k OOD (iNaturalist, Places, Texture) SUN OOD

Metrics: FPR95 AUROC ID accuracy

Baselines: MSP Energy ODIN Fort/MSP VOS NPOS CLIPN MCM CoOp LoCoOp

Builds on: CoOp MCM LoCoOp VOS

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