Low-Rank Mixture-of-Experts for Continual Medical Image Segmentation

Qian Chen, Lei Zhu, Hangzhou He, Xinliang Zhang, Shuang Zeng, Qiushi Ren, Yanye Lu

Introduction

In the rapidly evolving field of medical AI, models are increasingly required to function as lifelong learners. A model initially trained for cardiac segmentation may later be tasked with identifying lung lesions or skin abnormalities. However, deep learning models typically suffer from catastrophic forgetting, where learning new information leads to the overwriting of previously acquired knowledge.

Researchers from Peking University have proposed a novel solution in their paper, "Low-Rank Mixture-of-Experts for Continual Medical Image Segmentation." Their approach, Low-Rank Mixture-of-Experts (MoE), enables models to expand their capabilities without losing prior knowledge or incurring significant parameter overhead.

The Challenge of Continual Learning in Medicine

Clinical data often arrives sequentially, and strict privacy regulations (e.g., HIPAA, GDPR) frequently prevent the retention of old datasets for retraining. The standard approach to this Continual Learning (CL) problem involves "pseudo-labeling," where an old model generates labels for new data to maintain its internal representations. However, incorrect pseudo-labels can corrupt the model's features, leading to a performance trade-off: as the model improves on new tasks, it degrades on old ones.

The authors identify three primary hurdles:

  1. Catastrophic Forgetting: The total loss of features learned from previous tasks.
  2. Performance Trade-offs: New task acquisition often comes at the expense of old task accuracy.
  3. Memory Constraints: Adding full sets of parameters for every new task is computationally prohibitive for clinical deployment.

Proposed Methodology: Low-Rank MoE

The proposed architecture utilizes a Transformer-based backbone with a Mixture-of-Experts (MoE) strategy. Instead of a single monolithic network, the model employs multiple specialized "experts" (Feed-Forward Networks).

Parameter Isolation and LoRA

To prevent forgetting, the model freezes all existing parameters when a new task is introduced. A new expert layer is appended specifically for the new data. To keep the model lightweight, the authors employ Low-Rank Adaptation (LoRA), decomposing weight updates into two smaller matrices ($A$ and $B$). This allows for the addition of new experts with minimal parameter growth.

The Low-Rank MoE architecture integrates frozen backbone parameters with trainable task-specific experts.

Smart Gating Mechanisms

A critical component of MoE is the gating function, which determines which expert to activate for a given input. The paper introduces two primary strategies:

  • Task-level Gating: An offline classifier identifies the dataset origin of an image and routes it to the corresponding expert.
  • Class-level Gating: For multi-organ segmentation, a language-guided gating function uses CLIP text embeddings (e.g., "liver," "spleen") to select the most appropriate expert for specific anatomical regions.
Overview of the training and testing stages, illustrating parameter isolation and the offline gating mechanism.

Experimental Results

The method was validated across five diverse medical imaging datasets, including ACDC (cardiac MRI), ISIC (skin lesions), and COVID-19 CT (lung infections).

Key Findings

  • Zero Forgetting: In sequential task experiments, the model maintained its original accuracy on initial tasks even after learning subsequent ones. In contrast, standard models experienced performance drops exceeding 50%.
  • Efficiency: In multi-organ settings, the Low-Rank MoE achieved a Dice score of 80.6 using only 2.3M parameters, significantly outperforming competing architectures that required up to 37.5M parameters.
  • Knowledge Transfer: Initializing new experts with weights from previous experts was found to improve performance on new tasks, demonstrating effective knowledge reuse.

Conclusion

The Low-Rank MoE framework offers a robust solution for continual medical image segmentation. By combining parameter isolation with low-rank efficiency and intelligent gating, the model achieves state-of-the-art performance without the typical pitfalls of catastrophic forgetting or excessive memory usage. Future work may focus on refining gating mechanisms and exploring methods to prune or merge experts as the number of learned tasks grows.

Summary updated

BibTeX
@inproceedings{chen2024low,
  author = {Qian Chen and Lei Zhu and Hangzhou He and Xinliang Zhang and Shuang Zeng and Qiushi Ren and Yanye Lu},
  title = {{Low-Rank Mixture-of-Experts for Continual Medical Image Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
  doi = {10.1007/978-3-031-72111-3\_36},
}
Figure