A lightweight residual dilated temporal transformer block for ECG classification on edge devices

Wearable devices play a crucial role in healthcare by enabling continuous monitoring of vital physiological signals such as ECG, heart rate, respiration, body temperature, oxygen saturation, blood pressure, and activity metrics. These systems facilitate early detection and ongoing management of cardiovascular diseases, extending clinical capabilities beyond traditional settings. However, since the wearables are continually powered, there are stringent constraints on energy efficiency, processing latency, and data privacy. While cloud-based inference introduces high communication overhead, on-device deep learning raises computational and thermal challenges, demanding lightweight, accurate, and privacy-aware solutions. In this work, we propose a highly efficient and resource conscious deep learning model for ECG classification of three clinically significant classes: Arrhythmia (ARR), Congestive Heart Failure (CHF), and Normal Sinus Rhythm (NSR). The model is specifically optimized for deployment on edge devices. It combines residual dilated convolutions with a deep Transformer architecture enhanced by positional encoding, channel-wise attention (SE blocks), and class balanced data augmentation using SMOTE and jitter noise. Despite having only 692K parameters (2.64 MB) and approximately 0.234 GFLOPs, the model achieves 99.34% classification accuracy, Macro AUROC of 0.9996, Cohen's Kappa of 0.9891, and Log Loss of 0.0495. It further demonstrates strong generalization with a Hamming Loss of 0.0062 and Matthews Correlation Coefficient (MCC) of 0.9891 on the benchmark ECG dataset. The proposed method achieves an exceptional trade off between accuracy, model complexity, and inference speed, making it well suited for real-time, privacy preserving cardiac monitoring on low power, latency constrained platforms such as wireless body sensor networks and wearable edge devices.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-02-13
DOI
https://doi.org/10.1038/s41598-026-35531-4
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A lightweight residual dilated temporal transformer block for ECG classification on edge devices

Sheena Christabel Pravin, G. Antoni Gracy
Scientific Reports
ECG Monitoring and Analysis
article

A lightweight residual dilated temporal transformer block for ECG classification on edge devices

Sheena Christabel Pravin, G. Antoni Gracy
article en

Abstract

Wearable devices play a crucial role in healthcare by enabling continuous monitoring of vital physiological signals such as ECG, heart rate, respiration, body temperature, oxygen saturation, blood pressure, and activity metrics. These systems facilitate early detection and ongoing management of cardiovascular diseases, extending clinical capabilities beyond traditional settings. However, since the wearables are continually powered, there are stringent constraints on energy efficiency, processing latency, and data privacy. While cloud-based inference introduces high communication overhead, on-device deep learning raises computational and thermal challenges, demanding lightweight, accurate, and privacy-aware solutions. In this work, we propose a highly efficient and resource conscious deep learning model for ECG classification of three clinically significant classes: Arrhythmia (ARR), Congestive Heart Failure (CHF), and Normal Sinus Rhythm (NSR). The model is specifically optimized for deployment on edge devices. It combines residual dilated convolutions with a deep Transformer architecture enhanced by positional encoding, channel-wise attention (SE blocks), and class balanced data augmentation using SMOTE and jitter noise. Despite having only 692K parameters (2.64 MB) and approximately 0.234 GFLOPs, the model achieves 99.34% classification accuracy, Macro AUROC of 0.9996, Cohen's Kappa of 0.9891, and Log Loss of 0.0495. It further demonstrates strong generalization with a Hamming Loss of 0.0062 and Matthews Correlation Coefficient (MCC) of 0.9891 on the benchmark ECG dataset. The proposed method achieves an exceptional trade off between accuracy, model complexity, and inference speed, making it well suited for real-time, privacy preserving cardiac monitoring on low power, latency constrained platforms such as wireless body sensor networks and wearable edge devices.

Scientific ReportsVol. 16(1)
Vellore Institute of Technology University (IN)
Affordable and clean energy
Openalex Percentile: Top 60%
ECG Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A lightweight residual dilated temporal transformer block for ECG classification on edge devices — Sheena Christabel Pravin, G. Antoni Gracy · Scientific Reports (2026) | TGRS Research Map | TGRS