atlas

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

Envisioning Outlier Exposure by Large Language Models for Out-of-Distribution Detection

ICML 2024 · Label-efficient and robust learning › OOD and anomaly detection · approach: Provable and feature-based OOD detection · 1 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 EOE, which prompts GPT-3.5-turbo to envision outlier class labels from ID class names (visual-similarity rule) and scores OOD with a penalized CLIP softmax, achieving zero-shot far, near and fine-grained OOD detection without any OOD data.

Problem

Zero-shot OOD detection with CLIP relies only on closed-set ID labels, so it fails on hard OOD samples; the paper asks whether potential outlier class labels can be generated without access to test-time OOD data.

Approach

Use an LLM with visual-similarity prompts (far, near, fine-grained variants) to envision outlier class names from ID labels alone, then score samples with a penalized softmax that subtracts a weighted max probability over the envisioned outlier labels.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add LLM-envisioned outlier labels and the EOE scoreCLIP OOD detection · Far OOD average across four ID datasetsFPR95: 0.67 -> 0.21Helped
Add LLM-envisioned outlier labels and the EOE scoreCLIP OOD detection · ImageNet-1K far OOD averageFPR95: 30.39 -> 30.09Helped
Add LLM-envisioned outlier labels and the EOE scoreCLIP OOD detection · Near OOD average (ImageNet-10/20)FPR95: 11.20 -> 9.07Helped
Add LLM-envisioned outlier labels and the EOE scoreCLIP OOD detection · Fine-grained OOD averageFPR95: 56.05 -> 60.52Hurt
Add the visual-similarity constraint to LLM prompts (ablation)EOE on ImageNet-10 vs ImageNet-20 · Near OODFPR95Helped
Use the EOE score instead of MSP, Energy, MaxLogit, or MAX score (ablation)EOE on ImageNet-10 vs ImageNet-20 · Near OODOOD performanceHelped
Use LLaMA2-7B or Claude 2 instead of GPT-3.5-turbo-16k to generate outlier labels (ablation)EOE on ImageNet-10 · Near OODFPR95Helped
Vary the number of generated outlier labels (ablation)EOE across far, near, and fine-grained OOD · Multiple OOD tasksOOD performanceNo clear effect
Set beta to 0.25 instead of 0 for 500 outlier labels (ablation)EOE on ImageNet-1K · Far OOD averageFPR95: 37.54 -> 30.09Helped
Set beta to 0.50 instead of 0 for 500 outlier labels (ablation)EOE on ImageNet-1K · Far OOD averageFPR95: 37.54 -> 28.52Helped

Surprising findings

Limitations

Experimental setup

Datasets: CUB-200-2011 Stanford Cars Food-101 Oxford-IIIT Pet ImageNet-1K iNaturalist SUN Places Texture ImageNet-10 ImageNet-20

Benchmarks: CUB-200-2011 far OOD Stanford Cars far OOD Food-101 far OOD Oxford-IIIT Pet far OOD ImageNet-1K far OOD (iNaturalist, SUN, Places, Texture) ImageNet-10/ImageNet-20 near OOD fine-grained OOD splits of CUB, Stanford Cars, Food, Oxford Pet CIFAR-10/100 OpenOOD SSB-hard and NINCO

Metrics: FPR95 AUROC AUPR

Baselines: MCM CLIPN Energy MaxLogit MSP MOS Fort et al. Energy (FT)

Builds on: MCM CLIP CLIPN Energy MaxLogit

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