FlowCLAS: Enhancing Normalizing Flow Via Contrastive Learning For Anomaly Segmentation
Chang Won Lee, Selina Leveugle, Svetlana Stolpner, Chris Langley, Paul Grouchy, Jonathan Kelly, Steven L. Waslander
TL;DR
FlowCLAS addresses scene-level anomaly segmentation under limited labeled data by fusing frozen vision foundation model features with a normalizing flow that models feature density. It introduces Outlier Exposure via pseudo-outliers and latent-space contrastive learning to explicitly separate inliers and outliers in the flow latent space, enabling probabilistic anomaly maps without pixel-level labels. The method achieves state-of-the-art results on ALLO space anomaly segmentation and competitive performance on road anomaly benchmarks, highlighting strong cross-domain generalization and interpretability through exact likelihood maps. Overall, FlowCLAS offers a scalable, domain-agnostic approach that leverages rich pre-trained features while avoiding costly fine-tuning, making it suitable for safety-critical robotics applications.
Abstract
Anomaly segmentation is a valuable computer vision task for safety-critical applications that need to be aware of unexpected events. Current state-of-the-art (SOTA) scene-level anomaly segmentation approaches rely on diverse inlier class labels during training, limiting their ability to leverage vast unlabeled datasets and pre-trained vision encoders. These methods may underperform in domains with reduced color diversity and limited object classes. Conversely, existing unsupervised methods struggle with anomaly segmentation with the diverse scenes of less restricted domains. To address these challenges, we introduce FlowCLAS, a novel self-supervised framework that utilizes vision foundation models to extract rich features and employs a normalizing flow network to learn their density distribution. We enhance the model's discriminative power by incorporating Outlier Exposure and contrastive learning in the latent space. FlowCLAS significantly outperforms all existing methods on the ALLO anomaly segmentation benchmark for space robotics and demonstrates competitive results on multiple road anomaly segmentation benchmarks for autonomous driving, including Fishyscapes Lost&Found and Road Anomaly. These results highlight FlowCLAS's effectiveness in addressing the unique challenges of space anomaly segmentation while retaining SOTA performance in the autonomous driving domain without reliance on inlier segmentation labels.
