Drift-Conditioned Structural Replay for Continual Cardiac Ultrasound Segmentation

Zahid Ullah, Jaeyoon Seo, Jihie KimarXiv 2026 · arXiv

TL;DR

This paper introduces Drift-Conditioned Structural Replay Loss (DCSRL), a novel continual learning method that prevents medical AI models from "forgetting" old anatomical knowledge as they learn from new datasets. By measuring how much a model’s internal understanding of an old image has "drifted" across four dimensions—features, probabilities, boundaries, and structure—DCSRL adaptively strengthens supervision to preserve critical cardiac structures.

What Problem Does This Paper Address?

In the world of medical AI, "catastrophic forgetting" is a major hurdle. Imagine a model trained to segment the entire heart at Hospital A. When you move it to Hospital B, which only provides data for the left ventricle, the model often "forgets" how to delineate the other chambers. This is especially problematic in echocardiography (cardiac ultrasound), where image quality is noisy and label protocols vary wildly between institutions.

The standard solution is Experience Replay, where a small "memory" of old images is revisited during new training. However, traditional replay treats every old image the same. The authors argue this is inefficient: as a model evolves, its internal representation of some images might stay stable, while others might "drift" significantly, leading to broken anatomical contours or lost features. We need a way to tell the model: "You're starting to lose your grip on this specific image; pay more attention to its structure!"

Methods

The authors propose a framework called DCSRL that operates in three main phases:

  1. Reliability-Guided Selection: Instead of picking random old images to remember, the system selects "reliable" exemplars based on image quality (contrast, sharpness) and anatomical complexity (boundary smoothness, area).
  2. The Frozen Signature: When an image is first stored in memory, the model records a "source-task reference signature"—a snapshot of its bottleneck features, class probabilities, boundary responses, and the predicted mask.
  3. Multi-Dimensional Drift Estimation: During subsequent training tasks, the model compares its current response to an old image against that stored signature. It measures drift in four ways:
  4. Feature Drift: Changes in the latent "bottleneck" representation.
  5. Probability Drift: Changes in class confidence.
  6. Boundary Drift: Changes in how the model perceives edges.
  7. Structural Drift: Changes in the actual shape and connectivity of the predicted anatomy (e.g., did the heart wall develop a "gap"?).

These four metrics are aggregated into a single score used to dynamically scale the replay loss. If an exemplar shows high drift, the model applies stronger supervision to "pull" the model back to its original, correct understanding of that anatomy.

Datasets

The researchers evaluated their method using a sequence of three major echocardiography datasets, reflecting a realistic clinical pipeline:

  • CAMUS: A benchmark dataset providing full multi-structure annotations (Left Ventricle, Myocardium, Left Atrium).
  • CardiacNet: A multi-center dataset focused on chamber annotations.
  • EchoNet-Dynamic: A large-scale dataset (over 10,000 videos) but with limited "partial" supervision (Left Ventricle only).

The model was trained sequentially (CAMUS $\rightarrow$ CardiacNet $\rightarrow$ EchoNet-Dynamic) to see how well it could retain the complex multi-structure knowledge from the first task while adapting to the simpler, larger-scale final task.

Key Insights and Ideas

  • Drift is Multidimensional: A model can change its internal feature logic (Feature Drift) without immediately breaking the output mask. Conversely, a small change in pixels can lead to a "structural break" in a thin wall. By measuring all four types of drift, DCSRL catches forgetting before it becomes a total failure.
  • Anatomy over Pixels: Standard metrics like the Dice score often miss "topological" errors, like a heart chamber being split into two disconnected pieces. DCSRL’s structural drift component specifically penalizes changes in the number of connected components and contour disagreements.
  • Zero-Inference Overhead: One of the most elegant parts of this approach is that it requires no additional trainable parameters and adds zero complexity to the model during actual clinical use (inference). The "drift" logic only exists during the training phase.

Key Results

DCSRL outperformed 11 different baseline methods (including EWC, LwF, and DER++) across almost all metrics.

  • Accuracy: It achieved the highest Final Average Accuracy (FAA) with a mean Dice score of 0.8784, a significant gain over standard reliability-guided replay.
  • Boundary Preservation: The most dramatic improvements were seen in boundary accuracy. On the CardiacNet task, DCSRL reduced the 95th-percentile Hausdorff Distance (a measure of surface error) by 36.3% compared to the baseline.
  • Qualitative Success: Visual results showed that while other methods often produced "fragmented" heart walls or missing chambers when moving between datasets, DCSRL maintained continuous, anatomically plausible structures.

Limitations and Future Work

  • Task Order Sensitivity: The authors acknowledge that the order of datasets matters. In this study, the "partial label" task (EchoNet) was always last. Future work should explore if the results hold if the task order is shuffled.
  • Storage Costs: Storing the "signatures" for each memory exemplar increases the storage footprint by about 8.5%. While manageable, this is a trade-off in memory-constrained environments.
  • The "Good" Drift Problem: Currently, DCSRL treats any change from the source signature as "drift" to be penalized. However, if the model actually improves its understanding of an old image through transfer learning, DCSRL might inadvertently try to suppress that improvement. Refining the logic to distinguish between "deterioration" and "correction" is a promising next step.

Summary updated

Abstract

Conventional experience replay typically applies fixed preservation constraints to historical exemplars, overlooking variations in how learned representations, predictions, and anatomical structures change during sequential training. To address this limitation, we propose Drift-Conditioned Structural Replay Loss (DCSRL), an exemplar-adaptive supervision mechanism that regulates anatomical preservation according to source-referenced knowledge drift. DCSRL operates within a reliability-guided replay framework that selects informative historical exemplars using anatomical content and boundary characteristics while adaptively regulating replay during training. For each retained exemplar, DCSRL constructs a frozen source-task reference signature and subsequently measures changes in feature representations, class probabilities, boundary responses, and predicted anatomical structures. These complementary drift measurements are aggregated and normalized to generate bounded, exemplar-specific coefficients that dynamically adjust boundary and structural replay losses without modifying the underlying memory-selection policy. We evaluate DCSRL under sequential learning across CAMUS, CardiacNet, and EchoNet-Dynamic, comparing its performance with regularization-, distillation-, and replay-based continual-learning approaches. Experimental findings indicate that DCSRL improves overall final segmentation performance and anatomical boundary preservation, particularly under heterogeneous imaging conditions, although trade-offs remain in knowledge transfer across tasks. These findings suggest that source-referenced multidimensional drift conditioning offers a promising direction for adaptive anatomical knowledge preservation in continual cardiac ultrasound segmentation.
BibTeX
@misc{ullah2026drift,
  author = {Zahid Ullah and Jaeyoon Seo and Jihie Kim},
  title = {{Drift-Conditioned Structural Replay for Continual Cardiac Ultrasound Segmentation}},
  year = {2026},
  eprint = {2611.19756},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19756},
}
Figure