Learning Towards Synchronous Network Memorizability and Generalizability for Continual Segmentation Across Multiple Sites

Jingyang Zhang, Peng Xue, Ran Gu, Yuning Gu, Mianxin Liu, Yongsheng Pan, Zhiming Cui, Jiawei Huang, Lei Ma, Dinggang Shen

Introduction

In clinical artificial intelligence, the ideal scenario of a single, massive, consolidated dataset is rarely achievable. Due to stringent privacy regulations (such as HIPAA and GDPR) and the prohibitive costs of data storage, medical data typically arrives in a sequential stream from various institutions. This sequential learning environment poses two primary challenges for deep learning models: Catastrophic Forgetting and Poor Generalizability.

When a model is fine-tuned on a new site (Site B) after learning from a previous one (Site A), it often "overwrites" the knowledge specific to Site A, leading to a performance collapse on the original domain—a phenomenon known as weak memorizability. Simultaneously, because the model is exposed to only one site at a time, it often fails to learn universal, site-invariant features, resulting in poor performance on unseen future sites (Site C). While Continual Learning (CL) and Domain Generalization (DG) have traditionally addressed these issues in isolation, this paper introduces SMG-Learning, a framework designed to synchronize memorizability and generalizability for robust prostate MRI segmentation.

The SMG-Learning Framework

The SMG-Learning framework addresses the limitations of sequential learning through three innovative components: Synchronous Gradient Alignment, a Dual-Meta optimization algorithm, and a comprehensive data-rehearsal strategy.

1. Synchronous Gradient Alignment (SGA)

At the heart of the framework is the SGA objective, which coordinates the model's learning direction (gradients) across different data subsets to ensure that updates are beneficial for both past and future tasks. SGA consists of two parts:

  • Orientational Alignment: This ensures the model's gradient on current data does not conflict with the gradients of previous sites stored in a replay buffer. By aligning these directions, the model preserves performance on old domains while learning new ones.
  • Arbitrary Alignment: To simulate domain shifts, the framework randomly splits the current site's data into distinct subsets. It then forces the model to find features that are invariant across these subsets, effectively training the model to generalize to unseen distributions.

2. Dual-Meta Algorithm

Optimizing the SGA objective directly is computationally intensive, as it involves calculating second-order derivatives (the gradient of a gradient). To make the framework practical for clinical deployment, the authors developed the Dual-Meta Algorithm. This approach approximates the gradient alignment process, significantly reducing memory overhead and computational time without sacrificing segmentation accuracy.

3. Comprehensive Replay Buffer

Rather than relying on random image selection for data rehearsal, SMG-Learning employs a sophisticated selection strategy for its "exemplars." The system selects images based on:

  • Intra-site Representativeness: How effectively an image represents the distribution of its own hospital's data.
  • Inter-site Diversity: How much unique information an image adds relative to what is already in the buffer. This ensures the model maintains a diverse "worldview" of prostate anatomy across different imaging protocols.

Experimental Evaluation

The framework was evaluated using a multi-site T2-weighted MRI dataset for prostate segmentation, comprising data from six international institutes: RUNMC, BMC, HCRUDB, UCL, BIDMC, and HK. To ensure the robustness of the results, the researchers tested the model on multiple sequences (e.g., training on Sites A through E and testing on the unseen Site F).

Key Results

The SMG-Learning framework (specifically the SGA+c variant utilizing the comprehensive buffer) outperformed standard fine-tuning and specialized CL/DG baselines:

  • High Accuracy: On the A→E stream, the model achieved a Dice Score (DSC) of 83.60% for previous sites (Memorizability) and 87.18% for unseen sites (Generalizability).
  • Minimal Forgetting: The model demonstrated significantly lower Backward Transfer (BT) compared to traditional methods, indicating that it successfully retained knowledge from earlier sites in the sequence.
  • Computational Efficiency: The Dual-Meta algorithm proved highly effective, achieving results comparable to direct optimization while requiring only 3.31% of the computational time.

Discussion and Future Directions

The most significant insight from this research is that memorizing the past and generalizing to the future are synergistic rather than competing goals. By enforcing gradient alignment, the model is incentivized to learn site-invariant features that naturally serve both purposes.

However, some limitations remain. The current framework relies on a fixed buffer size (e.g., 2 subjects per site), which may become a bottleneck for more complex anatomical tasks. Additionally, while rehearsal is more efficient than sharing full datasets, it still involves storing some patient data. Future work may explore the integration of Federated Learning to further enhance privacy by ensuring data never leaves the local institution. Finally, while SMG-Learning is more stable than its predecessors, the specific order of site introduction still influences final performance, highlighting an ongoing challenge in the field of continual learning.

Summary updated

BibTeX
@inproceedings{zhang2022learning,
  author = {Jingyang Zhang and Peng Xue and Ran Gu and Yuning Gu and Mianxin Liu and Yongsheng Pan and Zhiming Cui and Jiawei Huang and Lei Ma and Dinggang Shen},
  title = {{Learning Towards Synchronous Network Memorizability and Generalizability for Continual Segmentation Across Multiple Sites}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2022},
  doi = {10.1007/978-3-031-16443-9\_37},
}
Figure