An Explainable AI Framework for Medical Entity Extraction and Patient Summarization Using Transformer Models

Manwir Singh
Department of Information Systems, Faculty of AI and Data Science, Universitas Pelita Harapan, Indonesia
Yoana Sonia Wijaya
Department of Information Systems, Faculty of AI and Data Science, Universitas Pelita Harapan, Indonesia

This study presents an Explainable Artificial Intelligence (XAI) framework for medical natural language processing tasks, focusing on entity extraction and patient summarization using transformer-based models. The framework combines BioBERT for Named Entity Recognition and LongformerEncoderDecoder for clinical text summarization, both evaluated on the PMC-Patients dataset. To enhance interpretability, three XAI techniques, namely Attention Rollout, LIME, and SHAP, were applied to generate transparent explanations of model predictions. The experimental results show that BioBERT achieved an average F1-score of 0.86 for entity extraction, while LongformerEncoderDecoder obtained a ROUGE-L score of 44.7 for summarization. Among the interpretability methods, SHAP produced the most faithful and comprehensible explanations, as confirmed by both quantitative evaluation and expert assessment. The findings demonstrate that the proposed framework effectively balances accuracy and interpretability, providing a reliable foundation for the integration of explainable NLP systems in clinical environments.

Singh, M., & Sonia Wijaya, Y. (2026). An Explainable AI Framework for Medical Entity Extraction and Patient Summarization Using Transformer Models. Explainable Artificial Intelligence in Healthcare, 1(2), 152–168. https://doi.org/10.63913/xaih.v1i2.10
Views 8
PDF Downloads 6
Dimensions Citations

Citation data is supplied by Dimensions. New or unindexed publications may not yet have citation metrics.

Downloads

Download data is not yet available.

Similar Articles

1 2 > >> 

You may also start an advanced similarity search for this article.