cs.LGFeb 23, 2026

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

Authors: Dylan Baptiste, Ramla Saddem, Alexandre Philippot, François Foyer

Organizations: CRESTIC · Université de Reims Champagne-Ardenne, CRESTIC, Reims, France · Seckiot, Paris, France

Abstract

As Operational Technology increasingly integrates with Information Technology, the need for Intrusion Detection Systems becomes more important. This paper explores an unsupervised approach to anomaly detection in network traffic using ββ-Variational Autoencoders on the NSL-KDD dataset. We investigate two methods: leveraging the latent space structure by measuring distances from test samples to the training data projections, and using the reconstruction error as a conventional anomaly detection metric. By comparing these approaches, we provide insights into their respective advantages and limitations in an unsupervised setting. Experimental results highlight the effectiveness of latent space exploitation for classification tasks.

Figures & tables

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. When Does Unsupervised Learning Succeed or Fail? A PoS Perspective on Reconstruction-Based Anomaly Detection

    Sep 23, 2026Mehmet Yamaç, Yagmur Mustu, Muhammad Numan Yousaf +2Unsupervised Representation LearningReconstruction-Based Anomaly Detection