Exploiting Structural Consistency of Chest Anatomy for Unsupervised Anomaly Detection in Radiography Images

Tiange Xiang,Yixiao Zhang,Yongyi Lu,Alan Yuille,Chaoyi Zhang,Weidong Cai,Zongwei Zhou
2024-03-14
Abstract:Radiography imaging protocols focus on particular body regions, therefore producing images of great similarity and yielding recurrent anatomical structures across patients. Exploiting this structured information could potentially ease the detection of anomalies from radiography images. To this end, we propose a Simple Space-Aware Memory Matrix for In-painting and Detecting anomalies from radiography images (abbreviated as SimSID). We formulate anomaly detection as an image reconstruction task, consisting of a space-aware memory matrix and an in-painting block in the feature space. During the training, SimSID can taxonomize the ingrained anatomical structures into recurrent visual patterns, and in the inference, it can identify anomalies (unseen/modified visual patterns) from the test image. Our SimSID surpasses the state of the arts in unsupervised anomaly detection by +8.0%, +5.0%, and +9.9% AUC scores on ZhangLab, COVIDx, and CheXpert benchmark datasets, respectively. Code:
Image and Video Processing,Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
This paper attempts to address the problem of unsupervised anomaly detection in chest radiographs. Specifically, the authors propose a method called SimSID (Simple Space-Aware Memory Matrix for In-painting and Detecting anomalies from radiography images), which aims to leverage the consistency of chest anatomical structures and spatial information to improve the performance of unsupervised anomaly detection. ### Main Issues 1. **Unsupervised Anomaly Detection**: How to detect abnormal regions in radiographs using a model trained on normal images without manual annotations. 2. **Anatomical Structure Consistency**: How to utilize the consistent anatomical structures and spatial information in radiographs to improve the accuracy of anomaly detection. 3. **Model Robustness**: How to make the model robust to a small number of abnormal images in the training set, thereby relaxing the requirement for disease-free images. ### Background - **Characteristics of Radiographs**: Unlike ordinary photos, radiographs have high similarity and consistent anatomical structures due to standardized imaging protocols. - **Limitations of Existing Methods**: Existing unsupervised anomaly detection methods typically rely on reconstruction or density estimation, but these methods perform poorly on radiographs because they fail to fully utilize the consistency of anatomical structures and spatial information. ### Solution - **SimSID Method**: - **Feature Extraction**: The input image is divided into non-overlapping patches, and a CNN encoder is used to extract features from each patch. - **Feature In-painting**: A space-aware memory matrix is dynamically created and updated to form a dictionary of normal anatomical patterns. The extracted features are replaced by the closest dictionary items and a transformer block is used to predict the masked features. - **Image Reconstruction**: A teacher generator and a student generator are introduced to reconstruct the original image. The teacher generator directly uses the features extracted by the encoder, while the student generator uses the features enhanced by the feature in-painting block. The two generators are coupled together through knowledge distillation. - **Anomaly Discrimination**: A discriminator is used to evaluate whether the generated image is real or fake. The discriminator competes with the generator during training and is ultimately used to detect anomalies in test images. ### Experimental Results - **Datasets**: Three large-scale radiograph datasets: ZhangLab, COVIDx, and CheXpert. - **Performance Improvement**: SimSID improved the AUC by 8.0%, 5.0%, and 9.9% on the ZhangLab, COVIDx, and CheXpert datasets, respectively, significantly outperforming 21 existing mainstream methods. ### Conclusion By leveraging the consistent anatomical structures and spatial information in radiographs, SimSID achieves significant performance improvements in unsupervised anomaly detection tasks and is robust to a small number of abnormal images in the training set. This provides strong support for clinical applications and helps reduce the likelihood of missed diagnoses by radiologists.