Exploring Complexity Changes in Diseased ECG Signals for Enhanced Classification

Camilo Quiceno Quintero, Sandip Varkey George 1 · 2025

Read Exploring Complexity Changes in Diseased ECG Signals for Enhanced Classification by Camilo Quiceno Quintero, Sandip Varkey George 1 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-17810.txt.

Introduction

Camilo Quiceno Quintero and Sandip Varkey George measure how heart signal complexity changes with disease. Electrocardiograms record the heart's electrical activity over time. Healthy and diseased hearts produce signals with different complex patterns. The pair use nonlinear time series tools to capture those differences.

They drew data from PTB-XL, a large public electrocardiogram collection. Measures came from one lead, plus cross-channel links among three leads. Nearly all measures differed clearly between healthy and diseased groups. Adding the measures to machine learning models improved disease classification. Accuracy gains were modest but consistent across the diagnostic groups.

Catalog record

CREATORCamilo Quiceno Quintero, Sandip Varkey George 1
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE21 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2510-17810

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Exploring Complexity Changes in Diseased ECG Signals for Enhanced Classification Camilo Quiceno Quintero, Sandip Varkey George 1 Abstract The complex dynamics of the heart are reflected in its electrical activity, captured through electrocardiograms (ECGs). In this study we use nonlinear time series analysis to understand how ECG complexity varies with cardiac pathology. Using the large PTB-XL dataset, we extracted nonlinear measures from lead II ECGs, and cross-channel metrics (leads II, V2, AVL) using Spearman correlations and mutual information. Significant differences between diseased and healthy individuals were found in almost all measures between healthy and diseased classes, and between 5 diagnostic superclasses ( p < .001 p<.001 ). Moreover, incorporating these complexity quantifiers into machine learning models substantially improved classification accuracy measured using area under the ROC curve (AUC) from 0.86 (baseline) to 0.87 (nonlinear measures) and 0.90 (including cross-time series metrics). † † institute: Department of Physics, University of Aberdeen, Aberdeen AB24 3UE, United Kingdom 1 Introduction Cardiovascular diseases (CVDs) are the leading cause of death worldwide, accounting for almost 20 million deaths in 2019 roth2020global . This burden is disproportionately higher in low- and middle-income countries, underscoring the need for cost-effective tools for early detection and intervention for CVDs. The electrocardiogram (ECG) is a powerful and cost effective diagnostic tool that can provide critical insights into heart rate and rhythm. The ECG measures the electrical activity of the heart which produces a characteristic waveform called the PQRS complex that repeats almost periodically. The exact form and timing of this PQRS complex varies between beats, resulting in a nonlinear and complex signal. While the overall shape of the PQRS complex is important to diagnose pathology, deviations in the complexity of the waveform from a baseline level is also associated with various conditions shekatkar2017detecting ; gupta2022robust ; george2023predicting . ECG analysis typically involves standard measures such as power spectral features and inter-peak timing. However, quantifiers that measure the nonlinear dynamics of the signal such as entropy measures, fractal dimensions and recurrence quantification analysis (RQA) are also relevant to cardiac pathology costa2003multiscale ; mathunjwa2021ecg ; behera2024non ; smigiel2021ecg . Beyond these single time series measures, the correlation and information overlap between the 12 ECG channels measures the the variations in the electrical activity over the body, and consequently gives insight into cardiac health. Commonly used cross-time series measurements include correlation coefficients, mutual information, transfer entropy and cross recurrence measures. In the recent past there has been a steady increase in the available computational power as well as the availability of well annotated large time series datasets. This has lead to a surge in the popularity of machine learning algorithms for analysis. Moreover, the increased computational power has also made it possible to quantify complexity metrics for large time series datasets in a relatively short time. In this study we ran our analysis on the ECG data available from the PTB-XL data wagner2020ptb . We initially calculated nonlinear measures from the lead II time series, namely the Higuchi fractal dimension (HD), Approximate Entropy (ApEn), Multiscale entropy (MSE) and recurrence plot (RP) measures, and cross time series measures between leads II, AVL and V2 time series, namely the Spearman correlation coefficient and mutual information. Differences between these for diseased and healthy individuals, as well as between 5 diagnostic super classes were quantified. Machine learning models—including logistic regression (LR), support vector machine (SVM), random forest (RF), XGBoost and artificial neural networks (ANN)-were then used to classify these data. Initially, we used a baseline model without complexity features. We then added single time series and cross-channel complexity metrics to improve classification accuracy. Moreover, we also conducted a five class classification into five diagnostic super classes. 2 Methods 2.1 Data The PTB-XL ECG database was used for analysis in this study. The dataset consisted of 21,837 clinical 12 -lead ECGs from 18,885 patients. The recordings lasted 10 seconds each, and were sampled at 100 Hz with a 16-bit resolution, leading to time series of 1000 points each. Each ECG record in the dataset was annotated originally by upto two cardiologists with mutiple ECG statements. Based on these statements, the records were categorized into five diagnostic superclasses, namely Normal (NORM), Conduction Disturbance (CD), Myocardial Infarction (MI), Hypertrophy (HYP) and ST/T change (STTC) wagner2020ptb . In this study, we further classify them into healthy and diseased binary classes, based on whether the ECG was categorized as NORM or into one of the diseased classes. Further details of the dataset may be found in wagner2020ptb . 2.2 Pre-processing Many of the ECG time series exhibited a baseline drift, which was removed using a polynomial detrending method. A polynomial of order 20 was chosen based on shekatkar2017detecting to balance the removal of drift without overfitting to signal fluctuations. This was subtracted from the original time series to leave a detrended residual behind. The original and detrended time series for a sample case is shown in Figure 1 . Since the resultant detrended ECG time series all exhibited differences in their amplitude ranges, they were standardized with a mean of 0 and unit standard deviation. 2.3 Single and cross time series metrics The pre-processed time series were then analysed using a number of single and cross channel metrics. Notably, we studied complexity metrics from the lead II ECG and the cross channel metrics between lead II, lead augmented vector left (AVL) and lead V2 francis2016ecg . 2.3.1 Complexity Analysis A range of complexity measures were computed for the lead II data of the ECG time-series. Lead II ECG is measured between the right arm and left leg leads, and is known to be a good lead to detect abnormalities in heart rate and rhythm Meek415 . The complexity measures that were calculated included: 1. Higuchi Fractal Dimension (HD) : Quantifies the fractal dimension of time-series data, reflecting the self similarity at different scales in the signal and its dimensional complexity higuchi1988approach ; higuchi1990relationship . 2. Entropy Measures : Entropy measures broadly quantify the uncertainty or randomness in a time series. While there are a number of entropy measures that are popular in literature, we used the following to assess the disorder in the data. • Approximate Entropy (ApEn) : Measures the regularity of fluctuations in a time-series by comparing repeating patterns in neighboring points. A lower for ApEn is indicative of higher predictability pincus1991regularity . • Permutation Entropy (PermEn) : Determines the complexity in a time series by evaluating the relative ordering of values within overlapping subsequences of dimension m . The entropy of the frequency distribution of these ordinal patterns is computed. • Lempel–Ziv Complexity (LZC) : Converts the signal into a binary sequence and quantifies the range of unique patterns encountered in this sequence aboy2006interpretation . • Multiscale Entropy (MSE) : It extends the concept of entropy to measure the predictability of fluctuations at different temporal scales. 3. Recurrence Plot-Based Measures : The recurrence plot (RP) is constructed by first embedding the time series in a state space of dimension m (chosen to be 3 in this study), through the method of delay embedding ambika2020methods . Every point that recurs in the neighborhood of another in this embedded phase space is marked as a dark point in the RP, while

Read the complete text