PaperarXiv:2606.02256

ArrythML: An Autoencoder-Based TinyML Approach for On-Device Arrhythmia Detection on Resource-Constrained Embedded Systems

Venue listed2026Added Nov 10, 2026

  • SP

Authors: S. Nagarajan; Kurian Polachan

IEEE Access, 2026

TL;DR

INT8-quantised autoencoder TinyML models for ECG segmentation and arrhythmia (anomaly) detection on an ESP32-S3 with TFLite Micro; over 95,000 MIT-BIH-derived segments; best DNN autoencoder 84% recall / 79% F1 after filtering ambiguous cases, ~180 KB, 9 ms on-device latency.

Abstract

Our work presents a method for ECG segmentation and arrhythmia detection using Tiny Machine Learning (TinyML) models for real-time, on-device inference on resource-constrained embedded systems. We develop INT8 quantized autoencoder-based TinyML models with minimal layers and parameters for embedded deployment. These models are evaluated using a custom dataset derived from the MIT-BIH Arrhythmia Database and validated in both PC-based simulations and on-device environments. For the evaluations, over 95,000 ECG segments are processed on an ESP32-S3 microcontroller running the TensorFlow Lite Micro runtime. Post-evaluation, detailed analysis, including annotation-wise and record-wise failure analysis, is conducted to characterize model behavior across diverse ECG morphologies and rhythm patterns and to explain missed detections. In several cases, apparent misclassifications may correspond to early or subtle anomaly patterns labeled as normal in the reference annotations, highlighting the model's sensitivity. A refined evaluation by filtering out ambiguous cases in the dataset shows that the best-performing DNN-based autoencoder achieves a recall of 84%, an F1-score of 79%, a model size of approximately 180 KB, and an inference latency of 9 ms on-device. These results demonstrate the feasibility of low-power, privacy-preserving embedded wearable systems capable of performing accurate arrhythmia detection entirely on-device.

Verbatim from arXiv (opens in a new tab) · arXiv metadata (abstracts are released under CC0)

Results on ChatPPG leaderboards

All leaderboards

No results from this paper on ChatPPG leaderboards yet. Browse the leaderboards.

Tasks & signals

Tasks

AF / rhythm

Signals

Keywords

TinymlOn DeviceInt8AutoencoderAnomaly DetectionArrhythmiaMIT BihEsp32

How it works

How Method works: Setup → Method → TargetSetup: Signals (ecg). Method: Method. Target: AF / rhythm.SetupSignals: ecgSignalsecgMethodMethodTargetAF / rhythmAF / rhythm

Cite this paper

Cite this paper with the fields recorded here. Check it against the publisher before submitting.

Nagarajan, S., & Polachan, K. (2026). ArrythML: An Autoencoder-Based TinyML Approach for On-Device Arrhythmia Detection on Resource-Constrained Embedded Systems. IEEE Access, 2026. https://doi.org/10.1109/access.2026.3751785
Nagarajan, S. and Kurian Polachan. 2026. "ArrythML: An Autoencoder-Based TinyML Approach for On-Device Arrhythmia Detection on Resource-Constrained Embedded Systems." IEEE Access, 2026. https://doi.org/10.1109/access.2026.3751785.
Nagarajan, S. and Polachan, K. (2026) 'ArrythML: An Autoencoder-Based TinyML Approach for On-Device Arrhythmia Detection on Resource-Constrained Embedded Systems', IEEE Access, 2026. doi: 10.1109/access.2026.3751785.
Nagarajan, S., and Kurian Polachan "ArrythML: An Autoencoder-Based TinyML Approach for On-Device Arrhythmia Detection on Resource-Constrained Embedded Systems." IEEE Access, 2026, 2026. https://doi.org/10.1109/access.2026.3751785.
S. Nagarajan and K. Polachan, "ArrythML: An Autoencoder-Based TinyML Approach for On-Device Arrhythmia Detection on Resource-Constrained Embedded Systems," IEEE Access, 2026, 2026, doi: 10.1109/access.2026.3751785.
@article{nagarajan2026arrythml,
  title         = {{ArrythML: An Autoencoder-Based TinyML Approach for On-Device Arrhythmia Detection on Resource-Constrained Embedded Systems}},
  author        = {Nagarajan, S. and Polachan, Kurian},
  year          = {2026},
  journal       = {IEEE Access, 2026},
  doi           = {10.1109/access.2026.3751785},
  eprint        = {2606.02256},
  archivePrefix = {arXiv}
}

Added to the ChatPPG research hub