Deep learning model for diagnosing lupus erythematosus in cardiac patients using ECG and audio spectrograms

Atef F Hashem1, Abdirashid M Yousuf2, Ahmed Hassan3

  • 1Department of Mathematics and Statistics, College of Science, Imam Mohammad Ibn Saud Islamic University (IMSIU), Riyadh, 11432, Saudi Arabia.

Scientific Reports
|September 29, 2025
PubMed

Insights

This study introduces a novel hybrid AI model for diagnosing heart conditions in Lupus Erythematosus patients. The advanced system combines deep learning techniques for improved accuracy in cardiovascular health assessment.

Area of Science:

  • Cardiology
  • Artificial Intelligence
  • Medical Diagnostics

Background:

  • Lupus Erythematosus (SLE) and co-existing heart conditions present complex diagnostic challenges.
  • Traditional diagnostic models based on fixed rules are insufficient for this patient group.
  • Understanding the interaction between SLE and cardiovascular health is crucial.

Purpose of the Study:

  • To develop an efficient and novel diagnostic model for cardiovascular conditions in SLE patients.
  • To improve diagnostic accuracy and interpretability beyond conventional methods.

Main Methods:

  • A hybrid deep learning model combining Residual Network (ResNet) and Long Short-Term Memory (LSTM) for ECG pattern analysis.
  • A novel pipeline converting ECG images to audio for Mel-spectrogram generation and analysis using an Audio Spectrogram Transformer (AST).
  • Validation using an explainable deep learning framework with a heatmap algorithm.

Main Results:

  • The hybrid model achieved high performance: 99% accuracy, 99.2% sensitivity, 96.8% specificity, and 97% AUC.
  • The audio-based ECG analysis revealed richer temporal and spectral features.
  • Explainable AI indicated potential links between SLE and ventricular hypertrophy via QRS region analysis.

Conclusions:

  • The proposed hybrid AI model offers a significant advancement in diagnosing cardiovascular issues in Lupus Erythematosus patients.
  • The novel audio-based ECG analysis provides a more interpretable and accurate diagnostic approach.
  • Findings suggest SLE may be associated with ventricular hypertrophy, warranting further investigation.