Skip to main content
QUICK REVIEW

[Paper Review] DROCC: Deep Robust One-Class Classification

Sachin Goyal, Aditi Raghunathan|arXiv (Cornell University)|Feb 28, 2020
Anomaly Detection Techniques and ApplicationsComputer Science37 references7 citations
TL;DR

DROCC proposes a deep robust one-class classification method that models normal data as lying on a low-dimensional, locally linear manifold, using a gradient descent-ascent training scheme to avoid representation collapse. It achieves state-of-the-art performance, improving anomaly detection accuracy by up to 20% across images, tabular data, audio, and time-series datasets, especially in challenging OOD generalization settings with limited negative data.

ABSTRACT

Classical approaches for one-class problems such as one-class SVM and isolation forest require careful feature engineering when applied to structured domains like images. State-of-the-art methods aim to leverage deep learning to learn appropriate features via two main approaches. The first approach based on predicting transformations (Golan & El-Yaniv, 2018; Hendrycks et al., 2019a) while successful in some domains, crucially depends on an appropriate domain-specific set of transformations that are hard to obtain in general. The second approach of minimizing a classical one-class loss on the learned final layer representations, e.g., DeepSVDD (Ruff et al., 2018) suffers from the fundamental drawback of representation collapse. In this work, we propose Deep Robust One-Class Classification (DROCC) that is both applicable to most standard domains without requiring any side-information and robust to representation collapse. DROCC is based on the assumption that the points from the class of interest lie on a well-sampled, locally linear low dimensional manifold. Empirical evaluation demonstrates that DROCC is highly effective in two different one-class problem settings and on a range of real-world datasets across different domains: tabular data, images (CIFAR and ImageNet), audio, and time-series, offering up to 20% increase in accuracy over the state-of-the-art in anomaly detection. Code is available at https://github.com/microsoft/EdgeML.

Motivation & Objective

  • To address representation collapse in deep one-class classification, a key limitation of methods like DeepSVDD.
  • To develop a method effective across diverse domains—images, tabular data, audio, time-series—without requiring domain-specific transformations or side information.
  • To improve generalization against out-of-distribution (OOD) and close-negative samples, especially in low-negative-data regimes.
  • To enable robust one-class learning when only a few negative examples are available, modeling the positive class as a well-sampled low-dimensional manifold.

Proposed method

  • DROCC models normal data as lying on a low-dimensional, locally linear manifold, using Euclidean distance in the latent space to detect anomalies.
  • It formulates the training as a saddle-point problem: gradient descent on normal points and gradient ascent on synthetically generated anomalous points.
  • Anomalous points are adaptively generated during training via gradient ascent on the classifier loss, simulating challenging OOD examples.
  • The method uses a deep neural network to learn representations, followed by a classifier that distinguishes normal points from adversarially generated anomalies.
  • For the OCLN (One-Class Classification with Limited Negatives) setting, DROCC–LF extends the method with a learned, skewed distance function to better capture intrinsic data structure.
  • The optimization uses standard stochastic gradient descent and ascent, with a simplified projection set to improve computational efficiency.

Experimental results

Research questions

  • RQ1Can a deep one-class classifier be made robust to representation collapse without relying on heuristic constraints?
  • RQ2Can a method generalize effectively against OOD and close-negative samples when only a few negative examples are available?
  • RQ3Does modeling normal data as a low-dimensional manifold enable better generalization in one-class classification across diverse data types?
  • RQ4Can adversarial generation of anomalous points during training improve robustness and accuracy in anomaly detection?
  • RQ5How does DROCC perform compared to state-of-the-art methods in real-world settings like wake-word detection with challenging OOD inputs?

Key findings

  • DROCC achieves up to a 20% improvement in anomaly detection accuracy over state-of-the-art methods across multiple datasets, including CIFAR-10, ImageNet, and audio commands.
  • On the MNIST 0 vs. 1 anomaly detection task, DROCC–LF achieves 99.4% recall at a 3% false positive rate, outperforming DeepSAD (90.91%) and BCE (54%).
  • In the OCLN setting with audio commands, DROCC–LF improves recall by approximately 10% over baselines at 3% and 5% FPR, especially for keywords like 'Marvin' and 'Seven'.
  • On a 10-dimensional sine wave + Gaussian dataset, DROCC–LF correctly identifies the true 2D manifold, while standard DROCC fails due to noise, demonstrating the benefit of the learned distance function.
  • DROCC–LF generalizes well to manually synthesized close-negative audio samples (e.g., 'Mar', 'Vin', 'Marvelous') not seen during training, proving robustness to OOD variations.
  • The method avoids representation collapse because mapping all points to a single point would fail to distinguish normal points from adversarially generated anomalies.

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.