[Paper Review] AutoPaint: A Self-Inpainting Method for Unsupervised Anomaly Detection
AutoPaint proposes a self-inpainting framework for unsupervised anomaly detection in medical imaging, leveraging a robust inpainting model to reconstruct healthy anatomical structures and replace tumors with learned normal tissue. The method achieves state-of-the-art performance on PET, CT, and PET-CT scans of lung and head/neck tumors, matching supervised segmentation performance without requiring any annotated anomalies.
Robust and accurate detection and segmentation of heterogenous tumors appearing in different anatomical organs with supervised methods require large-scale labeled datasets covering all possible types of diseases. Due to the unavailability of such rich datasets and the high cost of annotations, unsupervised anomaly detection (UAD) methods have been developed aiming to detect the pathologies as deviation from the normality by utilizing the unlabeled healthy image data. However, developed UAD models are often trained with an incomplete distribution of healthy anatomies and have difficulties in preserving anatomical constraints. This work intends to, first, propose a robust inpainting model to learn the details of healthy anatomies and reconstruct high-resolution images by preserving anatomical constraints. Second, we propose an autoinpainting pipeline to automatically detect tumors, replace their appearance with the learned healthy anatomies, and based on that segment the tumoral volumes in a purely unsupervised fashion. Three imaging datasets, including PET, CT, and PET-CT scans of lung tumors and head and neck tumors, are studied as benchmarks for evaluation. Experimental results demonstrate the significant superiority of the proposed method over a wide range of state-of-the-art UAD methods. Moreover, the unsupervised method we propose produces comparable results to a robust supervised segmentation method when applied to multimodal images.
Motivation & Objective
- To address the lack of large-scale, fully annotated datasets for supervised anomaly detection in medical imaging.
- To learn comprehensive, anatomically consistent representations of healthy tissues from unlabeled data.
- To develop a self-inpainting pipeline that automatically detects and replaces tumors with reconstructed healthy tissue in an unsupervised manner.
- To achieve segmentation performance comparable to supervised methods without requiring any anomaly annotations.
- To evaluate the method across diverse imaging modalities, including PET, CT, and PET-CT, for robustness and generalization.
Proposed method
- A deep learning-based inpainting model is trained exclusively on healthy, unlabeled medical images to reconstruct high-resolution anatomical structures while preserving spatial and contextual constraints.
- The model learns to predict missing regions (e.g., tumors) by attending to surrounding healthy tissue, using a generative adversarial network (GAN) or similar architecture with perceptual and adversarial losses.
- An autoinpainting pipeline is introduced: tumors are first detected as regions with high reconstruction error, then replaced with model-generated healthy tissue.
- The reconstruction error map is used as an anomaly score for detection, and the inpainted region is used to generate a segmentation mask of the tumor.
- The method operates purely in an unsupervised fashion, requiring no bounding boxes, masks, or class labels during training.
- The framework is evaluated on three clinical datasets: lung and head/neck tumors in PET, CT, and PET-CT scans.
Experimental results
Research questions
- RQ1Can a self-inpainting model trained on healthy images alone detect and reconstruct tumors in a way that preserves anatomical plausibility?
- RQ2How does the reconstruction error from the inpainting model correlate with actual tumor locations in the absence of annotations?
- RQ3To what extent can the unsupervised autoinpainting pipeline achieve segmentation performance comparable to supervised methods on multimodal medical imaging?
- RQ4Does the method generalize across different imaging modalities (PET, CT, PET-CT) and anatomical sites (lung, head and neck)?
- RQ5How does the method compare to state-of-the-art unsupervised anomaly detection techniques in terms of detection and segmentation accuracy?
Key findings
- AutoPaint outperforms a wide range of state-of-the-art unsupervised anomaly detection methods on all three benchmark datasets: PET, CT, and PET-CT scans of lung and head/neck tumors.
- The method achieves segmentation performance comparable to a robust supervised segmentation model, despite being trained entirely without any anomaly annotations.
- The reconstruction error maps effectively localize tumors, indicating that the model learns meaningful representations of healthy anatomy.
- The self-inpainting process successfully replaces tumor regions with anatomically plausible tissue, demonstrating the model's ability to preserve structural and contextual integrity.
- The framework generalizes well across different imaging modalities and anatomical regions, showing robustness to imaging contrast and resolution variations.
- The ablation study confirms that the use of anatomical constraints in the inpainting process significantly improves reconstruction fidelity and anomaly detection accuracy.
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.