Anomaly Detection with Variance Stabilized Density Estimation
Amit Rozner, Barak Battash, Henry Li, Lior Wolf, Ofir Lindenbaum
TL;DR
The paper addresses the challenge of effective anomaly detection in tabular data by reframing density estimation through variance stabilization. It introduces variance-stabilized density estimation (VSDE), formulated as a regularized likelihood objective that penalizes the variance of the log-density around normal samples, and implements it with autoregressive probabilistic normalized networks (PNNs) plus a spectral ensemble over feature permutations. Empirical evidence on 52 public datasets demonstrates state-of-the-art performance and robustness to hyperparameter choices, with ablations confirming the importance of variance regularization and permutation-based ensemble components. The approach reduces the need for dataset-specific tuning and provides a scalable, principled framework for density-based anomaly detection with strong practical impact on real-world tabular data.
Abstract
We propose a modified density estimation problem that is highly effective for detecting anomalies in tabular data. Our approach assumes that the density function is relatively stable (with lower variance) around normal samples. We have verified this hypothesis empirically using a wide range of real-world data. Then, we present a variance-stabilized density estimation problem for maximizing the likelihood of the observed samples while minimizing the variance of the density around normal samples. To obtain a reliable anomaly detector, we introduce a spectral ensemble of autoregressive models for learning the variance-stabilized distribution. We have conducted an extensive benchmark with 52 datasets, demonstrating that our method leads to state-of-the-art results while alleviating the need for data-specific hyperparameter tuning. Finally, we have used an ablation study to demonstrate the importance of each of the proposed components, followed by a stability analysis evaluating the robustness of our model.
