Abstract
Modern medical AI faces significant challenges when dealing with massive, evolving datasets. Traditional multi-epoch training is computationally prohibitive at scale, while naive online learning often suffers from "catastrophic forgetting." We present a novel online learning framework that utilizes a "Selective Memory" (SM) approach to prioritize unique and challenging samples from a continuous data stream. Our method matches the performance of traditional multi-epoch training while effectively eliminating forgetting, even outperforming standard paradigms by 15% in complex segmentation tasks.
Introduction
In contemporary clinical environments, medical data is not static; it arrives as a continuous stream from diverse sources with expanding disease categories and varying scanning protocols. Traditional AI training relies on "epochs," where a fixed dataset is processed repeatedly. This paradigm faces two major hurdles in the context of massive data: the impracticality of retraining from scratch as new data arrives and the risk of catastrophic forgetting, where a model loses its ability to process older data sources when exposed to new ones. This research proposes an online learning paradigm where models learn from a stream, seeing most samples only once, without sacrificing prior knowledge.
Methods: A Three-Tiered Memory Architecture
To manage the continuous data stream effectively, the researchers developed a tiered memory system designed to stabilize learning and prioritize informative data:
- Linear Memory (LM): A basic First-In-First-Out (FIFO) buffer that stores a small window of recent samples. This allows the model to revisit data briefly, providing more stability than a single-pass approach.
- Dynamic Memory (DM): This module focuses on deduplication. By calculating the cosine similarity between data embeddings, the system identifies redundant information (e.g., similar healthy scans) and discards it to ensure the memory buffer contains diverse, unique samples.
- Selective Memory (SM): Inspired by the concept of "deliberate practice," this component selects samples based on prediction uncertainty (entropy). The system deliberately retains "hard" samples—those the model struggles to segment—while discarding "easy" ones. It also applies penalty weights to ensure rare or small structures, such as the adrenal gland, are not overlooked.
Experimental Setup
The framework was evaluated using two large-scale CT datasets:
- Single-Site Private Dataset: 2,101 training cases from a single hospital covering 15 abdominal organ classes.
- Sequential-Site Dataset: A collection of 16 public datasets (2,100 training cases) covering 32 classes. This setup mimics a real-world stream with varying annotation policies and protocols.
Key Results and Insights
Efficiency and Performance
The study demonstrated that the "epoch" is not strictly necessary for peak performance on large datasets. By using a smart replay buffer, the SM approach achieved a 82.2% Dice score, nearly matching the 82.6% achieved by traditional 100-epoch training. Furthermore, filtering for unique samples via Dynamic Memory improved multi-organ segmentation performance by 6%.
Mitigating Catastrophic Forgetting
In sequential-site testing, the Selective Memory approach significantly flattened the performance drop-off typically seen as models encounter new data sources. While the Linear Memory baseline saw sharp declines on older data, SM retained knowledge across all 16 data sources.
Superiority in Complex Segmentation
For difficult-to-segment structures, the Selective Memory method actually outperformed traditional training. For instance, it achieved a 0.45 Dice score on the esophagus, compared to just 0.03 for the standard multi-epoch model. This suggests that focusing on high-uncertainty samples allows the AI to learn more effectively from its mistakes.
Conclusion and Future Work
Selective Memory provides a viable path for training AI on massive medical data streams by prioritizing data diversity and difficulty over sheer volume. While the method is highly effective, future research will focus on reducing the computational overhead of deduplication and exploring continual learning in settings with fine-grained or no annotations. Additionally, further study is needed to optimize these memory buffers for real-time clinical deployment within hardware constraints.
Summary updated