mlsanityData to 14 Oct 2026

On the Pitfalls of Using the Residual Error as Anomaly Score

arXiv 2202.03826 ↗First posted 8 Feb 2022eess.IV cs.CVcited by 11

Not on the map. Why?

Abstract (arXiv)

Many current state-of-the-art methods for anomaly localization in medical images rely on calculating a residual image between a potentially anomalous input image and its "healthy" reconstruction. As the reconstruction of the unseen anomalous region should be erroneous, this yields large residuals as a score to detect anomalies in medical images. However, this assumption does not take into account residuals resulting from imperfect reconstructions of the machine learning models used. Such errors can easily overshadow residuals of interest and therefore strongly question the use of residual images as scoring function. Our work explores this fundamental problem of residual images in detail. We theoretically define the problem and thoroughly evaluate the influence of intensity and texture of anomalies against the effect of imperfect reconstructions in a series of experiments. Code and experiments are available under https://github.com/FeliMe/residual-score-pitfalls

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 18 of its 29 references that are in the map. First posted on arXiv 8 Feb 2022.

Builds on

18 of 29 references.

References · 18

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,387
  3. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  4. 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
  5. 2020Autoencoders for Unsupervised Anomaly Segmentation in Brain MR Images: A Comparative Studycited by 147
  6. 2018Deep Autoencoding Models for Unsupervised Anomaly Segmentation in Brain MR Imagescited by 146
  7. 2019Standardized Assessment of Automatic Segmentation of White Matter Hyperintensities and Results of the WMH Segmentation Challengecited by 115
  8. 2018Unsupervised Detection of Lesions in Brain MRI using constrained adversarial auto-encoderscited by 83
  9. 2019Unsupervised Anomaly Localization using Variational Auto-Encoderscited by 73
  10. 2020Unsupervised Lesion Detection via Image Restoration with a Normative Priorcited by 65
  11. 2021Constrained Contrastive Distribution Learning for Unsupervised Anomaly Detection and Localisation in Medical Imagescited by 45
  12. 2020Detecting Outliers with Foreign Patch Interpolationcited by 44
6 more
  1. 2021Detecting Outliers with Poisson Image Interpolationcited by 44
  2. 2021Unsupervised Brain Anomaly Detection and Segmentation with Transformerscited by 34
  3. 2021Challenging Current Semi-Supervised Anomaly Segmentation Methods for Brain MRIcited by 23
  4. 2020Scale-Space Autoencoders for Unsupervised Anomaly Segmentation in Brain MRIcited by 22
  5. 2018Unsupervised brain lesion segmentation from MRI using a convolutional autoencodercited by 17
  6. 2021Patch vs. Global Image-Based Unsupervised Anomaly Detection in MR Brain Scans of Early Parkinsonian Patientscited by 5

Built on by

Cited by year (2026 to 14 Oct)

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

11 papers.