atlas

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

TagFog: Textual Anchor Guidance and Fake Outlier Generation for Visual Out-of-Distribution Detection

AAAI 2024 · Label-efficient and robust learning › OOD and anomaly detection · approach: Spurious-aware OOD detection · 7 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 TagFog, which trains an image encoder for visual OOD detection using Jigsaw-shuffled fake OOD images plus CLIP text-encoder anchors built from ChatGPT class descriptions, with contrastive losses, and reports state-of-the-art results on CIFAR10/100 and ImageNet100-I.

Problem

Visual out-of-distribution detection is hard when models are trained only on in-distribution data, leading to overconfidence on OOD inputs; obtaining real OOD training data is costly and existing fake-OOD methods (GANs, feature-space synthesis) are unstable or rely on strong distributional assumptio

Approach

Generate fake OOD images offline by Jigsaw-shuffling ID image patches, and guide the image encoder with contrastive alignment to CLIP text-encoder embeddings of ChatGPT-generated class descriptions (used as anchors), plus a supervised contrastive loss; the framework is then combined with post-hoc scores such as ReAct.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add Jigsaw fake OOD data (ablation)TagFog · CIFAR100, ResNet18AUROC: 87.43 -> 89.17Helped
add textual-anchor contrastive loss L_CI (ablation)TagFog · CIFAR100, ResNet18AUROC: 87.43 -> 88.38Helped
add supervised contrastive loss L_SC (ablation)TagFog · CIFAR100, ResNet18AUROC: 87.43 -> 88.27Helped
add all three components: fake OOD data, L_CI, and L_SC (ablation)TagFog · CIFAR100, ResNet18AUROC: 87.43 -> 90.47Helped
replace ChatGPT class descriptions with “a photo of [ID class name]” (ablation)TagFog textual-anchor guidance · CIFAR and ImageNet100 benchmarksOOD detection performanceHurt
replace CLIP textual anchors with random embeddings (ablation)TagFog textual-anchor guidance · CIFAR and ImageNet100 benchmarksOOD detection performanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 CIFAR100 ImageNet100-I ImageNet100-II Textures SVHN iSUN Places365 LSUN-C LSUN-R iNaturalist SUN

Benchmarks: CIFAR10 CIFAR100 ImageNet100-I ImageNet100-II

Metrics: FPR95 AUROC

Baselines: MSP Mahalanobis ODIN Energy ViM DICE BATS ReAct FeatureNorm LINe VOS LogitNorm

Builds on: CLIP SupCon ReAct VOS CIDER

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