TL;DR
GarDA (Generative Appearance Replay for continual Domain Adaptation) is a novel framework that allows medical image segmentation models to learn from a sequence of new, unlabeled datasets without forgetting what they previously learned. By using a Generative Adversarial Network (GAN) to "replay" the appearance of past domains, GarDA eliminates the need to store sensitive patient data, achieving state-of-the-art results in retinal and cardiac imaging tasks.
What Problem Does This Paper Address?
In medical AI, two major hurdles often collide: domain shift and data privacy.
Deep learning models trained on images from one hospital (e.g., using a Canon scanner) often fail when deployed at another hospital using different hardware (e.g., a Siemens scanner). While Unsupervised Domain Adaptation (UDA) can help bridge this gap, real-world clinical settings are dynamic. Data arrives in installments from various sources over time.
Ideally, we want a model that learns continually. However, privacy regulations like GDPR often prohibit researchers from retaining old patient data indefinitely. This leads to catastrophic forgetting, where a model adapted to a new "Target Domain B" loses its ability to segment images from the original "Source Domain A." The authors tackle the "strict" continual UDA setting: adapting to a sequence of unlabeled domains without ever revisiting data from previous ones.
Methods
The authors introduce GarDA, which relies on a "generative replay" strategy. Instead of storing real images, the system learns to synthesize them.
- Source Training: The segmentation model ($M$) and a GAN ($G, D$) are first trained on a labeled source domain ($D_0$).
- GAN Adaptation & Distillation: When a new unlabeled target domain ($D_t$) arrives, the generator is adapted to capture its specific "appearance" (style) while preserving the "content" (anatomy). To prevent the GAN from forgetting how to generate previous domains, the authors use GAN distillation, where the current generator is penalized if its outputs for old domains deviate from a frozen copy of the previous generator.
- Segmentation Adaptation via Replay: To train the segmentation model on the new domain without labels, GarDA generates pairs of synthetic images: one with source-like appearance and one with target-like appearance, both sharing the exact same anatomical content. The model uses knowledge distillation—it learns to produce the same segmentation for the target-like image that the previous version of the model produced for the source-like image.
Datasets
The researchers evaluated GarDA on two distinct medical tasks involving three domains each:
- Optic Disc Segmentation (ODS): Retinal fundus images from the REFUGE (Canon), IDRiD (Kowa), and RIM-ONE DL (Nidek) datasets.
- Cardiac Segmentation (CS): MRI volumes from the M&Ms challenge, featuring scanners from Philips, Siemens, and Canon.
Key Insights and Ideas
- Distribution vs. Buffer: Unlike previous methods (like ACE) that store a few representative "style" samples in a fixed memory buffer, GarDA's GAN learns the entire distribution of a domain's appearance. This makes the replay more diverse and less prone to overfitting.
- Strict Continual Learning: GarDA is the first segmentation method to operate under a strict continual UDA setting, meaning it requires zero access to the original source data or intermediate target data once the initial training phase is over.
- Forward and Backward Transfer: The experiments revealed that adapting to a third domain ($D_2$) actually improved performance on the second domain ($D_1$). This "backward transfer" suggests that learning new domain variations can help the model consolidate more robust, domain-invariant anatomical features.
- Efficiency: Despite its generative power, the GarDA GAN is relatively lightweight (23 million parameters) compared to competitors like ACE (over 140 million parameters).
Key Results
GarDA significantly outperformed existing sequential UDA methods like MuHDi and ACE across all metrics:
- ODS Task: GarDA achieved an overall Dice score of 82.6%, a 3.9 percentage point (pp) improvement over the previous state-of-the-art (MuHDi at 78.7%).
- CS Task: GarDA reached 75.3% overall Dice, outperforming ACE (71.4%) by 3.9 pp.
- Robustness: GarDA showed much lower standard deviation across different training runs, indicating it is more stable and reliable for practical deployment.
Limitations and Future Work
- Training Time: Training the GAN for each new domain can take several hours, which might be a bottleneck if domains change very rapidly (though the authors note medical hardware updates are usually infrequent).
- Sequence Length: The study focused on a sequence of three domains. Future work is needed to see how well generative replay holds up over much longer sequences (e.g., 10+ domains).
- Content Preservation: The method relies on the GAN's ability to keep anatomical content consistent while changing appearance. If the GAN introduces artifacts or shifts anatomy, the pseudo-labels used for distillation will be inaccurate.
Summary updated