Skip to main content
QUICK REVIEW

[Paper Review] Latent Outlier Exposure for Anomaly Detection with Contaminated Data

Chen Qiu, Aodong Li|arXiv (Cornell University)|Feb 16, 2022
Anomaly Detection Techniques and ApplicationsComputer Science15 citations
TL;DR

This paper proposes Latent Outlier Exposure (LOE), a novel method for training deep anomaly detectors on datasets contaminated with unlabeled anomalies. By jointly optimizing model parameters and latent binary labels (normal/anomalous) via alternating updates on two coupled losses—one for normal and one for anomalous data—LOE achieves state-of-the-art performance across image, tabular, and video anomaly detection benchmarks, significantly outperforming blind training and data refinement baselines even under high contamination ratios.

ABSTRACT

Anomaly detection aims at identifying data points that show systematic deviations from the majority of data in an unlabeled dataset. A common assumption is that clean training data (free of anomalies) is available, which is often violated in practice. We propose a strategy for training an anomaly detector in the presence of unlabeled anomalies that is compatible with a broad class of models. The idea is to jointly infer binary labels to each datum (normal vs. anomalous) while updating the model parameters. Inspired by outlier exposure (Hendrycks et al., 2018) that considers synthetically created, labeled anomalies, we thereby use a combination of two losses that share parameters: one for the normal and one for the anomalous data. We then iteratively proceed with block coordinate updates on the parameters and the most likely (latent) labels. Our experiments with several backbone models on three image datasets, 30 tabular data sets, and a video anomaly detection benchmark showed consistent and significant improvements over the baselines.

Motivation & Objective

  • Address the common but often violated assumption in anomaly detection that training data are free of anomalies.
  • Improve anomaly detection performance when training data contain unlabeled anomalies, a frequent real-world scenario.
  • Develop a domain-agnostic method compatible with various deep learning backbones and loss functions for anomaly detection.
  • Enable end-to-end training that simultaneously identifies anomalies and learns robust representations without requiring prior knowledge of anomaly locations.
  • Outperform existing approaches such as blind training and iterative data refinement on diverse data types including images, tabular data, and video sequences.

Proposed method

  • Introduce a joint optimization framework over continuous model parameters and discrete latent labels (normal vs. anomalous) for each data point.
  • Use two coupled loss functions: one for normal data and one for anomalous data, both sharing the same model parameters.
  • Apply alternating optimization (block coordinate descent) to iteratively update model parameters and infer the most likely latent labels.
  • Leverage self-supervised or contrastive learning losses as the core anomaly scoring mechanism, compatible with models like NTL, ResNet, and autoencoders.
  • During inference, detect anomalies by thresholding only one of the two loss functions, enabling constant-time prediction.
  • Allow flexible application to image, tabular, and video data by integrating with various backbone architectures and loss functions.

Experimental results

Research questions

  • RQ1Can a joint optimization framework that infers latent anomaly labels during training improve anomaly detection performance on contaminated datasets?
  • RQ2How robust is the proposed method to incorrect assumptions about the true anomaly ratio in the training data?
  • RQ3Does the method outperform established baselines such as blind training and data refinement in the presence of contamination?
  • RQ4Can the approach generalize across different data modalities, including images, tabular data, and video sequences?
  • RQ5What is the impact of different loss functions and backbone models on the performance of the proposed method?

Key findings

  • LOE significantly outperforms blind training and data refinement baselines across all evaluated datasets, including CIFAR-10, 30 tabular datasets, and UCSD Pedestrian video benchmark.
  • On the UCSD Pedestrian video dataset, LOE S achieves 18.8% and 9.2% higher AUC than Deep Ordinal Regression at 10% and 20% contamination ratios, respectively.
  • LOE H demonstrates strong robustness: performance degrades by at most 1.4% even when the hyperparameter α (assumed anomaly ratio) is off by 5% from the true ratio.
  • LOE S consistently outperforms both blind training and data refinement baselines, especially when the assumed anomaly ratio α is larger than the true contamination ratio.
  • The method achieves state-of-the-art performance on all benchmarks tested, including image, tabular, and video anomaly detection tasks.
  • The approach is effective even under high contamination levels, showing consistent improvements without requiring prior knowledge of anomaly locations or explicit data cleaning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.