cs.LGFeb 4, 2025

Anomaly Detection via Autoencoder Composite Features and NCE

Authors: Yalin Liao, Austin J. Brockmeier

Organizations: Department of Electrical and Computer Engineering, University of Delaware, Newark, Delaware · Department of Electrical and Computer Engineering, Department of Computer and Information Sciences, University of Delaware, Newark, Delaware

Abstract

Unsupervised anomaly detection is a challenging task. Autoencoders (AEs) or generative models are often employed to model the data distribution of normal inputs and subsequently identify anomalous, out-of-distribution inputs by high reconstruction error or low likelihood, respectively. However, AEs may generalize and achieve small reconstruction errors on abnormal inputs. We propose a decoupled training approach for anomaly detection that both an AE and a likelihood model trained with noise contrastive estimation (NCE). After training the AE, NCE estimates a probability density function, to serve as the anomaly score, on the joint space of the AE's latent representation combined with features of the reconstruction quality. To further reduce the false negative rate in NCE we systematically varying the reconstruction features to augment the training and optimize the contrastive Gaussian noise distribution. Experimental assessments on multiple benchmark datasets demonstrate that the proposed approach matches the performance of prevalent state-of-the-art anomaly detection algorithms.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Mitigating the reconstruction-detection trade-off in VAE-based unsupervised anomaly detection

    Apr 9, 2026Agathe Senellart, Maëlys Solal, Stéphanie Allassonnière +1Reconstruction-Based Anomaly DetectionUnsupervised Anomaly Detection

  2. Differentiable Interval Bottlenecks for Interpretable Anomaly Detection in Numerical Data

    Sep 3, 2026Lamine Diop, Marc PlantevitTabular Anomaly DetectionAutoencoders

  3. Unsupervised Anomaly Detection in NSL-KDD Using ββ-VAE: A Latent Space and Reconstruction Error Approach

    Feb 23, 2026Dylan Baptiste, Ramla Saddem, Alexandre Philippot +1Unsupervised Anomaly DetectionNetwork Intrusion Detection