TL;DR
This paper introduces a novel "knowledge-based" method to automatically detect unrealistic shapes in synthetic medical images, a common problem that can degrade the performance of AI models trained on them. By analyzing the "shape signature" of real patient data, the method can flag synthetic images that deviate from anatomical norms, improving the reliability of synthetic datasets.
What Problem Does This Paper Address?
The increasing use of synthetic medical images, generated by deep learning models, offers a solution to the scarcity of real patient data. However, these synthetic images can contain subtle but significant "network-induced artifacts" – unrealistic features or distortions that compromise their clinical utility. These artifacts arise when generative models prioritize matching overall data distributions over fine-grained anatomical details. Existing evaluation methods often rely on dataset-wide metrics, failing to pinpoint individual problematic images. This paper addresses the critical need for automated, image-level detection of these shape artifacts in synthetic medical datasets, especially in mammography, to ensure the quality and trustworthiness of AI models trained on them.
Methods
The core of the proposed method lies in creating a "knowledge-based feature space" that captures the anatomical shape characteristics of real data. This is achieved through a two-step process:
- Feature Space Construction:
- Boundary Extraction and Tracking: The breast region is segmented, and its boundary pixels are ordered to trace the anatomical curvature.
- Angular Trajectory and Gradient: The angle gradients along this boundary are computed. These gradients represent local shape variations.
- Binning and Cumulative Sum (Cusum): The angle gradients are binned (64 bins empirically chosen) and summarized using a cumulative sum within each bin. This creates a 64-dimensional vector per image, representing its shape signature. This representation is designed to be robust to size variations and capture global anatomical correspondence.
- Per-image Summarization: The 64-dimensional vector is further reduced to a 16-dimensional vector by summarizing the cusum values. This step aims to capture typical shape variation rates and is designed to be robust to minor variations.
- Artifact Detection:
- Isolation Forest: An unsupervised anomaly detection algorithm, the Isolation Forest, is trained on the 16-dimensional feature vectors derived from a dataset of real patient images.
- Anomaly Scoring: This trained model is then applied to the synthetic images. Each synthetic image receives an anomaly score, where highly negative scores indicate a higher likelihood of containing network-induced shape artifacts.
This approach is model-agnostic (works regardless of the generative model used) and interpretable due to its knowledge-based design.
Datasets
The authors used two synthetic digital mammography datasets in the mediolateral oblique (MLO) view for evaluation:
- CSAW-syn: Generated by a latent diffusion model trained on the CSAW-M patient dataset.
- VMLO-syn: Generated using StyleGAN2 trained on the VinDr-Mammo (VMLO) dataset.
The real patient datasets used for training the anomaly detection model were:
- CSAW-real: The corresponding real patient dataset for CSAW-syn.
- VMLO-real: The corresponding real patient dataset for VMLO-syn.
Key Insights and Ideas
- Shape as a Knowledge Source: The paper highlights that anatomical shape, when properly characterized, can serve as a powerful "knowledge base" to identify deviations caused by synthetic generation processes.
- Beyond Dataset-Level Metrics: Dataset-wide metrics like FID, while useful for overall visual quality, are insufficient for detecting localized, image-specific shape artifacts. The proposed method offers a granular, image-level assessment.
- Interpretability through Shape Signatures: By analyzing angle gradients and their distributions, the method provides insights into why an image is flagged, linking it to specific deviations in anatomical curvature.
- Detecting Unseen Artifacts: The method can identify artifacts that are not present in the training patient data, indicating it can detect novel issues arising from generative models.
Key Results
- Effective Artifact Ranking: The proposed method successfully ranked synthetic images by the severity of network-induced shape artifacts. Images in the lowest percentile (<1%) were consistently identified as having the most pronounced artifacts.
- Reader Study Validation: A reader study with three imaging scientists confirmed the method's effectiveness. Images flagged by the algorithm as most anomalous were also identified as such by human readers, with mean agreement rates around 66% for the most anomalous partition.
- Improved Search Efficiency: The method significantly improves the efficiency of visual artifact search. For a dataset with 5% artifacts, the proposed method (with ~70% accuracy) could improve artifact discovery rate by 14 times compared to random spot-checking.
- Robustness to Breast Area: The method demonstrated robustness to variations in breast area, a factor that could otherwise influence shape analysis.
Limitations and Future Work
- Segmentation Method Impact: The paper acknowledges that the impact of different segmentation methods on artifact detection was not analyzed. In low-quality synthetic datasets, background artifacts could potentially affect segmentation.
- Artifact Scale and Type: While the method is agnostic to artifact size, incorporating prior knowledge about artifact scale or type through bin counts or relative bin locations could further refine detection.
- Clinical Impact: The clinical impact of the identified artifacts was not studied. Future work could involve reader studies with radiologists to assess this.
- Breast Tissue vs. Shape: The current work focuses on breast shape. The authors are developing a complementary method for assessing artifacts in breast tissue, which will also require clinical validation.
- Localization and Origin: Future research directions include exploring the localization of detected artifacts within flagged images and identifying their origin in relation to the dataset, model, and optimization process.
- Generalization: The authors plan to extend the work to other anatomies and imaging modalities, as well as to synthetic datasets from different medical imaging domains.
Summary updated