Abstract
FlowSVDD is a novel anomaly detection framework that integrates the Support Vector Data Description (SVDD) principle with deep Normalizing Flows. By utilizing the bijective nature of flow-based models, FlowSVDD structurally prevents "hypersphere collapse"—a common failure mode in deep SVDD implementations where the network maps all inputs to a single point. This approach allows for high expressive power without the need for architectural constraints like removing bias terms. Experimental results on benchmark datasets, including Thyroid, KDDCUP, and image datasets, demonstrate that FlowSVDD achieves state-of-the-art performance and greater stability compared to previous deep SVDD methods.
Introduction
Anomaly detection is the task of identifying data points that deviate significantly from the norm. A foundational method in this field is SVDD, which seeks the smallest hypersphere in a feature space that encloses the normal training data. While extending SVDD to deep learning (Deep SVDD) promised better feature representation, it introduced the "hypersphere collapse" problem. Standard neural networks can easily find a trivial solution by mapping all inputs to the center of the sphere, rendering the model useless. Previous attempts to mitigate this required stripping networks of essential components, which limited their capacity.
Methods
FlowSVDD addresses the collapse problem by replacing standard neural networks with Normalizing Flows, specifically the NICE architecture.
Invertibility as a Structural Constraint
Normalizing flows are bijective mappings. This topological property ensures that the network cannot map two distinct points to the same location. Consequently, hypersphere collapse is physically impossible, allowing the model to retain its full expressive power.
Volume Minimization and Jacobian Integration
The SVDD cost function is redefined to include the Jacobian determinant of the transformation. This ensures that minimizing the volume of the hypersphere in the latent space corresponds to finding a tight bounding region in the original input space. Unlike standard flow models that maximize log-likelihood to map data to a Gaussian distribution, FlowSVDD focuses on volume minimization, enabling it to find tight boundaries regardless of the underlying data distribution.
Key Results
The performance of FlowSVDD was evaluated against several benchmarks. On the Thyroid medical dataset, FlowSVDD achieved an AUC of 0.9797, a significant improvement over the 0.749 reported for the original Deep SVDD. Similar gains were observed on the KDDCUP network intrusion dataset.
On image tasks (MNIST and Fashion-MNIST), FlowSVDD outperformed Deep SVDD and remained competitive with state-of-the-art methods like Geometric Transformations (GT) and Latent Space Autoregression (LSA). Notably, the method proved more stable and easier to implement, as it avoids the architectural "tricks" required by standard Deep SVDD.
Discussion and Conclusion
FlowSVDD demonstrates that the hypersphere collapse problem is fundamentally topological and can be solved through the use of invertible mappings. Beyond performance, the model offers interpretability: samples mapped near the center of the hypersphere represent "prototypical" examples, while those near the boundary are often ambiguous or noisy.
Future work may explore more complex flow architectures beyond NICE and address hyperparameter sensitivity regarding the expected outlier fraction ($\nu$). Despite these areas for growth, FlowSVDD represents a significant step forward in robust, boundary-based anomaly detection.
Summary updated