About | Contact Us | Register | Login
ProceedingsSeriesJournalsSearchEAI
airo 25(1):

Research Article

Explainable Transformer Models for Early Prediction of Chronic Diseases Using Longitudinal Electronic Health Records (EHRs)

Download2 downloads
Cite
BibTeX Plain Text
  • @ARTICLE{10.4108/airo.11517,
        author={Hewa Majeed Zangana and Maryam A. Sulaiman},
        title={Explainable Transformer Models for Early Prediction of Chronic Diseases Using Longitudinal Electronic Health Records (EHRs)},
        journal={EAI Endorsed Transactions on AI and Robotics},
        volume={5},
        number={1},
        publisher={EAI},
        journal_a={AIRO},
        year={2026},
        month={2},
        keywords={Chronic Disease Prediction, Electronic Health Records, Explainable Artificial Intelligence, Longitudinal Data, Transformer Models},
        doi={10.4108/airo.11517}
    }
    
  • Hewa Majeed Zangana
    Maryam A. Sulaiman
    Year: 2026
    Explainable Transformer Models for Early Prediction of Chronic Diseases Using Longitudinal Electronic Health Records (EHRs)
    AIRO
    EAI
    DOI: 10.4108/airo.11517
Hewa Majeed Zangana1,*, Maryam A. Sulaiman2
  • 1: Duhok Polytechnic University
  • 2: Rand Technical and Vocational Institute
*Contact email: hewa.zangana@dpu.edu.krd

Abstract

Early prediction of chronic diseases using longitudinal electronic health records (EHRs) is critical for enabling timely interventions and improving patient outcomes. However, existing deep learning approaches often function as black-box models, limiting their clinical adoption due to a lack of transparency and interpretability. This study proposes an explainable transformer-based framework for early chronic disease prediction that effectively models temporal dependencies in longitudinal EHR data while providing clinically meaningful explanations. The proposed approach integrates a time-aware transformer architecture with attention-based interpretability mechanisms to capture complex patient trajectories across heterogeneous clinical events, including diagnoses, laboratory results, medications, and demographic attributes. To enhance explainability, we incorporate feature-level and temporal attention visualization, enabling identification of influential clinical factors and critical time windows contributing to disease onset predictions. Extensive experiments conducted on large-scale longitudinal EHR datasets demonstrate that the proposed model consistently outperforms state-of-the-art machine learning and deep learning baselines in terms of predictive accuracy, recall, and early risk detection capability. Furthermore, qualitative evaluation with clinician-oriented explanation analyses confirms that the generated explanations align with established medical knowledge, enhancing trust and clinical usability. This work advances the integration of explainable artificial intelligence in healthcare by offering a robust and interpretable transformer-based solution for early chronic disease prediction, supporting data-driven decision-making in real-world clinical settings.

Keywords
Chronic Disease Prediction, Electronic Health Records, Explainable Artificial Intelligence, Longitudinal Data, Transformer Models
Received
2026-01-06
Accepted
2026-01-17
Published
2026-02-11
Publisher
EAI
http://dx.doi.org/10.4108/airo.11517

Copyright © 2026 Hewa Majeed Zangana et al., licensed to EAI. This is an open access article distributed under the terms of the CC BY-NC-SA 4.0, which permits copying, redistributing, remixing, transformation, and building upon the material in any medium so long as the original work is properly cited.

EBSCOProQuestDBLPDOAJPortico
EAI Logo

About EAI

  • Who We Are
  • Leadership
  • Research Areas
  • Partners
  • Media Center
  • Cookie Preferences

Community

  • Membership
  • Conference
  • Recognition
  • Sponsor Us

Publish with EAI

  • Publishing
  • Journals
  • Proceedings
  • Books
  • EUDL