Learning Front-end Filter-bank Parameters using Convolutional Neural Networks for Abnormal Heart Sound Detection

Ahmed Imtiaz Humayun, Shabnam Ghaffarzadegan, Zhe Feng, Taufiq Hasan

Introduction

Detecting heart abnormalities through auscultation—the practice of listening to heart sounds—remains a cornerstone of cardiovascular diagnostics, particularly in low-resource settings where advanced imaging like echocardiography is unavailable. Automated systems for analyzing Phonocardiograms (PCGs) typically follow a rigid two-step pipeline: first, the audio signal is passed through a fixed set of hand-engineered digital filters (a filter-bank) to isolate specific frequency bands; then, a machine learning model classifies these bands.

A significant limitation of this approach is that these initial filters are often designed based on general audio principles rather than being optimized for the specific, subtle acoustic signatures of heart pathology, such as the low-frequency "whoosh" of a murmur. This research addresses this gap by proposing a neural network architecture capable of designing and tuning its own filters.

Methodology: The tConv Layer

The core innovation of this work is the introduction of time-convolution (tConv) layers. Mathematically, a 1D convolutional layer with linear activation and zero bias is equivalent to a digital Finite Impulse Response (FIR) filter. By placing these layers at the very front of the network, the filter coefficients become learnable weights that the model can optimize during training via backpropagation.

Architecture of the proposed CNN featuring learnable tConv front-end filters and a multi-branch classification network.

The researchers explored several variations of this architecture:

  • Initialization Strategies: Comparing random initialization against starting with standard FIR coefficients.
  • Linear Phase tConv (LP-tConv): To prevent temporal distortion—where different frequencies are shifted differently in time—the authors enforced symmetry in the filter weights. This ensures the precise timing of heart sounds (S1, S2) and murmurs remains consistent, which is critical for diagnosis.
  • Zero Phase tConv (ZP-tConv): A more complex variant using forward-reverse convolution to completely eliminate phase response.

As shown in the architecture diagram above, the learnable front-end feeds into a multi-branch 1D-CNN, which extracts features that are eventually flattened and processed by a fully connected network for final classification.

Dataset and Experimental Setup

The study utilized the PhysioNet/CinC 2016 Challenge dataset, the largest open-source archive of heart sound recordings, containing 3,153 recordings from 764 patients. A major challenge of this dataset is its imbalance: 2,488 "Normal" recordings versus only 665 "Abnormal" ones. To ensure robust evaluation, the authors implemented a balanced 4-fold cross-validation strategy, ensuring each evaluation fold contained an equal distribution of classes.

Key Results and Insights

The LP-tConv model with FIR initialization significantly outperformed existing benchmarks:

  • Performance: It achieved a Mean Accuracy (Macc) of 87.10%, an absolute improvement of 9.54% over the previous state-of-the-art baseline.
  • Sensitivity: The model maintained a high sensitivity of approximately 90.9%, ensuring that fewer abnormal cases are missed during screening.
  • Phase Importance: A critical finding was that maintaining a linear phase is essential. Non-linear phase distortion can "smear" the signal in time, potentially masking the very murmurs the model is trained to detect.

Hardware Sensitivity and Limitations

One of the most significant hurdles identified is the impact of recording hardware. Different stethoscopes—ranging from piezoelectric sensors to various electronic models—produce vastly different spectral signatures.

Frequency response variations across different electronic and piezoelectric stethoscopes, highlighting the challenge of hardware generalization.

As illustrated in the figure above, the magnitude response varies significantly across devices. Because the training data was dominated by piezoelectric sensors, the model became somewhat biased toward those specific characteristics, leading to poorer performance on subsets recorded with unique hardware like the JABES electronic stethoscope.

Conclusion

By integrating learnable FIR filters directly into the CNN architecture, this research demonstrates that a data-driven approach to filter design can vastly improve the accuracy of automated heart sound detection. Future work will focus on domain adaptation to ensure these models can generalize across the diverse range of medical devices used in clinical practice.

Summary updated

BibTeX
@inproceedings{humayun2018learning,
  author = {Ahmed Imtiaz Humayun and Shabnam Ghaffarzadegan and Zhe Feng and Taufiq Hasan},
  title = {{Learning Front-end Filter-bank Parameters using Convolutional Neural Networks for Abnormal Heart Sound Detection}},
  booktitle = {EMBC},
  year = {2018},
  url = {https://openreview.net/forum?id=DSXn9FldJno},
}
Figure