Adaptive stride and energy pooling hybrid windowing for non-synthetic class balancing of electrocardiogram signals: intra-patient versus patient-independent evaluation
Year: 2026
Type: article
Abstract: Imbalanced clinical datasets often impede the development of reliable machine learning models. Conventional balancing relies on synthetic generation, frequently producing artificial electrocardiogram waveforms that violate physiological principles. This paper introduces a non-synthetic hybrid windowing method for time-series data. The method combines an overwindowing pipeline, which extracts additional windows from minority classes using adaptive strides and phase-shifted overlapping, with an underwindowing pipeline, which reduces the majority class by numerical selection criteria. It reduced the largest class ratio from 118.8:1 to 9.4:1 without a generative model. Validation with a One-Dimensional Convolutional Neural Network yielded a weighted F1-score of 0.976 ± 0.002 (three seeds) under an intra-patient split, in which correlated windows from the same recordings appear in both training and test subsets. Under patient-independent evaluation (DS1/DS2 split of 44 records, five seeds), however, the method did not improve on an unbalanced baseline or on class weighting alone (macro-F1 0.342 ± 0.046 versus 0.443 ± 0.048 and 0.430 ± 0.024), and a re-run in a second computing environment gave the same order. In a five-fold patient-level cross-validation, its macro-F1 was below the baseline in every fold. With R-peak-centred windows, the macro-F1 deficit disappeared, but no significant gain emerged. No single component had a detectable effect, and the method was not distinguishable from random resampling to equal class volumes. The study offers a rule-based procedure for adjusting class volumes and an evaluation design separating this ability from classification gain; it provides no evidence of improvement on unseen patients in the 44 MIT-BIH records.
Source: Array
Institutions: Universitas Teknologi Yogyakarta, Universitas Dian Nuswantoro
Language: English
Topic: ECG Monitoring and Analysis
Subfield: Cardiology and Cardiovascular Medicine
Field: Medicine
Domain: Health Sciences
Open Access status: gold
Estimated APC paid: $1,680
OpenAlex ID: W7241985362
