Skip to main content
QUICK REVIEW

[Paper Review] DASVDD: Deep Autoencoding Support Vector Data Descriptor for Anomaly Detection

Hadi Hojjati, Narges Armanfard|arXiv (Cornell University)|Jun 9, 2021
Anomaly Detection Techniques and ApplicationsComputer Science9 citations
TL;DR

DASVDD proposes a joint training framework that combines a deep autoencoder with a support vector data descriptor (SVDD) to learn a minimal-volume hypersphere in the latent space of normal data. By combining reconstruction error and hypersphere center distance into a unified anomaly score, DASVDD avoids the hypersphere collapse problem and achieves state-of-the-art performance across diverse benchmark datasets including images, speech, and industrial data.

ABSTRACT

Semi-supervised anomaly detection aims to detect anomalies from normal samples using a model that is trained on normal data. With recent advancements in deep learning, researchers have designed efficient deep anomaly detection methods. Existing works commonly use neural networks to map the data into a more informative representation and then apply an anomaly detection algorithm. In this paper, we propose a method, DASVDD, that jointly learns the parameters of an autoencoder while minimizing the volume of an enclosing hyper-sphere on its latent representation. We propose an anomaly score which is a combination of autoencoder's reconstruction error and the distance from the center of the enclosing hypersphere in the latent representation. Minimizing this anomaly score aids us in learning the underlying distribution of the normal class during training. Including the reconstruction error in the anomaly score ensures that DASVDD does not suffer from the common hypersphere collapse issue since the DASVDD model does not converge to the trivial solution of mapping all inputs to a constant point in the latent representation. Experimental evaluations on several benchmark datasets show that the proposed method outperforms the commonly used state-of-the-art anomaly detection algorithms while maintaining robust performance across different anomaly classes.

Motivation & Objective

  • Address the hypersphere collapse problem in deep one-class anomaly detection, where models trivially map all inputs to a single point.
  • Improve generalization and robustness of anomaly detection across diverse data types (images, audio, industrial signals, medical data) without domain-specific transformations.
  • Develop a unified training objective that jointly optimizes autoencoder reconstruction and SVDD hypersphere minimization.
  • Ensure the model remains effective even when training the hypersphere center and network biases end-to-end, avoiding architectural constraints.

Proposed method

  • Train a deep autoencoder end-to-end with a support vector data descriptor (SVDD) on the latent representation to minimize the volume of the enclosing hypersphere.
  • Define a novel anomaly score as a weighted sum of the autoencoder's reconstruction error and the L2 distance from the learned hypersphere center in the latent space.
  • Optimize the total loss function that balances reconstruction error (via mean squared error) and SVDD loss (via margin-based hypersphere minimization).
  • Introduce a hyperparameter κ to control the trade-off between training the autoencoder and updating the hypersphere center during each epoch.
  • Use a heuristic for initializing the hypersphere center and apply learning rate decay to stabilize training dynamics.
  • Regularize the latent representation to prevent trivial solutions, even in overcomplete autoencoders (e.g., latent size ≥ input size).
Figure 1: Overview of the proposed method DASVDD.
Figure 1: Overview of the proposed method DASVDD.

Experimental results

Research questions

  • RQ1Can a joint training framework of autoencoder and SVDD avoid the hypersphere collapse issue common in DSVDD and other deep one-class methods?
  • RQ2How does combining reconstruction error and hypersphere distance in the anomaly score improve detection performance compared to using either metric alone?
  • RQ3To what extent does DASVDD generalize across different data modalities (e.g., images, audio, tabular data) without requiring domain-specific preprocessing?
  • RQ4How sensitive is DASVDD’s performance to hyperparameters such as κ and latent dimension size?
  • RQ5Does the proposed method outperform existing state-of-the-art one-class anomaly detection algorithms on diverse benchmark datasets?

Key findings

  • DASVDD outperforms multiple state-of-the-art anomaly detection methods on seven benchmark datasets, including MNIST, CIFAR-10, and speech and industrial sound datasets.
  • The model achieves optimal performance with κ = 0.9 on MNIST, showing that setting κ = 1.0 (fixing the center) or too low values degrades performance due to insufficient training data for the autoencoder.
  • The size of the latent representation has minimal impact on performance across MNIST, CIFAR-10, and Fashion MNIST, even when the latent dimension is larger than the input dimension, indicating robustness to overcomplete encodings.
  • The proposed anomaly score effectively prevents hypersphere collapse, as the reconstruction error term actively discourages the network from collapsing to a single point in the latent space.
  • DASVDD maintains strong performance across diverse domains—images, audio, intrusion detection, and medical data—demonstrating its generalization capability without requiring input-specific transformations.
  • The training dynamics show that the SVDD loss decreases rapidly at first but is later dominated by the reconstruction error, indicating that the autoencoder component becomes the primary driver of optimization after early training stages.
Figure 2: Samples with the lowest (top row) and highest (bottom row) anomaly scores in MNIST (10 left columns) and FMNIST (10 right columns).
Figure 2: Samples with the lowest (top row) and highest (bottom row) anomaly scores in MNIST (10 left columns) and FMNIST (10 right columns).

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.