Mixture Prototype Flow Matching for Open-Set Supervised Anomaly Detection
Fuyun Wang, Yuanzhi Wang, Xu Guo, Sujia Huang, Tong Zhang, Dan Wang, Hui Yan, Xin Liu, Zhen Cui
Abstract
Open-set supervised anomaly detection (OSAD) aims to identify unseen anomalies using limited anomalous supervision. However, existing prototype-based methods typically model normal data via a unimodal Gaussian prior, failing to capture inherent multi-modality and resulting in blurred decision boundaries. To address this, we propose Mixture Prototype Flow Matching (MPFM), a framework that learns a continuous transformation from normal feature distributions to a structured Gaussian mixture prototype space. Departing from traditional flow-based approaches that rely on a single velocity vector, MPFM explicitly models the velocity field as a Gaussian mixture prior where each component corresponds to a distinct normal class. This design facilitates mode-aware and semantically coherent distribution transport. Furthermore, we introduce a Mutual Information Maximization Regularizer (MIMR) to prevent prototype collapse and maximize normal-anomaly separability. Extensive experiments demonstrate that MPFM achieves state-of-the-art performance across diverse benchmarks under both single-and multianomaly settings. Code is available at https: //github.com/fuyunwang/MPFM-OSAD .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on18
- CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
- Scaling Rectified Flow Transformers for High-Resolution Image SynthesisPatrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari et al.ICML 2024 · 3,620 citations
- InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image GenerationXingchao Liu, Xiwen Zhang, Jianzhu Ma, Jian Peng et al.ICLR 2024 · 358 citations
- AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion ModelTeng Hu, Jiangning Zhang, Ran Yi, Yuzhen Du et al.AAAI 2024 · 175 citations
- Catching Both Gray and Black Swans: Open-set Supervised Anomaly DetectionChoubo Ding, Guansong Pang, Chunhua ShenCVPR 2022 · 163 citations
Related papers
- GPFlow: Gaussian Prototype Probability Flow for Unsupervised Multi-Modal Anomaly DetectionYiting Li, Xulei Yang, Jingyi Liao, Jing Zhang et al.CVPR 2026
- Distribution Prototype Diffusion Learning for Open-set Supervised Anomaly DetectionFuyun Wang, Tong Zhang, Yuanzhi Wang, Yide Qiu et al.CVPR 2025
- MPFM: Cross Multi-Domain Prototype Flow Matching for Log Anomaly DetectionJing Zhang, Chao LuoICML 2026
- Anomaly Heterogeneity Learning for Open-Set Supervised Anomaly DetectionJiawen Zhu, Choubo Ding, Yu Tian, Guansong PangCVPR 2024 · 28 citations
- Prototype-oriented unsupervised anomaly detection for multivariate time seriesYuxin Li, Wenchao Chen, Bo Chen, Dongsheng Wang et al.ICML 2023 · 31 citations
