Electrophysiology-Guided Channel Pruning for Rare Arrhythmia Detection in Quantized Edge Neural Networks
Keywords:
Arrhythmia Detection, Edge Artificial Intelligence (Edge AI), Channel Pruning, Quantized Neural Networks, Electrocardiogram (ECG)Abstract
We propose a domain-aware channel pruning framework for quantized 1D convolutional neural networks deployed on low-power microcontrollers for real-time arrhythmia detection in wearable ECG patches. Conventional pruning methods rely solely on activation magnitude statistics, which often discard channels critical for detecting rare but clinically significant arrhythmia morphologies such as fragmented QRS complexes, epsilon waves, and micro-volt T-wave alternans. To address this limitation, we introduce an electrophysiological sensitivity score that integrates activation magnitude with cosine similarity between learned convolutional filters and canonical template filters derived from cardiovascular electrophysiology models. These templates are constructed as damped sinusoids, periodic amplitude modulations, and multi-peak Gaussian mixtures that capture the morphological signatures of rare arrhythmia markers. The pruning module ranks channels by this combined score and removes those with the lowest scores, thereby preserving clinically relevant features. The remaining weights are re-quantized to 8-bit integers using min-max quantization, and the network is fine-tuned with class-balanced mini-batches and a weighted cross-entropy loss that over-samples rare arrhythmia episodes. Our method is evaluated on a 5-layer 1D-CNN with 5 output classes, processing 5-second ECG segments at 200 Hz. On an STM32L4 microcontroller, the pruned model achieves a 2.3x speedup in inference time and a 1.8x reduction in energy per inference compared to the unpruned baseline. Furthermore, it maintains a sensitivity of 94.2% for rare arrhythmia classes, significantly outperforming uniform magnitude-based pruning which yields only 88.1% sensitivity. The primary contribution is a principled integration of electrophysiological priors into the neural network compression pipeline, enabling edge devices to detect rare cardiac events without sacrificing computational efficiency.
References
AY Hannun, P Rajpurkar, M Haghpanahi, GH Tison, et al. Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network. Nature medicine, 2019.
S Han, J Pool, J Tran, and W Dally. Learning both weights and connections for efficient neural network. In Advances in Neural Information Processing Systems, 2015.
B Jacob, S Kligys, B Chen, M Zhu, et al. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2018.
D Filters’Importance. Pruning filters for efficient convnets. Technical report, arXiv preprint arXiv:1608.08710, 2016.
I Hossain, J Fischer, R Burkholz, et al. Pruning neural network models for gene regulatory dynamics using data and domain knowledge. In Advances in Neural Information Processing Systems 37, 2024.
J Huang, C Wang, A Grau, Y Xiao, S Luo, et al. Edgeecg: a lightweight edge-oriented network with dual criterion pruning for real-time ecg arrhythmia classification. Physiological Measurement, 2026.
T Shinde, S Gaurhar, and AK Tiwari. Prune or quantize? layer-wise compression of time-series ecg foundation networks. In Workshop on Learning from Time Series, 2025.
S Gaurhar, T Shinde, and AK Tiwari. Resource-efficient ecg foundation networks via layer-wise adaptive compression. In 2025 Workshop on Foundation Models for Healthcare, 2025.
UR Acharya, SL Oh, Y Hagiwara, JH Tan, et al. A deep convolutional neural network model to classify heartbeats. Computers in Biology and Medicine, 2017.
C Chen, O Li, D Tao, A Barnett, et al. This looks like that: deep learning for interpretable image recognition. In Advances in Neural Information Processing Systems, 2019.
M Rahman and BI Morshed. Resource-constrained on-chip ai classifier for beat-by-beat real-time arrhythmia detection with an ecg wearable system. Electronics, 2025.
GB Moody and RG Mark. The impact of the mit-bih arrhythmia database. IEEE Engineering in Medicine and Biology Magazine, 2001.
HK Kim and MH Sunwoo. An automated cardiac arrhythmia classification network for 45 arrhythmia classes using 12-lead electrocardiogram. IEEE Access, 2024.
NV Chawla, KW Bowyer, LO Hall, et al. Smote: synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 2002.
H Zakaria, ESH Nurdiniyah, AM Kurniawati, et al. Morphological arrhythmia classification based on inter-patient and two leads ecg using machine learning. IEEE Access, 2024.
MK Das and DP Zipes. Fragmented qrs: a predictor of mortality and sudden cardiac death. Heart rhythm, 2009.
K Nasir, C Bomma, H Tandri, A Roguin, D Dalal, et al. Electrocardiographic features of arrhythmogenic right ventricular dysplasia/cardiomyopathy according to disease severity: a need to broaden diagnostic criteria. Circulation, 2004.
US Food and Drug Administration. Artificial intelligence and machine learning in software as a medical device. Technical report, US Food & Drug Administration: Silver Spring ..., 2021, 2021.
X Gao, Y Zhao, R Mullins, and C Xu. Dynamic channel pruning: Feature boosting and suppression. Technical report, arXiv preprint arXiv:1810.05331, 2018.
T Liu, Y Yang, W Fan, and C Wu. Few-shot learning for cardiac arrhythmia detection based on electrocardiogram data from wearable devices. Digital Signal Processing, 2021.
K Aboumerhi, A Güemes, H Liu, F Tenore, et al. Neuromorphic applications in medicine. Journal of Neural Engineering, 2023.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 The Author(s)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.