Template Matching Based Early Exit CNN for Energy-efficient Myocardial Infarction Detection on Low-power Wearable Devices

Nafiul Rashid, Berken Utku Demirel, Mohanad Odema and Mohammad Abdullah Al Faruque

Abstract

Myocardial Infarction (MI), also known as heart attack, is a life-threatening form of heart disease that is a leading cause of death worldwide. Its recurrent and silent nature emphasizes the need for continuous monitoring through wearable devices. The wearable device solutions should provide adequate performance while being resource-constrained in terms of power and memory. This paper proposes an MI detection methodology using a Convolutional Neural Network (CNN) that outperforms the state-of-the-art works on wearable devices for two datasets - PTB and PTB-XL, while being energy and memory-efficient. Moreover, we also propose a novel Template Matching based Early Exit (TMEX) CNN architecture that further increases the energy efficiency compared to baseline architecture while maintaining similar performance. Our baseline and TMEX architecture achieve 99.33% and 99.24% accuracy on PTB dataset, whereas on PTB-XL dataset they achieve 84.36% and 84.24% accuracy, respectively. Both architectures are suitable for wearable devices requiring only 20 KB of RAM. Evaluation of real hardware shows that our baseline architecture is 0.6x to 53x more energy-efficient than the state-of-the-art works on wearable devices. Moreover, our TMEX architecture further improves the energy efficiency by 8.12% (PTB) and 6.36% (PTB-XL) while maintaining similar performance as the baseline architecture.

Venue
UbiComp / IMWUT 2022
Volume
Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, Volume 6
DOI
10.1145/3534580
PDF
https://dl.acm.org/doi/pdf/10.1145/3534580
Anthology ID
2022.imwut-6.48

Cite

@article{rashid-etal-2022-template,
    title = {{Template Matching Based Early Exit CNN for Energy-efficient Myocardial Infarction Detection on Low-power Wearable Devices}},
    author = {Nafiul Rashid and Berken Utku Demirel and Mohanad Odema and Mohammad Abdullah Al Faruque},
    journal = {Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies},
    volume = {6},
    issn = {2474-9567},
    year = {2022},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3534580},
    url = {https://doi.org/10.1145/3534580},
    abstract = {Myocardial Infarction (MI), also known as heart attack, is a life-threatening form of heart disease that is a leading cause of death worldwide. Its recurrent and silent nature emphasizes the need for continuous monitoring through wearable devices. The wearable device solutions should provide adequate performance while being resource-constrained in terms of power and memory. This paper proposes an MI detection methodology using a Convolutional Neural Network (CNN) that outperforms the state-of-the-art works on wearable devices for two datasets - PTB and PTB-XL, while being energy and memory-efficient. Moreover, we also propose a novel Template Matching based Early Exit (TMEX) CNN architecture that further increases the energy efficiency compared to baseline architecture while maintaining similar performance. Our baseline and TMEX architecture achieve 99.33\% and 99.24\% accuracy on PTB dataset, whereas on PTB-XL dataset they achieve 84.36\% and 84.24\% accuracy, respectively. Both architectures are suitable for wearable devices requiring only 20 KB of RAM. Evaluation of real hardware shows that our baseline architecture is 0.6x to 53x more energy-efficient than the state-of-the-art works on wearable devices. Moreover, our TMEX architecture further improves the energy efficiency by 8.12\% (PTB) and 6.36\% (PTB-XL) while maintaining similar performance as the baseline architecture.}
}