Mamba-Based Prototypical Contrastive Learning With Augmented Feature Separation for Common and Rare Arrhythmia
Insights
This study introduces a Mamba-based framework for diagnosing rare arrhythmias using electrocardiograms (ECGs). The approach enhances early detection of cardiovascular conditions, even with limited data, improving patient prognosis.
Area of Science:
- Cardiology
- Artificial Intelligence
- Machine Learning
Background:
- Early arrhythmia diagnosis is vital for cardiovascular health.
- Electrocardiograms (ECGs) are standard diagnostic tools.
- Diagnosing rare arrhythmias is challenging due to limited data.
Purpose of the Study:
- To develop a framework for diagnosing both common and rare arrhythmias using ECGs.
- To address the challenge of limited data in rare disease classification.
- To improve the accuracy of Computer-Aided Diagnosis (CAD) for arrhythmias.
Main Methods:
- Proposed a Mamba-based Prototypical Contrastive Learning framework (MST-PCAS).
- Utilized a Mamba-based Spatio-Temporal Feature Fusion Network (MST) for ECG modeling.
- Implemented Prototypical Contrastive Learning with Augmented Feature Separation (PCAS) for enhanced classification.
Main Results:
- Achieved superior rare-class recognition accuracies on PTBXL (79.13%) and Chapman (50.72%) datasets.
- Demonstrated effectiveness in generalized Few-Shot Learning (FSL) settings.
- Successfully identified both common and rare arrhythmia classes.
Conclusions:
- The MST-PCAS framework effectively diagnoses arrhythmias, including rare types.
- This approach significantly improves rare-class recognition in ECG analysis.
- The study offers a promising solution for challenging few-shot learning problems in medical diagnostics.
Abstract:
Early diagnosis of arrhythmia, a common cardiovascular condition, is crucial for improving prognosis. Electrocardiogram (ECG) is widely used as a non-invasive diagnostic tool. However, Computer-Aided Diagnosis of rare arrhythmias faces significant challenges due to the severe scarcity of samples for these rare disease classes. To tackle this, we propose a Mamba-based Prototypical Contrastive Learning framework, which can simultaneously identify both common and rare classes under the setting of generalized Few-Shot Learning (FSL). It primarily consists of: (1) the Mamba-based Spatio-Temporal Feature Fusion Network (MST), which integrates spatial features from multi-scale convolutions and temporal dynamics from bidirectional Mamba for ECG modeling; (2) the Prototypical Contrastive Learning framework with Augmented Feature Separation (PCAS), which employs a prototype augmentation strategy with an Augmented Prototype Consistency Loss to optimize prototype representations, and an Separation-Tuned Contrastive Loss to enhance intra-class compactness and inter-class distinctnessy, mitigating the risk of class collapse. Extensive experiments on publicly available datasets PTBXL and Chapman demonstrate the effectiveness of MST-PCAS, achieving superior rare-class recognition accuracies of 79.13% and 50.72%, respectively, for ECG arrhythmia classification.
Related Concept Videos
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 I: Introduction
Dysrhythmias II: Classification of Tachyarrhythmias

