Assessing the Impact of Downsampled ECGs and Alternative Loss Functions in Multi-Label Classification of 12-Lead ECGs.

IF 1.8 4区 医学 Q3 CARDIAC & CARDIOVASCULAR SYSTEMS
Bjørn-Jostein Singstad, Eraraya Morenzo Muten
{"title":"Assessing the Impact of Downsampled ECGs and Alternative Loss Functions in Multi-Label Classification of 12-Lead ECGs.","authors":"Bjørn-Jostein Singstad, Eraraya Morenzo Muten","doi":"10.1007/s13239-025-00797-8","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>The electrocardiogram (ECG) is an almost universally accessible diagnostic tool for heart disease. An ECG is measured by using an electrocardiograph, and today's electrocardiographs use built-in software to interpret the ECGs automatically after they are recorded. However, these algorithms exhibit limited performance, and therefore, clinicians usually have to manually interpret the ECG, regardless of whether an algorithm has interpreted it or not. Manual interpretation of the ECG can be time-consuming and requires specific skills. Therefore, better algorithms are clearly needed to make correct ECG interpretations more accessible and time-efficient. Algorithms based on artificial intelligence (AI) have demonstrated promising performance in various fields, including ECG interpretation, over the past few years and may represent an alternative to manual ECG interpretation by doctors.</p><p><strong>Results: </strong>We trained and validated a convolutional neural network with an Inception architecture on a dataset with 88253 12-lead ECGs, and classified 30 of the most frequent annotated cardiac conditions in the dataset. We assessed two different loss functions and different ECG sampling rates and the best-performing model used double soft F1-loss and ECGs downsampled to 75Hz. This model achieved an F1-score of <math><mrow><mn>0.420</mn> <mo>±</mo> <mn>0.017</mn></mrow> </math> , accuracy <math><mrow><mo>=</mo> <mn>0.954</mn> <mo>±</mo> <mn>0.002</mn></mrow> </math> , and an AUROC score of <math><mrow><mn>0.832</mn> <mo>±</mo> <mn>0.019</mn></mrow> </math> . An aggregated saliency map, showing the global importance of all 12 ECG leads for the 30 cardiac conditions, was generated using Local Interpretable Model-Agnostic Explanations (LIME). The global saliency map showed that the Inception model paid the most attention to the limb leads and the augmented leads and less importance to the precordial leads.</p><p><strong>Conclusions: </strong>One of the more significant contributions that emerge from this study is the use of aggregated saliency maps to obtain global ECG lead importance for different cardiac conditions. In addition, we emphasized the relevance of evaluating different loss functions, and in this specific case, we found double soft F1-loss to be slightly better than binary cross-entropy (BCE). Finally, we found it somewhat surprising that drastic downsampling of the ECG led to higher performance than higher sampling frequencies, such as 500Hz. These findings contribute in several ways to our understanding of the artificial intelligence-based interpretation of ECGs, but further studies should be carried out to validate these findings in other datasets from other patient cohorts.</p>","PeriodicalId":54322,"journal":{"name":"Cardiovascular Engineering and Technology","volume":" ","pages":""},"PeriodicalIF":1.8000,"publicationDate":"2025-09-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Cardiovascular Engineering and Technology","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1007/s13239-025-00797-8","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"CARDIAC & CARDIOVASCULAR SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

Background: The electrocardiogram (ECG) is an almost universally accessible diagnostic tool for heart disease. An ECG is measured by using an electrocardiograph, and today's electrocardiographs use built-in software to interpret the ECGs automatically after they are recorded. However, these algorithms exhibit limited performance, and therefore, clinicians usually have to manually interpret the ECG, regardless of whether an algorithm has interpreted it or not. Manual interpretation of the ECG can be time-consuming and requires specific skills. Therefore, better algorithms are clearly needed to make correct ECG interpretations more accessible and time-efficient. Algorithms based on artificial intelligence (AI) have demonstrated promising performance in various fields, including ECG interpretation, over the past few years and may represent an alternative to manual ECG interpretation by doctors.

Results: We trained and validated a convolutional neural network with an Inception architecture on a dataset with 88253 12-lead ECGs, and classified 30 of the most frequent annotated cardiac conditions in the dataset. We assessed two different loss functions and different ECG sampling rates and the best-performing model used double soft F1-loss and ECGs downsampled to 75Hz. This model achieved an F1-score of 0.420 ± 0.017 , accuracy = 0.954 ± 0.002 , and an AUROC score of 0.832 ± 0.019 . An aggregated saliency map, showing the global importance of all 12 ECG leads for the 30 cardiac conditions, was generated using Local Interpretable Model-Agnostic Explanations (LIME). The global saliency map showed that the Inception model paid the most attention to the limb leads and the augmented leads and less importance to the precordial leads.

Conclusions: One of the more significant contributions that emerge from this study is the use of aggregated saliency maps to obtain global ECG lead importance for different cardiac conditions. In addition, we emphasized the relevance of evaluating different loss functions, and in this specific case, we found double soft F1-loss to be slightly better than binary cross-entropy (BCE). Finally, we found it somewhat surprising that drastic downsampling of the ECG led to higher performance than higher sampling frequencies, such as 500Hz. These findings contribute in several ways to our understanding of the artificial intelligence-based interpretation of ECGs, but further studies should be carried out to validate these findings in other datasets from other patient cohorts.

在12导联心电图的多标签分类中评估下采样心电图和替代损失函数的影响。
背景:心电图(ECG)是一种几乎普遍可用的心脏病诊断工具。心电图是用心电图仪测量的,如今的心电图仪使用内置软件在记录心电图后自动解释心电图。然而,这些算法表现出有限的性能,因此,临床医生通常必须手动解释心电图,而不管算法是否已经解释了它。人工解读心电图既费时又需要特殊技能。因此,显然需要更好的算法,使正确的心电解释更容易获得,更省时。在过去的几年中,基于人工智能(AI)的算法在包括ECG解释在内的各个领域都表现出了很好的表现,并且可能代表医生手动ECG解释的替代方案。结果:我们在包含88253个12导联心电图的数据集上训练并验证了具有Inception架构的卷积神经网络,并对数据集中最常见的30种标注心脏状况进行了分类。我们评估了两种不同的损失函数和不同的心电采样率,其中表现最好的模型使用了双软f1损耗和心电降采样到75Hz。该模型的f1评分为0.420±0.017,准确率为0.954±0.002,AUROC评分为0.832±0.019。使用局部可解释模型不可知论解释(LIME)生成了汇总的显著性图,显示了所有12个ECG导联对30种心脏病的全局重要性。全局显著性图显示,盗梦空间模型对肢体导联和增强导联的关注程度最高,对心前导联的关注程度较低。结论:从这项研究中出现的更重要的贡献之一是使用聚合显著性图来获得不同心脏状况的全局ECG导联重要性。此外,我们强调了评估不同损失函数的相关性,在这个特定的情况下,我们发现双软f1损失略好于二进制交叉熵(BCE)。最后,我们发现,与较高的采样频率(如500Hz)相比,ECG的剧烈降采样会导致更高的性能,这有点令人惊讶。这些发现在几个方面有助于我们理解基于人工智能的心电图解释,但需要进一步的研究来验证来自其他患者队列的其他数据集的这些发现。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Cardiovascular Engineering and Technology
Cardiovascular Engineering and Technology Engineering-Biomedical Engineering
CiteScore
4.00
自引率
0.00%
发文量
51
期刊介绍: Cardiovascular Engineering and Technology is a journal publishing the spectrum of basic to translational research in all aspects of cardiovascular physiology and medical treatment. It is the forum for academic and industrial investigators to disseminate research that utilizes engineering principles and methods to advance fundamental knowledge and technological solutions related to the cardiovascular system. Manuscripts spanning from subcellular to systems level topics are invited, including but not limited to implantable medical devices, hemodynamics and tissue biomechanics, functional imaging, surgical devices, electrophysiology, tissue engineering and regenerative medicine, diagnostic instruments, transport and delivery of biologics, and sensors. In addition to manuscripts describing the original publication of research, manuscripts reviewing developments in these topics or their state-of-art are also invited.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信