TL;DR
This paper introduces a novel semi-supervised domain adaptation method specifically designed for imbalanced medical image classification. It tackles the challenge of class imbalance by employing a "weakly-supervised clustering" technique to create high-purity clusters, which then guide the domain adaptation process, leading to state-of-the-art performance on severely imbalanced datasets.
What Problem Does This Paper Address?
Medical image classification often suffers from class imbalance, meaning some disease categories have far fewer examples than others. This imbalance can severely degrade the performance of machine learning models, causing them to favor the majority classes and miss important minority cases. Domain adaptation is a technique used to transfer knowledge from a source domain (where data is abundant) to a target domain (where data might be scarce or have a different distribution). However, existing domain adaptation methods often struggle with class imbalance. This paper focuses on semi-supervised domain adaptation, where a small amount of labeled data is available in the target domain, which is a more realistic scenario for medical applications. The core problem is how to effectively adapt a model to a new medical domain while ensuring robustness to class imbalance, leveraging both unlabeled and a small set of labeled target data.
Methods
The proposed method, "Cluster-Guided Semi-Supervised Domain Adaptation," has two main components:
- Weakly-Supervised Clustering: This is the novel core of the paper. It starts with a standard k-means clustering on all target domain samples (labeled and unlabeled). To address class imbalance and improve cluster purity, two refinement steps are applied:
- Soft-Constrained Clustering: This step uses "must-link" and "cannot-link" constraints derived from the initial clustering. If samples from different classes are grouped together, "cannot-links" are added, and vice-versa. Soft constraints allow for some violations, making it more robust to noisy data.
- Proportion-Based Splitting: This step further refines clusters by splitting larger, potentially impure clusters into smaller ones based on the inferred class proportions from the labeled target samples. This helps to isolate minority classes.
- Cluster-Guided Domain Adaptation: Once high-purity clusters are obtained, they guide the domain adaptation. The model is trained with two objectives:
- Cross-Entropy Loss: Standard classification loss using both labeled source and labeled target samples to align the domains.
- Cluster Guidance Loss (Eq. 1): This novel loss encourages unlabeled target samples to be closer to labeled target samples within the same cluster than to samples in different clusters. This effectively uses the refined clusters to guide the representation learning of unlabeled data. Crucially, no pseudo-labels are assigned to unlabeled samples; they are used to improve representation learning.
Datasets
The paper evaluates the proposed method on two types of datasets:
- Digits Datasets: Standard benchmarks for domain adaptation (MNIST, USPS, SVHN) were used. To simulate class imbalance, the original datasets were undersampled according to a Pareto distribution. Experiments were conducted using various source-target domain pairs.
- Cervical Cancer Dataset: A real-world dataset of Whole Slide Images (WSIs) collected from two hospitals for cervical cancer stage classification. This dataset exhibits severe class imbalance. Images were processed into 256x256 patches.
Key Insights and Ideas
- Class Imbalance is a Major Hurdle for Domain Adaptation: The paper highlights that existing domain adaptation techniques, even those designed for semi-supervised settings, perform poorly when faced with significant class imbalance, often failing to improve upon a simple model trained on both labeled source and target data (S+T).
- High-Purity Clusters are Key: The core idea is that by first achieving highly pure clusters of target domain samples (even for minority classes), these clusters can then serve as reliable anchors for guiding the domain adaptation process.
- Weak Supervision for Clustering: The "weakly-supervised clustering" approach, with its two refinement steps, is crucial for generating these high-purity clusters, especially in the presence of severe class imbalance where naive clustering fails.
- Cluster-Guided Representation Learning: The proposed loss function effectively leverages the refined clusters to pull unlabeled target samples towards the representations of their corresponding labeled cluster members, without relying on potentially noisy pseudo-labels.
Key Results
- State-of-the-Art Performance: The proposed method achieved state-of-the-art (SOTA) performance on both the imbalanced digits datasets and the real-world cervical cancer dataset.
- Robustness to Imbalance: On the cervical cancer dataset, the proposed method significantly outperformed comparative methods in terms of the mean Dice coefficient (mDice) and, importantly, the Dice coefficient for the minor class (MiDice), demonstrating its robustness to severe class imbalance.
- Improvement over S+T: The method consistently improved performance compared to a baseline model trained on all available labeled source and target data (S+T), indicating effective knowledge transfer and adaptation.
- Effectiveness of Refinement Steps: An ablation study showed that both the soft-constrained clustering and proportion-based splitting steps in the weakly-supervised clustering pipeline effectively improved performance.
Limitations and Future Work
- Assumption on Class Proportions: The current method assumes that the class proportions of the unlabeled target samples are roughly similar to those of the labeled target samples. If the unlabeled data has a significant bias, it could affect the inference of class proportions and cluster splitting.
- Future Work: The authors suggest developing strategies to automatically select samples that better cover the variation within the target domain, potentially mitigating the limitation related to biased class proportions.
Summary updated