Electrocardiographic signals (ECG) are ubiquitous, which justifies the research of their optimal storage and transmission. However, proposals for non-uniform signal sampling must take into account the priority of diagnostic data accuracy and record integrity, as well as robustness to noise and interference. In this study, two novel methods are introduced, each utilizing a distinct neural network architecture for optimizing non-uniform sampling of ECG signal. A transformer model refines each time point selection through an iterative process using gradient descent optimization, with the goal of minimizing the mean squared error between the original and resampled signals. It adaptively modifies time points, which improves the alignment between both signals. In contrast, the Temporal Convolutional Network model trains on the original signal, and gradient descent optimization is utilized to improve the selection of time points. Evaluation of both strategies’ efficacy is performed by calculating signal distances at lower and higher sampling rates. First, a collection of synthetic data points that resembled the P-QRS-T wave was used to train the model. Then, the ECG-ID database for real data analysis was used. Filtering to remove baseline wander followed by evaluation and testing were carried out in the real patient data. The results, in particular MSE = 0.0005, RMSE = 0.0216, and Pearson’s CC = 0.9904 for 120 sps in the case of the transformer patient data model, provide viable paths for maintaining the precision and dependability of ECG-based diagnostic systems at much lower sampling rate. Outcomes indicate that both techniques are effective at improving the fidelity between the original and modified ECG signals.
Read full abstract