Interpretable Machine Learning Models for Assisting Clinicians in the Analysis of Physiological Data

P. Nisha, Urja Pawar, Ruairi O'ReillyAICS 2019

Abstract

Machine learning models often face resistance in clinical settings due to their opaque, "black-box" nature. This paper demonstrates that by applying rigorous preprocessing and using interpretable models—specifically Decision Trees, Generalized Linear Models (GLMs), and Random Forests—on ECG data, researchers can achieve high diagnostic accuracy (up to 97%) while providing the transparent reasoning that medical professionals require to trust AI assistance.

Introduction

While state-of-the-art machine learning models achieve remarkable accuracy in medical diagnostics, their adoption in real-world clinical settings remains sluggish. The primary bottleneck is the "black-box" nature of complex algorithms, such as deep neural networks. Clinicians are understandably hesitant to make life-altering patient care decisions based on an input-output system that offers no explanation for its results. To trust a model, a doctor needs to understand the rationale behind its prediction. This paper addresses the well-known trade-off between model accuracy and interpretability, exploring how transparent ML models can be effectively utilized to analyze physiological time-series data (specifically electrocardiograms, or ECGs) to provide clear, rationalized outputs.

Methods

The authors focus on three models known for their interpretability or their capacity to be made interpretable: Generalized Linear Models (GLMs), Decision Trees, and Random Forests.

Preprocessing and Feature Engineering

To handle the inherently noisy nature of ECG signals, the authors applied a pipeline consisting of differencing (to make the non-stationary time-series data stationary), normalization, and smoothing via a moving average function with a sliding window size of 7. To reduce processing time, they downsampled the data from 125Hz by a factor of 5 using a SciPy decimate function equipped with an anti-aliasing low-pass filter.

Modeling

They trained a GLM (using Logistic Regression), a standard Decision Tree, and a Random Forest. While Random Forests are ensemble models and thus harder to interpret than single trees, the authors utilized Scikit-learn's feature importance metrics and Graphviz visualizations to extract the underlying decision rules, effectively turning it into a "white-box" model.

Datasets

The study utilizes the Physionet MIT-BIH Arrhythmia Database, a standard benchmark dataset in cardiology ML research. The dataset contains normalized R-R intervals of ECG signals categorized into 5 distinct classes of heart conditions.

Mapping of ECG classes to specific heart conditions.

The authors note that the "Normal" class is heavily oversampled, requiring class-balancing techniques during model training.

Key Results and Insights

The models were evaluated using Precision, Recall, F1-score, and overall Accuracy across the 5 classes.

  • Random Forest: Achieved the highest overall accuracy at 97.00%, with an impressive average precision and recall of 0.97. It successfully classified almost all classes correctly despite the dataset's imbalance.
  • Decision Tree: Achieved a highly competitive accuracy of 95.00%, offering the most direct out-of-the-box interpretability via its simple if-then-else structure.
  • Generalized Linear Model (GLM): Achieved 88.29% accuracy. Hyperparameter tuning revealed that the Newton-cg solver outperformed others for this specific classification task.

The Accuracy-Interpretability Trade-off

The prevailing assumption in ML is that you must sacrifice performance for transparency. This paper shows that for structured physiological data like ECGs, ensemble methods can be unpacked using feature importance to offer both top-tier accuracy and clinical explainability. Rigorous signal preprocessing is critical; by removing baseline wander and noise before training, simpler models can perform at levels usually reserved for complex, opaque neural networks.

Conclusion

By using tools like Graphviz to map out decision pathways, the system shifts from providing a mere diagnosis to providing a diagnostic rationale. While the paper relies on a single dataset and post-hoc explainability for the Random Forest, it demonstrates a viable path toward increasing clinician trust. Future work should involve testing these models with actual domain experts in live clinical environments to measure real-world adoption rates.

Summary updated

BibTeX
@inproceedings{nisha2019interpretable,
  author = {P. Nisha and Urja Pawar and Ruairi O'Reilly},
  title = {{Interpretable Machine Learning Models for Assisting Clinicians in the Analysis of Physiological Data}},
  booktitle = {AICS},
  year = {2019},
  url = {https://openreview.net/forum?id=rmPS4bZF3A},
}
Figure