[Paper Review] Anomaly Detection With Multiple-Hypotheses Predictions
This paper proposes ConAD, a multiple-hypotheses variational autoencoder with a discriminator to improve anomaly detection by modeling complex, multi-modal data distributions more accurately than single-hypothesis models. By enforcing consistency and diversity across hypotheses via adversarial training, ConAD achieves up to 3.9% higher AUROC on CIFAR-10 and reduces error from 6.8% to 1.5% on a real-world anomaly detection task.
In one-class-learning tasks, only the normal case (foreground) can be modeled with data, whereas the variation of all possible anomalies is too erratic to be described by samples. Thus, due to the lack of representative data, the wide-spread discriminative approaches cannot cover such learning tasks, and rather generative models, which attempt to learn the input density of the foreground, are used. However, generative models suffer from a large input dimensionality (as in images) and are typically inefficient learners. We propose to learn the data distribution of the foreground more efficiently with a multi-hypotheses autoencoder. Moreover, the model is criticized by a discriminator, which prevents artificial data modes not supported by data, and enforces diversity across hypotheses. Our multiple-hypothesesbased anomaly detection framework allows the reliable identification of out-of-distribution samples. For anomaly detection on CIFAR-10, it yields up to 3.9% points improvement over previously reported results. On a real anomaly detection task, the approach reduces the error of the baseline models from 6.8% to 1.5%.
Motivation & Objective
- Address the challenge of one-class anomaly detection where abnormal samples are rare or undefined, making discriminative models ineffective.
- Overcome the limitations of standard autoencoders in high-dimensional data like images, which produce blurry reconstructions that falsely appear normal.
- Improve generative modeling of normal data distributions by capturing multi-modal structure through multiple hypotheses instead of a single mean prediction.
- Prevent mode collapse and artificial data mode support in multi-hypothesis networks by introducing a discriminator as a critic to enforce consistency with real data.
- Develop a scalable, robust framework that maintains high performance even with increasing numbers of hypotheses, reducing sensitivity to hyperparameter choices.
Proposed method
- Use a multi-headed decoder in a variational autoencoder to generate multiple hypothesis reconstructions, each representing a different mode of the data distribution.
- Train the model with a winner-takes-all (WTA) loss to assign learning signals to the best hypothesis, but introduce a discriminator to penalize inconsistent or unrealistic hypotheses.
- Introduce a discriminator D that evaluates the realism of each hypothesis reconstruction, encouraging diversity and consistency with the true data distribution.
- Use the likelihood of the closest hypothesis to the input as the anomaly score, enabling fine-grained detection of out-of-distribution samples.
- Apply a residual-based anomaly scoring strategy that sums the top 10% of highest-residual pixels to reduce noise from high-dimensional input space.
- Combine the VAE's latent space modeling with adversarial training to stabilize learning and prevent the model from generating artificial data modes.
Experimental results
Research questions
- RQ1Can multiple-hypotheses networks improve the modeling of complex, multi-modal data distributions in one-class anomaly detection compared to single-hypothesis models?
- RQ2How does adversarial training with a discriminator affect the consistency and diversity of multiple hypotheses in autoencoder-based anomaly detection?
- RQ3Does the proposed framework remain robust and performant when the number of hypotheses increases, especially in high-dimensional image spaces?
- RQ4Can the framework reliably detect subtle anomalies by focusing on local neighborhood similarity across multiple hypothesis reconstructions?
- RQ5To what extent does the discriminator reduce performance degradation caused by mode collapse and artificial data mode generation in multi-hypothesis networks?
Key findings
- ConAD achieves up to a 3.9% absolute improvement in AUROC on the CIFAR-10 anomaly detection benchmark compared to previously reported results.
- On a real-world metal anomaly detection dataset, ConAD reduces the error rate from 6.8% (baseline) to 1.5%, demonstrating strong practical performance.
- The model maintains high performance even with up to 8 hypotheses, while standard MHP and MDN-based models suffer from rapid performance degradation as the number of hypotheses increases.
- ConAD exhibits significantly lower standard deviation in performance (e.g., 0.1–0.5 AUROC) compared to baseline models (up to ±3.5), indicating greater training stability.
- The inclusion of the discriminator D prevents artificial data mode generation and reduces sensitivity to the number of hypotheses, making the framework more robust and adaptable.
- The framework outperforms both standard MHP and MDN-based models, even in high-dimensional image spaces where MDN typically underperforms due to mode collapse.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.