Introduction
Clinical deep learning models typically operate on a population-based paradigm, identifying patterns representative of an average patient while often overlooking individual physiological nuances. This approach presents significant challenges in medical applications, specifically regarding the lack of interpretability and difficulties in generalization across diverse cardiac signals. To address these hurdles, researchers have introduced Patient Cardiac Prototypes (PCPs)—personalized embeddings derived from electrocardiogram (ECG) data that capture a unique heart health signature.
Methodology
The PCP framework utilizes a combination of supervised contrastive learning and hypernetworks to generate patient-specific representations.
Supervised Contrastive Learning
The model is trained to map multiple ECG recordings from the same individual toward a single, learnable embedding (the PCP), while simultaneously repelling recordings from different patients. This process ensures that the PCP serves as an invariant summary of a specific patient's cardiac state.
Personalized Parameter Generation
To achieve personalized diagnosis, the framework employs a hypernetwork. During the inference stage, the system identifies the "nearest" PCPs to a novel ECG signal. These prototypes are processed by the hypernetwork to generate a custom set of weights for the final linear classifier, effectively reconfiguring the model for each individual patient.
Experimental Setup
The approach was validated using three large-scale 12-lead ECG datasets: PhysioNet 2020 (6,877 patients), Chapman ECG (10,646 patients), and PTB-XL (18,885 patients). Data splits were performed at the patient level to ensure the model's ability to generalize to unseen individuals.
Key Results and Insights
Experimental results demonstrate that PCPs function as distinct "medical signatures." The Euclidean distance between a PCP and different recordings from the same patient is significantly lower (approx. 4.5) than the distance to other patients (approx. 9.5).
Diagnostic Performance
On the Chapman dataset, the hypernetwork strategy utilizing the 10 nearest PCPs achieved a high diagnostic accuracy with an AUC of approximately 0.90. This performance significantly outperformed baseline strategies across various embedding dimensions.
Patient Similarity and Dataset Distillation
PCPs enable the identification of "medical twins" across datasets. With a precision of 0.90 at a specific distance threshold, the model can reliably retrieve patients with identical arrhythmia diagnoses. Furthermore, PCPs facilitate efficient dataset distillation; training on prototypes alone yielded an AUC of 0.887, nearly matching the performance of models trained on the full raw dataset of over 76,000 instances.
Discussion and Future Work
While PCPs offer a robust path toward personalized cardiac modeling, current limitations include the reliance on a single modality (ECG). Future research may explore multi-modal prototypes incorporating MRI or CT data. Additionally, the use of PCP-derived similarity scores to initialize Graph Neural Networks could further enhance the modeling of relationships within clinical populations.
Summary updated