Enhancing ECG Classification Robustness with Lightweight Unsupervised Anomaly Detection Filters

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ibrahim, Mustafa Fuad Rifet, Meijer, Maurice, Schlaefer, Alexander, Stelldinger, Peer
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912842385457152
author Ibrahim, Mustafa Fuad Rifet
Meijer, Maurice
Schlaefer, Alexander
Stelldinger, Peer
author_facet Ibrahim, Mustafa Fuad Rifet
Meijer, Maurice
Schlaefer, Alexander
Stelldinger, Peer
contents Continuous electrocardiogram (ECG) monitoring via wearable devices is vital for early cardiovascular disease detection. However, deploying deep learning models on resource-constrained microcontrollers faces reliability challenges, particularly from Out-of-Distribution (OOD) pathologies and noise. Standard classifiers often yield high-confidence errors on such data. Existing OOD detection methods either neglect computational constraints or address noise and unseen classes separately. This paper investigates Unsupervised Anomaly Detection (UAD) as a lightweight, upstream filtering mechanism. We perform a Neural Architecture Search (NAS) on six UAD approaches, including Deep Support Vector Data Description (Deep SVDD), input reconstruction with (Variational-)Autoencoders (AE/VAE), Masked Anomaly Detection (MAD), Normalizing Flows (NFs) and Denoising Diffusion Probabilistic Models (DDPM) under strict hardware constraints ($\leq$512k parameters), suitable for microcontrollers. Evaluating on the PTB-XL and BUT QDB datasets, we demonstrate that a NAS-optimized Deep SVDD offers the superior Pareto efficiency between detection performance and model size. In a simulated deployment, this lightweight filter improves the accuracy of a diagnostic classifier by up to 21.0 percentage points, demonstrating that optimized UAD filters can safeguard ECG analysis on wearables.
format Preprint
id arxiv_https___arxiv_org_abs_2510_26501
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing ECG Classification Robustness with Lightweight Unsupervised Anomaly Detection Filters
Ibrahim, Mustafa Fuad Rifet
Meijer, Maurice
Schlaefer, Alexander
Stelldinger, Peer
Machine Learning
Continuous electrocardiogram (ECG) monitoring via wearable devices is vital for early cardiovascular disease detection. However, deploying deep learning models on resource-constrained microcontrollers faces reliability challenges, particularly from Out-of-Distribution (OOD) pathologies and noise. Standard classifiers often yield high-confidence errors on such data. Existing OOD detection methods either neglect computational constraints or address noise and unseen classes separately. This paper investigates Unsupervised Anomaly Detection (UAD) as a lightweight, upstream filtering mechanism. We perform a Neural Architecture Search (NAS) on six UAD approaches, including Deep Support Vector Data Description (Deep SVDD), input reconstruction with (Variational-)Autoencoders (AE/VAE), Masked Anomaly Detection (MAD), Normalizing Flows (NFs) and Denoising Diffusion Probabilistic Models (DDPM) under strict hardware constraints ($\leq$512k parameters), suitable for microcontrollers. Evaluating on the PTB-XL and BUT QDB datasets, we demonstrate that a NAS-optimized Deep SVDD offers the superior Pareto efficiency between detection performance and model size. In a simulated deployment, this lightweight filter improves the accuracy of a diagnostic classifier by up to 21.0 percentage points, demonstrating that optimized UAD filters can safeguard ECG analysis on wearables.
title Enhancing ECG Classification Robustness with Lightweight Unsupervised Anomaly Detection Filters
topic Machine Learning
url https://arxiv.org/abs/2510.26501