WorksEngineering
Reliability-Aware and Anatomy-Preserving Replay for Continual Echocardiographic Segmentation
Abstract
Continual echocardiographic segmentation remains challenging due to catastrophic forgetting, domain shifts, and heterogeneous anatomical supervision. Existing continual-learning methods often struggle to preserve previously acquired knowledge while adapting to new imaging distributions, particularly under limited replay memory and incomplete anatomical annotations. To address these challenges, we propose the Reliability-Aware Replay Network (RAR-Net), a continual segmentation framework integrating multi-factor exemplar prioritization, protected task-aware memory, forgetting-conditioned adaptive replay, and structure-aware supervision. RAR-Net combines class, boundary, image, anatomical, and temporal reliability criteria to prioritize informative historical examples, while adaptive replay regulates their contribution during sequential training. Structure-aware supervision further reinforces previously learned anatomical knowledge when subsequent datasets provide incomplete annotations. Extensive experiments performed on CAMUS, CardiacNet, and EchoNet-Dynamic demonstrate that our RAR-Net achieves the highest final average accuracy among the evaluated continual-learning methods, with competitive historical knowledge retention and segmentation performance approaching the offline joint-training reference. These findings indicate that coordinating reliability-guided memory management, forgetting-conditioned replay, and anatomy-specific supervision can support knowledge retention and adaptation under the evaluated sequence of heterogeneous echocardiographic datasets.
Introduction
Cardiovascular diseases remain a leading cause of mortality worldwide da Silva et al. [1]; Du et al. (2026). Echocardiography is widely used for cardiovascular assessment because it is non-invasive, accessible, cost-effective, and capable of visualizing cardiac anatomy and motion in real time. However, automated echocardiographic analysis remains challenging due to speckle noise, acoustic shadowing, low tissue contrast, ambiguous boundaries, and variability across patients, scanners, institutions, and acquisition protocols Leclerc et al. [3]; Ouyang et al. [4]; Deng et al. [5]. Accurate segmentation of the left ventricle (LV), myocardium (MYO), and left atrium (LA) supports quantitative assessment of cardiac morphology and function, including ventricular volume, ejection fraction, and structural remodeling. Figure 1 illustrates the substantial appearance and anatomical variability across CAMUS, CardiacNet, and EchoNet-Dynamic. These differences reflect the domain shifts encountered by segmentation systems operating across evolving clinical environments, where maintaining previously acquired anatomical knowledge is as important as adapting to new data.

Figure 1. Representative echocardiographic images from CAMUS, CardiacNet, and EchoNet-Dynamic, shown in the top, middle, and bottom rows, respectively, illustrating differences in appearance, field of view, and anatomical presentation.
Deep learning has substantially advanced cardiac segmentation Bernard et al. [6]; Zhuang et al. [7]. Encoder-decoder architectures, particularly U-Net and its variants Ronneberger et al. [8]; Wang et al. [9], provide effective spatial representations, while CAMUS and EchoNet-Dynamic have established important benchmarks for multi-structure segmentation and echocardiographic video analysis Leclerc et al. [3]; Ouyang et al. [4]. Attention- and Transformer-based architectures further improve long-range feature modeling Chen et al. [10]; Xiao et al. [11]; Khan et al. [12], and medical foundation models such as MedSAM demonstrate segmentation capabilities across heterogeneous imaging settings Ma et al. (2024). Temporal modeling has also improved echocardiographic analysis by exploiting relationships between cardiac frames Deng et al. [5]; Lin et al. [14]. Nevertheless, most approaches assume a relatively static training distribution. In practice, changes in patient populations, imaging devices, acquisition protocols, and annotation standards require repeated model adaptation. Retraining on all accumulated data may be computationally expensive or restricted by data storage, governance, and privacy constraints Li et al. (2022); Wu et al. (2024); Kumari et al. [17].
Continual learning (CL) addresses this challenge by updating models sequentially while retaining knowledge from previously encountered tasks Parisi et al. [18]; De Lange et al. [19]. Its central difficulty is balancing plasticity for new distributions with stability of previously learned representations, thereby limiting catastrophic forgetting Kirkpatrick et al. [20]; Li and Hoiem (2017). This challenge becomes particularly pronounced in medical segmentation because domain shifts, restricted historical data, and heterogeneous annotations can simultaneously affect spatial and anatomical knowledge Wu et al. (2024); Kumari et al. [17]. Although these approaches can reduce forgetting, parameter- or prediction-level constraints do not necessarily preserve the anatomical details required for dense segmentation. Replay-based methods retain historical examples or reconstruct previous distributions during subsequent training Li et al. (2022); Rebuffi et al. [22]; Perkonigg et al. [23]; Ranem et al. [24]; Joham et al. [25]. Despite these advances, effective replay depends not only on retaining historical information but also on selecting informative samples, maintaining domain representation, and controlling their influence during subsequent learning.
A major challenge is identifying which examples should occupy a bounded replay memory. Random selection may retain redundant samples, while single-criterion selection can overlook complementary anatomical information. In echocardiography, replay value depends on several factors: the presence of relevant cardiac structures, boundary information Zhao et al. [26]; Lin et al. (2024), image quality Nazar et al. [28]; Van De Vyver et al. [29], anatomical plausibility Yeganeh et al. [30]; Wyburd et al. [31], and temporal relationships Deng et al. [5]; Lin et al. (2024). These observations motivate the five-factor reliability representation adopted in the proposed Reliability-Aware Replay Network (RAR-Net), combining class, boundary, image, anatomical, and temporal evidence to prioritize historical examples.
However, reliability-based selection alone cannot guarantee balanced memory representation. Larger or recently observed datasets may dominate a shared buffer, reducing coverage of earlier domains. Building on the importance of diversity-aware memory Perkonigg et al. [23], RAR-Net introduces protected task-aware memory partitions that maintain historical-domain representation while prioritizing informative samples within each task. Another limitation is the fixed contribution assigned to historical replay during optimization. Because interference varies across incoming domains, a constant replay coefficient may provide insufficient protection when forgetting increases or unnecessarily constrain adaptation when previous-task performance remains stable. Motivated by adaptive knowledge-preservation strategies Zhu et al. [32]; Liu et al. [33], RAR-Net introduces forgetting-conditioned replay that monitors previous-task validation performance and adjusts replay strength using a smoothed forgetting signal.
Heterogeneous annotation protocols introduce an additional challenge. An anatomical structure without an annotation is not necessarily absent from the image, and treating unannotated regions as background (BG) can introduce incorrect supervision Shi et al. [34]; Jiang et al. [35]. Similar background-confusion problems have been identified in continual semantic segmentation under partial category annotations Yin et al. [36]. In our experimental setting, CAMUS and CardiacNet provide multi-structure supervision for LV, MYO, and LA, whereas EchoNet-Dynamic provides LV-specific annotations Leclerc et al. [3]; Ouyang et al. [4]; Yang et al. [37]. RAR-Net therefore employs structure-aware replay to preserve MYO and LA knowledge using fully annotated historical examples. An asymmetric Tversky objective Salehi et al. [38] emphasizes vulnerable structures while avoiding supervision of unavailable labels in partially annotated samples.
These challenges motivate a unified framework that coordinates exemplar reliability, protected historical memory, adaptive replay strength, and anatomical preservation. Unlike approaches that primarily address individual aspects of continual knowledge retention Li et al. (2022); Perkonigg et al. [23]; Ranem et al. [24]; Zhu et al. [32]; Yin et al. [36], RAR-Net integrates these mechanisms within a fixed shared encoder-decoder architecture with segmentation and auxiliary boundary heads. Its central contribution is the coordinated management of historical knowledge under sequential domain and supervision shifts, rather than architectural expansion.
The main contributions of this work are summarized as follows:
We formulate continual echocardiographic segmentation under sequential domain and supervision shifts using CAMUS, CardiacNet, and EchoNet-Dynamic, incorporating both multi-structure and LV-only annotations.
We develop reliability-aware protected replay memory that combines class, boundary, image, anatomical, and temporal evidence for exemplar prioritization while maintaining historical-domain representation through task-specific memory partitions.
We introduce forgetting-conditioned adaptive replay that regulates historical supervision using smoothed previous-task performance degradation, replacing fixed replay weighting with feedback-driven adaptation.
We propose structure-aware replay using asymmetric Tversky penalties to preserve MYO and LA knowledge on fully annotated historical examples without treating unavailable annotations as background.
Related Work
Table 1 summarizes representative CL approaches and their differences from RAR-Net, focusing on memory construction, knowledge preservation, and adaptation under heterogeneous domains and annotations.
| Category | Representative methods | Comparison with RAR-Net |
| Regularization | EWC Kirkpatrick et al. [20] | Protects parameters using Fisher information; RAR-Net preserves exemplars and anatomy. |
| Distillation | LwF Li and Hoiem (2017); Zhu et al. [32] | Distills previous-model knowledge; RAR-Net uses reliability-guided, adaptive replay. |
| Exemplar replay | iCaRL Rebuffi et al. [22] | Stores exemplars; RAR-Net adds reliability-based selection and protected task memory. |
| Logit replay | DER Buzzega et al. [39] | Matches stored logits; RAR-Net emphasizes exemplar reliability and forgetting-adaptive replay. |
| Interference replay | MIR Aljundi et al. [40] | Retrieves samples vulnerable to interference; RAR-Net uses reliability and observed forgetting. |
| Dynamic memory | Perkonigg et al. [23] | Uses style and pseudo-domain diversity; RAR-Net adds anatomical and temporal reliability. |
| Style replay | Li et al. (2022) | Uses style reconstruction and feature whitening; RAR-Net selects exemplars across domain and annotation shifts. |
| Generative replay | GarDA Chen et al. [41] | Generates historical appearance; RAR-Net stores bounded real exemplars. |
| Feature replay | FOCUS Joham et al. [25] | Replays features; RAR-Net stores image–annotation pairs for spatial and anatomical supervision. |
| Reliability-aware replay | RAR-Net (ours) | Combines reliability-ranked exemplars, protected task memory, adaptive replay, and annotation-aware structure preservation. |
Table 1. Comparison of CL approaches with RAR-Net in memory construction, knowledge preservation, and domain adaptation.
Cardiac Image Segmentation
Automated cardiac segmentation supports quantitative assessment of cardiovascular anatomy and function but remains challenging due to image artifacts, ambiguous boundaries, and variability across acquisition conditions. These challenges have motivated advances in convolutional neural networks, Transformer-based architectures, and medical foundation models Huang et al. [42]; Yu et al. (2025); Niu et al. [44].
U-Net Ronneberger et al. [8] established encoder-decoder segmentation with skip connections, enabling effective integration of semantic and spatial information. Leclerc et al. [3] demonstrated multi-structure echocardiographic segmentation using CAMUS, while Ouyang et al. [4] extended automated analysis to large-scale cardiac ultrasound video through EchoNet-Dynamic. These studies established important segmentation benchmarks but did not specifically address knowledge retention during sequential domain adaptation.
Transformer-based approaches such as TransUNet Chen et al. [10] incorporate attention mechanisms to capture long-range dependencies while preserving spatial localization. Medical foundation models, including MedSAM Ma et al. (2024), further improve generalization through large-scale heterogeneous training. Nevertheless, representational capacity and cross-domain generalization are distinct from CL: a model may generalize to unseen data yet still forget previously acquired knowledge when updated sequentially. Consequently, advances in segmentation architectures do not eliminate the need for explicit knowledge-preservation mechanisms.
Continual Learning
CL enables sequential model adaptation while mitigating catastrophic forgetting. Existing CL strategies include regularization, architectural adaptation, knowledge distillation, and replay Parisi et al. [18]; De Lange et al. [19]. Elastic Weight Consolidation (EWC) protects parameters considered important for previous tasks Kirkpatrick et al. [20], whereas Learning without Forgetting (LwF) preserves earlier model responses through distillation Li and Hoiem (2017). Recently, Zhu et al. [32] introduced tri-enhanced distillation for domain-continual medical segmentation. Architectural approaches reduce interference through task-specific capacity but may increase model complexity. Replay-based methods, including iCaRL Rebuffi et al. [22], retain historical examples to preserve previously learned knowledge. For medical image segmentation, replay provides direct access to spatial annotations, but limited memory capacity and heterogeneous domains make exemplar selection and allocation critical. These challenges motivate reliability-aware memory management and adaptive replay strategies.
Dark Experience Replay (DER), Buzzega et al. [39], extends conventional rehearsal by preserving historical model logits and using them to regularize subsequent updates, thereby reducing interference with previously learned representations. Aljundi et al. [40] proposed Maximally Interfered Retrieval (MIR), which selects replay examples according to their anticipated loss increase following a model update. These methods demonstrate the importance of preserving historical predictions and prioritizing examples vulnerable to interference. However, neither explicitly addresses anatomical reliability, task-aware memory protection, or heterogeneous segmentation annotations, which are central considerations in RAR-Net.
Generative replay and gradient-constrained learning.
Shin et al. [45] introduced Deep Generative Replay, which uses a generative model to reconstruct historical training distributions without explicitly storing previous examples. In contrast, Gradient Episodic Memory (GEM) Lopez-Paz and Ranzato [46] retains a small episodic memory and constrains parameter updates to limit interference with previously learned tasks. Elhoseiny [47] subsequently proposed Averaged GEM (A-GEM), reducing the computational cost of gradient projection through an averaged reference gradient. These approaches illustrate different strategies for preserving historical knowledge through generated samples or gradient-level constraints. RAR-Net instead retains annotated echocardiographic examples in protected task-specific memory and adjusts their contribution using forgetting-conditioned replay. Unlike GEM and A-GEM, RAR-Net does not impose explicit gradient constraints. Its memory selection additionally considers image, boundary, class, anatomical, and temporal characteristics to support dense segmentation across heterogeneous domains. However, retaining real images introduces storage and data-governance requirements that generative replay can potentially reduce.
Continual segmentation under incomplete supervision.
Douillard et al. [48] proposed PLOP for continual semantic segmentation, combining knowledge distillation with pseudo-labeling to mitigate forgetting and address background-label ambiguity when previously learned categories are no longer explicitly annotated. This problem is closely related to continual echocardiographic segmentation, where later datasets may provide annotations for only a subset of previously learned cardiac structures. However, RAR-Net follows a different preservation strategy. Rather than relying primarily on pseudo-labels and distillation, it replays fully annotated historical images and applies structure-specific asymmetric Tversky losses to reinforce myocardium and left atrium segmentation during subsequent LV-only training. This approach uses available historical ground-truth annotations to maintain supervision for structures absent from the current dataset. Nevertheless, it requires access to retained annotated examples and does not explicitly guarantee anatomical topology.
Continual Medical Segmentation
Continual medical segmentation must preserve not only semantic classes but also spatial boundaries and anatomical relationships across changing domains. Domain shifts may arise from scanners, institutions, acquisition protocols, and annotation conventions, while limited historical data and heterogeneous supervision complicate knowledge retention [17] (Wu et al. 2024). Perkonigg et al. [23] proposed dynamic memory that identifies pseudo-domains from image style and maintains diverse historical examples. Their experiments on multi-vendor cardiac MRI demonstrated the value of diversity-aware memory for reducing forgetting. However, appearance diversity does not necessarily indicate anatomical importance; a visually representative sample may contain limited information about vulnerable structures or difficult boundaries. Li et al. (2022) introduced style-oriented replay and domain-sensitive feature whitening for domain-incremental cardiac segmentation. Their method reconstructs previous-domain appearance while reducing reliance on domain-specific features. Although effective for appearance shifts, it does not explicitly prioritize real historical examples according to anatomical reliability or address the heterogeneous supervision considered in this study. Chen et al. [41] proposed Generative Appearance Replay for continual Domain Adaptation (GarDA), enabling sequential adaptation without retaining historical-domain images. Evaluated on optic-disc, cardiac, and prostate segmentation, this approach reduces dependence on stored patient data. However, preservation relies on generated appearance, which may introduce reconstruction errors, and its continual unsupervised domain-adaptation setting differs from selective replay under heterogeneous supervised annotations.
Zhu et al. [32] developed tri-enhanced distillation for domain-continual medical segmentation by combining stochastic knowledge augmentation, adaptive transfer, and uncertainty-guided fusion. Their findings emphasize that historical knowledge should be transferred selectively rather than uniformly. Nevertheless, the method relies on teacher-student distillation rather than protected exemplar memory or replay strength directly regulated by measured forgetting. Feature and latent replay preserve intermediate representations instead of complete images, potentially reducing memory requirements and exposure of raw patient data Kumari et al. [17]. However, previously stored features may become inconsistent as the encoder evolves, and compressed representations can lose fine-grained spatial information required for anatomical segmentation.
These studies demonstrate complementary approaches to historical knowledge preservation, including appearance diversity, generative reconstruction, adaptive distillation, and feature replay. However, most address individual aspects of CL and commonly assume compatible annotation spaces. In our setting, CAMUS and CardiacNet provide LV, MYO, and LA supervision, whereas EchoNet-Dynamic provides LV-only annotations. This introduces an additional requirement: preserving previously learned structures without interpreting unavailable annotations as background.
Methodology
Problem Formulation
We formulate cardiac ultrasound segmentation as a sequential CL problem in which a single model encounters a sequence of datasets without unrestricted access to previously observed training data. Let
denote a sequence of segmentation tasks. In the primary experimental protocol,
Each task contains a set of image-annotation pairs,
where denotes an echocardiographic image, is its segmentation mask, and denotes the annotation availability associated with the sample. The latter is necessary because the supervision is heterogeneous across the sequence. CAMUS and CardiacNet contain annotations for the LV, MYO, and LA, whereas EchoNet-Dynamic provides LV supervision only. The segmentation model is represented by
where denotes the learnable parameters and corresponds to BG, LV, MYO, and LA. For an input image , the model produces logits which are converted to class probabilities using
for pixel . The predicted segmentation is
At task , the learner has full access only to . Historical information is retained through a bounded replay memory
where in our experiments and denotes the protected memory partition associated with task . The objective is therefore not merely to minimize the risk on the currently observed distribution,
because such optimization can overwrite parameters required by earlier domains. Instead, we seek parameters that minimize performance degradation across the entire observed task history,
where represents the segmentation risk associated with task and controls its effective contribution. Since historical datasets are no longer fully available, RAR-Net approximates their contribution using reliability-aware protected replay.
Overall RAR-Net Framework
The overall architecture and CL workflow of RAR-Net are illustrated in Figure 2. As shown, RAR-Net addresses sequential echocardiographic segmentation through four interacting mechanisms: (i) a shared encoder-decoder segmentation network with segmentation and boundary prediction heads, (ii) reliability-aware protected task memory for preserving informative historical examples, (iii) forgetting-conditioned adaptive replay that dynamically regulates the contribution of historical knowledge, and (iv) structure-aware replay for preserving cardiac anatomy under heterogeneous annotation. These components operate jointly to balance adaptation to incoming domains with retention of previously acquired segmentation knowledge. The primary learning trajectory is, CAMUS CardiacNet EchoNetDynamic.
Figure 2. Overview of the RAR-Net framework for continual echocardiographic segmentation. The model sequentially learns CAMUS, CardiacNet, and EchoNet-Dynamic using a shared segmentation network and protected replay memory. Training combines current-task, replay, and structure-aware losses, while an exponential moving average (EMA) of previous-task forgetting adaptively controls the replay weight . Historical samples are prioritized using class, boundary, image, anatomical, and temporal reliability factors. Memory allocation follows predefined task weights normalized over the observed tasks.
After learning task , selected examples are inserted into according to their reliability scores and the protected quota assigned to their source task. When task is learned, a replay mini-batch
is sampled from memory together with the current-task mini-batch
Historical samples are therefore not treated as an undifferentiated archive. RAR-Net first determines which examples deserve storage, then protects their task representation, and finally adjusts their influence on optimization according to measured forgetting. Conceptually, the complete framework can be expressed as
Segmentation Network Architecture
RAR-Net uses a U-Net-style encoder-decoder as its segmentation backbone. The architectural design is deliberately kept compact so that improvements in continual performance can be attributed to the replay mechanisms rather than to progressive network expansion. Given an input image
the encoder progressively transforms the image into hierarchical feature representations,
where and represents the -th encoder block. The base channel width is 32 and increases with network depth. The decoder reconstructs spatial resolution through successive upsampling operations. At decoder level , the corresponding encoder representation is transferred through a skip connection,
where denotes upsampling, denotes channel-wise concatenation, and denotes the decoder transformation. The final decoder representation is mapped to segmentation logits through the segmentation head,
A boundary prediction branch additionally maps the shared decoder representation to a boundary estimate,
The two heads therefore share the same anatomical representation while optimizing complementary region and contour information. The architecture contains approximately 7.76 million trainable parameters and remains fixed throughout the complete CL sequence.
Reliability-Aware Protected Task Memory
Figure 3 illustrates the reliability-aware sample scoring, protected task-aware memory update, and priority-aware replay sampling mechanism. A fixed replay budget creates a selection problem: not every previously observed sample can be retained, and preserving an uninformative example necessarily reduces the capacity available for potentially more useful historical information. RAR-Net therefore estimates the replay value of each candidate sample before memory insertion using complementary information from its annotation, image appearance, anatomical geometry, and temporal context. For sample , the reliability representation is defined as
Figure 3. Reliability-aware protected memory mechanism of RAR-Net. Candidate samples are evaluated using complementary class, boundary, image, anatomical, and temporal reliability factors, which are combined into a unified priority score. Samples are subsequently maintained within task-specific protected memory partitions to limit domination by newly observed domains. The illustrated 450/900/450 partition represents the protected-memory configuration after all three tasks have been observed; at earlier stages, the predefined relative task-allocation weights are renormalized over the tasks observed up to that point to determine the corresponding memory quotas. Priority-aware sampling retrieves representative previous-task examples for subsequent replay learning.
where , , , , and denote class, boundary, image, anatomical, and temporal reliability, respectively. All five components are constrained to the interval before fusion. Importantly, these quantities are computed directly from the normalized input image, available ground-truth (GT) annotation, and dataset-specific temporal information. Model prediction uncertainty is not used in the final RAR-Net configuration.
Class reliability.
Class reliability measures the amount of foreground-class supervision available in an annotated sample. Let denote the foreground classes and let be the indicator function. It is computed as
where denotes the GT segmentation mask and indexes image pixels. Thus, samples containing a larger fraction of the available foreground classes receive a higher class-content score.
Boundary reliability.
Boundary reliability quantifies the amount of structural boundary information contained in the GT mask. A binary boundary map is generated by identifying label transitions within a neighborhood. The boundary score is then defined as the fraction of boundary pixels,
where and denote the image height and width. Since , this score is naturally bounded within . A larger value indicates that the sample contains more boundary information that may be useful for preserving spatial delineation during replay.
Image reliability.
Image reliability is computed from the normalized input image using three complementary image-quality cues: intensity contrast, local sharpness, and foreground visibility. Specifically,
where denotes image intensity standard deviation and denotes the Laplacian operator. The image reliability is
The final value is clipped to . This formulation favors samples with sufficient contrast, locally defined image structure, and adequate visible image content.
Anatomical reliability.
Anatomical reliability is estimated from the union of foreground structures in the GT mask. Let denote foreground area, the boundary-pixel count, and
Samples containing fewer than 10 foreground pixels are assigned . Otherwise, an area-plausibility term is defined as
while compactness and boundary smoothness are calculated as
The anatomical reliability is consequently
This term favors masks with sufficient foreground support and comparatively plausible geometric characteristics.
Temporal reliability.
Temporal reliability depends on whether temporal information is available for the corresponding dataset. For EchoNet-Dynamic, temporal reliability is derived from the variation in LV area across the available traced frames of each video. Let and denote the maximum and minimum LV areas among the traced frames. For videos containing valid LV regions,
The temporal score is assigned as
When fewer than two traced frames are available, a neutral value of 0.5 is used. CAMUS and CardiacNet are processed as independent annotated slices in the present implementation and therefore do not provide an equivalent frame-wise temporal estimate; a neutral temporal reliability of 0.5 is assigned to their samples. Hence, the temporal term contributes dataset-specific dynamic information only where such information is available, rather than implying identical temporal modeling across all three datasets. The overall replay priority is then obtained by reliability fusion,
subject to
In the final RAR-Net configuration,
Because every component lies in and the fusion coefficients are non-negative and sum to one, . The final configuration assigns the largest individual coefficient to anatomical reliability, thereby giving slightly greater influence to structural plausibility during reliability fusion.
A global reliability ranking alone can nevertheless allow a large or recent task to dominate the replay memory. RAR-Net therefore combines reliability ranking with protected task-aware memory. Rather than assigning fixed capacities to all tasks from the beginning, the predefined task fractions are treated as relative allocation weights and dynamically normalized over the tasks observed up to the current learning stage.
Let denote the set of tasks encountered so far. For an observed task , its protected quota is
where is the total replay-memory capacity and is the predefined relative allocation weight for task . Because integer rounding can cause the resulting quotas to differ slightly from , the quotas are adjusted when necessary such that
For the three-domain sequence, the final RAR-Net configuration uses
These values represent relative task-protection weights rather than fixed capacities throughout the entire learning sequence. With a total memory capacity of , when CAMUS is the only observed task, its normalized quota is
After CardiacNet is introduced, the fractions are renormalized over CAMUS and CardiacNet, yielding
After EchoNet-Dynamic is introduced, all three predefined fractions participate in the normalization and the protected quotas become
Thus, the protected allocation evolves as new tasks enter the CL stream. This dynamic normalization allows the available replay capacity to be fully utilized during early stages while converging to the intended 25%, 50%, 25% allocation once all three domains have been observed. During memory construction, candidate samples are initially inserted while the replay buffer has available capacity. Once the memory reaches capacity, the protected quotas govern replacement. For a candidate belonging to task , if task is underrepresented relative to its current quota, replacement is sought from an overrepresented task. Otherwise, the candidate competes with stored samples belonging to the same task. In either case, the lowest-priority eligible exemplar is replaced only when the incoming sample has a higher reliability priority.
Consequently, the two mechanisms play complementary roles: the normalized task quotas determine how the finite replay capacity is distributed across the observed domains, whereas the reliability priority determines which examples are preferentially retained within those allocations.
Forgetting-Conditioned Adaptive Replay
Fixed replay strength assumes that historical knowledge requires the same degree of protection throughout training. This assumption is restrictive: forgetting can remain weak during one stage of optimization and increase sharply after a substantial domain shift. RAR-Net therefore adapts replay intensity using validation-based forgetting feedback evaluated after each training epoch. Let denote the best validation Dice previously observed for an earlier task , and let denote its validation Dice at the end of epoch while learning the current task . For , the instantaneous forgetting signal is computed over the previously learned tasks as
Only performance degradation contributes to the controller; improvements on earlier tasks do not artificially reduce the estimated need for replay. To reduce sensitivity to transient validation fluctuations, RAR-Net maintains an exponential moving average (EMA) of the forgetting signal,
where .
The controller is updated at the end of each epoch. After the warm-up period of epochs, the replay coefficient used in the subsequent epoch is
where
During the warm-up period,
Thus, validation performance on previously learned tasks is evaluated after each epoch, and the resulting forgetting estimate determines the replay strength used during the next epoch. Equation (43) therefore implements a feedback controller in which historical information receives greater optimization weight when previous-task performance deteriorates, while the clipping interval prevents replay from overwhelming learning on the current task.
Structure-Aware Replay
The most consequential difficulty in the present CL setting is not merely domain shift but annotation shift. CAMUS and CardiacNet provide LV, MYO, and LA annotations, whereas EchoNet-Dynamic provides LV supervision only. Consequently, during the final task, LV continues to receive direct gradients but MYO and LA do not. A generic replay objective can reduce this imbalance, but it does not explicitly guarantee preservation of the structures that disappear from current-task supervision. RAR-Net therefore introduces structure-aware replay for fully annotated historical samples. Let
denote replay samples containing complete LV/MYO/LA annotations. For structure , let denote the predicted probability and the binary reference mask. We define soft true-positive, false-positive, and false-negative quantities as
The Tversky index is then
and the corresponding loss is
RAR-Net uses
Because , false negatives receive greater penalty than false positives. This asymmetry is intentional. Under sequential learning, complete disappearance or severe erosion of an old anatomical structure is particularly undesirable. The structure-aware objective combines MYO and LA preservation:
with
The larger MYO weight reflects its more difficult geometry. The MYO is a relatively thin structure surrounding the ventricular cavity; small contour displacements can therefore produce disproportionately large changes in its overlap. More importantly, once MYO supervision disappears from the current task, ordinary gradient updates provide no direct incentive to preserve this representation. Structure-aware replay restores such an incentive using fully annotated historical examples. The structure contribution is weighted by
yielding
This term should be distinguished from generic region replay. Its purpose is not to relearn all historical labels equally, but to explicitly preserve anatomical information that becomes weakly or entirely unsupervised later in the sequence.
Segmentation and Boundary Supervision
RAR-Net accommodates two annotation modes: full multi-structure supervision for CAMUS and CardiacNet, and LV-only supervision for EchoNet-Dynamic. Accordingly, the segmentation objective is conditioned on the annotation mode of each sample rather than treating unavailable structures as background. For a fully annotated sample, let denote the segmentation logits at pixel , and let denote the corresponding GT class. The segmentation loss combines multiclass cross-entropy and foreground multiclass Dice loss:
The cross-entropy term is
where
is the softmax probability for class .
The multiclass Dice loss is evaluated over the foreground classes only:
where is the one-hot reference mask. Background is excluded from the Dice average.
LV-only partial supervision.
EchoNet-Dynamic provides an LV annotation but does not provide MYO or LA annotations. Consequently, applying the full multiclass objective would incorrectly interpret unavailable anatomical labels as negative supervision. RAR-Net therefore uses a separate LV-only objective for these samples. Let denote the binary LV reference mask. The binary LV logit used by the implementation is
The LV-only segmentation loss is
where
and
Here, is the LV probability obtained from the four-class softmax output. Importantly, the LV-only samples do not enter the full multiclass cross-entropy or multiclass Dice objective. Therefore, MYO and LA are not explicitly assigned background targets and receive no direct class-specific supervision from EchoNet-Dynamic. Their preservation during the LV-only stage is instead supported by replay of fully annotated historical examples and the structure-aware replay objective described in § 3.6.
Boundary supervision.
RAR-Net additionally predicts an auxiliary binary boundary map. For a GT segmentation , the reference boundary is obtained from horizontal and vertical label transitions between neighboring pixels. The boundary objective is binary cross-entropy with logits:
where denotes the boundary-head logit. For fully annotated CAMUS and CardiacNet samples, the boundary target contains transitions among the available anatomical labels. For EchoNet-Dynamic, the reference mask is binary; hence, the boundary target corresponds only to the annotated LV contour. No MYO or LA boundary supervision is generated from EchoNet-Dynamic.
Overall Optimization Objective
RAR-Net integrates annotation-aware segmentation, boundary supervision, adaptive replay, and structure-aware preservation within a unified training objective. For each sample , the segmentation loss is selected according to its annotation mode:
where the full-label and LV-only losses are defined in § 3.6.1. This formulation avoids assigning explicit background targets to unavailable MYO and LA annotations. The current-task and historical replay objectives are
where , and the segmentation and boundary losses follow the available annotation mode for each sample. The overall optimization objective at task is
where activates historical replay after the first task, denotes the forgetting-conditioned replay coefficient, and weights the structure-aware objective defined in § 3.6. The latter is evaluated only on fully annotated replay samples to reinforce MYO and LA segmentation. Model parameters are optimized using Adam with a learning rate of and weight decay of .
Training Procedure
Algorithm 1 summarizes the complete RAR-Net training procedure. Each task is learned for at most 20 epochs with early-stopping patience of eight epochs. Current-task mini-batches contain 16 samples and replay mini-batches contain eight historical examples. Mixed precision is used during training.
At each optimization step, the current-task loss is first evaluated. For , historical examples are sampled from protected memory and weighted by the current adaptive replay coefficient. Fully annotated historical samples additionally contribute the MYO-LA structure-aware objective. At the end of each epoch, all previously encountered validation tasks are evaluated, forgetting is estimated, and the EMA controller updates the replay coefficient. After task convergence, Algorithm 2 updates the protected replay memory using the five-component reliability priority.
Experimental Setup
We designed the experiments to examine two related questions: how accurately the model segments cardiac structures as it encounters new echocardiographic domains, and how much previously acquired knowledge survives this sequential learning process. The evaluation therefore goes beyond final-task accuracy. Three heterogeneous echocardiographic datasets were arranged as a sequential learning problem, and each model was evaluated after every learning stage. This allowed segmentation quality and CL behavior to be examined together. For a controlled comparison, RAR-Net and all baseline methods used the same backbone, data partitions, training schedule, and core optimization settings. Experiments were repeated using three deterministic random seeds (42, 123, and 2025), and the resulting performance is reported as mean standard deviation unless stated otherwise.
Algorithm 1 Training Procedure of RAR-Net
Require: Sequential tasks , model , replay memory , epochs , replay batch size
Ensure: Trained model
1: Initialize ,
2: Initialize
3: for to do
4: Set current task
5: Initialize
6: for to do
7: for mini-batch do
8:
9: Compute current-task loss:
10:
11:
12: if then
13: Sample using priority weights
14:
15: Compute replay loss
16:
17: Select fully annotated replay samples:
18:
19: if then
20: Compute MYO and LA Tversky losses:
21:
22:
23: Compute structure-aware replay loss:
24:
25:
26: end if
27: end if
28: Update using Adam on
29: end for
30: Evaluate validation performance on previously seen tasks
31: if then
32: Compute instantaneous forgetting:
33:
34: Update EMA forgetting:
35:
36: if then
37: Update replay coefficient for the next epoch:
38:
39: else
40:
41: end if
42: else
43:
44: end if
45: Update for monitored previous tasks
46: if early stopping is satisfied then
47: break
48: end if
49: end for
50: Update using Algorithm 2
51: end for
52: return
Datasets
The experiments were conducted on three echocardiographic datasets: CAMUS, CardiacNet, and EchoNet-Dynamic. These datasets differ not only in their acquisition characteristics and patient populations, but also in the type of anatomical supervision Algorithm 2 Protected Task-Aware Replay Memory Update.
Require: Current-task data , memory , capacity , task-allocation weights Ensure: Updated replay memory
1: for each sample do 2: Compute class reliability 3: Compute boundary reliability 4: Compute image reliability 5: Compute anatomical reliability 6: Compute temporal reliability 7: Compute reliability-based replay priority: 8: Determine the observed task set 9: for each do 10: Compute dynamically normalized protected quota:
11: end for 12: Adjust integer quotas such that 13: if then 14: Insert into 15: else if task contains fewer than stored samples then 16: Identify an overrepresented task 17: Find its lowest-priority exemplar 18: if then 19: Replace exemplar with 20: end if 21: else 22: Find the lowest-priority exemplar belonging to task 23: if then 24: Replace exemplar with 25: end if 26: end if 27: end for 28: return
they provide. CAMUS and CardiacNet contain multi-structure cardiac annotations, whereas EchoNet-Dynamic provides left-ventricular contour annotations. This difference makes the resulting CL problem more realistic: the model encounters both a change in image distribution and a change in available supervision as training progresses.
CAMUS
The CAMUS dataset Leclerc et al. [3] contains two-dimensional echocardiographic examinations from 500 patients. Each examination includes apical two-chamber (2CH) and four-chamber (4CH) views, with expert annotations provided at end-diastole (ED) and end-systole (ES). The dataset contains patients with different image qualities and cardiac conditions, making it a useful benchmark for multi-structure echocardiographic segmentation. We followed the official patient-level partition: 400 patients were used for training, 50 for validation, and the remaining 50 for testing. Keeping the partition at the patient level ensures that images originating from the same patient cannot appear across training and evaluation subsets.
For our experiments, the segmentation label space was standardized to four classes: BG, LV, MYO, and LA, represented by labels 0, 1, 2, and 3, respectively. Only the annotated ED and ES acquisitions were used. Echocardiographic images and their corresponding masks were resized to pixels. Image intensities were normalized to the range , while nearest-neighbor interpolation was used for segmentation masks to preserve discrete anatomical labels.
CardiacNet
CardiacNet Yang et al. [37] provides echocardiographic data collected for cardiac disease assessment and introduces a clinically different domain from CAMUS. This domain shift is useful in our setting because continual segmentation should remain effective when the acquisition distribution and patient population change rather than assuming that successive tasks are nearly identical. To maintain consistency with CAMUS, the CardiacNet annotations were mapped to the common four-class label space comprising BG, LV, MYO, and LA. The additional label 4 present in the original annotations was mapped to background. Slices containing no foreground cardiac structure after label mapping were excluded. CardiacNet was randomly divided at the patient level using the same proportion as CAMUS: 80% of the patients were assigned to training, 10% to validation, and 10% to testing. The patient-level constraint was applied before individual two-dimensional samples were generated. Consequently, frames or slices belonging to a given patient remained within a single partition throughout the experiments. The same preprocessing used for CAMUS was applied to CardiacNet. Images and segmentation masks were resized to pixels, and image intensities were normalized to .
EchoNet-Dynamic
EchoNet-Dynamic Ouyang et al. [4] is a large-scale echocardiographic video dataset containing 10,030 apical four-chamber videos acquired during routine clinical practice. In contrast to CAMUS and CardiacNet, EchoNet-Dynamic provides expert LV tracings rather than complete LV-MYO-LA segmentation annotations. Expert contour coordinates were converted into binary LV masks, and the corresponding annotated frames were extracted from the original videos. Frames and masks were subsequently resized to pixels. Because MYO and LA GT annotations are unavailable in EchoNet-Dynamic, these structures were not treated as background during optimization. Instead, EchoNet-Dynamic samples were handled using LV-only partial supervision. Evaluation on this dataset was likewise restricted to the LV. This distinction is particularly relevant to the CL setting: the final task changes not only the image domain but also the available anatomical supervision. For EchoNet-Dynamic, we follow the original dataset partition.
Experimental Protocol
Figure 4 summarizes the sequential training, replay-memory update, and evaluation protocol used across the three tasks. The primary CL sequence was defined as
Figure 4. CL evaluation protocol of RAR-Net across CAMUS, CardiacNet, and EchoNet-Dynamic. The first two datasets provide LV, MYO, and LA annotations, whereas EchoNet-Dynamic provides LV-only supervision. From the second task onward, training incorporates protected replay memory with reliability-aware sample selection and stage-wise normalized task-allocation weights. After each task, the model is evaluated on all previously observed domains to assess segmentation performance, knowledge retention, forgetting, and transfer.
A single segmentation model was trained sequentially according to this task order. After completing a task, training proceeded to the next dataset without unrestricted access to the complete training data of previous tasks. For rehearsal-based methods, historical information could be accessed only through the predefined replay memory. This restriction separates the CL methods from joint training, which retains simultaneous access to all training domains.
A common replay-memory capacity of 1,800 samples was used for RAR-Net and the replay-based baselines. The current-task batch size was 16, while eight replay samples were drawn for each replay mini-batch. These settings were kept fixed across replay-based methods so that differences in performance were not simply caused by giving one method a larger memory or greater replay budget. After each task, the current model was evaluated on the available evaluation sets of all three datasets. The resulting scores were organized into an accuracy matrix
where denotes the segmentation performance on task after the model has completed training on task . For example, measures performance on CAMUS after the model has subsequently learned CardiacNet and EchoNet-Dynamic. The difference between this value and the earlier CAMUS performance provides a direct indication of whether the original anatomical knowledge was retained or forgotten. All experiments were repeated using random seeds 42, 123, and 2025. The same dataset partitions were maintained across compared methods for a given experimental run. Random number generation was controlled for Python, NumPy, and PyTorch, and deterministic CUDA behavior was enabled where supported. This multi-seed evaluation was used to reduce the possibility that conclusions were driven by a favorable initialization or stochastic training trajectory.
Implementation Details
All models were implemented in PyTorch and trained using CUDA acceleration. The segmentation backbone follows a U-Net-style encoder-decoder architecture with skip connections and a base channel width of 32. A single-channel echocardiographic image is provided as input, and the segmentation branch predicts four output classes corresponding to BG, LV, MYO, and LA. A parallel boundary-prediction branch is attached to the final decoder representation for methods that make use of boundary information.
The Adam optimizer was used with an initial learning rate of and weight decay of . Each sequential task was trained for a maximum of 20 epochs. Joint training was likewise performed for 20 epochs to maintain a comparable optimization budget. Early stopping was triggered when validation performance failed to improve for eight consecutive epochs. The training batch size was 16 and the replay batch size was 8. Mixed-precision training was enabled to reduce GPU-memory consumption and improve computational efficiency. The replay loss was assigned a base weight of 1.00, while the boundary component was weighted by 0.30. The replay memory capacity was fixed at 1,800 samples. These core settings were shared by the proposed model and the corresponding baselines wherever applicable. Table 2 summarizes the common training configuration.
| Hyperparameter | Setting |
| Input image size | |
| Number of classes | 4 |
| Base channel width | 32 |
| Optimizer | Adam |
| Learning rate | |
| Weight decay | |
| Batch size | 16 |
| Replay batch size | 8 |
| Training epochs | 20 |
| Joint-training epochs | 20 |
| Early-stopping patience | 8 epochs |
| Mixed-precision training | Enabled |
| Replay memory capacity | 1,800 |
| Boundary loss coefficient | 0.30 |
| Base replay coefficient | 1.00 |
| Random seeds | 42, 123, 2025 |
Table 2. Training hyperparameters used in the experiments.
Evaluation Metrics
Continual segmentation cannot be judged reliably from final Dice alone. A model may perform well on EchoNet-Dynamic after the last training stage while having lost much of its earlier CAMUS or CardiacNet knowledge. We therefore evaluate the models from three perspectives: CL behavior, segmentation quality, and computational efficiency.
Continual-Learning Metrics
Following established CL evaluation protocols Lopez-Paz and Ranzato [46]; Chaudhry et al. [49], four measures were derived from the task-performance matrix : Final Average Accuracy (FAA), Average Forgetting (AF), Backward Transfer (BWT), and Forward Transfer (FWT).
Final Average Accuracy.
FAA measures the average segmentation performance retained across all tasks after completing the entire learning sequence:
A larger FAA indicates a more favorable overall balance between acquiring new knowledge and retaining earlier knowledge.
Average Forgetting.
AF measures the change in performance on previously learned tasks after subsequent training. It is computed as
Here, denotes the Dice score on task after training through task , and represents the total number of tasks. The historical maximum is calculated over evaluations performed after task has been learned and before the final training stage. AF is reported as a signed quantity without clipping negative values to zero. Positive AF indicates a net decline relative to the best historical performance, whereas negative AF indicates that the final model achieves higher performance than the corresponding historical reference on average. Lower AF is preferable, with zero indicating no net change relative to the historical maximum. Under the adopted maximum-based definition, AF may be negative when the final performance on previously learned tasks exceeds their best recorded performance before the final task. Negative AF therefore indicates net improvement rather than forgetting. In the present experiments, the maximum historical performance for each previous task coincides with its performance immediately after training, yielding for the evaluated task sequences.
Backward Transfer.
BWT measures the effect of subsequent learning on tasks that have already been learned:
Negative BWT indicates interference with earlier tasks, whereas positive BWT suggests that later learning improves representations useful for previously encountered domains.
Forward Transfer.
FWT evaluates how useful knowledge acquired from earlier tasks is for subsequent domains before those domains are explicitly learned. In our implementation, FWT is obtained from the available upper-triangular elements of :
Under this definition, FWT represents absolute pre-exposure performance rather than improvement relative to a randomly initialized reference model. Higher values therefore indicate greater transferability of representations learned from earlier echocardiographic domains.
Segmentation Metrics
Segmentation quality was evaluated using the Dice similarity coefficient, intersection over union (IoU), 95th-percentile Hausdorff distance (HD95), average symmetric surface distance (ASD), and Boundary F1 (BF1). Together, these metrics capture both region-level agreement and anatomical boundary quality. For predicted foreground region and GT region , Dice is
and IoU is
Both range from 0 to 1, with larger values indicating greater overlap.
Overlap alone, however, does not fully characterize anatomical segmentation quality. Two predictions may obtain similar Dice scores while differing substantially in contour localization. We therefore additionally report HD95 and ASD Taha and Hanbury [50]. HD95 measures the 95th percentile of the bidirectional distances between predicted and reference surfaces, reducing the sensitivity of the conventional Hausdorff distance to isolated extreme outliers. ASD measures the mean symmetric distance between the two surfaces. For both metrics, lower values indicate better boundary agreement. BF1 provides a complementary contour-oriented measure. Let and denote boundary precision and boundary recall, respectively. Boundary F1 is calculated as
A two-pixel tolerance was used when determining whether predicted and GT boundary pixels correspond. Higher BF1 therefore indicates more accurate localization of cardiac contours. For CAMUS and CardiacNet, class-wise metrics were computed for LV, MYO, and LA and subsequently summarized across the foreground structures. Because EchoNet-Dynamic provides only LV contour annotations, its segmentation evaluation was restricted to LV.
Computational Metrics
CL improvements are less convincing if they require a disproportionate increase in computation. We therefore report four computational measures: number of trainable parameters, training time, peak GPU-memory consumption, and evaluation runtime per image. The number of trainable parameters was obtained directly from each model. Training time was measured as the elapsed wall-clock time required for each task-training stage. Peak GPU memory was recorded using CUDA memory statistics during optimization. Evaluation runtime per image was calculated from the elapsed evaluation time normalized by the number of processed images:
where is the total evaluation time and is the number of evaluated images. These measurements allow the accuracy gains of RAR-Net to be considered alongside its practical computational cost.
Table 3 summarizes the computational characteristics of RAR-Net across the sequential learning stages. The parameter count remains fixed at 7.76 M throughout the sequence, indicating that continual adaptation does not require expansion of the segmentation network. The peak GPU memory usage ranges from 1.6620 GB for CAMUS to 2.3114 GB for CardiacNet. Training time varies across tasks, with CardiacNet requiring the longest optimization time, followed by EchoNet-Dynamic and CAMUS.
| Task | Training time (s) | Peak GPU memory (GB) |
| CAMUS | ||
| CardiacNet | ||
| EchoNet |
Table 3. Computational characteristics of the proposed RAR-Net across the sequential learning tasks. Training time is reported as mean standard deviation over three random seeds. EchoNet denotes EchoNet-Dynamic. The model contains 7.76 M trainable parameters, which remain unchanged across all sequential learning tasks.
For a consistent comparison, all sequential methods were trained using the same backbone, data preprocessing, optimization settings, and task sequence, while method-specific hyperparameters were configured according to their respective formulations. The complete baseline-specific settings and the hyperparameters used for the proposed RAR-Net are summarized in Table 4.
| Method | Component | Hyperparameter | Value |
| Boundary-Balanced Replay | Sampling | Class sampling weight () | 0.40 |
| Boundary sampling weight () | 0.60 | ||
| EWC | Regularization | Regularization coefficient () | 20.0 |
| LwF | Distillation | Distillation coefficient () | 0.50 |
| Distillation temperature () | 2.0 | ||
| Plain Replay | Replay | Replay loss coefficient () | 1.00 |
| iCaRL-style Replay | Replay | Replay loss coefficient () | 1.00 |
| Weighted-Sampler Replay | Sampling | Class sampling weight () | 0.40 |
| Boundary sampling weight () | 0.60 | ||
| RAR-Net (Ours) | Memory configuration | Replay memory capacity () | 1,800 |
| Replay mini-batch size () | 8 | ||
| CAMUS allocation weight () | 0.25 | ||
| CardiacNet allocation weight () | 0.50 | ||
| EchoNet-Dynamic allocation weight () | 0.25 | ||
| Adaptive replay | Base replay coefficient () | 1.00 | |
| Adaptive replay minimum () | 0.75 | ||
| Adaptive replay maximum () | 1.75 | ||
| Adaptive replay gain () | 4.00 | ||
| Forgetting EMA coefficient () | 0.70 | ||
| Adaptive replay warm-up | 3 epochs | ||
| Reliability scoring | Class reliability weight () | 0.15 | |
| Boundary reliability weight () | 0.20 | ||
| Image reliability weight () | 0.20 | ||
| Anatomical reliability weight () | 0.25 | ||
| Temporal reliability weight () | 0.20 | ||
| Structure-aware replay | Structure-aware replay coefficient () | 0.30 | |
| MYO/LA replay weights () | (1.25, 1.00) | ||
| Tversky parameters () | (0.30, 0.70) |
Table 4. Method-specific hyperparameters used for the CL baselines and the proposed RAR-Net.
Results
This section examines the performance of RAR-Net under sequential training on CAMUS, CardiacNet, and EchoNet-Dynamic. We first compare overall performance against established CL methods and the offline joint-training reference. We then examine knowledge retention, transfer, and dataset-specific segmentation quality, with particular attention to the trade-offs introduced by heterogeneous domains and annotation protocols. All results are reported as mean standard deviation over three random seeds (42, 123, and 2025).
Overall Comparison
Table 5 compares RAR-Net with established CL approaches, including regularization-based methods, conventional replay, DER, and MIR. RAR-Net achieves the highest FAA among the evaluated CL methods, reaching . The strongest competing method by FAA is Weighted-Sampler Replay (), followed by Plain Replay () and MIR (). Although these differences are relatively modest, they suggest that reliability-guided memory management provides an advantage over conventional rehearsal under the evaluated task sequence.
| Method | FAA | AF | BWT | FWT |
| Joint Training (Offline) | 0.8726 0.0140 | N/A | N/A | N/A |
| Plain Replay | 0.8544 0.0065 | |||
| Boundary-Balanced Replay | ||||
| EWC | ||||
| LwF | ||||
| iCaRL-style Replay | ||||
| Weighted-Sampler Replay | ||||
| DER | ||||
| MIR | ||||
| RAR-Net (Ours) | ||||
| Method | CAMUS | CardiacNet | EchoNet-Dynamic | |
| Joint Training (Offline) | ||||
| Plain Replay | ||||
| Boundary-Balanced Replay | ||||
| EWC | ||||
| LwF | ||||
| iCaRL-style Replay | ||||
| Weighted-Sampler Replay | ||||
| DER | ||||
| MIR | ||||
| RAR-Net (Ours) |
Table 5. Comparison of CL methods after sequential training on CAMUS CardiacNet EchoNet-Dynamic. Results are reported as mean standard deviation over three random seeds (42, 123, and 2025). Higher FAA, BWT, FWT, and Dice indicate better performance, whereas lower AF indicates better performance. Joint Training is included as an offline full-data reference; therefore, AF, BWT, and FWT are not applicable. Boldface indicates the best mean among CL methods.
The offline Joint Training reference achieves an FAA of , only 0.0008 above RAR-Net. Unlike CL methods, Joint Training has simultaneous access to the complete training data from all three datasets. Thus, the comparison indicates that RAR-Net approaches the performance of offline optimization while operating with bounded historical replay memory. However, the small numerical difference should not be interpreted as evidence of statistical equivalence.
The baseline results also reveal substantial variation in the ability to retain knowledge across domains. EWC and LwF perform poorly overall, despite their mechanisms for limiting changes to previously learned representations or outputs. Similarly, Boundary-Balanced Replay retains relatively strong performance on CAMUS but struggles on CardiacNet. In contrast, RAR-Net maintains comparatively balanced segmentation performance across the three datasets. This distinction is relevant because high accuracy on the most recently learned domain does not necessarily indicate successful CL.
Continual-Learning and Dataset-Wise Segmentation Performance
The CL metrics in Table 5(a) clarify the extent to which the overall improvements arise from historical knowledge retention. RAR-Net achieves an AF value of and BWT of , outperforming the corresponding retention metrics of Plain Replay and Weighted-Sampler Replay. Under the maximum-based forgetting definition adopted in this study, negative AF indicates that final performance on previously learned tasks exceeds their best recorded performance before the final task. The positive BWT is consistent with this interpretation, suggesting that subsequent training can improve previously acquired segmentation performance rather than merely preventing its deterioration.
RAR-Net also obtains the highest reported forward-transfer measure (), although the difference from Boundary-Balanced Replay and iCaRL-style Replay is small. Since this measure represents absolute pre-exposure performance rather than baseline-corrected FWT, it should be interpreted as an indication of cross-domain generalization before explicit training on the subsequent task. In summary, the results suggest that RAR-Net’s main advantage lies in retaining and consolidating historical knowledge, rather than producing a substantial improvement in FWT.
The final dataset-specific Dice scores in Table 5(b) help explain this behavior. RAR-Net achieves the highest Dice among CL methods on CAMUS () and CardiacNet (). CAMUS is particularly informative because it is learned first and must remain accessible throughout two subsequent training stages. Its final performance is comparable to the offline Joint Training reference, indicating that the proposed replay mechanisms preserve much of the knowledge acquired during initial training.
CardiacNet presents a more demanding retention problem. As the intermediate task, it requires adaptation from CAMUS while remaining resistant to interference from the subsequent LV-only EchoNet-Dynamic dataset. RAR-Net maintains a CardiacNet Dice of , compared with for Weighted-Sampler Replay and for Plain Replay. The gap is considerably larger against Boundary-Balanced Replay and iCaRL-style Replay, both of which retain relatively strong CAMUS performance but deteriorate substantially on CardiacNet. This contrast suggests that protecting historical samples from multiple tasks is more useful than preserving the earliest task alone.
The picture is slightly different on EchoNet-Dynamic. RAR-Net achieves a Dice of , whereas Plain Replay obtains . The difference is small, but it shows that RAR-Net does not uniformly outperform conventional replay on the final task. Instead, its advantage emerges from maintaining stronger performance on the earlier datasets while preserving competitive adaptation to the incoming LV-only supervision. This is a more meaningful outcome for continual segmentation than maximizing final-task accuracy at the expense of previously learned structures.
Table 6 provides further evidence through region-overlap and boundary-distance metrics. RAR-Net achieves the highest IoU and lowest HD95 and ASD among the evaluated CL methods across all three datasets. These improvements are particularly relevant on CAMUS and CardiacNet, where preservation of previously learned anatomical boundaries remains necessary after subsequent training. Nevertheless, the BF1 results are less uniform: Weighted-Sampler Replay performs slightly better on CardiacNet, while EWC achieves the highest BF1 on EchoNet-Dynamic. Thus, the improvements in region overlap and surface distance do not translate into superiority on every boundary metric.
| Method | IoU | HD95 | ASD | BF1 |
| Joint Training (Offline) | ||||
| Plain Replay | ||||
| Boundary-Balanced Replay | ||||
| EWC | ||||
| LwF | ||||
| iCaRL-style Replay | ||||
| Weighted-Sampler Replay | ||||
| DER | ||||
| MIR | ||||
| RAR-Net (Ours) | ||||
| Method | IoU | HD95 | ASD | BF1 |
| Joint Training (Offline) | ||||
| Plain Replay | ||||
| Boundary-Balanced Replay | ||||
| EWC | ||||
| LwF | ||||
| iCaRL-style Replay | ||||
| Weighted-Sampler Replay | ||||
| DER | ||||
| MIR | ||||
| RAR-Net (Ours) | ||||
| Method | IoU | HD95 | ASD | BF1 |
| Joint Training (Offline) | ||||
| Plain Replay | ||||
| Boundary-Balanced Replay | ||||
| EWC | ||||
| LwF | ||||
| iCaRL-style Replay | ||||
| Weighted-Sampler Replay | ||||
| DER | ||||
| MIR | ||||
| RAR-Net (Ours) |
Table 6. Table 6 Comparison of final segmentation performance after sequential learning on CAMUS CardiacNet EchoNet-Dynamic. Results are reported as mean standard deviation over three random seeds (42, 123, and 2025). Higher IoU and BF1 indicate better performance, whereas lower HD95 and ASD indicate better performance. Joint Training is included as an offline full-data reference and is excluded from the boldface comparison. Dice is reported separately in Table 5.
Overall, the results indicate that RAR-Net provides a favorable balance between adaptation and historical knowledge retention under the evaluated task sequence. Its strongest gains occur on previously learned datasets, particularly CardiacNet, while performance on the final EchoNet-Dynamic task remains competitive. This pattern is consistent with the objective of reliability-guided replay: retaining useful historical information without substantially restricting adaptation to newly introduced data.
Computational Analysis
In addition to segmentation accuracy and CL performance, we examined the computational characteristics of RAR-Net. This analysis is useful because replay-based CL inevitably introduces additional training operations through historical-sample rehearsal. The relevant question is therefore not whether replay is computationally free, but whether the resulting overhead remains practical and whether the proposed method requires architectural expansion as new tasks are encountered. Table 3 summarizes the task-wise training time, peak GPU-memory consumption, and model size of RAR-Net.
Training Cost
The computational demand varies substantially across the sequential tasks. CAMUS requires only 786.95 10.02 s of training, whereas CardiacNet is the most expensive stage at 16802.10 65.44 s. EchoNet-Dynamic requires 6765.76 16.07 s. Across the full CAMUS CardiacNet EchoNet-Dynamic sequence, the accumulated training time is approximately s, corresponding to about 6.77 h.
The difference between tasks primarily reflects the amount and organization of training data processed at each stage rather than a change in network complexity. In particular, RAR-Net uses the same backbone throughout the entire sequence. The relatively small standard deviations in task-wise training time also indicate that the computational requirements remain stable across the three deterministic seeds.
Replay inevitably increases the amount of computation performed during continual adaptation because each update can include both current-task and historical samples. In our setting, the current-task mini-batch size was 16, while the replay mini-batch size was 8. A fixed memory capacity of 1,800 samples was used. Thus, the computational cost of RAR-Net arises primarily from controlled historical rehearsal rather than from expanding the segmentation network.
Evaluation Runtime
The mean evaluation time per image was approximately 0.0370 s for CAMUS, 0.3250 s for CardiacNet, and 0.0150 s for EchoNet-Dynamic. These values correspond to approximately 37, 325, and 15 ms per evaluated image, respectively. The recorded values represent the complete evaluation procedure rather than an isolated forward pass. They therefore include data loading, device transfer, model prediction, and metric computation. Consequently, the larger CardiacNet value should not be interpreted as pure neural-network inference latency.
This distinction matters when assessing deployment feasibility. RAR-Net does not introduce a separate inference network, task-specific decoder, or generative module. Once training is complete, prediction is performed using the same fixed segmentation network regardless of the task from which the input originates. The replay mechanisms are used only during training and do not require replay-memory access during inference.
Memory Requirements
Peak GPU-memory consumption is 1.6620 GB during CAMUS training, increases to 2.3114 GB for CardiacNet, and remains at 2.2710 GB for EchoNet-Dynamic. The maximum observed GPU requirement is therefore approximately 2.31 GB. The increase after the first task is expected because replay-based stages process historical samples together with current-task data. RAR-Net additionally maintains a bounded replay memory of 1,800 samples. The predefined relative task-allocation weights are 0.25, 0.50, and 0.25 for CAMUS, CardiacNet, and EchoNet-Dynamic, respectively. These weights are renormalized over the tasks observed at each stage. After all three tasks have been observed, the protected quotas are 450 CAMUS samples, 900 CardiacNet samples, and 450 EchoNet-Dynamic samples. The key point is that this storage budget is fixed; it does not grow unbounded as additional stages are learned.
Qualitative Results
The qualitative results provide spatial evidence for the differences observed in the quantitative evaluation. Figure 5 and Figure 6 present representative predictions from the multi-structure CAMUS and CardiacNet datasets and the LV-only EchoNet-Dynamic dataset, respectively. Each row identifies the corresponding CL method and shows the input echocardiogram, GT annotation, predicted segmentation, and binary disagreement map. White pixels in the error maps indicate locations where the predicted segmentation differs from the reference annotation. Broad filled regions therefore indicate substantial structural disagreement, whereas thin contour-like regions primarily represent localized boundary displacement.

Figure 5. Qualitative segmentation comparison on CAMUS (first four rows) and CardiacNet (last four rows). Each row represents a CL method, with columns showing the input image, GT, prediction, and pixel-wise error map. White regions indicate segmentation disagreement with GT.

Figure 6. Qualitative LV segmentation comparison on EchoNet-Dynamic. Each row corresponds to the CL method indicated in the figure. From left to right, the columns show the input echocardiogram, GT LV segmentation, predicted LV segmentation, and pixel-wise disagreement map. White regions indicate disagreement between the prediction and GT. The predominantly contour-like errors indicate that the remaining disagreement is concentrated mainly near the LV boundary.
Multi-structure segmentation.
A clear pattern in Figure 5 is that the differences among the CL strategies are expressed not only through the amount of segmentation error but, more importantly, through its spatial organization. Several methods recover the approximate locations of the cardiac structures, but the weaker predictions occasionally exhibit severe structural failures. In the CAMUS example, the most prominent failure is substantial expansion of the predicted myocardial region into surrounding tissue, producing a broad filled disagreement region. A similar failure is visible in the CardiacNet example, where extensive foreground expansion disrupts the expected multi-structure configuration. Such errors are more severe than small contour offsets because they alter the geometry and spatial organization of the predicted cardiac anatomy.
The stronger replay-based predictions substantially reduce these failures. In particular, Weighted-Sampler Replay preserves much of the global cardiac configuration and demonstrates that appropriately revisiting historical examples can alleviate forgetting. Nevertheless, weighted sampling alone does not explicitly guarantee preservation of the historical task composition or provide structure-specific protection when particular anatomical annotations disappear from subsequent tasks. The qualitative comparison therefore highlights an important distinction between improving replay sampling and controlling the information that is retained and reinforced throughout sequential learning.
RAR-Net exhibits a consistently coherent multi-structure configuration in the displayed examples. The LV, MYO, and LA remain spatially separated, their relative arrangement is preserved, and the predicted regions closely follow the corresponding GT anatomy. Consequently, its disagreement maps are dominated by localized contour differences rather than the broad interior or exterior error regions associated with
severe structural failure. The important qualitative pattern is therefore not the complete elimination of segmentation error, but a transition from spatially distributed anatomical errors toward predominantly boundary-localized disagreement.
Another notable pattern concerns the relative vulnerability of the cardiac structures. The LV is generally more stable across the compared methods, whereas MYO and LA are more susceptible to distortion, expansion, or incomplete preservation. Even in predictions exhibiting substantial degradation, a recognizable LV can remain while the surrounding myocardial region becomes excessively thick or spatially extended. This behavior is particularly relevant to the heterogeneous supervision considered in this study. LV supervision remains available in EchoNet-Dynamic, whereas MYO and LA annotations are unavailable in the final task. Consequently, preservation of MYO and LA after learning the LV-only domain provides a more demanding visual indication of retained anatomical knowledge.
The observed behavior is consistent with the complementary mechanisms of RAR-Net. Reliability-aware exemplar prioritization evaluates historical samples using class, boundary, image, anatomical, and temporal information, rather than relying only on their sampling frequency. Protected task-aware memory limits the displacement of historical-domain information, while the forgetting-conditioned controller increases the contribution of replay when degradation on previous tasks becomes more pronounced. Most importantly for the multi-structure examples, structure-aware replay explicitly reinforces MYO and LA using fully annotated historical samples when these structures are no longer supervised by the incoming LV-only domain. Boundary supervision provides an additional constraint on spatial delineation. The interaction of these mechanisms provides a plausible explanation for the observed reduction in large anatomically destructive errors.
EchoNet-Dynamic.
A different pattern is observed in Figure 6. Because EchoNet-Dynamic provides direct LV supervision and evaluation is restricted to the LV, the qualitative differences among the compared methods are much less pronounced than for CAMUS and CardiacNet. All displayed methods correctly localize the LV and recover its overall ventricular geometry. Their disagreement maps are predominantly thin and peripheral, indicating that the remaining errors arise mainly from local contour displacement rather than complete failure to identify the ventricular region.
The residual disagreement is concentrated particularly near the ventricular boundary, including the lateral wall and apical region, where ultrasound interfaces can be weak or ambiguous. RAR-Net likewise produces a well-localized LV whose overall shape closely corresponds to the GT. Its advantage on this dataset is therefore considerably more subtle than in the multi-structure examples. This is expected because EchoNet-Dynamic is the final task in the primary sequence and directly provides LV supervision during training. Consequently, the compared methods have direct access to the target structure whose segmentation is visualized.
This contrast clarifies the principal role of RAR-Net. The challenge is not only to learn the directly supervised LV in the incoming EchoNet-Dynamic domain, but also to do so without destroying the richer LV-MYO-LA knowledge acquired from the preceding domains. The CAMUS and CardiacNet examples therefore provide more informative visual evidence of historical anatomical retention, whereas the EchoNet-Dynamic examples indicate that this additional stability does not prevent effective adaptation to the newly introduced LV-specific domain.
Comparison with Weighted-Sampler Replay.
The qualitative comparison with Weighted-Sampler Replay is particularly informative because both approaches use historical exemplars, but differ in how replay information is controlled. Weighted-Sampler Replay can improve historical retention by changing the probability with which stored examples are revisited. The displayed results confirm that such replay can preserve substantial anatomical information. However, sample weighting by itself does not explicitly determine whether individual historical domains remain adequately represented, whether replay strength should increase when measured forgetting becomes larger, or whether structures that lose direct supervision require additional protection.
RAR-Net addresses these complementary aspects through protected task-aware memory, forgetting-conditioned replay weighting, and annotation-aware structure preservation in addition to reliability-based exemplar prioritization. The visual consequence in the displayed examples is greater consistency of the retained multi-structure anatomy, particularly for MYO and LA, together with fewer catastrophic foreground expansions. Thus, the qualitative advantage over Weighted-Sampler Replay should be interpreted as more controlled preservation of historical anatomical information rather than simply more frequent replay of selected examples.
Error-pattern interpretation.
The disagreement maps further distinguish two qualitatively different forms of segmentation error. Broad filled white regions indicate substantial structural disagreement, including severe over-segmentation, under-segmentation, or distortion of an anatomical region. In contrast, thin contour-like regions indicate that the global anatomy has been recovered and that the remaining disagreement is predominantly associated with boundary localization. This distinction complements region-overlap measures because predictions with broadly similar foreground overlap may differ considerably in whether their errors preserve or disrupt anatomical organization.
Across the displayed multi-structure examples, the stronger methods shift the error pattern from large spatially distributed disagreement toward localized contour errors. RAR-Net demonstrates this pattern consistently in the illustrated CAMUS and CardiacNet cases. On EchoNet-Dynamic, where all methods already preserve the directly supervised LV reasonably well, the error maps are predominantly boundary-localized across methods. These observations also support the use of surface- and boundary-sensitive measures such as HD95, ASD, and BF1 alongside Dice-based evaluation.
Overall, the qualitative findings reinforce the quantitative results while clarifying the nature of the improvement. RAR-Net does not eliminate segmentation error, and residual contour discrepancies remain visible, particularly at weak-contrast ultrasound boundaries. Rather, its principal qualitative advantage is the more consistent preservation of the identity, relative position, and geometry of previously learned cardiac structures, together with a reduction in severe spatially distributed failures. This behavior is consistent with the combined action of reliability-aware exemplar selection, protected task-aware memory, forgetting-conditioned adaptive replay, boundary supervision, and annotation-aware structure preservation under sequential domain and supervision shifts.
Ablation Study
We investigate the contributions of RAR-Net’s principal components and individual reliability factors through two complementary ablation studies. The first examines protected task-aware memory, forgetting-conditioned adaptive replay, and structure-aware supervision, including separate MYO-only and LA-only configurations. The second removes each reliability factor individually while renormalizing the remaining weights. All experiments follow the CAMUS CardiacNet EchoNet-Dynamic sequence and use three random seeds (42, 123, and 2025). The component configurations are summarized in Table 7, with quantitative results reported in Table 8 and Table 9.
| Variant | Protected Memory | Adaptive Replay | Structure-Aware Replay |
| A0 Full RAR-Net | ✓ | ✓ | MYO + LA |
| A1 w/o Protected Memory | × | ✓ | MYO + LA |
| A2 w/o Adaptive Replay | ✓ | × | MYO + LA |
| A3 w/o Structure-Aware Replay | ✓ | ✓ | × |
| A4 MYO-only Replay | ✓ | ✓ | MYO only |
| A5 LA-only Replay | ✓ | ✓ | LA only |
Table 7. Configuration of the RAR-Net ablation variants.
| (a) Continual-learning metrics | ||||
| Variant | FAA | AF | BWT | FWT |
| A0 Full RAR-Net | ||||
| A1 w/o Protected Memory | ||||
| A2 w/o Adaptive Replay | ||||
| A3 w/o Structure-Aware Replay | ||||
| A4 MYO-only Replay | ||||
| A5 LA-only Replay | ||||
| (b) Final Dice after sequential learning | ||||
| Variant | CAMUS | CardiacNet | EchoNet-Dynamic | |
| A0 Full RAR-Net | ||||
| A1 w/o Protected Memory | ||||
| A2 w/o Adaptive Replay | ||||
| A3 w/o Structure-Aware Replay | ||||
| A4 MYO-only Replay | ||||
| A5 LA-only Replay |
Table 8. Ablation study of the proposed RAR-Net using three deterministic random seeds. Results are reported as mean standard deviation.
| Variant | FAA | AF | BWT | FWT |
| Full RAR-Net | 0.8718 0.0029 | 0.0489 0.0116 | 0.4366 0.0357 | |
| R1: w/o Class reliability | 0.8702 0.0022 | 0.0593 0.0084 | 0.4506 0.0222 | |
| R2: w/o Boundary reliability | 0.8701 0.0031 | 0.0504 0.0041 | 0.4304 0.0100 | |
| R3: w/o Image reliability | 0.8640 0.0033 | 0.0381 0.0169 | 0.4341 0.0296 | |
| R4: w/o Anatomical reliability | 0.8696 0.0024 | 0.0436 0.0072 | 0.4393 0.0106 | |
| R5: w/o Temporal reliability | 0.8702 0.0027 | 0.0140$ | 0.0476 0.0140 | 0.4334 0.0309 | ||
| Variant | CAMUS | CardiacNet | EchoNet-Dynamic | |
| Full RAR-Net | 0.8977 0.0024 | 0.8096 0.0055 | 0.9081 0.0023 | |
| R1: w/o Class reliability | 0.8956 0.0025 | 0.8088 0.0054 | 0.9062 0.0007 | |
| R2: w/o Boundary reliability | 0.8959 0.0025 | 0.8071 0.0083 | 0.9073 0.0012 | |
| R3: w/o Image reliability | 0.8944 0.0024 | 0.7904 0.0109 | 0.9074 0.0002 | |
| R4: w/o Anatomical reliability | 0.8963 0.0015 | 0.8045 0.0085 | 0.9079 0.0023 | |
| R5: w/o Temporal reliability | 0.8959 0.0016 | 0.8057 0.0083 | 0.9088 0.0006 |
Table 9. Factor-wise reliability ablation of RAR-Net. Results are reported as mean standard deviation over three deterministic random seeds (42, 123, and 2025). Each variant removes one reliability factor while renormalizing the remaining factor weights. (a) Continual-learning metrics (b) Final Dice after sequential learning.
The component-wise results identify protected memory as the strongest contributor to final segmentation accuracy. Removing this mechanism (A1) reduces FAA from 0.8718 to 0.8555, with the largest deterioration occurring on CardiacNet, where
Dice decreases from 0.8096 to 0.7670. This suggests that task-aware memory allocation helps preserve intermediate-task knowledge that might otherwise be displaced during subsequent training. Disabling adaptive replay (A2) produces a smaller FAA reduction to 0.8689, accompanied by weaker AF and BWT. The effect is modest, however, indicating that a fixed replay coefficient already retains much of the full model’s performance under the evaluated sequence.
Structure-aware replay has a more pronounced effect on historical retention than on final segmentation accuracy. Removing it (A3) reduces FAA to 0.8673 and changes AF from to 0.0369, while BWT decreases from 0.0489 to . This reversal suggests that explicit structural supervision contributes to retaining previously learned knowledge when subsequent tasks provide incomplete anatomical annotations. The single-structure variants provide further context. MYO-only replay (A4) achieves slightly higher FAA than LA-only replay (A5), whereas LA-only replay yields marginally more favorable AF and BWT. Neither variant matches the complete model across the reported metrics, suggesting complementary contributions from MYO and LA supervision, although the differences are relatively small.
The factor-wise analysis in Table 9 reveals a less uniform pattern. Removing image reliability (R3) produces the largest reduction in FAA, from 0.8718 to 0.8640, alongside a decrease in CardiacNet Dice from 0.8096 to 0.7904. This suggests that image-derived cues, including contrast, sharpness, and foreground visibility, are particularly useful for prioritizing historical exemplars under changing ultrasound appearances. Removing anatomical reliability (R4) has a smaller effect, reducing FAA to 0.8696. The effects of the remaining factors are less consistent: excluding class reliability (R1) slightly improves AF and BWT despite reducing FAA, while removing temporal reliability (R5) marginally improves EchoNet-Dynamic Dice. These differences suggest that reliability factors provide partly overlapping information and that their current fusion weights are not necessarily optimal.
In summary, the ablations show that the three principal mechanisms influence different aspects of CL. Protected memory contributes most clearly to final accuracy, particularly on CardiacNet, whereas structure-aware replay is associated with more favorable historical retention. Adaptive replay provides a smaller additional benefit. Among the reliability factors, image reliability has the largest observed influence on overall performance, while the remaining cues have more modest or metric-dependent effects. The complete model achieves the highest FAA among the evaluated variants, but the mixed factor-wise results also indicate that further calibration of the reliability weights may improve the balance between historical retention and adaptation.
Discussion
The findings of this study suggest that effective continual echocardiographic segmentation depends not only on preserving historical training examples but also on determining which information should be retained and how it should influence subsequent optimization. RAR-Net demonstrates favorable historical knowledge retention while maintaining competitive adaptation to newly introduced data. However, the differences between its principal components and reliability factors indicate that these benefits arise from several interacting mechanisms rather than a uniformly advantageous selection strategy. This distinction is relevant to CL theory, where the stability-plasticity dilemma remains central, and to medical imaging, where changes in acquisition conditions may coincide with differences in annotation completeness.
Stability-Plasticity Balance and Historical Knowledge Retention
The findings are broadly consistent with the stability-plasticity framework underlying CL. Kirkpatrick et al. [20] proposed protecting previously important network parameters to reduce catastrophic forgetting, while Li and Hoiem (2017) explored preserving historical knowledge through distillation. These approaches demonstrate that previously acquired representations can be protected without unrestricted access to historical training data. Nevertheless, their comparatively weak performance in the present experiments suggests that parameter-level constraints and output consistency alone may be insufficient for continual segmentation across heterogeneous echocardiographic datasets. These constraints preserve selected aspects of the previous model without necessarily maintaining the spatially detailed supervision needed for cardiac structures. This interpretation should not be generalized to all regularization or distillation methods, particularly because their effectiveness depends on the implementation, optimization settings, and underlying domain shifts.
The stronger performance of replay-based approaches agrees with the broader observation that revisiting historical experience can reduce interference between sequentially learned tasks Rolnick et al. [51]. Yet the present findings also expose a limitation of conventional rehearsal: retaining examples does not guarantee balanced preservation of every historical domain. The intermediate CardiacNet task is especially informative in this respect. Some replay strategies preserve the earliest dataset relatively well while losing substantial knowledge acquired later in the sequence. RAR-Net’s protected memory mechanism appears to address this imbalance by reducing competition between historical tasks for limited storage. From a theoretical perspective, this suggests that memory composition is an important part of the stability-plasticity problem, rather than merely an implementation detail of experience replay.
The comparison with offline joint training provides further context. The relatively small performance gap suggests that carefully selected historical supervision can approximate some benefits of simultaneous multi-domain optimization. However, this finding should not be interpreted as demonstrating equivalence between sequential and offline learning. Joint training operates under different data-access assumptions, and the observed proximity may depend on the similarity of the evaluated domains, the memory budget, and the limited length of the learning sequence. Moreover, the modest advantage over strong replay baselines indicates that RAR-Net’s contribution lies primarily in improving the allocation and use of historical supervision rather than introducing a fundamentally different learning paradigm.
Reliability-Guided Memory and Anatomical Knowledge Preservation
The component-wise ablations suggest that memory protection and structure-aware supervision address related but distinct sources of forgetting. Protected memory determines which historical examples remain available, whereas structure-aware replay influences which previously learned segmentation targets are reinforced during optimization. This distinction is particularly relevant under heterogeneous supervision. When later training data provide annotations for fewer cardiac structures, the absence of explicit targets for previously learned regions creates an additional source of uncertainty. Historical image-mask pairs can supply supervision that is no longer available in the incoming dataset.
This interpretation is related to the problem of semantic background shift discussed by Douillard et al. [48] in continual semantic segmentation. Their work demonstrated that changes in class supervision can create ambiguity between background pixels and previously learned categories, motivating feature preservation and pseudo-labeling strategies. RAR-Net addresses a related concern through annotated replay rather than relying exclusively on predictions from an earlier model. The distinction matters because historical annotations provide direct supervision for previously learned structures, whereas pseudo-labels and distillation targets may inherit errors from the teacher model. Nevertheless, the two approaches are not directly equivalent: the present study concerns sequential domain adaptation with heterogeneous anatomical labels, rather than the conventional class-incremental setting Douillard et al. [48]. The findings therefore extend the relevance of supervision consistency to a different continual-segmentation scenario without establishing superiority over that specific method.
The structural ablations also suggest that preservation of previously learned anatomy cannot be reduced to a single auxiliary objective with interchangeable targets. MYO-only and LA-only supervision exhibit somewhat different effects on overall accuracy and historical retention. These differences may reflect variations in structural appearance, segmentation difficulty, and sensitivity to incomplete supervision. However, the current evidence does not establish a causal anatomical explanation. In particular, the structure-aware Tversky objective reinforces class-specific segmentation accuracy but does not explicitly constrain myocardial thickness, chamber connectivity, or spatial relationships between cardiac structures. Consequently, anatomical preservation in RAR-Net should be interpreted as retention of previously learned structure-specific segmentation performance, not as a guarantee of anatomical plausibility.
The factor-wise reliability experiments introduce a more critical perspective on the proposed exemplar-selection mechanism. Image reliability appears to provide the clearest benefit, particularly for the intermediate dataset, suggesting that image appearance and visibility may influence the usefulness of stored examples under changing acquisition conditions. This observation is plausible in echocardiography, where contrast variation, speckle, acoustic artifacts, and incomplete visualization can affect segmentation quality. However, image quality is not necessarily equivalent to training value. Difficult or atypical examples may contain information that is essential for generalization, even when their apparent reliability is low. A selection strategy that consistently favors visually clear images could therefore underrepresent challenging patients or acquisition conditions.
The mixed contributions of class, boundary, anatomical, and temporal reliability further challenge the assumption that combining more criteria necessarily produces better exemplar selection. Some factor removals improve historical retention or individual-dataset performance, despite slightly reducing overall accuracy. This suggests possible redundancy among reliability cues, imperfect calibration of their fusion weights, or competing objectives within the memory-selection process. An alternative explanation is that certain factors capture properties strongly associated with particular datasets rather than information that generalizes across domains. The present ablations cannot distinguish these possibilities. Accordingly, the five-factor priority function should be regarded as a structured heuristic supported by empirical evidence, rather than a theoretically optimal estimator of exemplar usefulness.
Theoretical Implications, Practical Limitations, and Future Directions
The broader theoretical implication is that continual medical segmentation involves more than the conventional trade-off between retaining old parameters and learning new ones. Historical knowledge must remain accessible at the level of datasets, anatomical structures, and supervision signals. RAR-Net addresses these dimensions through protected memory, adaptive replay, and structure-specific supervision. However, the evidence for these mechanisms is uneven. Memory protection provides a relatively clear contribution, while adaptive replay yields a smaller incremental benefit. The latter finding raises a legitimate question about whether the additional control mechanism is justified by its computational and implementation complexity. A simpler fixed-replay strategy may remain attractive when the operational cost of adaptive monitoring outweighs its modest improvement.
These observations also have practical implications for medical AI governance. Continual model updates could reduce the need for complete retraining when new institutional data become available, but retaining historical patient images introduces privacy, consent, and data-access concerns. Bounded memory reduces storage requirements without eliminating these obligations. In addition, forgetting-conditioned replay depends on access to historical validation information, which may not remain available across institutions. A deployment-oriented framework would therefore require explicit policies for data retention, secure storage, model updating, and independent evaluation of previously supported populations. Such safeguards are especially relevant when improvements on newly acquired data could conceal deterioration in earlier clinical settings.
Several limitations constrain the interpretation of the findings. First, the evaluation covers a small number of echocardiographic datasets and a short sequential learning scenario. Although the datasets differ in appearance and annotation coverage, they do not represent the full diversity of ultrasound equipment, institutions, patient populations, or clinical acquisition protocols. Second, the memory allocations and reliability weights are predefined, leaving uncertainty about their suitability under different storage constraints or dataset characteristics. Third, the limited number of random seeds provides only an initial estimate of experimental variability. The small differences between several competitive methods and ablation variants require stronger statistical evidence before their practical importance can be established.
A further limitation concerns the relationship between segmentation accuracy and clinical utility. Improved overlap and boundary-distance metrics do not necessarily imply more reliable ventricular volume estimation, functional assessment, or clinical decision-making. Errors concentrated near anatomically important regions may have consequences that are not adequately reflected by aggregate segmentation measures. Similarly, the present experiments do not establish whether the proposed method remains calibrated when encountering low-quality images, uncommon anatomical presentations, or acquisition conditions that differ from those represented in memory. These issues are particularly relevant because reliability-guided selection may unintentionally favor well-represented or visually clearer cases.
Future research should therefore address three specific questions. First, can historical memory be allocated dynamically according to observed forgetting, anatomical coverage, and dataset diversity rather than fixed task quotas? Second, can reliability weights be learned or calibrated from actual replay utility, while preventing systematic exclusion of difficult but clinically relevant examples? Third, can structure-aware supervision be extended with explicit geometric or topological constraints and evaluated through clinically meaningful measurements? These investigations should be accompanied by larger multi-institutional evaluations, patient-level uncertainty analyses, and comparisons under matched memory and computational budgets. Privacy-preserving replay alternatives should also be assessed where historical images cannot be retained.
In summary, the findings support the value of coordinating historical memory selection with structure-specific supervision in continual echocardiographic segmentation. The principal contribution of RAR-Net is not that every component independently improves every metric, but that their combination provides a useful balance between historical knowledge retention and adaptation under heterogeneous supervision. Establishing whether this advantage translates into reliable clinical model updates will require broader validation, more principled reliability estimation, and evaluation criteria that extend beyond segmentation accuracy.
Conclusion
This study proposed RAR-Net, a reliability-aware replay framework for continual echocardiographic segmentation under domain shifts, limited memory, and heterogeneous anatomical supervision. By integrating multi-factor exemplar prioritization, protected task-aware memory, forgetting-conditioned adaptive replay, and structure-aware supervision, RAR-Net aims to balance knowledge retention and adaptation. Experiments on CAMUS, CardiacNet, and EchoNet-Dynamic demonstrated improved overall performance over the evaluated CL baselines, approaching the offline joint-training reference. Ablation studies highlighted the importance of protected memory and structure-aware replay, while revealing smaller and metric-dependent contributions from adaptive replay and individual reliability factors. Despite these encouraging findings, the evaluation remains limited to three datasets, a short learning sequence, and predefined memory allocations and reliability weights. Future work will investigate adaptive memory management, privacy-preserving replay, stronger anatomical constraints, and broader multi-institutional validation using clinically relevant cardiac measurements.
Declaration of Generative AI and AI-assisted technologies in the writing process
During the preparation of this work, the authors used ChatGPT to assist with language editing and improve the readability of the manuscript. After using this tool, the authors reviewed and edited the content as needed and take full responsibility for the content of the published article.
CRediT authorship contribution statement
Zahid Ullah: Conceptualization, Methodology, Software, Formal analysis, Investigation, Data curation, Writing - original draft, Writing - review & editing. Sieun Choi: Conceptualization, Methodology, Formal analysis, Writing - original draft, Writing - review & editing. Jihie Kim: Formal analysis, Investigation, Funding acquisition, Supervision, Project administration.
Declaration of Competing Interests
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Data availability
All imaging datasets analyzed in this study are publicly accessible. The CAMUS (https://www.creatis.insa-lyon.fr/Challenge/camus/), CardiacNet (https://github.com/xmed-lab/CardiacNet), and EchoNet-Dynamic (https://echonet.github.io/dynamic/) datasets are available on the platform.
Acknowledgments
This work was supported by the Dongguk University Research Fund of 2026. This research was supported by the MSIT(Ministry of Science and ICT), Korea, under the ITRC(Information Technology Research Center) support program(IITP-2026-RS-2020-II201789), and the Artificial Intelligence Convergence Innovation Human Resources Development(IITP-2026-RS-2023-00254592) supervised by the IITP(Institute for Information & Communications Technology Planning & Evaluation).
Baselines
We compared RAR-Net with eight reference strategies spanning naive sequential adaptation, offline learning, rehearsal-based methods, regularization, and knowledge distillation. Wherever applicable, the same network architecture, data partitions, optimizer, training schedule, replay capacity, and random seeds were used. This is essential for a fair comparison: changing the memory budget or backbone between methods would make it difficult to determine whether an improvement came from the CL strategy itself.
Joint Training.
Joint training provides simultaneous access to training samples from all three datasets. Unlike the other methods, it is not a strict CL approach because historical data remain fully available. We nevertheless include it as an offline reference representing the setting in which the model does not face the same memory-access restriction as continual learners. Its results should therefore be interpreted as a reference rather than as a directly deployable CL strategy.
Plain Replay.
Plain Replay Rolnick et al. [51] introduces a bounded memory containing samples from previously encountered tasks. Historical samples are replayed while the model learns the current task, but no explicit anatomical or reliability criterion is used to prioritize informative examples. This baseline isolates the benefit obtained simply from retaining a small subset of historical data.
Weighted-Sampler Replay.
Weighted-Sampler Replay uses non-uniform sampling to favor informative training examples. Class representation and boundary information are incorporated into the weighting strategy, with respective weights of 0.40 and 0.60. This provides a stronger replay reference than uniform rehearsal and helps determine whether sophisticated memory management is necessary beyond relatively simple class- and boundary-aware weighting.
Elastic Weight Consolidation.
EWC Kirkpatrick et al. [20] is a regularization-based method for CL. After learning a task, the importance of individual model parameters is estimated using the Fisher information. During subsequent training, changes to parameters considered important for earlier tasks are penalized. EWC therefore attempts to preserve previous knowledge without explicitly storing historical images.
Learning without Forgetting.
LwF Li and Hoiem (2017) uses knowledge distillation to constrain sequential model updates. Before learning a new task, a frozen copy of the previous model serves as the teacher. The current model is optimized for the new segmentation task while being encouraged to retain the output behavior of the teacher. Unlike replay methods, LwF does not require direct storage of previous training samples.
iCaRL-style Replay.
The iCaRL-style baseline is adapted from the exemplar-based incremental learning framework of Rebuffi et al. Rebuffi et al. [22]. For the present segmentation problem, a bounded exemplar memory is maintained across sequential tasks, with exemplar management designed to avoid excessive representation of dominant classes. This provides an exemplar-selection baseline against which the reliability-aware memory strategy of RAR-Net can be compared.
Boundary-Balanced Replay.
Boundary-Balanced Replay Ullah et al. [52] explicitly favors samples containing informative anatomical boundaries. Replay priority combines class-related information with boundary complexity, using weights of 0.40 and 0.60, respectively. This baseline is particularly relevant because cardiac segmentation errors often occur around thin or ambiguous anatomical structures. It therefore tests whether boundary-aware exemplar selection alone is sufficient to control forgetting.
Dark Experience Replay.
DER Buzzega et al. [39] is a rehearsal-based CL method that preserves historical model responses alongside stored training examples. Unlike conventional replay, which relies primarily on GT supervision, DER regularizes the current model by matching its predictions to previously recorded logits. In our segmentation adaptation, historical logits are stored at a reduced spatial resolution and replayed using a pixel-wise logit regression loss. For LV-only annotations, the regression term excludes unannotated anatomical channels to avoid imposing unsupported class-specific constraints. This baseline evaluates whether preserving historical prediction responses can mitigate forgetting without the reliability-guided exemplar selection and structure-aware replay mechanisms of RAR-Net.
Maximally Interfered Retrieval.
MIR Aljundi et al. [40] is a replay strategy that prioritizes historical examples expected to experience the greatest interference from an incoming model update. Rather than sampling memory uniformly, MIR estimates the change in loss on candidate exemplars before and after a virtual gradient step and selects those with the largest predicted loss increase. In our implementation, a candidate subset is drawn from bounded replay memory, and interference is estimated using the segmentation objective and a one-step virtual SGD approximation, while actual model optimization uses Adam. This baseline examines whether interference-driven retrieval provides an effective alternative to the reliability-based memory prioritization adopted in RAR-Net.
RAR-Net.
RAR-Net is the final proposed continual cardiac segmentation model. Unlike plain or boundary-balanced rehearsal, RAR-Net does not treat all historical samples or all stages of CL equally. It combines reliability-aware replay selection with task-aware memory protection and adaptive replay weighting. The proposed formulation further introduces structure-aware replay, which places additional emphasis on preserving anatomically vulnerable structures, particularly MYO and LA, when fully annotated historical samples are revisited.
The comparison with Plain Replay tests whether selective replay is preferable to generic rehearsal; comparison with Weighted-Sampler and Boundary-Balanced Replay tests whether the additional reliability and structural mechanisms provide benefits beyond simpler priority rules; EWC and LwF provide non-rehearsal references; and iCaRL-style Replay evaluates exemplar-based memory management. Together, these baselines allow the contribution of RAR-Net to be examined against substantially different strategies for controlling catastrophic forgetting.
Model Parameters
RAR-Net contains approximately 7.76 million trainable parameters, and this number remains unchanged throughout the CL sequence. Neither the reliability-aware memory mechanism nor the adaptive replay controller introduces additional trainable modules. Likewise, the structure-aware replay objective modifies the optimization process but does not expand the network.
This fixed parameter count distinguishes RAR-Net from parameter-isolation or dynamically expanding CL approaches, where model capacity can increase with the number of tasks. In RAR-Net, additional CL capability is achieved through selective memory management and training-time regularization rather than through progressive architectural growth. Overall, the computational analysis suggests that the proposed method maintains a moderate resource footprint while preserving a fixed deployment model across all three cardiac domains.
RAR-Net introduces additional training computation through historical replay, reliability-based memory management, and structure-aware supervision while maintaining a fixed segmentation architecture. Let and denote the current-task and replay batch sizes, respectively, the number of current-task samples, the number of training epochs, and the per-sample forward-backward computational cost. For tasks , the approximate training complexity is
With and , replay increases the nominal sample-processing workload by a factor of 1.5, excluding additional costs from data loading, validation, reliability scoring, and memory updates. The structure-aware loss operates only on fully annotated replay samples and adds pixel-wise operations, where . Persistent replay storage is bounded by for memory capacity , excluding implementation-specific storage overhead. The network contains approximately 7.76 million parameters and does not expand across tasks. Since replay memory and the adaptive controller are not required at inference, the inference complexity remains that of the underlying segmentation network. Empirically, peak GPU memory ranges from 1.6620 to 2.3114 GB across the three tasks. The measured training times are 786.95 10.02 s, 16802.10 65.44 s, and 6765.76 16.07 s for CAMUS, CardiacNet, and EchoNet-Dynamic, respectively.
References
- [1]Silva, I.F.S., Silva, A.C., Paiva, A.C., Gattass, M.: A cascade approach for automatic segmentation of cardiac structures in short-axis cine-mr images using deep neural networks. Expert Systems with Applications 197, 116704 (2022)DOI
- [3]Leclerc, S., Smistad, E., Pedrosa, J., Østvik, A., Cervенansky, F., Espinosa, F., Espeland, T., Berg, E.A.R., Jodoin, P.-M., Grenier, T., et al.: Deep learning for segmentation using an open large-scale dataset in 2d echocardiography. IEEE transactions on medical imaging 38(9), 2198–2210 (2019)DOI
- [4]Ouyang, D., He, B., Ghorbani, A., Yuan, N., Ebinger, J., Langlotz, C.P., Heidenreich, P.A., Harrington, R.A., Liang, D.H., Ashley, E.A., et al.: Video-based ai for beat-to-beat assessment of cardiac function. Nature 580(7802), 252–256 (2020)DOI
- [5]Deng, X., Wu, H., Zeng, R., Qin, J.: MemSAM: Taming segment anything model for echocardiography video segmentation. In: 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 9622–9631 (2024). IEEEDOI
- [6]Bernard, O., Lalande, A., Zotti, C., Cervenansky, F., Yang, X., Heng, P.-A., Cetin, I., Lekadir, K., Camara, O., Ballester, M.A.G., et al.: Deep learning techniques for automatic MRI cardiac multi-structures segmentation and diagnosis: is the problem solved? IEEE transactions on medical imaging 37(11), 2514–2525 (2018)
- [7]Zhuang, X., Li, L., Payer, C., Štern, D., Urschler, M., Heinrich, M.P., Oster, J., Wang, C., Smedby, Ö., Öjjär, C., et al.: Evaluation of algorithms for multi-modality whole heart segmentation: an open-access grand challenge. Medical image analysis 58, 101537 (2019)arxiv.org/abs/1902.07880
- [8]Ronneberger, O., Fischer, P., Brox, T.: U-net: Convolutional networks for biomedical image segmentation. In: International Conference on Medical Image Computing and Computer-assisted Intervention, pp. 234–241 (2015). Springerarxiv.org/abs/1505.04597
- [9]Wang, S., Cui, Y., Zhang, S., Li, D., Zhang, Y., Li, Z., Qi, Z., Ma, H., Liu, S.: Alda-unet: Missing target segmentation based on active learning and deformation filling attention. Expert Systems with Applications, 129951 (2025)DOI
- [10]Chen, J., Mei, J., Li, X., Lu, Y., Yu, Q., Wei, Q., Luo, X., Xie, Y., Adeli, E., Wang, Y., et al.: Transunet: Rethinking the u-net architecture design for medical image segmentation through the lens of transformers. Medical image analysis 97, 103280 (2024)DOI
- [11]Xiao, R., Yang, B., Zhu, Q.: Pia: Fusing edge prior information into attention for semantic segmentation in vision transformer. Information Fusion, 104222 (2026)DOI
- [12]Khan, M.U., Chetty, G., Gkikas, S., Tsiknakis, M., Goecke, R., Fernandez-Rojas, R.: Giaformer: A gradient-infused attention and transformer for pain assessment with eda–fnirs fusion. Information Fusion, 104173 (2026)DOI
- [14]Lin, J., Xie, W., Kang, L., Wu, H.: Dynamic-guided spatiotemporal attention for echocardiography video segmentation. IEEE Transactions on Medical Imaging 43(11), 3843–3855 (2024)DOI
- [17]Kumari, P., Chauhan, J., Bozorgpour, A., Huang, B., Azad, R., Merhof, D.: Continual learning in medical image analysis: A comprehensive review of recent advancements and future prospects. Medical Image Analysis, 103730 (2025)arxiv.org/abs/2312.17004
- [18]Parisi, G.I., Kemker, R., Part, J.L., Kanan, C., Wermter, S.: Continual lifelong learning with neural networks: A review. Neural networks 113, 54–71 (2019)DOI
- [19]De Lange, M., Aljundi, R., Masana, M., Parisot, S., Jia, X., Leonardis, A., Slabaugh, G., Tuytelaars, T.: A continual learning survey: Defying forgetting in classification tasks. IEEE transactions on pattern analysis and machine intelligence 44(7), 3366–3385 (2021)DOI
- [20]Kirkpatrick, J., Pascanu, R., Rabinowitz, N., Veness, J., Desjardins, G., Rusu, A.A., Milan, K., Quan, J., Ramalho, T., Grabska-Barwinska, A., et al.: Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences 114(13), 3521–3526 (2017)DOI
- [22]Rebuffi, S.-A., Kolesnikov, A., Sperl, G., Lampert, C.H.: icarl: Incremental classifier and representation learning. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5533–5542 (2017). IEEEarxiv.org/abs/1611.07725
- [23]Perkonigg, M., Hofmanninger, J., Herold, C.J., Brink, J.A., Pianykh, O., Prosch, H., Langs, G.: Dynamic memory to alleviate catastrophic forgetting in continual learning with medical imaging. Nature communications 12(1), 5678 (2021)DOI
- [24]Ranem, A., González, C., Santos, D., Bucher, A.M., Ochman, A.E., Mukhopadhyay, A.: Continual atlas-based segmentation of prostate MRI. In: Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pp. 7563–7572 (2024)arxiv.org/abs/2311.00548
- [25]Joham, S.J., Thaler, F., Hadzic, A., Urchsler, M.: FOCUS: Feature replay with optimized channel-consistent dropout for U-Net skip-connections. In: International Conference on Medical Image Computing and Computer-Assisted Intervention, pp. 219–229 (2025). SpringerDOI
- [26]Zhao, Y., Liao, K., Zheng, Y., Zhou, X., Guo, X.: Boundary attention with multi-task consistency constraints for semi-supervised 2D echocardiography segmentation. Computers in Biology and Medicine 171, 108100 (2024)DOI
- [28]Nazar, W., Nazar, K., Danilowicz-Szymanowicz, L.: Machine learning and deep learning methods for fast and accurate assessment of transthoracic echocardiogram image quality. Life 14(6), 761 (2024)DOI
- [29]Van De Vyver, G., Måsø y, S.-E., Dalen, H., Grenne, B.L., Holte, E., Olaisen, S.H., Nyberg, J., Østvik, A., Løvstakken, L., Smistad, E.: Regional image quality scoring for 2-D echocardiography using deep learning. Ultrasound in medicine & biology 51(4), 638–649 (2025)DOI
- [30]Yeganeh, Y., Farshad, A., Guevercin, G., Abu-zer, A., Xiao, R., Tang, Y., Adeli, E., Navab, N.: SCOPE: Structural continuity preservation for medical image segmentation. arXiv preprint arXiv:2304.14572 (2023)arxiv.org/abs/2304.14572
- [31]Wyburd, M.K., Dinsdale, N.K., Jenkinson, M., Namburete, A.I.: Anatomically plausible segmentations: Explicitly preserving topology through prior deformations. Medical image analysis 97, 103222 (2024)DOI
- [32]Zhu, Z., Ma, X., Wang, W., Dong, S., Wang, K., Wu, L., Luo, G., Wang, G., Li, S.: Boosting knowledge diversity, accuracy, and stability via tri-enhanced distillation for domain continual medical image segmentation. Medical image analysis 94, 103112 (2024)DOI
- [33]Liu, S., Yang, Y., Li, X., Clifton, D.A., Ghanem, B.: Enhancing online continual learning with plug-and-play state space model and class-conditional mixture of discretization. In: 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 20502–20511 (2025). IEEEarxiv.org/abs/2412.18177
- [34]Shi, G., Xiao, L., Chen, Y., Zhou, S.K.: Marginal loss and exclusion loss for partially supervised multi-organ segmentation. Medical Image Analysis 70, 101979 (2021)DOI
- [35]Jiang, X., Zhang, D., Li, X., Liu, K., Cheng, K.-T., Yang, X.: Labeled-to-unlabeled distribution alignment for partially-supervised multi-organ medical image segmentation. Medical Image Analysis 99, 103333 (2025)
- [36]Yin, H., Feng, T., Lyu, F., Shang, F., Liu, H., Feng, W., Wan, L.: Beyond background shift: Rethinking instance replay in continual semantic segmentation. In: 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 9839–9848 (2025). IEEEarxiv.org/abs/2503.22136
- [37]Yang, J., Lin, Y., Pu, B., Guo, J., Xu, X., Li, X.: Cardiacnet: Learning to reconstruct abnormalities for cardiac disease assessment from echocardiogram videos. In: European Conference on Computer Vision, pp. 293–311 (2024). Springerarxiv.org/abs/2410.20769
- [38]Salehi, S.S.M., Erdogmus, D., Gholipour, A.: Tversky loss function for image segmentation using 3D fully convolutional deep networks. In: International Workshop on Machine Learning in Medical Imaging, pp. 379–387 (2017). Springerarxiv.org/abs/1706.05721
- [39]Buzzega, P., Boschini, M., Porrello, A., Abati, D., Calderara, S.: Dark experience for general continual learning: a strong, simple baseline. Advances in neural information processing systems 33, 15920–15930 (2020)arxiv.org/abs/2004.07211
- [40]Aljundi, R., Belilovsky, E., Tuytelaars, T., Charlin, L., Caccia, M., Lin, M., Page-Caccia, L.: Online continual learning with maximal interfered retrieval. Advances in neural information processing systems 32 (2019)
- [41]Chen, B., Thandiackal, K., Pati, P., Goksel, O.: Generative appearance replay for continual unsupervised domain adaptation. Medical image analysis 89, 102924 (2023)
- [42]Huang, X., Zhang, T., Xu, Z., Huang, J., Huang, G., Yang, H., Zou, B., Ding, S., Ruan, R., Huang, Z., et al.: Multi-aspect fusion in foundational large vision model for visible light medical imaging segmentation. Information Fusion 125, 103385 (2026)DOI
- [44]Niu, K., Cai, J., Feng, X.: Safedhm: Semi-asynchronous federated learning with highlight diffusion model for medical image segmentation. Information Fusion, 103615 (2025)DOI
- [45]Shin, H., Lee, J.K., Kim, J., Kim, J.: Continual learning with deep generative replay. Advances in neural information processing systems 30 (2017)arxiv.org/abs/1705.08690
- [46]Lopez-Paz, D., Ranzato, M.: Gradient episodic memory for continual learning. Advances in neural information processing systems 30 (2017)
- [47]Elhoseiny, M.: Efficient lifelong learning with a-gem. ArXiv (2019)arxiv.org/abs/1812.00420
- [48]Douillard, A., Chen, Y., Dapogny, A., Cord, M.: PLOP: Learning without forgetting for continual semantic segmentation. In: 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 4040–4050 (2021). IEEEarxiv.org/abs/2011.11390
- [49]Chaudhry, A., Dokania, P.K., Ajantahan, T., Torr, P.H.: ReMANN: Recurrent memory walk for incremental learning: Understanding forgetting and intransigence. In: European Conference on Computer Vision, pp. 556–572 (2018). Springer
- [50]Taha, A.A., Hanbury, A.: Metrics for evaluating 3d medical image segmentation: analysis, selection, and tool. BMC medical imaging 15(1), 29 (2015)DOI
- [51]Rolnick, D., Ahuja, A., Schwarz, J., Lillicrap, T., Wayne, G.: Experience replay for continual learning. Advances in neural information processing systems 32 (2019)
- [52]Ullah, Z., Choi, S., Kim, J.: Bbr-net: Boundary-balanced replay for continual medical image segmentation. arXiv preprint arXiv:2606.14731 (2026)arxiv.org/abs/2606.14731


