Does Training Protocol Matter? One-Class vs. Unsupervised Anomaly Detection on ECG DataHaren Daishika, Uthayasanker ThayasivamConferenceMoratuwa Engineering Research Conference (MERCon)pp. 67–72DOICardiology and Cardiovascular MedicineECG Monitoring and AnalysisAbstract
Automated detection of cardiac arrhythmias from tabular ECG data faces a key challenge: real-world anomaly rates are only 1–10%, whereas most benchmarks assume near-balanced class distributions, leading to overly optimistic performance estimates. This paper presents an empirical case study on the UCI Arrhythmia dataset evaluating whether training protocol and feature design influence anomaly detection performance under realistic conditions. We compare eight classical algorithms under both unsupervised and one-class training protocols across three feature representations using 5-fold stratified cross-validation (CV), and simulate clinically realistic anomaly rates (10% and 5%) to test robustness. We further construct a 59-feature domain-informed pipeline and use ablation to isolate which feature groups yield genuine gains: clinically grounded domain ECG features account for essentially all of the improvement (+0.017 to +0.022 ROC-AUC across detector families), whereas statistical, distance-based, and reconstruction-based features contribute negligibly. Explicit distance features add near-zero gain even for the neighbourhood-based detectors LOF and kNN, indicating they merely duplicate those detectors’ internal scoring. Under the one-class protocol with engineered features, Local Outlier Factor (LOF) and OC-SVM achieve the study’s best mean ROC-AUC of 0.870 and 0.868. The one-class advantage remains stable at clinically realistic prevalence rather than degrading. These findings establish that training protocol is a critical design choice that should be aligned with real-world deployment conditions.