Abstract
Novelty detection is the process of identifying observations that differ from the training data (the target class). In many real-world scenarios, the novelty class is absent during training, poorly sampled, or ill-defined, making one-class classifiers an efficient choice. However, training end-to-end deep networks for one-class classification is challenging due to the lack of negative samples. This paper proposes an end-to-end adversarial architecture composed of two deep networks that compete and collaborate to model the target class. One network acts as a novelty detector, while the other enhances inlier samples and distorts outliers. This approach significantly improves the separability of normal and novel samples. Evaluated on MNIST, Caltech-256, and UCSD Ped2 datasets, the proposed method outperforms both baseline and state-of-the-art novelty detection techniques.
Introduction
Novelty detection—identifying data points that deviate from the "norm"—is a critical challenge in fields ranging from security surveillance to industrial quality control. The primary hurdle is the inherent unpredictability of the novelty class; while "normal" data (inliers) is often abundant, "novel" data (outliers) is typically unavailable during training. Traditional deep learning models, which rely on labeled examples of both classes to define a decision boundary, struggle in this one-class setting.
Methodology: Collaborative Adversarial Training
The authors introduce a two-module architecture inspired by Generative Adversarial Networks (GANs), consisting of a Reconstructor ($\mathcal{R}$) and a Discriminator/Detector ($\mathcal{D}$).
- Network $\mathcal{R}$ (The Refiner): An encoder-decoder CNN designed to take an input image $X$ and reconstruct it as $X'$. During training, it is fed normal samples corrupted with Gaussian noise. It learns to "denoise" and refine these samples back to the target concept. Because it is trained exclusively on the target class, it fails to reconstruct outliers accurately, effectively distorting or "decimating" them.
- Network $\mathcal{D}$ (The Judge): This network learns to distinguish between original normal samples and the reconstructions produced by $\mathcal{R}$.
In the inference phase, the system uses the score $\mathcal{D}(\mathcal{R}(X))$ for classification. By passing the test sample through $\mathcal{R}$ first, inliers are clarified while outliers are mangled, widening the gap in the scores produced by $\mathcal{D}$ and making detection more robust.
Key Insights: Distortion as a Feature
The core innovation lies in leveraging the failure of the reconstruction network. By forcing $\mathcal{R}$ to be an expert only in the "normal" class, it acts as a filter that clarifies familiar concepts and muddies unfamiliar ones. This "collaborative competition" ensures that $\mathcal{R}$ prepares the data so that $\mathcal{D}$ can make a much more confident judgment.
This mechanism effectively reduces the "reject region"—the area of uncertainty where inliers and outliers overlap in the feature space. As shown in the penguin example above, the score for a reconstructed inlier increases (from 0.75 to 0.85), while the score for a reconstructed outlier decreases significantly (from 0.53 to 0.25).
Experimental Results
The model was evaluated across three distinct domains:
- MNIST: The method maintained a high $F_1$-score (above 0.8) even when outliers comprised 50% of the test set, significantly outperforming traditional methods like Local Outlier Factor (LOF).
- Caltech-256: In object recognition tests, the model achieved an AUC of 0.923, surpassing established methods like R-graph (0.913).
- UCSD Ped2: For video anomaly detection, the model achieved an Equal Error Rate (EER) of 13%. While specialized spatiotemporal models can perform better, this general-purpose framework remains competitive without relying on motion-specific features.
Conclusion
This paper demonstrates that an adversarial approach can effectively bridge the gap in one-class classification. By using a reconstruction network to purposefully distort outliers, the system creates a more distinct decision boundary. Future work may involve refining the subjective stopping criteria for training and incorporating spatiotemporal features to enhance performance in dynamic video environments.
Summary updated