mlsanityData to 7 Oct 2026

Binary Noise for Binary Tasks: Masked Bernoulli Diffusion for Unsupervised Anomaly Detection

arXiv 2403.11667 ↗First posted 18 Mar 2024cs.CV eess.IVcited by 7

On the map: Diffusion models → Flow matching, time series and science

Abstract (arXiv)

The high performance of denoising diffusion models for image generation has paved the way for their application in unsupervised medical anomaly detection. As diffusion-based methods require a lot of GPU memory and have long sampling times, we present a novel and fast unsupervised anomaly detection approach based on latent Bernoulli diffusion models. We first apply an autoencoder to compress the input images into a binary latent representation. Next, a diffusion model that follows a Bernoulli noise schedule is employed to this latent space and trained to restore binary latent representations from perturbed ones. The binary nature of this diffusion model allows us to identify entries in the latent space that have a high probability of flipping their binary code during the denoising process, which indicates out-of-distribution data. We propose a masking algorithm based on these probabilities, which improves the anomaly detection scores. We achieve state-of-the-art performance compared to other diffusion-based unsupervised anomaly detection algorithms while significantly reducing sampling time and memory consumption. The code is available at https://github.com/JuliaWolleb/Anomaly_berdiff.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 23 of its 31 references that are in the map. First posted on arXiv 18 Mar 2024.

Builds on

23 of 31 references.

References · 23

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  3. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  4. 2019An Introduction to Variational Autoencoderscited by 997
  5. 2018Identifying the Best Machine Learning Algorithms for Brain Tumor Segmentation, Progression Assessment, and Overall Survival Prediction in the BRATS Challengecited by 508
  6. 2022Diffusion Models for Medical Anomaly Detectioncited by 231
  7. 2017Towards Accurate Binary Convolutional Neural Networkcited by 148
  8. 2022Fast Unsupervised Brain Anomaly Detection and Segmentation with Diffusion Modelscited by 96
  9. 2019Unsupervised Anomaly Localization using Variational Auto-Encoderscited by 73
  10. 2022What is Healthy? Generative Counterfactual Diffusion for Lesion Localizationcited by 52
  11. 2023Mask, Stitch, and Re-Sample: Enhancing Robustness and Generalizability in Anomaly Detection through Automatic Diffusion Modelscited by 48
  12. 2020Anomaly detection through latent space restoration using vector-quantized variational autoencoderscited by 45
11 more
  1. 2023Patched Diffusion Models for Unsupervised Anomaly Detection in Brain MRIcited by 45
  2. 2023BerDiff: Conditional Bernoulli Diffusion Model for Medical Image Segmentationcited by 27
  3. 2023Unsupervised Anomaly Detection in Medical Images Using Masked Diffusion Modelcited by 25
  4. 2021Challenging Current Semi-Supervised Anomaly Segmentation Methods for Brain MRIcited by 23
  5. 2023The role of noise in denoising models for anomaly detection in medical imagescited by 23
  6. 2023Binary Latent Diffusioncited by 18
  7. 2023Modality Cycles with Masked Conditional Diffusion for Unsupervised Anomaly Segmentation in MRIcited by 12
  8. 2023DISYRE: Diffusion-Inspired SYnthetic REstoration for Unsupervised Anomaly Detectioncited by 8
  9. 2023Achieving state-of-the-art performance in the Medical Out-of-Distribution (MOOD) challenge using plausible synthetic anomaliescited by 5
  10. 2023Histogram- and Diffusion-Based Medical Out-of-Distribution Detectioncited by 2
  11. 2023Position Regression for Unsupervised Anomaly Detectioncited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 1; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Dynamic Addition of Noise in a Diffusion Model for Anomaly Detection
  2. 2024GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection
  3. 2025Correcting Deviations from Normality: A Reformulated Diffusion Model for Multi-Class Unsupervised Anomaly Detection
  4. 2025MAD-AD: Masked Diffusion for Unsupervised Brain Anomaly Detection
  5. 2023DiffusionAD: Norm-guided One-step Denoising Diffusion for Anomaly Detection
  6. 2023Diffusion Noise Feature: Accurate and Fast Generated Image Detection
  7. 2024Anomaly detection using Diffusion-based methods
  8. 2024Synomaly Noise and Multi-Stage Diffusion: A Novel Approach for Unsupervised Anomaly Detection in Medical Images