Related Experiment Video
Updated: Oct 15, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Opening the black box: interpretability of machine learning algorithms in electrocardiography.
Matteo Bodini1, Massimo W Rivolta1, Roberto Sassi1
1Dipartimento di Informatica 'Giovanni Degli Antoni', Università degli Studi di Milano, Via Celoria 18, 20133, Milano, Italy.
Deep learning models can detect cardiac abnormalities from ECGs, but often lack interpretability. New frameworks highlight relevant ECG waves (P-wave, QRS complex, T-wave) for DL classifications, improving trust in AI diagnostics.
Area of Science:
- Cardiology
- Artificial Intelligence
- Biomedical Engineering
Background:
- Deep learning (DL) models show promise for detecting cardiac abnormalities from electrocardiograms (ECGs).
- A key limitation of current DL models is their lack of interpretability, hindering clinical trust and adoption.
- Understanding which ECG components DL models use for classification is crucial for validation.
Purpose of the Study:
- To develop and validate novel frameworks for interpreting DL-based 12-lead ECG classification.
- To identify specific ECG waves (P-wave, QRS complex, T-wave) most influential in DL model predictions.
- To assess the clinical relevance of features utilized by DL algorithms in diagnosing cardiac conditions.
Main Methods:
- Designed two new interpretability frameworks compatible with any DL model.
- Tested frameworks on a Deep Neural Network trained for classifying 24 cardiac abnormalities from 12-lead ECGs.
- Evaluated the frameworks' ability to pinpoint relevant ECG segments and waves contributing to classification decisions.
Main Results:
- The proposed frameworks successfully identified the most relevant ECG waves for DL-based cardiac abnormality classification.
- In many cases, the DL model's focus aligned with cardiologists' diagnostic criteria.
- Discrepancies were observed, indicating potential reliance on non-traditional features by the DL model.
Conclusions:
- The developed frameworks enhance the interpretability of DL models for ECG analysis.
- These tools can verify if DL models utilize clinically significant features, thereby increasing trust in AI-driven cardiac diagnostics.
- The findings contribute to advancing computational methods in cardiovascular physiology.
Related Concept Videos
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage....

