Abstract
Arrhythmia is a life-threatening cardiovascular disease if not detected early. While deep learning models have demonstrated strong performance in ECG-based arrhythmia classification, deploying these models on resource-constrained wearable devices remains challenging. In this paper, we present a quantization-compatible neural architecture search (NAS) framework that discovers ultra-compact minority-aware convolutional neural networks (CNN). We formulate NAS as a multi-objective optimization problem, jointly maximizing balanced accuracy and minority-classes recall while minimizing model size and computational complexity. Furthermore, we constrain our search space to INT8-compatible operations. We evaluated our framework on the MIT-BIH Arrhythmia Database. We discovered NanoCNN models for binary and multi-class classification tasks. The models trained without augmentation achieved 98.7% and 98.21% overall accuracies outperforming the state-of-the-art. The discovered models required 38.3 K and 51.5 K multiply-accumulate operations (MAC) per inference, enabling their deployment on ARM Cortex-M4 microcontrollers. With augmentation and other minority-aware interventions, our model attained 91.6% balanced accuracy. Our results validated the effectiveness of the adopted search and training techniques for arrhythmia screening and diagnosis.
1. Introduction
Approximately one-third of deaths worldwide are caused by cardiovascular diseases, which have become highly prevalent [1]. There are various cardiovascular diseases, including coronary artery disease, stroke, peripheral arterial disease, rheumatic heart disease, congenital heart disease, heart failure, and arrhythmia [2]. The latter happens when the electrical impulses that coordinate heartbeats become abnormal, which causes the heart to beat too fast, too slow, or irregularly. Early detection is very important, as the World Health Organization (WHO) reports that timely diagnosis and treatment of heart rhythm disorders can prevent a significant proportion of complications and improve arrhythmia management [1]. Current diagnostic methods, such as long-term electrocardiogram monitoring, Holter recording, and electrophysiological studies are time-consuming, resource-intensive, difficult to access in a timely manner, and require expert interpretation [3,4].
Recently, Artificial Intelligence (AI)-based diagnostic tools have emerged as promising alternatives. AI algorithms can predict or diagnose arrhythmia by learning patterns from electronic health records, Electrocardiogram (ECG) measurements, and demographic data [5,6]. Various AI models have been explored for the prediction, detection, diagnosis, and prognosis of arrhythmias. The primary challenges in developing AI models are model selection, feature engineering, and hyperparameter tuning. Automated Machine Learning (AutoML) frameworks were created to overcome these challenges. AutoML systems automate model selection, hyperparameter optimization, and pipeline preprocessing [7]. Frameworks like Auto-sklearn, H2O AutoML, and PyCaret reached state-of-the-art performance with minimal coding effort [8]. Neural architecture search (NAS) can automate the design of neural networks; however, many existing approaches mainly optimize for accuracy or Floating-Point Operations per inference (FLOPs), yielding architectures that perform well in floating-point.
On the other hand, the Internet of Things (IoT) has reshaped remote patient monitoring [9]. Integrated IoT health systems consist of sensors, communication modules, and cloud-based analytics [10]. The wearable sensors capture ECG or photoplethysmogram signals, which are transmitted to cloud servers for analysis in cardiac applications. These architectures suffer from latency, connectivity-dependency, and privacy risks [11,12]. Edge computing as a solution allows data processing to be closer to the source. Incorporating intelligence into a device reduces network traffic and enables faster decision-making. However, embedding complex models into microcontrollers requires thoroughly developed compression and optimization pipelines [13,14]. Quantization reduces model size, computation, and energy consumption by converting high-precision parameters and activations into low-bit representations (e.g., INT8), yet not all floating-point architectures can be quantized. Recent surveys [15,16] reviewed major quantization techniques and highlighted their trade-offs in accuracy, efficiency, and hardware compatibility, as well as challenges such as accuracy degradation at very low bit-widths. The emergence of TinyML has enabled the execution of trained ML models on microcontrollers. TinyML models consume only a few milliwatts of energy and can provide real-time inference directly where data are generated. For the monitoring of arrhythmias, this means that a wearable sensor or a home-based IoT hub can analyze ECG and Phonocardiogram (PCG) patterns locally and alert clinicians without relying on cloud connectivity. However, TinyML development still needs specialized optimization, such as quantization, pruning, and model translation.
To address these challenges, we propose a quantization-compatible minority-aware neural architecture search framework that explicitly incorporates deployment constraints into the search process. We formulate the problem as a multi-objective optimization task that jointly maximizes predictive performance, measured with the balanced accuracy, while minimizing model size and computation complexity. Unlike standard NAS systems, our framework integrates a NAS in a constrained search space composed only of operations supported by microcontrollers. This prevents post-hoc conversion failures and naturally biases the search toward architectures suitable for microcontrollers. We evaluated the proposed framework on time-series ECG for arrhythmia detection and classification. Our assessment covered not only predictive overall accuracy but also per-class performance, deployment-critical metrics such as quantized model size, inference latency, and energy consumption.
Motivated by these considerations, this study pursues the following research questions:
- RQ1: Does constraining the NAS search space to quantization-compatible operations eliminate conversion failures and preserve classification performance after quantization?
- RQ2: Can a minority-aware function improve detection of rare but clinically significant arrhythmia classes compared to standard accuracy-based optimization?
- RQ3: What are the trade-offs between classification performance and hardware efficiency in NAS-discovered architectures for ECG arrhythmia detection?
- RQ4: Can NAS-discovered ultra-compact models achieve deployment-ready performance on microcontrollers for continuous ECG monitoring?
The remainder of this paper is organized as follows. Section 2 reviews prior work on arrhythmia detection and classification on edge devices, as well as prior work on NAS for arrhythmia detection and classification. Section 3 details the proposed framework and architectural components. Section 4 presents the experimental design, the results, and the comparison with SOTA. Section 5 discusses the findings, limitations and implications for healthcare in the IoT. Finally, Section 6 concludes with perspectives for future research in automated edge intelligence for cardiovascular monitoring.
2. Related Works
AI has been used in the prediction, detection, and diagnosis of arrhythmia. Earlier studies relied on classical machine-learning methods—Decision Trees, Random Forests, SVMs, and ensemble techniques. They were tested on public datasets such as MIT-BIH [17,18,19]. During the last decade, deep-learning techniques have become widely used for health signals and images. CNNs have been used to extract morphological patterns directly from ECG signals [20,21], while Recurrent Neural Networks (RNN) have been used to model the temporal structure of heart time sequence signals [22]. Transformer models have also appeared more recently, although their use in ECG tasks is still developing [23,24]. Hybrid models have been leveraged by mixing convolutional layers with some temporal mechanism to capture both local and long-range features [25]. In this section, we begin by presenting literature in the area of TinyML and heart arrhythmia disease. Then, we explore related works that have used AutoML and NAS in arrhythmia detection and classification.
2.1. Edge Intelligence in Healthcare
Wearable ECG technologies, like wrist-worn monitors, smart clothing, and patch-based devices, emerged to facilitate unobtrusive, real-time health monitoring [26,27,28,29]. These devices enable data collection under natural conditions. TinyML was applied in healthcare in various contexts. For example, [30] proposed the deployment of audio classification models on edge devices. The authors demonstrated that a custom-designed 2D CNN (FISC-Net) can classify heart, lung, and bowel sounds from mel-spectrograms with 99% accuracy and 0.05 s per sample latency, outperforming larger pre-trained models like MobileNet and EfficientNet in this specific task.
Kim et al. [31] introduced TinyCES, a wearable ECG monitoring system that performs arrhythmia detection on a low-power microcontroller. They combined band-pass filtering and R-peak detection with a CNN-based classifier. Their model was trained, with a random split, and validated using two clinical ECG databases—MIT-BIH Arrhythmia and PTB Diagnostic ECG. TinyCES, with a 27 KB size, achieved about 97% classification accuracy and 95% sensitivity. Krasteva et al., in [32], proposed a deep neural network-based edge deployment for the detection of ventricular fibrillation. They applied an inter-patient split where training, validation, and testing were performed on different groups of patients. They suggested a five-layer CNN trained in TensorFlow on a GPU, then converted to TensorFlow Lite Runtime (LiteRT) and optimized through post-training quantization. Their 20 KB model achieved 98.55% sensitivity on a proprietary clinical ECG database. Furthermore, for real-time ventricular arrhythmia detection, Gautam et al., in [33], proposed a lightweight 1D CNN within implantable cardioverter defibrillators using TinyML principles. The model was composed of two convolutional and two fully connected layers with optimized kernel and stride parameters. They trained it on Intracardiac Electrogram data from the TinyML Design Contest datasets with a patient-wise split. The system incorporated two augmentation strategies—Peak Flip and Random Noise—to enhance generalization. Their model achieved a size of 17.33 KB, 11.51 K MAC, and 95.72% accuracy.
Other authors investigated the arrhythmia classification on edge devices. Hizem et al., in [34], presented a TinyML-based approach for real-time arrhythmia classification using a 2-D CNN model optimized for Raspberry Pi edge devices. They applied band-pass filtering, normalization, segmentation, SMOTE data augmentation, and random sampling to the ECG signals from the MIT-BIH Arrhythmia dataset before training their CNN on the ECG spectrograms. Their model experienced high degradation after pruning and quantization. It achieved 99% accuracy pre-optimization and 92.89% accuracy with 96.01% recall after optimization. Their main disadvantage is the extensive pre-processing that was not tested on limited-resource devices, as well as the high complexity. Also, they did not report their per-class metrics. In contrast, Han et al. [35] presented a lightweight deep learning model for the classification of arrhythmias. Using their NIH-funded Pulsewatch dataset with 116,313 labeled PPG segments from 106 stroke-survivor participants, the authors trained a 1D bidirectional Gated Recurrent Unit (1D-Bi-GRU) model that integrates multimodal inputs. Their proposed model achieved 97.31% accuracy for atrial fibrillation. Although the model showed slightly lower sensitivity due to motion artifacts, it demonstrated strong generalizability and computational efficiency. In [36], Cinotti et al. presented a 1D-CNN implemented for the ARM Cortex-M7 microcontroller. In their preprocessing phase, they applied arrhythmia filtering, outlier removal, fixed-length RR sequence extraction, and balancing. They applied subject-wise 5-fold cross-validation. The model achieved 98% accuracy, Recall, and F1-score, while requiring 86.6 KB of flash memory and 8.5 KB of peak RAM. They used two convolutional blocks: the first with 16 filters, and the second with 32 filters. Each block included batch normalization, ReLU, average pooling, and dropout in the first block only. We report the comparison between the proposed models’ performance in Table 1.
Table 1.
Comparison of Edge Intelligence Methods for Arrhythmia Classification.
2.2. AutoML and NAS for Arrhythmia Detection and Classification
Previous studies relied on manual experimentation for selecting the architecture, tuning hyperparameters, and deciding the preprocessing steps. This process was time-consuming and requires expertise with both ECG data and machine learning or deep learning models [37,38]. However, Automated Machine Learning (AutoML) approaches combine meta-learning and optimization to automate model selection and hyperparameter tuning.
AutoML has begun to reshape healthcare analytics by taking over many of the time-consuming tasks, such as data cleaning, feature engineering, selecting the right model, and tuning hyperparameters [39]. Different AutoML frameworks have been used in the medical domain for various types of data [40]. H2O AutoML, for example, provides a unified environment that can handle tabular data, images, and even large electronic health records [41]. PyCaret has been useful in disease-prediction studies because it allows quick model comparison and ensembling, and it includes interpretability tools like SHAP values [42]. AutoGluon provides the ability to prototype models quickly [43]. AutoKeras, an open-source deep-learning framework, is often used for automated neural architecture search [44]. Other specialized frameworks, such as AutoPrognosis and AutoML-Med [45], are tailored for clinical prognosis and personalized screening, integrating specific Bayesian optimization and calibration techniques for healthcare workflows.
Jayanthi et al. [46] presented a systematic approach that combines Auto-CardiacML’s classification with ResNet-50’s feature extraction techniques. Auto-ML was used to classify cardiac arrhythmias, and the ResNet model is used to extract the features of the ECG signal. They showed, based on experimental results from the CPSC 2018 test set, that their model had an average accuracy of 82% for distinguishing normal rhythm from cardiac arrhythmias. Paladino et al. [47] evaluated three AutoML tools—PyCaret, AutoGluon, and AutoKeras—for heart disease prediction against traditional machine learning methods. They found that AutoML tools significantly outperformed manually developed models on the Cleveland, Hungarian, and a combined dataset. AutoGluon emerged as the top performer, delivering an accuracy between 78% and 86%. PyCaret’s results were more variable (65–83%), while AutoKeras showed the highest fluctuation (54–83%) and the longest computation times.
Reiser et al. [48] presented a framework for designing ultra-low-power neural networks for embedded time series classification, such as atrial fibrillation detection in ECG signals. They proposed a hardware-aware NAS that co-optimizes network accuracy and energy consumption using a grid-based search strategy within a constrained space limited to layers like convolutions and fully-connected networks. They used a non-volatile RRAM-based memory system enabling deep sleep without weight reloading, and a dataflow-driven hardware architecture automatically generated from the neural network description. Evaluated on a proprietary dataset of 16,000 two-minute ECG recordings, their final ASIC implementation achieved 97% sensitivity and 87% specificity. Their final model comprised four convolutional layers with increasing capacity, each followed by batch normalization and ReLU activation, and a max-pooling layer after the final convolution. Two ternary-quantized fully connected layers perform classification. The resulting model contains only 1370 parameters. The average energy consumption per window classification is 12.4 mJ. A primary limitation is the framework’s reliance on a proprietary ECG dataset and a specific RRAM process technology, which hinders full reproducibility and independent validation of the results.
King et al. [49] proposed MicroNAS, a hardware-aware neural architecture search framework for time-series classification on microcontrollers that automatically discovers CNN architectures balancing accuracy with strict memory and latency constraints. Weight sharing is used during architecture search. Therefore, the selected architecture is retrained using quantization-aware training for INT8 MCU deployment. Using a differentiable search approach with hardware-measured latency tables and memory estimates, it achieves 97.35% FP32 accuracy and 96.33% INT8 accuracy, on the UCI-HAR balanced dataset, with less than 30 KB memory, and 2–200 ms latency. However, it was evaluated on only two HAR datasets and the authors did not report final model size.
Risso et al. [50] introduced Pruning-In-Time (PIT), a lightweight neural architecture search method tailored for temporal convolutional networks on edge devices. Their framework optimized three key hyperparameters—channels, receptive field, and dilation—through differentiable structured pruning masks that allows exploring a large, fine-grained search space while training a single TCN. PIT generates Pareto-optimal architectures by balancing accuracy with model size or operation count using two regularizers, and is evaluated on four real-world time-series tasks: PPG heart-rate estimation, ECG arrhythmia classification, sEMG gesture recognition, and keyword spotting. Their ECG optimal model uses three residual blocks, each with two dilated convolutions and geometrically increasing dilations. After a reduced fully connected layer, the optimized network classifies 5 arrhythmia types. They reported 94.13% overall accuracy on both FP32 and INT8 with a 5.4 KB size after training on the ECG5000 dataset. They did not report per-class performance nor overall recall. Challenges include designing valid masks for the receptive field and dilation, dependence on a good seed model, and limited dilation choices. Nevertheless, PIT is limited to a fixed macro-architecture and requires manual tuning of the regularization strength to obtain the Pareto-optimal solutions.
Hosseini et al. [51] introduced QS-NAS, a hardware-aware neural architecture search framework that jointly optimizes network scaling, block structure, and mixed-precision quantization to generate models for microcontrollers and TinyML devices. Instead of manually designing small networks or applying uniform 8-bit quantization, QS-NAS uses a predictive hardware cost model—capturing RAM, Flash, latency, and energy—to guide the search toward architectures that satisfy tight device constraints while preserving accuracy. Evaluated on micro-AI tasks such as keyword spotting and small-image classification, QS-NAS consistently produced models that outperform hand-crafted TinyML baselines, achieving higher accuracy with smaller memory footprints and lower latency. The approach demonstrated that co-optimizing scaling and quantization within the search loop is essential for reliable TinyML deployment. However, QS-NAS was not tested on arrhythmia datasets.
Huang et al. [52] proposed an energy-aware NAS framework for wearable IoT devices by co-optimizing lightweight DNN architectures and computation partitioning between the wearable and a fog node. They used a genetic algorithm, evolving flexible layer lengths and channel counts under strict Flash, RAM, and energy constraints. Unlike typical TinyML approaches, the method operates without quantization and focuses on single-objective constrained optimization, where architectures violating resource limits are penalized or discarded. For arrhythmia classification on the MIT-BIH dataset, the framework achieved 88.0% accuracy with 0.270 mJ edge energy consumption while maintaining Flash footprints as low as 4.0 KB and RAM under 8.1 KB. Nevertheless, the approach relied on the availability of a fog node, overlooking real-time on-device adaptation and 8-bit quantization.
Islam et al. [53] proposed a novel method that combines Lottery Ticket Hypothesis pruning with Neural Architecture Search (LTH-aided NAS) to automatically generate ultra-small, accurate deep learning models for deployment on microcontrollers. Using the PhysioNet 2017 ECG dataset for arrhythmia detection and a chest X-ray pneumonia dataset, the approach first prunes a large pre-trained model to create a sparse “student model,” which then constrains and accelerates the multi-objective NAS search—optimizing for accuracy, model size, and compute cost. The key novelty is “warm-booting” NAS with pruning knowledge, reducing search time while compressing the ECG model to 174 KB with maintained accuracy. A major limitation is the reliance on an existing large pre-trained model, which may not be available for all tasks, and the method does not include quantization, leaving further size and latency reductions unexplored. Additionally, sparse models are converted to dense format for MCU compatibility, as current lightweight inference engines lack efficient sparse kernel support.
TinyTNAS, proposed by Saha et al. [54], is a CPU-only, time-bound NAS framework that uses a grid search to find 1D CNNs for TinyML time-series classification. It searches over two parameters: the number of filters in the first depthwise separable convolution layer and the number of repeating blocks containing MaxPooling and convolution. They employed a constrained single-objective search that maximizes accuracy within user-defined hard limits on RAM, Flash, and MAC operations. Their quantization aware training achieved 97.4% overall accuracy on MIT-BIH arrhythmia, 13 ms latency on ESP32 microcontroller, while their model size reached 19.3 KB. However, they used a fixed architecture template, did not explore trade-offs via multi-objective optimization, and did not consider per-class nor weighted performances.
Ben Meziane et al. [55] showed that NAS for arrhythmia is an active area with a clear shift toward energy-efficient, hardware-aware automatic design. The gap between automated model generation and deployable efficiency motivates the paradigm proposed in this work.
Table 2 shows the comparison of NAS methods for the classification of arrhythmias on resource-limited devices.
Table 2.
Comparison of NAS Methods for Arrhythmia Classification.
3. Methodology
This section presents our ultra-compact minority-aware neural architecture search approach for designing microcontroller-compatible and optimized CNNs for arrhythmia classification. We propose a framework that aims to create an end-to-end automated process. The framework consists of four integrated modules operating iteratively, Figure 1.
Figure 1.
NAS-to-TinyML framework architecture diagram.
- Data Pre-processing Module: This module handles ECG signal preparation.
- Neural Architecture Search Module: Generates candidate architectures via random sampling from a constrained search space and trains each.
- Quantization Module: Converts the trained models to INT8 precision using post-training quantization.
- Scoring Module: This module evaluates each architecture using a multi-objective score that balances classification performance and hardware efficiency.
- Deployment Simulation Module: Simulates edge deployment using hardware profiling. It is responsible for extracting the memory footprint (RAM, Flash), computational complexity (MACs), while evaluating INT8 classification performance.
Our framework introduces two key innovations that distinguish it from existing hardware-aware NAS approaches. First, unlike MicroNAS [49] and TinyTNAS [54], which optimize primarily for overall accuracy, we formulate NAS as a multi-objective optimization problem that explicitly incorporates minority class recall alongside balanced accuracy in the search objective. This minority-aware scoring function directly addresses the clinical challenge of detecting rare but critical arrhythmias, which existing frameworks do not prioritize during architecture search. Second, while QS-NAS [51] explores mixed-precision quantization post-search, our search space is constrained from the beginning to low-precision compatible operations.
Our proposed NAS framework is designed to identify CNN architectures that exhibit high classification performance, are quantization-compatible, and are deployable on resource-constrained microcontrollers for continuous ECG monitoring. Unlike conventional neural architecture search methods that optimize only classification accuracy, our NAS incorporates balanced accuracy (macro-recall) and deployment metrics such as runtime memory footprint, persistent storage requirement, and computational complexity, directly into the multi-objective score function. The search operates iteratively across candidate architectures. The NAS Module generates and trains a random architecture, applies post-training quantization, and then transfers the quantized model to the Microcontroller Module for hardware profiling and performance evaluation. The framework computes the composite score combining balanced accuracy, average minority recall, and hardware efficiency. Then, we select the architecture with the highest composite score as the optimal architecture.
3.1. Data Preprocessing Module
We applied the preprocessing methodology of Kachuee et al. [56] prior to neural architecture search. Kachuee et al. demonstrated that minimal preprocessing consisting only of normalization enables deep learning models to learn robust features directly from the raw signal [56]. Consequently, our preprocessing consists of a single normalization step applied independently to each heartbeat segment. For each ECG segment of length L samples, we apply min-max normalization Equation (1):
where is the heartbeat value at instant t, and represent the minimum and maximum amplitude values within the segment, respectively. We selected the Kachuee et al. [56] preprocessing approach to avoid removing diagnostically relevant information through filtering, as this may impact minority arrhythmia classes with atypical morphologies [57]. Furthermore, normalization only preprocessing reduces preprocessing complexity, which is critical for resource-constrained edge devices.
3.2. Neural Architecture Search Module
The NAS module randomly selects an architecture from the search space and trains it. In our work, we defined a constrained neural architecture search space containing only operations compatible with full 8-bit quantization for microcontrollers. Several architectural and parameter conditions may cause the quantization pipeline to fail in neural networks [58,59]. To guarantee quantization compatibility, we considered these design principles: batch normalization after convolution [60], ReLU activations [61], no biases in convolutional layers [61], adaptive pooling, and exclusion of operations that cause quantization instability, such as depthwise separable convolutions and residual connections [49]. We used random search because the search space is constrained and quantization-aware, and each candidate is evaluated by a short proxy training and a composite score. Under these conditions, random search provides effective coverage with minimal overhead, and prior studies reported that random search is a competitive NAS baseline compared to state-of-the-art methods when the search space is carefully engineered [62]. Candidate architectures are represented by a five-parameter configuration vector
where is the number of convolutional blocks, k the kernel size, p the pooling stride, the dense units, and the dropout rate.
Given a configuration , the architecture is constructed sequentially. Each convolutional block applies two 1D standard convolutional layers with ReLU activations. To prevent excessive reduction in sequence length across convolutional stages, we employ adaptive pooling where the pooling size depends on the current length after block i, as in Equations (2) and (3).
with the corresponding length update:
Following the convolutional blocks, the network employs a compact classifier head consisting of a flattened layer, a fully connected layer with ReLU activation, dropout regularization, and a softmax output layer. Then, we train the randomly selected CNN on a subset of the dataset for a limited number of epochs.
3.3. Deployment Simulation Module
In this module, we converted the trained model to low-precision integer formats through post-training quantization [61], where a representative calibration dataset determines optimal quantization parameters that map floating-point weights and activations to fixed-point integers. For deployment on resource-constrained devices, we quantized the model to 8-bit integer weights and activations to reduce memory footprint and computational cost while retaining acceptable predictive accuracy [61]. Quantization maps floating-point model weight, , to an integer representation using a scaling factor S and zero-point offset Z, defined as in Equation (4).
where ensures that the integer values span the same dynamic range as the original floating-point weights. The quantized models are profiled using platform-specific tools that provide deterministic estimates of flash storage, runtime RAM, and MAC operations. This profiling approach enables evaluation of hardware requirements without physical deployment. The profiler extracts the required flash memory size, the runtime RAM, and Multiply-Accumulate Operations (MACs) per inference.
3.4. Minority-Aware Composite Scoring Module
A fundamental challenge in medical time-series classification is severe class imbalance, where clinically significant rare events may represent a small fraction of the training data. Traditional neural architecture search approaches that optimize aggregate metrics without explicit minority class consideration produced models that achieved high overall scores by predominantly learning majority class patterns while exhibiting poor sensitivity to rare but medically important classes [63].
We formulated our NAS as a constrained multi-objective optimization problem that balances classification performance, taking into consideration the minority classes detection against hardware resource limitations. Our objective was to identify the optimal architecture that maximizes a minority-aware composite score function while satisfying platform-specific resource constraints, as in Equations (5)–(8).
subject to the hardware feasibility constraints:
where denotes the constrained search space and represents a subset of the dataset. , , and denote the runtime memory footprint, persistent storage requirement, and computational complexity of architecture A, respectively. The threshold parameters , , and define the resource constraints of the target deployment platform and are selected similarly to Saha et al. [54] (TinyTNAS).
We proposed a minority-aware composite score function that treats minority class detection as an objective alongside overall classification quality and hardware efficiency. The composite score function aggregates three normalized objectives via a weighted linear combination, as in Equation (9).
where , , and are the empirical weights of the three objectives. The primary performance objective refers to the balanced accuracy as the metric for overall classification quality. Balanced accuracy treats all classes with equal importance regardless of their frequency in the training distribution, providing robustness against class imbalance effects that can mislead accuracy-based metrics [64].
To explicitly reward architectural capacity for detecting clinically significant rare classes, we introduce a minority recall objective computed over a predefined subset of minority classes , where K is the total number of classes. The minority recall objective is formulated as the average recall across minority classes, given by Equation (10).
where the recall for class k is defined by Equation (11):
where denotes true positives and denotes false negatives. This objective reflects the overall minority detection capacity of an architecture, allowing the search algorithm to identify candidates with demonstrated capability for minority pattern learning.
The hardware efficiency objective aggregates the quantized model storage footprint, , and its computational resource efficiency, , through a weighted combination following Equation (12).
where and the relative weighting reflects the dominant resource constraint in the target deployment scenario. The component efficiency metrics are normalized using constraint-relative scaling, according to Equations (13) and (14).
Beyond hardware resource constraints, we imposed quality-based feasibility requirements. We rejected architectures where the average minority recall is zero, indicating complete failure to learn minority class patterns, during the search phase. This quality filter prevents selection of architectures that satisfy hardware constraints but lack fundamental capacity for minority class learning.
3.5. Evaluation Metrics
We evaluated the performance of the proposed CNN framework using both predictive and deployment-oriented metrics. We evaluated classification performance using standard metrics for binary and multiclass classification. For each class k, we compute: the precision, recall, and F1-score according to Equation (15).
where , , and denote true positives, false positives, and false negatives for class k, respectively.
For overall model assessment, we reported macro-averages and weighted averages of each metric. In addition, we reported the overall accuracy and macro-recall, also called balanced accuracy, following Equation (16).
where K is the number of classes and N is the total number of samples. Overall accuracy measures the proportion of correctly classified samples. However, overall accuracy is misleading with a highly imbalanced dataset. On the other hand, the balanced accuracy provides robustness against class imbalance by treating all classes equally, regardless of their frequency [64].
We computed classification metrics for both floating-point and quantized models to assess quantization-induced performance degradation.
To assess deployment feasibility on resource-constrained microcontrollers, we evaluated the following hardware-oriented metrics:
- Model Size (flash memory): The persistent storage requirement of the quantized TensorFlow Lite model in kilobytes, according to Equation (17):where represents the quantized model size in bytes.
- Runtime Memory (RAM): Peak memory consumption during inference, representing the buffer space required for input data, intermediate activations, and output tensors.
- Computational Complexity (MACs): The number of multiply-accumulate operations per inference, which directly correlates with energy consumption and inference latency on embedded hardware.
All deployment metrics are extracted using a hardware profiler, which provides deterministic estimates for microcontrollers without requiring physical device deployment.
4. Experimental Setup and Results Discussion
We conducted our experiments on Google Colaboratory running Ubuntu 22.04 LTS with Python 3.10.12 and TensorFlow 2.15.0. We utilized CPU-based training with 12 GB system RAM. For hardware profiling and deployment simulation, we employed the Silicon Labs Gecko SDK Machine Learning Toolkit (MLTK) v2.1 for ARM Cortex-M4 microcontrollers. All models underwent INT8 post-training quantization via TensorFlow Lite to simulate resource-constrained deployment.
We employed the MIT-BIH Arrhythmia Database [65], which contains 48 half-hour excerpts of two-channel ambulatory ECG recordings from 47 subjects. Each beat is annotated by cardiologists according to the ANSI/AAMI EC57 standard. The dataset comprises 109,446 beats across 15 arrhythmia labels, with a significant class imbalance. Individual heartbeats were extracted as fixed-length 360-sample windows centered on annotated R-peaks provided by the database. Figure 2 shows the preprocessed ECG signals using the method of Kachuee et al. [56].
Figure 2.
ECG signal preprocessing using Kachuee method.
For our primary experiments, we follow the common practice in NAS literature [49,54] using a random stratified split (70% training, 15% validation, 15% testing) to maintain consistent class distributions across splits. This approach enables us to compare our approach to SOTA. Additionally, for validation purposes, we conducted supplementary experiments using patient-aware 5-fold cross-validation. In this protocol, all beats from the same subject remain in the same fold. Table 3 presents the detailed class distribution.
Table 3.
Dataset Class Distribution.
We evaluated two classification scenarios:
- Binary Classification (Screening): Beats were categorized as Normal if labeled as N, L, R, e, or j, and Abnormal for all other beat types. This formulation addresses the screening scenario where the primary objective is detecting the presence of any arrhythmia.
- Multi-Class Classification (Diagnosis): Following the AAMI EC57 standard, beats were classified into five categories: Normal (N, L, R, e, j), Supraventricular (S, A, a, J), Ventricular (V, E), Fusion (F), and Unknown (Q, /, f). For the five-class arrhythmia classification task, the minority set comprises Supraventricular, Ventricular, and Fusion beats, which represent less than 10% of the dataset.
Our NAS employed a minority-aware neural architecture search strategy with strict edge device constraints. The threshold parameters were defined according to Saha et al. [54] with KB, KB, and K. We empirically selected the weights of the score function with , 0 , ( and ). The weights were selected empirically based on preliminary experiments and clinical priorities. The dominant weight on balanced accuracy reflects that classification performance is the primary objective, while the minority recall weight ensures explicit attention to rare arrhythmias during search. The relatively lower hardware weight serves as a soft constraint since architectures violating hard thresholds (Equations (6)–(8)) are already rejected. In Section 4.3.1, we conducted sensitivity analysis across weight combinations and found that this configuration consistently identified architectures with balanced performance across majority and minority classes while satisfying hardware constraints.
We applied 10 runs with different seeds, each consisting of 50 trials. Through the 10 runs with 50 trials each, a total of 500 architectures were evaluated using random sampling from the six-dimensional constrained search space: convolutional blocks, kernel size, pooling size, dense units, and dropout rate. Each candidate architecture underwent 15-epoch training for the multi-class classification task and 5-epoch training for the binary task. We applied training on a stratified 5000-sample subset using focal loss with a of 2.0 and adaptive class weights. The 5000-sample subset, used during the NAS search phase, is drawn from the training data. The architectures were scored using the composite metric. Table 4 shows the NAS constrained search space. Note that we fixed the number of filters to 4 to fulfill the hardware constraints.
Table 4.
Neural Architecture Search Hyperparameter Space.
After the search phase, we selected the trial with the highest score in each run and trained it on the full training set for 500 epochs for the multi-class classification task and 100 epochs for the binary task with early stopping. We used the results of the 10 best architectures to analyze the statistical performance of our strategy. In addition, we selected the best overall-accuracy model and compared it with SOTA.
For the binary classification problem, we applied full training as in Saha et al. [54]. For multi-class classification, we applied two full training strategies. The first is according to [54], and the second is the application of minority-aware training.
4.1. Binary Arrhythmia Classification
In this section, first, we report the minority-aware NAS search results for binary classification. Then, we present the statistical results and the best model results.
4.1.1. NAS Search Phase Results for Binary Arryhythmia Classification
Figure 3 presents the distribution of architectural parameters among the feasible binary classification architectures.
Figure 3.
Distribution of architectural parameters among the feasible binary classification architectures.
The parameter distribution revealed that single-block architectures dominated (42%) and kernel size 3 remained preferred (64%), while dense layer units concentrated at 16 units (42%). The pooling size exhibited balanced distribution. These results show that a variety of architectures could be leveraged for binary Arrhythmia classification.
Table 5 presents aggregate performance statistics for feasible architectures during the search phase. The feasible models achieved a balanced accuracy ranging from 34.0% to 96.3%. Hardware profiling revealed: 13.5 ± 4.6 KB flash memory, 42.8 ± 8.9 K MAC operations, and 6.1 ± 1.5 KB runtime RAM.
Table 5.
NAS Performance Metrics for Binary Classification During Limited-Epoch Search.
4.1.2. Full Training Results
After the search phase, we selected the trial with the highest score, in each run, and trained it on the full training set for 100 epochs with early stopping. We used the results of the 10 best architectures to analyze the statistical performance of our search strategy. As shown in Table 6, multi-seed validation across ten random seeds demonstrated a standard deviation below 1.1% for both classes and for all metrics. The Normal class showed the tightest distribution with a recall standard deviation of 0.3%. Performance ranges were consistently narrow, with INT8 minima of 93.3% for Abnormal recall and 98.3% for Normal recall, while maxima reached 99.5% for Normal recall and 97.1% for Abnormal recall. Quantization from FP32 to INT8 introduced zero degradation across all metrics. This preservation of accuracy during quantization demonstrates the robustness of the model to 8-bit integer conversion. The balanced accuracy reached 97.4 ± 0.6% and the overall accuracy attained 98.0 ± 0.5%.
Table 6.
FP32 vs. INT8 Across Multi-Seed Validation for Binary Classification.
4.1.3. Best Model Performance
The best-performing architecture is the architecture with the best overall accuracy of 98.7%. The same architecture achieved the best balanced accuracy of 98.3%. It consists of a CNN with two convolutional blocks. Each block contains two sequential convolutional layers with 4 filters and a kernel size of 3, followed by max pooling with a pool size of 3. The feature extraction stages are followed by a fully connected layer with 32 units and a dropout rate of 0.4 for regularization. The complete architecture comprises 5390 trainable parameters. When quantized to INT8 precision, the model requires only 14.3 KB of flash memory and 6.0 KB of RAM, with a computational cost of 38.3 K MAC operations per prediction. The best model performance is shown in Table 7. With this model, the Normal class achieved 99.5% recall and 98.6% precision with an F1-score of 99.0%. The Abnormal class achieved 97.12% recall with 99.0% precision.
Table 7.
Best Model Performance Metrics.
4.2. Multi-Class Arrhythmia Classification
In this section, first, we will report the minority-aware NAS search results for multi-class classification. Then, we will present the statistical results and the best model results for the two types of full training techniques. In the first type, we followed a standard training similar to [54]. In the second type, we adopted a minority-aware training.
4.2.1. NAS Search Phase Results for Multi-Class Arrhythmia Classification
Figure 4 shows the distribution of architectural parameters across feasible multi-class models. Most models employ shallow convolutional structures, with 1 and 2-block architectures selected most frequently. However, Figure 4 shows that architectures with 4 blocks may be hardware efficient. Small kernel sizes, particularly 3 and 5, are preferred. In the fully connected layers, moderately dense units (16 and 32) are most common, while smaller configurations are rare. Moreover, low dropout rates are more frequent.
Figure 4.
Distribution of architectural parameters among the feasible multi-class architectures.
In Table 8, we present the performance statistics for the feasible architectures. We noticed that the feasible models achieved a mean composite score of , with balanced accuracy ranging from to , during the short epoch training phase. Performance variation reflects the stochastic nature of random architecture sampling and the sensitivity of minority class learning to architectural choices. Hardware profiling revealed KB flash memory size and MAC ranging from to .
Table 8.
Performance Metrics for Feasible Architectures During Limited-Epoch Search.
4.2.2. Standard Training Results
After the architecture search phase, we selected the trial with the highest score in each run and trained it on the full training set. The multi-seed validation, shown in Table 9, demonstrated that the highest standard deviations were noticed in the Fusion class across all metrics. On the other hand, the Normal class exhibited the lowest variation and the best metrics overall. The quantization from FP32 to INT8 introduced zero variation across all metrics. Summary metrics demonstrated a Balanced Accuracy of consistently lower than the Overall Accuracy of .
Table 9.
Per-Class Performance Statistics Across Multi-Seed Validation for Multi-class Classification with Standard Training.
We selected the best-performing model as the highest overall accuracy model for comparison with SOTA. The best overall accuracy model achieved 98.21% overall accuracy, 87.02% balanced accuracy, and Macro F1-score of 90.2%. The model’s architecture consists of one 1D convolutional block, with two convolutional layers of 4 filters and a kernel size of 5, followed by max pooling of size 3. The feature extraction backbone is connected to a fully-connected classifier with 32 hidden units and 0.2 dropout. With 15,665 trainable parameters, the model requires 51.5 K MAC operations, 21.5 KB of flash memory, and 4.9 KB of RAM, making it suitable for deployment on resource-constrained medical devices. The best model’s performance metrics are detailed in Table 10.
Table 10.
Per-Class Performance of Best Overall Accuracy Model with Standard Training.
As presented in Figure 5, the primary misclassification pattern involves minority classes being incorrectly labeled as Normal.
Figure 5.
Confusion Matrix of Multi-class Classification with Standard Training.
4.2.3. Minority-Aware Training Results
To address class imbalance, we combined four interventions: ECG-specific data augmentation; balanced batch sampling ensuring every class appears in every batch; focal loss with to focus on hard examples, and adaptive class weighting. Our augmentation included time shifting, Gaussian noise, amplitude scaling, time stretching, baseline wander, and random cropping. We applied these techniques as they simulate realistic signal variations while preserving diagnostic waveform characteristics. We applied all augmentation operations to the training data after the train/val/test split. The test set is held out to serve as a benchmark for final evaluation. Augmentation is performed online rather than offline.
In Table 11, we presented the multi-seed statistics across ten random seeds. As in the binary classification task, the Normal class demonstrated the tightest distribution, with the smallest standard deviation. Fusion class standard deviation was reduced, compared to the standard training method. The low standard deviations, tight performance ranges, and minimal FP32-to-INT8 differences collectively confirm the model’s robustness to both initialization randomness and post-training quantization.
Table 11.
Multi-Seed Validation for Minority-Aware Training.
We selected the best-performing model- with the highest overall accuracy. It achieved an overall accuracy of 95.73%, which also achieved the highest Macro F1-score of 81.74% among all evaluated architectures. The best model’s architecture consists of three convolutionalblocks with two convolutional four-filter layers each and a kernel size of 3, followed by max pooling of size 2. The feature extraction backbone is connected to a fully-connected classifier with 32 hidden units and 0.3 dropout. With 6233 trainable parameters, the model requires 53.4 K MAC operations, 17.77 KB of flash memory, and 7.52 KB of RAM, making it suitable for deployment on resource-constrained medical devices. We presented the best model performance in Table 12.
Table 12.
Per-Class Performance of Best Overall Accuracy Model with Minority-aware Training.
The Normal class achieved 96.1% recall, 99.4% precision, and 97.7% F1 score. This demonstrates the reliable identification of healthy rhythms. For clinically critical arrhythmias, Ventricular beats achieved the best recall, precision, and F1-score. Fusion class recall improved to 84.3% while its precision decreased to 40.5%. However, the balanced accuracy slightly increased to 91.64%.
As shown in Figure 6, the primary misclassification pattern persists with minority classes being incorrectly labeled as Normal, particularly affecting Supraventricular (9.6%) and Fusion (8.3%) beats.
Figure 6.
Confusion matrix for the best model.
As demonstrated in Figure 7, the standard training approach achieved the highest overall accuracy (98.2% vs. 95.7%) and the highest Macro F1-score (90.2% vs. 81.7%). It favored precision over recall. This conservative strategy minimizes false alarms but risks missing critical arrhythmias. Conversely, the minority-aware model improved the recall and reduced the precision.
Figure 7.
Classification Metrics Comparison.
4.3. Ablation and Validation Studies
In this section, we conduct various ablation and validation studies.
4.3.1. Impact of Scoring Weights
To address the empirical nature of our weight, we conducted a comprehensive ablation study examining three distinct weight sets for the composite scoring function.
- Minority-focused (Configuration A): with , , and .
- Balanced (Configuration B): with , , and .
- Minority-aware (Configuration C): this is our proposed configuration with , , and .
For each configuration, we performed 5 independent multi-class NAS runs with standard full training and with the same random seeds (42–46). All other hyperparameters were kept identical to enable fair comparison.
In Table 13, we present a comparison of the three configurations. Configuration A and Configuration C achieved the highest mean values across various metrics, represented in bold in the table. Moreover, configuration C demonstrated superior stability, with the lowest average coefficients of variation (CV).
Table 13.
Comparison of NAS Scoring Weight Configurations.
4.3.2. Effect of Search-Phase Training Budget
To investigate the effect of search-phase-limited training on the final model’s ranking, we randomly sampled 15 architectures and compared their proxy metrics with the final metrics. Spearman rank correlations [66] range from 0.857 to 0.888 across all metrics (all p < 0.001). Table 14 illustrates that the top-5 architectures during search consistently remain top performers after full training. This confirms that the limited training reliably identifies promising architectures.
Table 14.
Top-5 architectures ranked by proxy score vs. final performance.
4.3.3. Subject-Wise Cross-Validation
To evaluate generalization to unseen patients, we conducted subject-wise (inter-patient) 5-fold cross-validation, where all beats from each patient are confined to a single fold, on our best binary model, despite the search phase using a random split. Using patient-wise cross-validation during search would restrict the training set and increase ranking variance. Therefore, we adopted a two-stage protocol: random split during search, followed by subject-wise 5-fold cross-validation for final performance estimates. The model achieved a balanced accuracy of 75.9 ± 8.8% and overall accuracy of 80.7 ± 11.5%. Most critically, the abnormal recall of 68.2 ± 4.8% demonstrates detection of arrhythmias in unseen patients, while the normal precision of 96.2 ± 2.1% ensures minimal false alarms. The standard deviations (4–12%) confirm consistent performance across different patient populations. The moderate standard deviations across folds validate that the model does not overfit to specific patients despite the random split during search phase. Table 15 presents the subject wise performance metrics.
Table 15.
Inter-Patient Best Model Performance Metrics.
4.4. Comparison with State-of-the-Art
In Table 16, we compared our framework with state-of-the-art TinyML approaches for arrhythmia classification on the MIT-BIH dataset. The bold values in Table 16 represent the best achieved metrics. Our binary classifier outperformed the SOTA model across all evaluation metrics.
Table 16.
Comparison with SOTA for Arrhythmia Classification on MCUs.
For multi-class classification, the grid-search-based method of Saha et al. [54] achieved 97.40% accuracy; however, their balanced accuracy and minority-class performance were not reported, limiting assessment of class-wise robustness. Our standard (same as [54]) NAS-based model outperformed Saha et al. [54] with an overall accuracy of 98.21% while achieving a balanced accuracy of 87.02%, indicating consistent performance across classes. These gains are obtained with a 21.5 KB model size and 51.5 K MACs, which is better than Saha et al. [54]. Our minority-aware variant prioritizes class balance, achieving the highest balanced accuracy of 91.60% with a model of size 17.77 KB and 53.4 K MAC operations. Although overall accuracy decreases to 95.73%, this trade-off enhances sensitivity to clinically relevant minority arrhythmia classes.
Our results demonstrate that with our constrained search space, random sampling exceeded the efficiency of Differential NAS (DNAS) and grid search. DNAS, used in MicroNAS [49], risks post-hoc quantization failures by searching in a floating-point space. Moreover, grid search, used in TinyTNAS [54], undergoes exhaustive enumeration, increasing the computational overhead. The primary trade-off of random sampling is the lack of optimality guarantees; however, our results outperformed MicroNAS and TinyTNAS as reported in Table 16.
5. Limitations and Future Directions
Our proposed ultra-compact minority-aware neural architecture search framework demonstrates the feasibility of automating the design of resource-efficient deep learning models for arrhythmia classification on edge devices. By incorporating quantization-awareness, minority class consideration, and hardware efficiency metrics into the search objective, the discovered architectures achieved strong performance while satisfying the strict constraints of edge microcontrollers.
The minority-aware training variant improved recall for rare arrhythmias at the cost of reduced precision compared to the standard approach. In addition, the minority-aware strategy also leads to more compact architectures.
Despite its promising results, the proposed framework has several limitations. First, the framework should be validated on different datasets. Furthermore, while our hardware evaluation—Flash usage, RAM usage, and MAC operations—are directly profiled from the quantized TFLite model using the Silicon Labs MLTK profiler, we acknowledge that physical hardware measurements of latency and energy consumption would provide additional validation. Physical hardware validation remains a direction for future work. Moreover, even though random search was able to discover well-performing architectures, more sophisticated search strategies could be applied on a larger search space. Finally, while we conducted a patient-wise validation, deeper investigation of patient-wise search strategy would be considered in future work.
6. Conclusions
In this work, we presented a novel neural architecture search framework for automating the design of resource-efficient CNNs for the classification of arrhythmias in edge devices. We integrated minority class consideration and hardware efficiency metrics directly into our multi-objective score function. In addition to that, we applied a random search in a quantization-aware search space. Using this approach, we discovered NanoCNN architectures that achieved state-of-the-art performance on the MIT-BIH Arrhythmia Database.
Furthermore, we applied a comparative analysis of standard and minority-aware training strategies. We noticed that our minority-aware variant improved the recall for rare arrhythmias at the cost of reduced precision. This underscores the need for a holistic approach that jointly optimizes architecture search and training methodology to develop robust TinyML solutions for clinical applications.
However, it is necessary to extend the framework to incorporate explainability techniques and validate the approach across a wide range of datasets, patient populations, and deployment scenarios. In addition, physical hardware deployment will give empirically validated latency and energy measurements for the obtained models.
Funding
This research APC were funded by Prince Sultan University.
Data Availability Statement
The original data presented in the study are openly available in https://physionet.org/content/mitdb/1.0.0/ (accessed on 22 February 2026).
Acknowledgments
The authors would like to acknowledge the support of Prince Sultan University for paying the Article Processing Charges (APC) of this publication.
Conflicts of Interest
The author declares no conflicts of interest.
References
- World Health Organization. Cardiovascular Diseases (CVDs): Key Facts. 2025. Available online: https://www.who.int/news-room/fact-sheets/detail/cardiovascular-diseases-(cvds) (accessed on 6 November 2025).
- Gaziano, T.; Reddy, K.S.; Paccaud, F.; Horton, S.; Chaturvedi, V. Cardiovascular disease. In Disease Control Priorities in Developing Countries, 2nd ed.; World Bank Group: Washington, DC, USA; Oxford University Press: Oxford, UK, 2006. [Google Scholar]
- Galli, A.; Ambrosini, F.; Lombardi, F. Holter monitoring and loop recorders: From research to clinical practice. Arrhythmia Electrophysiol. Rev. 2016, 5, 136. [Google Scholar] [CrossRef] [Scilit]
- Ontario, H.Q. Long-term continuous ambulatory ECG monitors and external cardiac loop recorders for cardiac arrhythmia: A health technology assessment. Ont. Health Technol. Assess. Ser. 2017, 17, 1. [Google Scholar]
- Gupta, U.; Paluru, N.; Nankani, D.; Kulkarni, K.; Awasthi, N. A comprehensive review on efficient artificial intelligence models for classification of abnormal cardiac rhythms using electrocardiograms. Heliyon 2024, 10, e26787. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Singhal, S.; Kumar, M. A systematic review on artificial intelligence-based techniques for diagnosis of cardiovascular arrhythmia diseases: Challenges and opportunities. Arch. Comput. Methods Eng. 2023, 30, 865–888. [Google Scholar] [CrossRef] [Scilit]
- Baratchi, M.; Wang, C.; Limmer, S.; Van Rijn, J.N.; Hoos, H.; Bäck, T.; Olhofer, M. Automated machine learning: Past, present and future. Artif. Intell. Rev. 2024, 57, 122. [Google Scholar] [CrossRef] [Scilit]
- Aragão, M.V.; Afonso, A.G.; Ferraz, R.C.; Ferreira, R.G.; Leite, S.G.; de Figueiredo, F.A.; Mafra, S.B. A practical evaluation of AutoML tools for binary, multiclass, and multilabel classification. Sci. Rep. 2025, 15, 17682. [Google Scholar] [CrossRef] [Scilit]
- Farman, H.; Shahzad, Y.; Jan, B.; Nasralla, M.; Sallam, K.M.; Munasinghe, K.; Jamalipour, A. IoT-aware real-time healthcare diagnostic framework for diabetes using wearable sensors through deep reinforcement learning. IEEE Internet Things J. 2025, 12, 18183–18194. [Google Scholar] [CrossRef] [Scilit]
- Ukil, A.; Bandyoapdhyay, S.; Puri, C.; Pal, A. IoT healthcare analytics: The importance of anomaly detection. In Proceedings of the 2016 IEEE 30th International Conference on Advanced Information Networking and Applications (AINA), Crans-Montana, Switzerland, 23–25 March 2016; pp. 994–997. [Google Scholar]
- Selvaraj, S.; Sundaravaradhan, S. Challenges and opportunities in IoT healthcare systems: A systematic review. SN Appl. Sci. 2020, 2, 139. [Google Scholar] [CrossRef] [Scilit]
- Driss, M.; Berriche, L.; Atitallah, S.B.; Rekik, S. Steganography in IoT: A Comprehensive Survey on Approaches, Challenges, and Future Directions. IEEE Access 2025, 13, 74844–74875. [Google Scholar] [CrossRef] [Scilit]
- Hartmann, M.; Hashmi, U.S.; Imran, A. Edge computing in smart health care systems: Review, challenges, and research directions. Trans. Emerg. Telecommun. Technol. 2022, 33, e3710. [Google Scholar] [CrossRef] [Scilit]
- Rancea, A.; Anghel, I.; Cioara, T. Edge computing in healthcare: Innovations, opportunities, and challenges. Future Internet 2024, 16, 329. [Google Scholar] [CrossRef] [Scilit]
- Wei, L.; Ma, Z.; Yang, C.; Yao, Q. Advances in the neural network quantization: A comprehensive review. Appl. Sci. 2024, 14, 7445. [Google Scholar] [CrossRef] [Scilit]
- Yang, J.; Li, Z.; Feng, Z.; Xie, Y. A survey on neural network quantization. In Proceedings of the 2025 6th International Conference on Computer Information and Big Data Applications, Wuhan, China, 14–16 March 2025; pp. 384–394. [Google Scholar]
- Trayanova, N.A.; Popescu, D.M.; Shade, J.K. Machine learning in arrhythmia and electrophysiology. Circ. Res. 2021, 128, 544–566. [Google Scholar] [CrossRef] [Scilit]
- Cañón-Clavijo, R.E.; Montenegro-Marin, C.E.; Gaona-Garcia, P.A.; Ortiz-Guzmán, J. IoT based system for heart monitoring and arrhythmia detection using machine learning. J. Healthc. Eng. 2023, 2023, 6401673. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sharma, A.; Dhanka, S.; Kumar, A.; Maini, S. A comparative study of heterogeneous machine learning algorithms for arrhythmia classification using feature selection technique and multi-dimensional datasets. Eng. Res. Express 2024, 6, 035209. [Google Scholar] [CrossRef] [Scilit]
- Ahmed, A.A.; Ali, W.; Abdullah, T.A.; Malebary, S.J. Classifying cardiac arrhythmia from ECG signal using 1D CNN deep learning model. Mathematics 2023, 11, 562. [Google Scholar] [CrossRef] [Scilit]
- Pandey, S.K.; Shukla, A.; Bhatia, S.; Gadekallu, T.R.; Kumar, A.; Mashat, A.; Shah, M.A.; Janghel, R.R. Detection of arrhythmia heartbeats from ECG signal using wavelet transform-based CNN model. Int. J. Comput. Intell. Syst. 2023, 16, 80. [Google Scholar] [CrossRef] [Scilit]
- Kuila, S.; Dhanda, N.; Joardar, S. ECG signal classification and arrhythmia detection using ELM-RNN. Multimed. Tools Appl. 2022, 81, 25233–25249. [Google Scholar] [CrossRef] [Scilit]
- Che, C.; Zhang, P.; Zhu, M.; Qu, Y.; Jin, B. Constrained transformer network for ECG signal processing and arrhythmia classification. BMC Med. Inform. Decis. Mak. 2021, 21, 184. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hu, R.; Chen, J.; Zhou, L. A transformer-based deep neural network for arrhythmia detection using continuous ECG signals. Comput. Biol. Med. 2022, 144, 105325. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Alamatsaz, N.; Tabatabaei, L.; Yazdchi, M.; Payan, H.; Alamatsaz, N.; Nasimi, F. A lightweight hybrid CNN-LSTM explainable model for ECG-based arrhythmia detection. Biomed. Signal Process. Control 2024, 90, 105884. [Google Scholar] [CrossRef] [Scilit]
- Abdalla, F.Y.; Wu, L.; Ullah, H.; Ren, G.; Noor, A.; Mkindu, H.; Zhao, Y. Deep convolutional neural network application to classify the ECG arrhythmia. Signal Image Video Process. 2020, 14, 1431–1439. [Google Scholar] [CrossRef] [Scilit]
- Hammad, M.; Abd El-Latif, A.A.; Hussain, A.; Abd El-Samie, F.E.; Gupta, B.B.; Ugail, H.; Sedik, A. Deep learning models for arrhythmia detection in IoT healthcare applications. Comput. Electr. Eng. 2022, 100, 108011. [Google Scholar] [CrossRef] [Scilit]
- Bulut, M.G.; Unal, S.; Hammad, M.; Pławiak, P. Deep CNN-based detection of cardiac rhythm disorders using PPG signals from wearable devices. PLoS ONE 2025, 20, e0314154. [Google Scholar] [CrossRef] [Scilit]
- Talaat, F.M.; El-Shafai, W.; Soliman, N.F.; Algarni, A.D.; El-Samie, F.E.A. Intelligent wearable vision systems for the visually impaired in Saudi Arabia. Neural Comput. Appl. 2025, 37, 8571–8591. [Google Scholar] [CrossRef] [Scilit]
- Mutlu, E.; Serbes, G. FISC-Net: Classification of Auscultation Sounds on an Edge Device. In Proceedings of the 2023 Intelligent Methods, Systems, and Applications (IMSA), Giza, Egypt, 15–16 July 2023; pp. 174–180. [Google Scholar]
- Kim, E.; Kim, J.; Park, J.; Ko, H.; Kyung, Y. TinyML-Based Classification in an ECG Monitoring Embedded System. Comput. Mater. Contin. 2023, 75, 1751–1764. [Google Scholar] [CrossRef] [Scilit]
- Krasteva, V.; Stoyanov, T.; Jekova, I. Implementing Deep Neural Networks on ARM-Based Microcontrollers: Application for Ventricular Fibrillation Detection. Appl. Sci. 2025, 15, 1965. [Google Scholar] [CrossRef] [Scilit]
- Gautam, V.; Sinha, S.; Prasad, S. VATML: Towards On Device Ventricular Arrhythmia Detection Using TinyML. In Proceedings of the 2024 IEEE International Symposium on Smart Electronic Systems (iSES), New Delhi, India, 16–18 December 2024; pp. 1–6. [Google Scholar]
- Hizem, M.; Bousbia, L.; Ben Dhiab, Y.; Aoueileyine, M.O.E.; Bouallegue, R. Reliable ECG Anomaly Detection on Edge Devices for Internet of Medical Things Applications. Sensors 2025, 25, 2496. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Han, D.; Moon, J.; Díaz, L.R.M.; Chen, D.; Williams, D.; Mohagheghian, F.; Ghetia, O.; Peitzsch, A.G.; Kong, Y.; Nishita, N.; et al. Multiclass Arrhythmia Classification using Multimodal Smartwatch Photoplethysmography Signals Collected in Real-life Settings. IEEE Trans. Biomed. Eng. 2025, 1–14. [Google Scholar] [CrossRef] [Scilit]
- Cinotti, E.; Gragnaniello, M.; Parlato, S.; Centracchio, J.; Andreozzi, E.; Bifulco, P.; Riccio, M.; Esposito, D. An Edge AI Approach for Low-Power, Real-Time Atrial Fibrillation Detection on Wearable Devices Based on Heartbeat Intervals. Sensors 2025, 25, 7244. [Google Scholar] [CrossRef] [Scilit]
- Sachan, R.K.; Rathore, M.; Parikh, J.; Jain, R.; Khanna, B.; Devi, A. Assessment of different optimizers on recurrent neural networks for electrocardiogram (ECG) classification. In AIP Conference Proceedings; AIP Publishing LLC: Melville, NY, USA, 2024; Volume 3072, p. 040019. [Google Scholar]
- Fradi, M.; Khriji, L.; Machhout, M. Real-time arrhythmia heart disease detection system using CNN architecture based various optimizers-networks. Multimed. Tools Appl. 2022, 81, 41711–41732. [Google Scholar] [CrossRef] [Scilit]
- Dissanayake, D.; Navarathna, R.; Ekanayake, P.; Rajadurai, S. A survey of evaluating AutoML and automated feature engineering tools in modern data science. In Proceedings of the ICEIS 27th International Conference on Enterprise Information Systems, Porto, Portugal, 4–6 April 2025; pp. 218–225. [Google Scholar]
- Yuan, H.; Yu, K.; Xie, F.; Liu, M.; Sun, S. Automated machine learning with interpretation: A systematic review of methodologies and applications in healthcare. Med. Adv. 2024, 2, 205–237. [Google Scholar] [CrossRef] [Scilit]
- Chen, Y.; Liu, X.; Gao, L.; Zhu, M.; Shia, B.C.; Chen, M.; Ye, L.; Qin, L. Using the H2O automatic machine learning algorithms to identify predictors of web-based medical record nonuse among patients in a data-rich environment: Mixed methods study. JMIR Med. Inform. 2023, 11, e41576. [Google Scholar] [CrossRef] [Scilit]
- Gul, S.; Ayturan, K.; Hardalaç, F. PyCaret for Predicting Type 2 Diabetes: A Phenotype-and Gender-Based Approach with the “Nurses’ Health Study” and the “Health Professionals’ Follow-Up Study” Datasets. J. Pers. Med. 2024, 14, 804. [Google Scholar] [CrossRef] [Scilit]
- Elangovan, K.; Lim, G.; Ting, D. A comparative study of an on premise AutoML solution for medical image classification. Sci. Rep. 2024, 14, 10483. [Google Scholar] [CrossRef] [Scilit]
- Jin, H.; Chollet, F.; Song, Q.; Hu, X. Autokeras: An automl library for deep learning. J. Mach. Learn. Res. 2023, 24, 1–6. [Google Scholar]
- Francia, R.; Leone, M.; Leonardi, G.; Montani, S.; Pennisi, M.; Striani, M.; D’Alfonso, S. AutoML-Med: A Framework for Automated Machine Learning in Medical Tabular Data. arXiv 2025, arXiv:2508.02625. [Google Scholar]
- Jayanthi, S.; Devi, S.P. Automated ecg arrhythmia classification using resnet and automl learning model. In Proceedings of the 2022 Third International Conference on Smart Technologies in Computing, Electrical and Electronics (ICSTCEE), Bengaluru, India, 16–17 December 2022; pp. 1–6. [Google Scholar]
- Paladino, L.M.; Hughes, A.; Perera, A.; Topsakal, O.; Akinci, T.C. Evaluating the performance of automated machine learning (AutoML) tools for heart disease diagnosis and prediction. Ai 2023, 4, 1036–1058. [Google Scholar] [CrossRef] [Scilit]
- Reiser, D.; Reichel, P.; Pechmann, S.; Mallah, M.; Oppelt, M.; Hagelauer, A.; Breiling, M.; Fey, D.; Reichenbach, M. A Framework for Ultra Low-Power Hardware Accelerators Using NNs for Embedded Time Series Classification. J. Low Power Electron. Appl. 2021, 12, 2. [Google Scholar] [CrossRef] [Scilit]
- King, T.; Zhou, Y.; Röddiger, T.; Beigl, M. MicroNAS for memory and latency constrained hardware-aware neural architecture search. Sci. Rep. 2025, 15, 7575. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Risso, M.; Burrello, A.; Conti, F.; Lamberti, L.; Chen, Y.; Benini, L.; Macii, E.; Poncino, M.; Pagliari, D.J. Lightweight neural architecture search for temporal convolutional networks at the edge. IEEE Trans. Comput. 2022, 72, 744–758. [Google Scholar] [CrossRef] [Scilit]
- Hosseini, M.; Mohsenin, T. Qs-nas: Optimally quantized scaled architecture search to enable efficient on-device micro-ai. IEEE J. Emerg. Sel. Top. Circuits Syst. 2021, 11, 597–610. [Google Scholar] [CrossRef] [Scilit]
- Huang, B.; Abtahi, A.; Aminifar, A. Energy-Aware Integrated Neural Architecture Search and Partitioning for Distributed Internet of Things (IoT). IEEE Trans. Circuits Syst. Artif. Intell. 2024, 1, 257–271. [Google Scholar] [CrossRef] [Scilit]
- Islam, S.M.; RoyChoudhury, A.; Mukhopadhyay, S.; Sahu, I.; Basak, B.; Dey, S.; Ukil, A.; Mukherjee, A.; Pal, A. LTH-Aided NAS: An Approach to Generate Ultra-Small Optimized Models for Tiny Devices. In Proceedings of the 2024 IEEE 21st India Council International Conference (INDICON), Kharagpur, India, 19–21 December 2024; pp. 1–6. [Google Scholar]
- Saha, B.; Samanta, R.; Roy, R.B.; Ghosh, S.K. TinyTNAS: Time-Bound, GPU-Independent Hardware-Aware Neural Architecture Search for TinyML Time Series Classification. IEEE Embed. Syst. Lett. 2025, 18, 69–72. [Google Scholar] [CrossRef] [Scilit]
- Benmeziane, H.; Hamzaoui, I.; Cherif, Z.; El Maghraoui, K. Medical neural architecture search: Survey and taxonomy. In Proceedings of the International joint conference on artificial intelligence, Jeju, Republic of Korea, 3–9 August 2024. [Google Scholar]
- Kachuee, M.; Fazeli, S.; Sarrafzadeh, M. ECG heartbeat classification: A deep transferable representation. In Proceedings of the 2018 IEEE International Conference on Healthcare Informatics (ICHI), New York, NY, USA, 4–7 June 2018; pp. 443–444. [Google Scholar] [CrossRef] [Scilit]
- Jia, Y.; Pei, H.; Liang, J.; Zhou, Y.; Yang, Y.; Cui, Y.; Xiang, M. Preprocessing and Denoising Techniques for Electrocardiography and Magnetocardiography: A Review. Bioengineering 2024, 11, 1109. [Google Scholar] [CrossRef] [Scilit]
- Zhang, L.; Krestinskaya, O.; Fouda, M.E.; Eltawil, A.M.; Salama, K.N. Quantized convolutional neural networks: A hardware perspective. Front. Electron. 2025, 6, 1469802. [Google Scholar] [CrossRef] [Scilit]
- Hubara, I.; Nahshan, Y.; Hanani, Y.; Banner, R.; Soudry, D. Improving post training neural quantization: Layer-wise calibration and integer programming. arXiv 2020, arXiv:2006.10518. [Google Scholar] [CrossRef] [Scilit]
- Ioffe, S.; Szegedy, C. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning (ICML), Lille, France, 7–9 July 2015; pp. 448–456. [Google Scholar]
- Jacob, B.; Kligys, S.; Chen, B.; Zhu, M.; Tang, M.; Howard, A.; Adam, H.; Kalenichenko, D. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–23 June 2018; pp. 2704–2713. [Google Scholar]
- Li, L.; Talwalkar, A. Random search and reproducibility for neural architecture search. In Proceedings of the Uncertainty in Artificial Intelligence, PMLR, Online, 3–6 August 2020; pp. 367–377. [Google Scholar]
- Johnson, J.M.; Khoshgoftaar, T.M. Survey on deep learning with class imbalance. J. Big Data 2019, 6, 1–54. [Google Scholar] [CrossRef] [Scilit]
- Brodersen, K.H.; Ong, C.S.; Stephan, K.E.; Buhmann, J.M. The balanced accuracy and its posterior distribution. In Proceedings of the 2010 20th International Conference on Pattern Recognition, Istanbul, Turkey, 23–26 August 2010; pp. 3121–3124. [Google Scholar] [CrossRef] [Scilit]
- Moody, G.B.; Mark, R.G. The impact of the MIT-BIH Arrhythmia Database. IEEE Eng. Med. Biol. Mag. 2001, 20, 45–50. [Google Scholar] [CrossRef] [Scilit]
- Zar, J.H. Spearman rank correlation. In Encyclopedia of Biostatistics; John Wiley & Sons: Hoboken, NJ, USA, 2005; Volume 7. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.






