ORIGINAL RESEARCH article

Front. Physiol.

Sec. Computational Physiology and Medicine

Volume 16 - 2025 | doi: 10.3389/fphys.2025.1549380

A Novel Method of BiFormer with Temporal-Spatial Characteristics for ECG-based PVC Detection

Provisionally accepted
Siyuan  ChenSiyuan Chen1Zhen  WangZhen Wang2Hao  WangHao Wang3Shuai  WangShuai Wang2Yang  LiYang Li1*Bing  WangBing Wang1*
  • 1Heilongjiang University of Chinese Medicine, Harbin, China
  • 2First Affiliated Hospital of Heilongjiang University of Chinese Medicine, Harbin, Heilongjiang Province, China
  • 3Harbin Engineering University, Harbin, Heilongjiang Province, China

The final, formatted version of the article will be published soon.

Premature Ventricular Contractions (PVCs) can be warning signs for serious cardiac conditions, and early detection is essential for preventing complications. The use of deep learning models in electrocardiogram (ECG) analysis has aided more accurate and efficient PVC identification. These models automatically extract and analyze complex signal features, providing valuable clinical decision-making support. Here, we conducted a study focused on the practical applications of this technology. We first used the MIT-BIH arrhythmia database and a sparse low-rank algorithm to denoise ECG signals. We then transformed the one-dimensional time-series signals into twodimensional images using Markov Transition Fields (MTFs), considering state transition probabilities and spatial location information to comprehensively capture signal features. Finally, we used the BiFormer classification model, which employs a Bi-level Routing Attention (BRA) mechanism to construct region-level affinity graphs, to retain only the regions highly relevant to our query. This approach filtered out redundant information, and optimized both computational efficiency and memory usage. Our algorithm achieved a detection accuracy of 99.45%, outperforming other commonly-used PVC detection algorithms. By integrating MTF and BiFormer, we effectively detected PVCs, facilitating an increased convergence between medicine and deep learning technology. We hope our model can help contribute to more accurate computational support for PVC diagnosis and treatment.

Keywords: Premature ventricular contraction, deep learning, electrocardiogram, Markov transition field, BiFormer

Received: 21 Jan 2025; Accepted: 12 May 2025.

Copyright: © 2025 Chen, Wang, Wang, Wang, Li and Wang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence:
Yang Li, Heilongjiang University of Chinese Medicine, Harbin, China
Bing Wang, Heilongjiang University of Chinese Medicine, Harbin, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.