TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/ContextFlow++: Generalist-Specialist Flow-based Generative...

ContextFlow++: Generalist-Specialist Flow-based Generative Models with Mixed-Variable Context Encoding

Denis Gudovskiy, Tomoyuki Okuno, Yohei Nakata

2024-06-02Rotated MNISTDensity EstimationUnsupervised Anomaly DetectionAnomaly DetectionTime Series Anomaly DetectionGeneral Knowledge
PaperPDFCode(official)

Abstract

Normalizing flow-based generative models have been widely used in applications where the exact density estimation is of major importance. Recent research proposes numerous methods to improve their expressivity. However, conditioning on a context is largely overlooked area in the bijective flow research. Conventional conditioning with the vector concatenation is limited to only a few flow types. More importantly, this approach cannot support a practical setup where a set of context-conditioned (specialist) models are trained with the fixed pretrained general-knowledge (generalist) model. We propose ContextFlow++ approach to overcome these limitations using an additive conditioning with explicit generalist-specialist knowledge decoupling. Furthermore, we support discrete contexts by the proposed mixed-variable architecture with context encoders. Particularly, our context encoder for discrete variables is a surjective flow from which the context-conditioned continuous variables are sampled. Our experiments on rotated MNIST-R, corrupted CIFAR-10C, real-world ATM predictive maintenance and SMAP unsupervised anomaly detection benchmarks show that the proposed ContextFlow++ offers faster stable training and achieves higher performance metrics. Our code is publicly available at https://github.com/gudovskiy/contextflow.

Results

TaskDatasetMetricValueModel
Anomaly DetectionSMAPAUC98.66ContextFlow++ (Glow-based)
Anomaly DetectionSMAPF193.62ContextFlow++ (Glow-based)
Anomaly DetectionSMAPPrecision88.64ContextFlow++ (Glow-based)
Anomaly DetectionSMAPRecall99.19ContextFlow++ (Glow-based)
Unsupervised Anomaly DetectionSMAPAUC98.66ContextFlow++ (Glow-based)
Unsupervised Anomaly DetectionSMAPF193.62ContextFlow++ (Glow-based)
Unsupervised Anomaly DetectionSMAPPrecision88.64ContextFlow++ (Glow-based)
Unsupervised Anomaly DetectionSMAPRecall99.19ContextFlow++ (Glow-based)

Related Papers

Missing value imputation with adversarial random forests -- MissARF2025-07-21Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-213DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17A Privacy-Preserving Framework for Advertising Personalization Incorporating Federated Learning and Differential Privacy2025-07-16PROL : Rehearsal Free Continual Learning in Streaming Data via Prompt Online Learning2025-07-163C-FBI: A Combinatorial method using Convolutions for Circle Fitting in Blurry Images2025-07-15Bridge Feature Matching and Cross-Modal Alignment with Mutual-filtering for Zero-shot Anomaly Detection2025-07-15