Abstract
A frequent problem in biomedical machine learning is the issue of imbalanced classes, especially when datasets are small, which restricts the performance of deep learning methods. To address this issue, generative models are often used to generate additional synthetic data. Specifically, image-to-image models can transform input images to match the characteristics of target images. However, training such models on small datasets can affect the quality of synthetic samples. We propose a new method to filter generative outputs of an image-to-image Brownian Bridge Diffusion Models (BBDMs) using Uniform Manifold Approximation and Projection (UMAP) dimension reduction of a real data classifier’s feature space. We apply this methodology to filter synthetic chromosomal aberrations generated from the blue DAPI-colored channels in the context of cytogenetic Fluorescence In Situ Hybridization (FISH) microscopy. Our method shows that such filtered synthetic data significantly enhance classification performance compared to the state of the art CycleGAN and could potentially be applied to a variety of other generative models.
Introduction: The Challenge of Imbalanced Cytogenetic Data
In the field of cytogenetics—the study of chromosomes and their relation to disease—detecting rare biological anomalies like chromosomal translocations is a critical yet daunting task. These events, where pieces of chromosomes break and reattach incorrectly, are rare by nature. Consequently, the datasets available for training deep learning models are often tiny and heavily imbalanced. In typical Fluorescence In Situ Hybridization (FISH) microscopy datasets, "normal" cells can outnumber "aberrant" ones by a factor of ten or more.
Training a robust classifier on such a "needle in a haystack" dataset is difficult. While generative AI, such as Generative Adversarial Networks (GANs) or Diffusion Models, can be used to manufacture synthetic "needles" to balance the training set, these models often struggle when trained on limited data. They may produce "hallucinations"—images that look plausible to humans but contain artifacts that confuse machine learning models—or suffer from "mode collapse," where the model produces the same few variations repeatedly.
Methodology: A High-Tech Sieve for Synthetic Data
To overcome these limitations, a novel pipeline was developed that combines advanced generation with a sophisticated filtering mechanism. The approach consists of three primary stages:
- Generation via Brownian Bridge Diffusion Models (BBDM): Unlike standard diffusion models that start from random noise, BBDM is an image-to-image approach. It transforms a simple "DAPI" channel image (showing the basic shape of genetic material) into a synthetic version of a specific chromosomal aberration.
- Feature Extraction: A standard ResNet classifier is trained on the limited available real data. The researchers then analyze the penultimate layer of this network to understand how the model internally represents the features of real chromosomes.
- The UMAP Filter: This is the core innovation. The high-dimensional features from the classifier are projected into a 2D map using Uniform Manifold Approximation and Projection (UMAP). By fitting a Gaussian Mixture Model (GMM) to the real data within this 2D space, the researchers define a "high-confidence zone." Synthetic images that fall outside this zone in the feature space are discarded as unrealistic.
Key Insights and Results
The study utilized a FISH microscopy dataset containing 10,849 normal chromosomes and only 1,021 aberrant ones. An additional 31,507 unannotated DAPI-channel images served as the base for synthetic generation.
The results demonstrated that the UMAP-filtered diffusion data significantly boosted detection performance. The baseline F1-score using only real data was 0.76. Adding unfiltered BBDM data raised this to 0.79, but the full pipeline—incorporating the UMAP filter and standard augmentations—achieved an F1-score of 0.84. Notably, the filter reduced the synthetic pool from approximately 31,000 to 24,000 images; however, this smaller, higher-quality dataset led to better model performance.
Comparison with CycleGAN
The researchers compared their BBDM approach against CycleGAN, a common baseline for image-to-image translation. CycleGAN performed poorly, achieving an F1-score of only 0.23. This failure was attributed to severe mode collapse, where the GAN essentially "gave up" and colored every chromosome green regardless of its actual structure. In contrast, the BBDM was far more stable and produced a diverse range of realistic samples.
Conclusion
The integration of UMAP-based filtering provides a robust "quality control" mechanism for synthetic data generation in medical imaging. By filtering images based on their position in a classifier's internal feature space rather than subjective visual criteria, the researchers ensured that the synthetic data reinforced the specific patterns the model needed to learn. While diffusion models are computationally more expensive than GANs, the significant gains in recall and precision for rare aberration detection suggest they are a superior choice for small, imbalanced biomedical datasets.
Reference: Tallon, Q., et al. "Diffusion model uniform manifold filtering for classification of small datasets with underrepresented classes: Application to chromosomal aberration microscopy detection." ICMV 2024. HAL Id: hal-04900898
Summary updated