EnECG: Efficient Ensemble Learning for Electrocardiogram Multi-task Foundation Model

Yuhao Xu, Xiaoda Wang, Jiaying Lu, Sirui Ding, Defu Cao +4 more
11/28/2025
cs.LGcs.AI

Official code: yuhaoxu99/EnECG (4 stars, last commit 2026-01-03).

Abstract

Electrocardiogram (ECG) analysis plays a vital role in the early detection, monitoring, and management of various cardiovascular conditions. While existing models have achieved notable success in ECG interpretation, they fail to leverage the interrelated nature of various cardiac abnormalities. Conversely, developing a specific model capable of extracting all relevant features for multiple ECG tasks remains a significant challenge. Large-scale foundation models, though powerful, are not typically pretrained on ECG data, making full re-training or fine-tuning computationally expensive. To address these challenges, we propose EnECG(Mixture of Experts-based Ensemble Learning for ECG Multi-tasks), an ensemble-based framework that integrates multiple specialized foundation models, each excelling in different aspects of ECG interpretation. Instead of relying on a single model or single task, EnECG leverages the strengths of multiple specialized models to tackle a variety of ECG-based tasks. To mitigate the high computational cost of full re-training or fine-tuning, we introduce a lightweight adaptation strategy: attaching dedicated output layers to each foundation model and applying Low-Rank Adaptation (LoRA) only to these newly added parameters. We then adopt a Mixture of Experts (MoE) mechanism to learn ensemble weights, effectively combining the complementary expertise of individual models. Our experimental results demonstrate that by minimizing the scope of fine-tuning, EnECG can help reduce computational and memory costs while maintaining the strong representational power of foundation models. This framework not only enhances feature extraction and predictive performance but also ensures practical efficiency for real-world clinical applications. The code is available at https://github.com/yuhaoxu99/EnECG.git.

View on arXivView PDF

Code Implementations(1)

yuhaoxu99/EnECGOfficial100%

The source code for "EnECG: Efficient Ensemble Learning for Electrocardiogram Multi-task Foundation Model"

40Shell, PythonMar 11, 20259 months ago

Similar Papers

Cite this paper

@article{xu2025enecg,
  title  = {EnECG: Efficient Ensemble Learning for Electrocardiogram Multi-task Foundation Model},
  author = {Yuhao Xu and Xiaoda Wang and Jiaying Lu and Sirui Ding and Defu Cao and Huaxiu Yao and Yan Liu and Xiao Hu and Carl Yang},
  year   = {2025},
  eprint = {2511.22935},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.22935v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.22935.svg)](https://codeofpaper.com/paper/2511.22935)

Discussion