Towards Open-World Object-Based Anomaly Detection via Self-Supervised Outlier Synthesis

Brian K. S. Isaac-Medina, Yona Falinie A. Gaus, Neelanjan Bhowmik, Toby P. Breckon

Introduction

Traditional Out-of-Distribution (OoD) detection systems typically operate in a "closed-set" environment, where a model is trained on a fixed set of classes and tasked with identifying anything else as an outlier. However, real-world applications—such as autonomous driving or security screening—require an "open-world" approach. In these scenarios, a predefined list of "normal" classes is often unavailable, and systems must learn to identify anomalies without explicit human labeling.

This paper introduces OLN-SSOS, a framework designed to bridge this gap. By combining class-agnostic object localization with a self-supervised system that synthesizes its own outliers, the model learns to define the "norm" autonomously, enabling robust anomaly detection across diverse imaging modalities.

The OLN-SSOS Framework

The proposed architecture consists of three primary stages that work in tandem to localize and classify objects without relying on semantic labels.

The OLN-SSOS architecture integrates class-agnostic localization with self-supervised clustering and outlier synthesis to define a robust decision boundary for normal objects.
  1. Object Localization Network (OLN): Unlike standard detectors that search for specific categories (e.g., "car"), the OLN is class-agnostic. It is trained to identify any region with high "objectness," ensuring that the system can find potential anomalies that a category-specific detector might ignore.
  2. Unsupervised Pseudo Classification (UPC): To structure the unlabeled data, the model extracts features from detected objects and clusters them using K-means. these clusters serve as "pseudo-classes," grouping objects by visual similarity (e.g., shape or texture) rather than semantic meaning.
  3. Self-Supervised Outlier Synthesis (SSOS): This module fits Gaussian distributions to the pseudo-class features. It then samples "virtual outliers" from the low-probability tails of these distributions. By training a classifier to distinguish between real features and these synthesized outliers, the model learns a tight decision boundary for what constitutes a "normal" object.

Experimental Evaluation

The researchers evaluated OLN-SSOS across a wide range of datasets to test its versatility in different environments:

  • Natural Images: PASCAL-VOC and BDD100K (Berkeley DeepDrive), with MS-COCO subsets serving as anomalous data.
  • Security X-ray: SIXray10 and DBF6 (Durham Baggage Full Image), where the goal is to identify prohibited items like firearms amidst everyday luggage.
  • Infrared: The Long-term Thermal Drift (LTD) dataset, focusing on vehicle detection in thermal signatures.
Qualitative examples of anomaly detection across natural, X-ray, and thermal imaging modalities.

Key Results and Discussion

OLN-SSOS established new state-of-the-art benchmarks across all tested modalities:

  • Performance Gains: The model achieved a 5.4% improvement in average recall for natural images and a significant 23.5% boost on the DBF6 X-ray dataset compared to existing OoD methods.
  • Robustness in Challenging Modalities: In datasets like SIXray10 and LTDImaging, where previous baseline methods (such as VOS or SIREN) often failed completely (0% recall), OLN-SSOS successfully localized and identified anomalies.
  • Metric of Uncertainty: The system utilizes a "Free Energy" score to quantify uncertainty. High energy values indicate that an object lies far from any known pseudo-class cluster, effectively flagging it as an anomaly.
  • Refinement via Segmentation: Experiments with an instance segmentation variant (OLN-Mask) showed that incorporating shape information further improves the model's ability to define the "norm."

Conclusion

OLN-SSOS demonstrates that human-annotated labels are not a prerequisite for effective anomaly detection. By leveraging self-supervised clustering and outlier synthesis, the framework provides a scalable solution for open-world object detection. Future work will focus on dynamic clustering to automatically determine the optimal number of pseudo-classes and optimizing the architecture for real-time deployment on edge devices.

Summary updated

BibTeX
@inproceedings{isaacmedina2024towards,
  author = {Brian K. S. Isaac-Medina and Yona Falinie A. Gaus and Neelanjan Bhowmik and Toby P. Breckon},
  title = {{Towards Open-World Object-Based Anomaly Detection via Self-Supervised Outlier Synthesis}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73209-6\_12},
}
Figure