Skip to main content
QUICK REVIEW

[Paper Review] Self-Supervised Out-of-Distribution Detection in Brain CT Scans

Abinav Ravi Venkatakrishnan, Seong Tae Kim|arXiv (Cornell University)|Nov 10, 2020
Anomaly Detection Techniques and ApplicationsComputer Science15 references7 citations
TL;DR

This paper proposes a self-supervised anomaly detection framework for brain CT scans that combines reconstruction-based autoencoding with geometric transformation prediction to improve out-of-distribution detection. By pretraining on context restoration and jointly optimizing for reconstruction and spatial transformation prediction, the method achieves state-of-the-art AUROC (0.822) and AUPR (0.868) on clinical data, outperforming prior unsupervised methods.

ABSTRACT

Medical imaging data suffers from the limited availability of annotation because annotating 3D medical data is a time-consuming and expensive task. Moreover, even if the annotation is available, supervised learning-based approaches suffer highly imbalanced data. Most of the scans during the screening are from normal subjects, but there are also large variations in abnormal cases. To address these issues, recently, unsupervised deep anomaly detection methods that train the model on large-sized normal scans and detect abnormal scans by calculating reconstruction error have been reported. In this paper, we propose a novel self-supervised learning technique for anomaly detection. Our architecture largely consists of two parts: 1) Reconstruction and 2) predicting geometric transformations. By training the network to predict geometric transformations, the model could learn better image features and distribution of normal scans. In the test time, the geometric transformation predictor can assign the anomaly score by calculating the error between geometric transformation and prediction. Moreover, we further use self-supervised learning with context restoration for pretraining our model. By comparative experiments on clinical brain CT scans, the effectiveness of the proposed method has been verified.

Motivation & Objective

  • Address the challenge of limited annotated 3D medical imaging data and class imbalance in clinical scans, where normal cases vastly outnumber abnormal ones.
  • Develop a self-supervised anomaly detection method that avoids reliance on expensive manual annotations by leveraging inherent data structure.
  • Improve detection performance by combining local reconstruction error with global geometric transformation prediction to capture both fine-grained and contextual features.
  • Verify the effectiveness of the method on real clinical brain CT scans with diverse abnormal cases.

Proposed method

  • Pretrain the model using context restoration: swap patches in input images and train a VAE to reconstruct the original, learning generalizable features from healthy scans.
  • Introduce a multi-task learning framework with two heads: one for image reconstruction (VAE) and one for predicting applied geometric transformations (rotation/translation).
  • Train the geometric transformation head using cross-entropy loss to predict the applied transformation from a set of possible transformations (0°, 90°, 180°, 270°, and ±1/8th translation).
  • Combine anomaly scores from both heads via normalized weighted averaging with hyperparameter λ = 0.5, where reconstruction score is scaled by α and geometric prediction score is averaged over possible transformations.
  • Use a shared encoder for both tasks, enabling feature learning that benefits both reconstruction and transformation prediction.
  • Apply the model at test time to assign anomaly scores based on reconstruction error and transformation prediction error, with higher error indicating higher likelihood of being out-of-distribution.

Experimental results

Research questions

  • RQ1Can self-supervised pretraining via context restoration improve feature learning for anomaly detection in brain CT scans?
  • RQ2Does jointly training on reconstruction and geometric transformation prediction enhance detection performance compared to single-task approaches?
  • RQ3How does the integration of local (reconstruction) and global (transformation prediction) anomaly signals affect detection accuracy?
  • RQ4What is the trade-off between classification performance and segmentation localization in the proposed multi-task framework?

Key findings

  • The proposed multi-task framework achieved an AUROC of 0.822 and AUPR of 0.868, significantly outperforming prior methods such as VAE (AUROC: 0.668) and Context-encoding VAE (AUROC: 0.766).
  • Pretraining with context restoration improved performance over standard VAE, increasing AUROC from 0.668 to 0.673 and AUPR from 0.704 to 0.772.
  • The model with only reconstruction loss after pretraining (VAE with Pretraining) showed improved performance over baseline VAE, confirming the benefit of self-supervised pretraining.
  • Despite improved classification, the segmentation performance (DSC: 0.086 ± 0.024) was slightly worse than other methods, indicating a trade-off between detection and localization.
  • The geometric transformation head contributed meaningfully to anomaly detection, as its prediction error provided a robust global anomaly signal complementary to local reconstruction error.
  • The method demonstrated strong generalization on diverse abnormal cases, including atrophy, intracranial bleeding, ischemia, and tumors, despite being trained only on normal scans.

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.