Abstract
One-Class Classification (OCC) is a fundamental task in anomaly and novelty detection, where models are trained exclusively on "normal" data to identify deviations. Traditional methods like One-Class SVMs often struggle with scalability, while deep learning approaches like Autoencoders and Deep SVDD are computationally intensive. This paper introduces FROCC (Fast Random projection-based One-Class Classification), a highly efficient algorithm that leverages random projections and 1D interval splitting. By focusing on boundary preservation rather than exact distance preservation, FROCC achieves state-of-the-art accuracy—particularly on high-dimensional data—while being up to 68x faster than deep learning baselines.
Introduction
One-Class Classification (OCC) is critical for applications such as fraud detection, network intrusion monitoring, and novelty detection. Existing approaches typically fall into two categories: shallow methods (e.g., OC-SVMs) that struggle to scale to large datasets, and deep learning methods (e.g., Deep SVDD) that require significant computational resources and GPU acceleration.
The authors identify a conceptual bottleneck in existing methods: many dimensionality reduction techniques rely on preserving exact distances between points (e.g., the Johnson-Lindenstrauss lemma). However, for OCC, distance preservation is unnecessary; one only needs to determine if a point lies within or outside the "normal" boundary. By focusing solely on boundary preservation, FROCC offers a radically simpler and faster alternative.
Methodology
FROCC relies on a geometric intuition centered on random projections and interval analysis. The process follows four primary steps:
- Random Projections: Select $m$ random unit vectors from a unit sphere to serve as projection directions.
- 1D Envelopes: Project all normal training data onto each of these vectors.
- Interval Splitting: For each vector, analyze the spread of projected points. If the gap between two points exceeds a threshold $\varepsilon$, the interval is split. This creates a set of dense 1D clusters for each direction.
- Testing: A new test point is projected onto the same $m$ vectors. It is classified as "normal" only if its projection falls within the valid intervals for all $m$ vectors. If it falls outside on any single vector, it is flagged as an outlier.
FROCC can model complex, multi-modal distributions and supports the "kernel trick" (e.g., RBF or polynomial kernels) by replacing standard dot products during projection, allowing it to capture non-linear boundaries effectively.
Experimental Evaluation
The authors evaluated FROCC across 11 benchmark datasets, categorized by dimensionality. Group A (low-dimensional) included datasets like Diabetes and MAGIC Telescope, while Group B (high-dimensional, >100 features) included MNIST, CIFAR-10, and network attack data.
Key Results
- Accuracy: FROCC outperformed state-of-the-art baselines (OC-SVM, Isolation Forest, Deep SVDD) in ROC AUC on 6 out of 11 datasets, showing particular dominance in high-dimensional scenarios (Group B).
- Efficiency: FROCC achieved a 1.2x to 16x speedup over shallow baselines and a staggering 45x to 68x speedup over deep learning models. Notably, these speeds are achieved on a CPU without requiring GPU acceleration.
- Theoretical Foundations: The authors proved that the probability of misclassifying an outlier as normal decays exponentially as the number of random projection dimensions ($m$) increases.
Conclusion
FROCC demonstrates that high-performance anomaly detection does not require complex optimization or expensive neural architectures. By reducing the problem to 1D interval checks across random projections, it provides a scalable, hardware-efficient solution for real-time applications. Future work will explore extending FROCC to imbalanced multi-class tasks and deploying it in large-scale network security environments.
Summary updated