Explainable AI for Electronic Health Records Foundation Models.

Jie Huang, Pengfei Yin, Zihan Xu, Daniel Capurro, Mike Conway, Ting Dang· July 8, 2026 View original

Summary

This paper introduces X-FEMR, the first token-level explainability approach for Electronic Health Records Foundation Models (FEMRs). It uses a Transformer-based surrogate model to approximate FEMR behavior, identifying influential tokens in patient data and aligning explanations with clinical knowledge to enhance trust and interpretability in clinical AI.

Foundation Models for Electronic Health Records (FEMRs) are powerful tools that convert complex patient data into generalizable representations for various clinical predictions. However, their "black-box" nature raises significant concerns regarding bias, interpretability, and trust among clinicians. This research addresses these issues by proposing X-FEMR, the first approach to provide token-level explanations for FEMRs. X-FEMR works by training a Transformer-based surrogate model. This surrogate learns to mimic the input-output behavior of the FEMR across different prediction tasks, crucially preserving the temporal dynamics inherent in patient trajectories. By analyzing this surrogate, the method identifies the most influential tokens (e.g., specific diagnoses, medications, or lab results) that contribute to the FEMR's predictions, offering insights into how the model processes patient history. To validate the clinical relevance of these explanations, the researchers developed a novel clinical alignment metric. This metric quantifies how well the surrogate model's key tokens correspond to features already validated by clinical experts. Results show that the surrogate accurately approximates FEMR predictions and that its token-level explanations align well with clinical knowledge, providing a practical framework for building more interpretable and trustworthy AI in healthcare.

Why it matters

Healthcare professionals and AI developers can use X-FEMR to gain transparency into complex clinical AI models, fostering trust, identifying potential biases, and ensuring that AI-driven decisions are clinically sound and justifiable.

How to implement this in your domain

  1. 1Integrate X-FEMR or similar explainability techniques into existing clinical AI development pipelines.
  2. 2Collaborate with clinicians to validate and refine the interpretability of AI model predictions.
  3. 3Develop user interfaces that present token-level explanations to healthcare providers in an understandable format.
  4. 4Establish governance frameworks for deploying explainable AI in sensitive healthcare applications.

Who benefits

HealthcarePharmaceuticalsMedical ResearchHealthTech

Key takeaways

  • X-FEMR provides token-level explanations for Electronic Health Records Foundation Models (FEMRs).
  • It uses a Transformer-based surrogate model to approximate FEMR behavior and identify influential data points.
  • A novel clinical alignment metric validates the relevance of the explanations.
  • This approach enhances trust, interpretability, and bias detection in clinical AI.

Original post by Jie Huang, Pengfei Yin, Zihan Xu, Daniel Capurro, Mike Conway, Ting Dang

"arXiv:2607.06163v1 Announce Type: new Abstract: Foundation Models for Electronic Health Records (FEMRs) are pretrained on large-scale structured patient data, enabling them to convert longitudinal patient trajectories into generalizable representations for diverse clinical predic…"

View on X

Originally posted by Jie Huang, Pengfei Yin, Zihan Xu, Daniel Capurro, Mike Conway, Ting Dang on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses