Segmental Convolutional Neural Networks for Detection of Cardiac Abnormality With Noisy Heart Sound Recordings

Yuhao Zhang, Sandeep Ayyar, Long-Huei Chen, Ethan J. LiarXiv 2016

Introduction

Cardiac auscultation—listening to heart sounds with a stethoscope—remains a fundamental and cost-effective screening tool for heart disease. However, its effectiveness is often limited by human subjectivity and environmental noise. While automated classification systems exist, they typically rely on "expert features" (manually engineered mathematical descriptors) that frequently fail when recordings are corrupted by ambient sounds like breathing, talking, or stethoscope friction. This paper presents a segmental convolutional neural network (CNN) architecture designed to learn relevant acoustic patterns directly from noisy, real-world data without human intervention.

Methodology: The Segmental Approach

The core innovation of this research is the Segmental CNN. Unlike traditional models that attempt to process entire, variable-length audio files at once, this system breaks recordings into individual heartbeat segments to improve robustness.

The segmental CNN framework showing the transition from training on individual units to testing via a voting mechanism across the full signal.

The process involves three distinct stages:

  1. Segmentation: Using a Hidden Semi-Markov Model (HSMM), the system identifies the four components of the heartbeat cycle: S1, systole, S2, and diastole.
  2. Segmental Classification: Each identified heartbeat is zero-padded to a fixed length and processed by a CNN.
  3. Global Decision: The final classification for a recording is determined by a threshold-based voting system. A recording is flagged as "abnormal" only if the proportion of its individual segments identified as abnormal exceeds a specific threshold.

CNN Architectures

The researchers evaluated two primary architectures to determine the most effective way to process these segments:

  • Filter-focused CNN (FCNN): A shallow network utilizing a wide range of filter sizes (from 10 to 600) to capture patterns across varying time scales simultaneously.
  • Depth-focused CNN (DCNN): A deeper architecture inspired by modern computer vision models. It uses very small filters (size 10) stacked across multiple layers to learn a hierarchy of increasingly complex features.
Detailed architecture of the DCNN, highlighting the use of repeated layers to extract complex hierarchical features from heart sound vectors.

Experimental Setup and Results

The models were trained and tested on the 2016 PhysioNet/Computing in Cardiology (CinC) Challenge dataset, which includes approximately 3,000 recordings. This dataset is notably difficult due to high levels of real-world noise and a diverse range of cardiac conditions, including valvular heart disease and arrhythmias.

The DCNN-Deep (8 layers) emerged as the superior model, achieving an overall accuracy of 87.5%. This significantly outperformed traditional Support Vector Machine (SVM) classifiers (84.6%) trained on the same data using hand-crafted features.

Metric DCNN-Deep FCNN-Large
Accuracy 87.5% 85.8%
Sensitivity 86.7% 90.5%
Specificity 88.4% 81.1%

While the FCNN-Large model achieved higher sensitivity, it suffered from lower specificity, leading to more false positives. The DCNN's ability to learn hierarchical features proved more balanced and robust for general classification.

Discussion and Key Insights

The study highlights two critical advantages of the segmental CNN approach. First, depth matters: learning a hierarchy of small patterns building into larger ones is more effective for heart sounds than shallow, wide-filter approaches. Second, the voting mechanism provides inherent robustness to transient noise. A single artifact, such as a loud cough, might ruin one heartbeat segment, but the "majority vote" of the other clean segments allows the model to maintain an accurate diagnosis.

Visual analysis of the learned filters revealed that the network spontaneously developed the ability to recognize waveform patterns associated with cardiac cycles, despite having no prior medical instruction. Furthermore, abnormal segments triggered significantly higher neural activity in the hidden layers than normal ones, indicating the model successfully isolated pathological signatures.

Conclusion and Future Work

By moving away from hand-crafted features toward deep segmental learning, this research provides a more resilient method for automated cardiac screening in noisy environments. Future work may involve introducing a "too noisy to classify" category to enhance clinical safety and exploring multi-channel inputs to further improve the CNN's feature extraction capabilities.

Summary updated

BibTeX
@misc{zhang2016segmental,
  author = {Yuhao Zhang and Sandeep Ayyar and Long-Huei Chen and Ethan J. Li},
  title = {{Segmental Convolutional Neural Networks for Detection of Cardiac Abnormality With Noisy Heart Sound Recordings}},
  year = {2016},
  eprint = {1612.01943},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.01943},
}
Figure