Skip to main content
QUICK REVIEW

[Paper Review] Constrained Contrastive Distribution Learning for Unsupervised Anomaly Detection and Localisation in Medical Images

Yu Tian, Guansong Pang|arXiv (Cornell University)|Mar 5, 2021
Anomaly Detection Techniques and ApplicationsComputer Science48 references5 citations
TL;DR

This paper proposes Constrained Contrastive Distribution Learning (CCD), a self-supervised representation learning method for unsupervised anomaly detection and localization in medical images. By jointly optimizing contrastive distribution learning with pretext constraints on augmentation and patch location, CCD learns fine-grained normality representations that significantly improve detection of subtle lesions, achieving state-of-the-art AUC scores of 97.2% on Hyper-Kvasir and outperforming prior SOTA methods across three medical imaging benchmarks.

ABSTRACT

Unsupervised anomaly detection (UAD) learns one-class classifiers exclusively with normal (i.e., healthy) images to detect any abnormal (i.e., unhealthy) samples that do not conform to the expected normal patterns. UAD has two main advantages over its fully supervised counterpart. Firstly, it is able to directly leverage large datasets available from health screening programs that contain mostly normal image samples, avoiding the costly manual labelling of abnormal samples and the subsequent issues involved in training with extremely class-imbalanced data. Further, UAD approaches can potentially detect and localise any type of lesions that deviate from the normal patterns. One significant challenge faced by UAD methods is how to learn effective low-dimensional image representations to detect and localise subtle abnormalities, generally consisting of small lesions. To address this challenge, we propose a novel self-supervised representation learning method, called Constrained Contrastive Distribution learning for anomaly detection (CCD), which learns fine-grained feature representations by simultaneously predicting the distribution of augmented data and image contexts using contrastive learning with pretext constraints. The learned representations can be leveraged to train more anomaly-sensitive detection models. Extensive experiment results show that our method outperforms current state-of-the-art UAD approaches on three different colonoscopy and fundus screening datasets. Our code is available at https://github.com/tianyu0207/CCD.

Motivation & Objective

  • To address the challenge of detecting subtle abnormalities in medical images using only normal training data.
  • To improve self-supervised representation learning for unsupervised anomaly detection (UAD) by designing pretext tasks tailored to anomaly detection.
  • To learn discriminative, fine-grained normality representations that are sensitive to small lesions.
  • To develop a pre-training method that enhances diverse downstream UAD models without requiring architectural changes.
  • To achieve state-of-the-art performance in both anomaly detection and localization across multiple medical imaging datasets.

Proposed method

  • CCD uses contrastive distribution learning to compare strongly augmented views of normal images, encouraging the model to learn a discriminative distribution of normal patterns.
  • It introduces two pretext constraints: (1) predicting the type of data augmentation applied to an image, and (2) predicting the spatial location of image patches after shuffling.
  • The method jointly optimizes three losses: contrastive distribution loss, augmentation prediction loss, and patch position prediction loss.
  • The framework is pre-trained on normal images only, and the learned features are fine-tuned with downstream UAD models such as IGD, F-anoGAN, and MS-SSIM.
  • The approach is agnostic to the downstream anomaly detector, enabling transfer to various UAD architectures.
  • During inference, the pre-trained features are used to reconstruct or reconstruct and detect anomalies based on reconstruction error or anomaly scores.

Experimental results

Research questions

  • RQ1Can contrastive distribution learning with pretext constraints improve self-supervised representation learning for detecting subtle abnormalities in medical images?
  • RQ2Does jointly optimizing for augmentation type prediction and patch location prediction lead to more discriminative normality representations than standard contrastive learning?
  • RQ3Can the proposed self-supervised pre-training method achieve state-of-the-art performance across diverse unsupervised anomaly detection models and datasets?
  • RQ4How does the performance of the proposed method compare to fully supervised and prior unsupervised methods in terms of AUC and localization IoU?
  • RQ5To what extent does the absence of abnormal data during pre-training affect detection performance compared to fully supervised baselines?

Key findings

  • CCD achieves a state-of-the-art AUC of 97.2% on the Hyper-Kvasir colonoscopy dataset when used with the IGD anomaly detector, outperforming prior SOTA methods.
  • The ablation study shows that adding the distribution contrastive loss improves AUC by 2.4% over standard contrastive learning, with additional gains of 2.7% and 0.8% from the two pretext constraints.
  • On Liu et al.’s colonoscopy dataset, the method improves the baseline AUC by 12.2% when combined with the IGD detector.
  • On the LAG fundus imaging dataset, the method improves the baseline AUC by 7.8% using the IGD detector and achieves 87.4% AUC.
  • In anomaly localization, the method achieves a mean IoU of 0.372 on Hyper-Kvasir, outperforming the SOTA CAVGA-Ru method by over 3%.
  • Even without using any abnormal data during pre-training, the method loses only 0.3–0.4 IoU in localization compared to fully supervised U-Net-based models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.