{"title":"在12导联心电图的多标签分类中评估下采样心电图和替代损失函数的影响。","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":"{\"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}","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}
Assessing the Impact of Downsampled ECGs and Alternative Loss Functions in Multi-Label Classification of 12-Lead ECGs.
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 , accuracy , and an AUROC score of . 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.
期刊介绍:
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.