atlas

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

WeiPer: OOD Detection using Weight Perturbations of Class Projections

NeurIPS 2024 · Label-efficient and robust learning › OOD and anomaly detection · approach: Spurious-aware OOD detection · 2 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 WeiPer, which perturbs the final-layer class projection vectors to build a richer logit representation, and a KL-divergence score (WeiPer+KLD) comparing histogram densities to the ID mean, achieving near-OOD state of the art on OpenOOD.

Problem

Post-hoc out-of-distribution detection for image classifiers, especially near-OOD samples that lie close to the training distribution, where existing logit- and penultimate-feature methods degrade.

Approach

Add normalized random perturbations to the rows of the final FC weight matrix to create a cone of projections around class vectors, use these to build a perturbed logit space, and score samples by KL divergence between their activation histograms and the mean ID histogram in the penultimate and perturbed spaces, combined with MSP on the perturbed logits.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add WeiPer weight perturbations to MSPMSP · OpenOOD benchmarksAUROC: 1-4.1% AUROCHelped
add WeiPer weight perturbations with KLD scoringOOD detection · near OOD benchmarksAUROC: 80.05 vs 78.17Helped
add the MSP term to WeiPer+KLD (ablation)WeiPer+KLD · CIFAR10AUROC: 90.53 -> 90.54No clear effect
use class-correlated perturbed projections instead of weight-independent Gaussian projections (ablation)WeiPer+KLD · CIFAR10 near and farAUROC: 69.62 -> 90.54; 75.83 -> 93.12Helped
increase the number of random perturbations r (ablation)WeiPer · CIFAR10 and ImageNet near OODAUROCHelped
set perturbation strength δ above zero instead of using no perturbations (ablation)WeiPer+KLD, WeiPer+MSP, and WeiPer+ReAct · near OOD tasksAUROCHelped
use δ=2 for WeiPer+KLD (ablation)WeiPer+KLD · near OOD tasksAUROC: δ=2Helped
use WeiPer+KLD with ViT-B/16ImageNet-1K OOD detection · near and far OODAUROC: 75.00 vs 80.09; 90.32 vs 93.16Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 CIFAR100 ImageNet-1K MNIST SVHN Textures Places365 TinyImageNet iNaturalist OpenImage-O SSB-hard NINCO

Benchmarks: OpenOOD CIFAR10 OpenOOD CIFAR100 OpenOOD ImageNet-1K

Metrics: AUROC FPR95

Baselines: MSP ReAct KNN ASH RMDS VIM GEN NAC

Builds on: MSP ReAct OpenOOD Cramer-Wold theorem

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