An explainable attention-based TCN heartbeats classification model for arrhythmia detection. (February 2023)
- Record Type:
- Journal Article
- Title:
- An explainable attention-based TCN heartbeats classification model for arrhythmia detection. (February 2023)
- Main Title:
- An explainable attention-based TCN heartbeats classification model for arrhythmia detection
- Authors:
- Zhao, Yuxuan
Ren, Jiadong
Zhang, Bing
Wu, Jinxiao
Lyu, Yongqiang - Abstract:
- Abstract: Background and Objective: Electrocardiogram (ECG) is a non-invasive tool to measure the heart's electrical activity. ECG signal based automatic heartbeat classification is a critical task for arrhythmia detection and continues to be challenging. While diverse automated classification methods have been developed, they still cannot provide acceptable performance in classifying different heartbeats because of their poor ability to extract abstract patterns comprehensively. Besides, the performance of previous work drops sharply when dealing with imbalanced datasets and lacks interpretability. Methods: This paper proposes a novel, explainable attention-based temporal convolutional network(TCN) heartbeat classification method. The first contribution of our approach is that we fuse the TCN architecture and self-attention mechanism to encode the ECG heartbeat sequences. Specifically, TCN and the self-attention block are designed to capture global variation tends and local features, respectively, to best serve the classification. Meanwhile, multi-class focal loss helps model training overcome the class imbalance problem. In the end, the dynamic perturbation based high-fidelity explanation module was introduced to understand the AI-based model and enhance the model's transparency to clinicians. Conclusions: Experiments on the MIT-BIH-AD dataset demonstrate that our model with a simpler architecture can achieve 99.84% accuracy, 99.90% specificity and 99.60% precision for theAbstract: Background and Objective: Electrocardiogram (ECG) is a non-invasive tool to measure the heart's electrical activity. ECG signal based automatic heartbeat classification is a critical task for arrhythmia detection and continues to be challenging. While diverse automated classification methods have been developed, they still cannot provide acceptable performance in classifying different heartbeats because of their poor ability to extract abstract patterns comprehensively. Besides, the performance of previous work drops sharply when dealing with imbalanced datasets and lacks interpretability. Methods: This paper proposes a novel, explainable attention-based temporal convolutional network(TCN) heartbeat classification method. The first contribution of our approach is that we fuse the TCN architecture and self-attention mechanism to encode the ECG heartbeat sequences. Specifically, TCN and the self-attention block are designed to capture global variation tends and local features, respectively, to best serve the classification. Meanwhile, multi-class focal loss helps model training overcome the class imbalance problem. In the end, the dynamic perturbation based high-fidelity explanation module was introduced to understand the AI-based model and enhance the model's transparency to clinicians. Conclusions: Experiments on the MIT-BIH-AD dataset demonstrate that our model with a simpler architecture can achieve 99.84% accuracy, 99.90% specificity and 99.60% precision for the intra-patient scheme and 87.81% accuracy, 91.85% sensitivity and 89.81% precision for the inter-patient scheme, which outperforms most of the state-of-the-art(SOTA) works, especially for minority classes. Highlights: This method can capture heartbeats' global and local features with lightweight network architecture. A novel loss function is developed to overcome the class imbalance problem. We introduce an explaining module to study the influence of features at each time on ECG classification results. Our model outperforms the state-of-the-art methods, and its diagnostic basis conforms to the clinical experience. … (more)
- Is Part Of:
- Biomedical signal processing and control. Volume 80(2023)Part 1
- Journal:
- Biomedical signal processing and control
- Issue:
- Volume 80(2023)Part 1
- Issue Display:
- Volume 80, Issue 1, Part 1 (2023)
- Year:
- 2023
- Volume:
- 80
- Issue:
- 1
- Part:
- 1
- Issue Sort Value:
- 2023-0080-0001-0001
- Page Start:
- Page End:
- Publication Date:
- 2023-02
- Subjects:
- Heartbeat classification -- Arrhythmia -- Deep learning -- Imbalanced dataset classification -- Explainable artificial intelligence (XAI)
Signal processing -- Periodicals
Biomedical engineering -- Periodicals
Signal Processing, Computer-Assisted -- Periodicals
Image Processing, Computer-Assisted -- Periodicals
Biomedical Engineering -- Periodicals
610.28 - Journal URLs:
- http://www.sciencedirect.com/science/journal/17468094 ↗
http://www.elsevier.com/journals ↗
http://www.sciencedirect.com/science?_ob=PublicationURL&_tockey=%23TOC%2329675%232006%23999989998%23626449%23FLA%23&_cdi=29675&_pubType=J&_auth=y&_acct=C000045259&_version=1&_urlVersion=0&_userid=836873&md5=664b5cf9a57fc91971a17faf20c32ec1 ↗ - DOI:
- 10.1016/j.bspc.2022.104337 ↗
- Languages:
- English
- ISSNs:
- 1746-8094
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 2087.880400
British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 24559.xml