Improving Cardiac Risk Prediction Using Data Generation Techniques
Alexandre Cabodevila, Pedro Gamallo-Fernandez, Juan C. Vidal, Manuel Lama
TL;DR
This work tackles data scarcity and missingness in cardiac rehabilitation by introducing a Sparse Contrastive Conditional Variational Autoencoder (SCCVAE) that can generate semantically coherent, class-conditioned synthetic tabular traces. The architecture incorporates attribute-wise embeddings, an $L_1$ regularized latent space, and a latent-space interpolation strategy guided by SMOTE, augmented with a contrastive loss to structure the latent representation. Through indirect validation, generated data improve multiple cardiac risk classifiers across several baselines, outperforming state-of-the-art generative methods and demonstrating the value of conditional, domain-aware data synthesis in healthcare. The approach reduces reliance on risky diagnostic procedures, expands training data, and offers a data-efficient path toward more accurate end-of-program risk prediction in cardiac rehabilitation, with future potential for deeper latent hierarchies and richer event-level information.
Abstract
Cardiac rehabilitation constitutes a structured clinical process involving multiple interdependent phases, individualized medical decisions, and the coordinated participation of diverse healthcare professionals. This sequential and adaptive nature enables the program to be modeled as a business process, thereby facilitating its analysis. Nevertheless, studies in this context face significant limitations inherent to real-world medical databases: data are often scarce due to both economic costs and the time required for collection; many existing records are not suitable for specific analytical purposes; and, finally, there is a high prevalence of missing values, as not all patients undergo the same diagnostic tests. To address these limitations, this work proposes an architecture based on a Conditional Variational Autoencoder (CVAE) for the synthesis of realistic clinical records that are coherent with real-world observations. The primary objective is to increase the size and diversity of the available datasets in order to enhance the performance of cardiac risk prediction models and to reduce the need for potentially hazardous diagnostic procedures, such as exercise stress testing. The results demonstrate that the proposed architecture is capable of generating coherent and realistic synthetic data, whose use improves the accuracy of the various classifiers employed for cardiac risk detection, outperforming state-of-the-art deep learning approaches for synthetic data generation.
