Related Experiment Video
Updated: Sep 14, 2025

Real-Time Cardiac Mapping with a Noninvasive Imageless Electrocardiographic Imaging System
Published on: April 11, 2025
Augmentation-Free Contrastive Learning for EKG Classification
Junheng Wang1, Milos Hauskrecht1
1Department of Computer Science, University of Pittsburgh, Pittsburgh, PA, USA.
Abstract:
Electrocardiogram (ECG/EKG) analysis is a vital diagnostic tool for assessing heart conditions, extensively used in clinical applications such as patient monitoring, surgical support, and heart disease research. With the rising demand for automated EKG interpretation, particularly for disease diagnosis and waveform labeling, machine learning models have become essential. However, the scarcity of large, well-labeled EKG datasets poses a significant challenge for training EKG classification models in the supervised form. This has shifted the attention towards unsupervised model pre-training, which often outperforms pure supervised methods when only a limited number of labeled data is available. This study explores the adaptation of the contrastive representation learning framework for EKG classification. Traditional contrastive learning methods rely on data augmentations to create diverse views of the same sample, but these augmentations are domain-specific, difficult to design, and can unpredictably impact model performance across different tasks. In this work, we address these limitations by proposing a novel, augmentation-free approach that integrates seamlessly with existing contrastive frameworks by eliminating their dependence on augmentations and hence their potential drawbacks. We evaluate our approach on the PTB-XL [1] dataset, and demonstrate its benefits in the unsupervised model pre-training step. Our solution offers a promising pathway for enhancing cardiac disease diagnostics in data-constrained environments.
Related Concept Videos
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
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...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
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...
Classification of Signals
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
Dysrhythmias II: Classification of Tachyarrhythmias

