A Knowledge‐Driven Expert System for Robust Cardiac Event Detection Using Multi‐Scale Temporal Transformers

ABSTRACT Cardiovascular diseases remain the leading cause of death worldwide, highlighting the need for expert systems that enable continuous and interpretable cardiac monitoring. We present ArmFormer, a knowledge‐driven expert system that leverages Transformer‐based reasoning for robust cardiac event detection from wearable armband electrocardiogram signals. The model integrates domain‐guided multi‐scale patch encoding to capture waveform morphology and rhythm dependencies, while local gated Transformer blocks enhance temporal continuity and suppress noise‐induced variability. A lead‐wise attention mechanism coupled with gradient‐based visualisation provides interpretability by highlighting clinically relevant regions such as QRS complexes, P waves, and ST segments. On an in‐house cohort of 99 subjects comprising 6211 normal and 10,030 abnormal 10‐s segments, ArmFormer achieved 91.66% accuracy, 91.57% F1‐score, 91.41% sensitivity, and 97.36% AUC under a subject‐exclusive protocol that prevents patient‐level information leakage. Compared with convolutional and residual baselines, AUC improved by up to 5%, while floating‐point operations and parameters were reduced by 29‐fold and 47‐fold, respectively, achieving 2.58 ms inference latency per segment. External validation on CPSC2018 and Chapman showed accuracies of 83.65% and 94.69%, with AUCs of 96.69% and 99.38%, respectively. By combining domain‐guided encoding, noise‐robust temporal reasoning, and interpretable attention, ArmFormer provides a practical and reliable framework for expert‐level cardiac event detection in wearable monitoring scenarios.

Authors

Institutions

Publication Details

Journal
Expert Systems
Published
2025-11-20
DOI
https://doi.org/10.1111/exsy.70171
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Knowledge‐Driven Expert System for Robust Cardiac Event Detection Using Multi‐Scale Temporal Transformers

Wanqing Wu, Lin Xu, Rong Deng, Yuting Liu et al.
Expert Systems
ECG Monitoring and Analysis
article

A Knowledge‐Driven Expert System for Robust Cardiac Event Detection Using Multi‐Scale Temporal Transformers

Wanqing Wu, Lin Xu, Rong Deng, Yuting Liu, Xiaomin Huang, Fang Li, Jianyu Huang, Chunyan Jiang
article en

Abstract

ABSTRACT Cardiovascular diseases remain the leading cause of death worldwide, highlighting the need for expert systems that enable continuous and interpretable cardiac monitoring. We present ArmFormer, a knowledge‐driven expert system that leverages Transformer‐based reasoning for robust cardiac event detection from wearable armband electrocardiogram signals. The model integrates domain‐guided multi‐scale patch encoding to capture waveform morphology and rhythm dependencies, while local gated Transformer blocks enhance temporal continuity and suppress noise‐induced variability. A lead‐wise attention mechanism coupled with gradient‐based visualisation provides interpretability by highlighting clinically relevant regions such as QRS complexes, P waves, and ST segments. On an in‐house cohort of 99 subjects comprising 6211 normal and 10,030 abnormal 10‐s segments, ArmFormer achieved 91.66% accuracy, 91.57% F1‐score, 91.41% sensitivity, and 97.36% AUC under a subject‐exclusive protocol that prevents patient‐level information leakage. Compared with convolutional and residual baselines, AUC improved by up to 5%, while floating‐point operations and parameters were reduced by 29‐fold and 47‐fold, respectively, achieving 2.58 ms inference latency per segment. External validation on CPSC2018 and Chapman showed accuracies of 83.65% and 94.69%, with AUCs of 96.69% and 99.38%, respectively. By combining domain‐guided encoding, noise‐robust temporal reasoning, and interpretable attention, ArmFormer provides a practical and reliable framework for expert‐level cardiac event detection in wearable monitoring scenarios.

Expert SystemsVol. 43(1)
Sun Yat-sen University (CN), Shenzhen University (CN), Chinese PLA General Hospital (CN), Third Affiliated Hospital of Southern Medical University (CN), The Seventh Affiliated Hospital of Sun Yat-sen University (CN), Key Laboratory of Guangdong Province (CN), General Hospital of Guangzhou Military Command (CN), Southern Command Hospital (IN), Shantou Central Hospital (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 47%
ECG Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.