Towards Transparent Deep Learning in Medicine: Feature Contribution and Attention Mechanism-Based Explainability

Abstract Artificial intelligence (AI) techniques are increasingly employed in mental health for remote patient monitoring, enabling the prediction of vital signs and classification of physical activities, which are essential for proactive patient care. However, the black-box nature of deep learning models limits their explainability, a critical factor in clinical applications where clinicians require transparent, reliable decision-making tools to support clinical interventions. In non-invasive monitoring, sensor data and clinical attributes serve as input features for predicting patient health outcomes. Understanding how these features contribute to model predictions is crucial for informed clinical decisions in a mental health context. This study proposes a novel quantitative explainability framework (QEF) that provides both post-hoc and intrinsic explainability for regression and classification tasks within deep learning models. The framework combines Shapley values to elucidate feature contributions and attention mechanisms to enhance interpretability. Two deep learning models—artificial neural networks (ANN) and attention-based bidirectional long short-term memory (BiLSTM)—were applied to predict heart rate and classify physical activities using sensor data, achieving state-of-the-art performance. Attention weights and Shapley values were computed for each input feature to provide global and local explanations, offering insights into the models’ behavior and feature importance. The QEF framework was evaluated using the PPG-DaLiA dataset for heart rate prediction and the MHEALTH dataset for physical activity classification. To address the computational complexity of Shapley value calculations, a Monte Carlo approximation method was implemented, reducing time and resource demands. This study introduces the QEF framework as a practical solution to balance model performance with explainability, providing clinicians with interpretable insights from deep learning models in the field of psychiatry and mental health.

Authors

Institutions

Publication Details

Journal
Human-Centric Intelligent Systems
Published
2025-06-21
DOI
https://doi.org/10.1007/s44230-025-00104-7
Citations
2
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
4.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards Transparent Deep Learning in Medicine: Feature Contribution and Attention Mechanism-Based Explainability

Haoran Xie, Thanveer Shaik, Xiaohui Tao, Niall Higgins et al.
2 citations
Human-Centric Intelligent Systems
Machine Learning in Healthcare
4.96
article

Towards Transparent Deep Learning in Medicine: Feature Contribution and Attention Mechanism-Based Explainability

Haoran Xie, Thanveer Shaik, Xiaohui Tao, Niall Higgins, Juan David Velasquez, Lin Li
article en
2 citations

Abstract

Abstract Artificial intelligence (AI) techniques are increasingly employed in mental health for remote patient monitoring, enabling the prediction of vital signs and classification of physical activities, which are essential for proactive patient care. However, the black-box nature of deep learning models limits their explainability, a critical factor in clinical applications where clinicians require transparent, reliable decision-making tools to support clinical interventions. In non-invasive monitoring, sensor data and clinical attributes serve as input features for predicting patient health outcomes. Understanding how these features contribute to model predictions is crucial for informed clinical decisions in a mental health context. This study proposes a novel quantitative explainability framework (QEF) that provides both post-hoc and intrinsic explainability for regression and classification tasks within deep learning models. The framework combines Shapley values to elucidate feature contributions and attention mechanisms to enhance interpretability. Two deep learning models—artificial neural networks (ANN) and attention-based bidirectional long short-term memory (BiLSTM)—were applied to predict heart rate and classify physical activities using sensor data, achieving state-of-the-art performance. Attention weights and Shapley values were computed for each input feature to provide global and local explanations, offering insights into the models’ behavior and feature importance. The QEF framework was evaluated using the PPG-DaLiA dataset for heart rate prediction and the MHEALTH dataset for physical activity classification. To address the computational complexity of Shapley value calculations, a Monte Carlo approximation method was implemented, reducing time and resource demands. This study introduces the QEF framework as a practical solution to balance model performance with explainability, providing clinicians with interpretable insights from deep learning models in the field of psychiatry and mental health.

Human-Centric Intelligent SystemsVol. 5(2)
Queensland University of Technology (AU), Lingnan University (HK), University of Southern Queensland (AU), Wuhan University of Technology (CN), Royal Brisbane and Women's Hospital (AU), University of Chile (CL)
Openalex Percentile: Top 5%
Machine Learning in Healthcare
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.