English

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

Machine Learning 2026-02-24 v1 Neural and Evolutionary Computing Machine Learning

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 β\beta-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.

Keywords

Cite

@article{arxiv.2602.19785,
  title  = {Unsupervised Anomaly Detection in NSL-KDD Using $\beta$-VAE: A Latent Space and Reconstruction Error Approach},
  author = {Dylan Baptiste and Ramla Saddem and Alexandre Philippot and François Foyer},
  journal= {arXiv preprint arXiv:2602.19785},
  year   = {2026}
}
R2 v1 2026-07-01T10:47:18.147Z