A clinical deep learning framework for continually learning from cardiac signals across diseases, time, modalities, and institutions

Dani Kiyasseh, Tingting Zhu, David A. CliftonNature Communications 2021

Deep learning has revolutionized medical signal processing, but it faces a significant hurdle in real-world deployment: the assumption that data is static. In a clinical environment, data is not a fixed snapshot but a continuous stream. Sensors change, new diseases emerge with the seasons, and models are frequently moved between institutions. When a standard deep learning model learns something new, it often suffers from "catastrophic forgetting," where performance on previously learned tasks plummets.

In a recent Nature Communications study, Dani Kiyasseh and colleagues from the University of Oxford introduced CLOPS (Continual Learning of Physiological Signals), a framework designed to help cardiac diagnostic systems adapt to new data without losing their previous knowledge.

The Challenge of Clinical Distribution Shifts

Most deep learning models are trained on "independent and identically distributed" (i.i.d.) data. However, clinical reality is non-i.i.d. A model might be trained on winter data during flu season and then deployed in summer, or moved from a high-end hospital to a rural clinic with different sensors.

Four clinical continual learning scenarios: Class-IL, Time-IL, Domain-IL, and Institute-IL.

When models encounter these "distribution shifts," they experience destructive interference. If a model is trained to recognize one arrhythmia and then transitions to learn another, the neural network's weights are overwritten, and its ability to diagnose the first condition is lost. This lack of "dynamic reliability" is a major barrier to clinician trust in AI.

The CLOPS Framework

To address this, the researchers proposed a replay-based strategy. Instead of training only on new data, the model maintains a small "replay buffer" of past examples to periodically refresh its memory. The core innovation of CLOPS lies in how it decides what to save and what to replay:

  1. Importance-Guided Storage: The authors introduced task-instance parameters ($\beta$). These are end-to-end trainable coefficients assigned to every data point. By tracking these parameters, the model identifies which signals are "easy" or "hard" to classify. CLOPS prioritizes storing representative samples based on this learned difficulty, which the authors found correlates with clinical complexity (e.g., morphological aberrations in ECGs).
  2. Uncertainty-Based Acquisition: When learning a new task, the model doesn't select random samples from its buffer. It uses Bayesian Active Learning by Disagreement (BALD) to identify samples it is currently most "uncertain" about. By replaying these "confusing" past examples, the model sharpens its memory where it is weakest.

Key Results: Mitigating Catastrophic Forgetting

The framework was validated using four major publicly available ECG datasets (Cardiology iRhythm, Chapman, and PhysioNet 2017/2020) across four scenarios: Class-IL (new diseases), Time-IL (seasonal shifts), Domain-IL (different ECG leads), and Institute-IL (different hospitals).

Comparison of AUC performance over epochs for naive fine-tuning vs. CLOPS across different task transitions.

As shown in the performance plots above, standard "fine-tuning" (the naive approach) sees AUCs drop significantly (e.g., from ~0.90 to ~0.30) as soon as a new task is introduced. In contrast, CLOPS maintains stable performance across the entire sequence of tasks.

Key findings include:

  • Superior Performance: CLOPS outperformed state-of-the-art continual learning methods like GEM and MIR in three of the four scenarios. In the Class-IL scenario, CLOPS achieved an Average AUC of 0.796, significantly higher than MIR (0.753) and GEM (0.544).
  • Constructive Interference: In some cases, learning new diseases actually improved the model's performance on old ones stored in the buffer, a phenomenon known as positive backward transfer.
  • Curriculum Learning: The researchers found that training on "easy" tasks before "hard" ones (as defined by their $\beta$ parameters) led to the best overall performance.

Discussion and Future Work

While CLOPS shows great promise, the authors acknowledge challenges regarding data privacy when using replay buffers. Future iterations may explore storing "latent representations" rather than raw patient data to comply with privacy regulations. Additionally, the team aims to expand the framework to multi-lead ECG systems and develop methods for "proactive forgetting," where the system predicts and prevents performance degradation before it occurs.

By enabling AI to learn continually, CLOPS paves the way for diagnostic systems that remain robust and reliable throughout their clinical lifecycle.

Summary updated

BibTeX
@inproceedings{kiyasseh2021clinical,
  author = {Dani Kiyasseh and Tingting Zhu and David A. Clifton},
  title = {{A clinical deep learning framework for continually learning from cardiac signals across diseases, time, modalities, and institutions}},
  booktitle = {Nature Communications},
  year = {2021},
  doi = {10.1038/s41467-021-24483-0},
}
Figure