Hierarchical Attention Network for Interpretable ECG-based Heart Disease Classification
Not on the map. Why?
Abstract (arXiv)
Cardiovascular disease remains one of the leading causes of mortality worldwide, underscoring the need for accurate as well as interpretable diagnostic machine learning tools. In this work, we investigate heart disease classification using electrocardiogram (ECG) data from two widely-utilized datasets: The MIT-BIH Arrhythmia and the PTB-XL datasets. We adapt a hierarchical attention network (HAN), originally developed for text classification, into an ECG-based heart-disease classification task. Our adapted HAN incorporates two attention layers that focus on ECG data segments of varying sizes. We conduct a comparative analysis between our adapted HAN and a more sophisticated state-of-the-art architecture, featuring a network with convolution, attention, and transformer layers (CAT-Net). Our empirical evaluation encompasses multiple aspects including test accuracy (quantified by 0-1 loss); model complexity (measured by the number of model parameters); and interpretability (through attention map visualization). Our adapted HAN demonstrates comparable test accuracy with significant reductions in model complexity and enhanced interpretability analysis: For the MIT-BIH dataset, our adapted HAN achieves 98.55% test accuracy compared to 99.14% for CAT-Net, while reducing the number of model parameters by a factor of 15.6. For the PTB-XL dataset, our adapted HAN achieves a 19.3-fold reduction in model complexity compared to CAT-Net, with only a 5% lower test accuracy. From an interpretability perspective, the significantly simpler architecture and the hierarchical nature of our adapted HAN model facilitate a more straightforward interpretability analysis based on visualizing attention weights. Building on this advantage, we conduct an interpretability analysis of our HAN that highlights the regions of the ECG signal most relevant to the model's decisions.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 41 references that are in the map. First posted on arXiv 25 Mar 2025.
Builds on
18 of 41 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2015Learning Deep Features for Discriminative Localizationcited by 2,436
- 2019Attention is not Explanationcited by 929
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2019Attention is not not Explanationcited by 636
- 2019Is Attention Interpretable?cited by 389
- 2017A Structured Self-attentive Sentence Embeddingcited by 318
- 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 125
6 more
- 2022Rethinking Attention-Model Explainability through Faithfulness Violation Testcited by 43
- 2020Why Attentions May Not Be Interpretable?cited by 41
- 2021Is Sparse Attention more Interpretable?cited by 31
- 2018Interpreting Recurrent and Attention-Based Neural Models: a Case Study on Natural Language Inferencecited by 26
- 2019MINA: Multilevel Knowledge-Guided Attention for Modeling Electrocardiography Signalscited by 21
- 2020HAN-ECG: An Interpretable Atrial Fibrillation Detection Model Using Hierarchical Attention Networkscited by 14
Built on by
Not cited yet.