A lightweight ECG model with teacher-derived integrated medical semantic preservation for cardiac disease screening.
Shuangquan Ma, Wenyao Wang, Jie Yang, Jun Wen, Yawei Wang, Yi-Da Tang
Beijing Advanced Innovation Centre for Biomedical Engineering, School of Biological Science and Medical Engineering, Beihang University, Beijing 100083, China; Department of Cardiology and Institute of Vascular Medicine, Peking University Third Hospital, State Key Laboratory of Vascular Homeostasis and Remodeling, Peking University, Research Unit of Medical Science Research Management/Basic and Clinical Research of Metabolic Cardiovascular Diseases, Chinese Academy of Medical Sciences, Beijing Key Laboratory of Clinical Evaluation of Cardiovascular-Kidney-Metabolic and Immuno-Inflammatory Innovative Drugs and Medical Devices, No.49 Huayuanbei Road, Beijing 100191, China. · Department of Cardiology and Institute of Vascular Medicine, Peking University Third Hospital, State Key Laboratory of Vascular Homeostasis and Remodeling, Peking University, Research Unit of Medical Science Research Management/Basic and Clinical Research of Metabolic Cardiovascular Diseases, Chinese Academy of Medical Sciences, Beijing Key Laboratory of Clinical Evaluation of Cardiovascular-Kidney-Metabolic and Immuno-Inflammatory Innovative Drugs and Medical Devices, No.49 Huayuanbei Road, Beijing 100191, China.
Key points
From the paper's conclusion- We developed the ECGFM-U-Lite, a compact 1D-MobileViT student, using a three-stage compression procedure.
Abstract
Recent electrocardiogram (ECG) foundation models have extended ECG analysis from rhythm and morphology recognition to cardiac structure-function assessment, but the computational and memory requirements limit their use in resource-constrained settings. This study aimed to reduce the size and inference cost of a unified ECG foundation model while retaining its multitask performance and clinically relevant representations. We developed the ECGFM-U-Lite, a compact 1D-MobileViT student, using a three-stage compression procedure. Task outputs and intermediate representations were firstly transfered from teacher through structure-function consistent distillation, redundant channels were than removed by using physiologic attention-guided pruning while retaining anatomically informative pathways, and the structure-function-aware quantization strategy achieves adaptive precise quantification by leveraging the sensitivity discrepancies across different modules finally. The model was evaluated on six locked external cohorts. Its computational profile was examined on a laptop GPU and under Android- and Jetson-Nano-oriented ONNX Runtime simulations. ECGFM-U-Lite achieved an overall AUC of 0.862, compared with 0.918 for the teacher, and retained 93.8% and 93.5% of teacher AUC for rhythm/morphology and structure/function tasks, respectively. ECG-to-Text and Text-to-ECG R@1 values were 0.766 and 0.762 in the teacher-derived semantic consistency probe. The parameter count decreased from 86.4 M to 655.7 K, model size from 345.6 MB to 1.7 MB, and peak RAM from 320 MB to 4.4 MB. The inference process was 3.6-fold faster on the laptop GPU and approximately 3.7-fold faster in the simulated edge-oriented profiles. U-Lite substantially reduces the resource requirements of a unified ECG foundation model while preserving most of its external discrimination and teacher-derived cross-modal representation structure, providing a practical basis for subsequent evaluation on resource-constrained hardware.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Masked Generative Distillation for Robust Multi-Lead-to-Single-Lead ECG Classification on IoMT Devices.Healthcare technology letters · 2026
- MEE-Net: a lightweight CNN with interpretability assessment for cardiomegaly detection from chest X-rays on edge devicesScientific Reports · 2026
- QECGBERT: A Scalable ECG Foundation Model Based on Self-Supervised Language Learning via VQ-VAE Waveform TokenizationarXiv · 2026
- ArrythML-II: An Optimized TinyML Framework for ECG Arrhythmia Detection and Multi-Class Beat Classification on Wearable DevicesarXiv · 2026
- TinyCardioUNet: IMU-to-ECG Translation with Graph-Encoded Inter-Axis Dependencies and Tensor Decomposition-Based Parameter ReductionarXiv · 2026
- Bridging clinical knowledge and AI: an interpretable transformer framework for ECG diagnosisnpj Digital Medicine · 2025