CKD-EHR:Clinical Knowledge Distillation for Electronic Health Records

Junke Wang, Hongshun Ling, Li Zhang, Longqian Zhang, Fang Wang +2 more
6/18/2025
cs.CL

Official code: 209506702/CKD_EHR (1 star, last commit 2025-12-23).

Abstract

Electronic Health Records (EHR)-based disease prediction models have demonstrated significant clinical value in promoting precision medicine and enabling early intervention. However, existing large language models face two major challenges: insufficient representation of medical knowledge and low efficiency in clinical deployment. To address these challenges, this study proposes the CKD-EHR (Clinical Knowledge Distillation for EHR) framework, which achieves efficient and accurate disease risk prediction through knowledge distillation techniques. Specifically, the large language model Qwen2.5-7B is first fine-tuned on medical knowledge-enhanced data to serve as the teacher model.It then generates interpretable soft labels through a multi-granularity attention distillation mechanism. Finally, the distilled knowledge is transferred to a lightweight BERT student model. Experimental results show that on the MIMIC-III dataset, CKD-EHR significantly outperforms the baseline model:diagnostic accuracy is increased by 9%, F1-score is improved by 27%, and a 22.2 times inference speedup is achieved. This innovative solution not only greatly improves resource utilization efficiency but also significantly enhances the accuracy and timeliness of diagnosis, providing a practical technical approach for resource optimization in clinical settings. The code and data for this research are available athttps://github.com/209506702/CKD_EHR.

View on arXivView PDF

Code Implementations(1)

209506702/CKD_EHROfficial100%
10PythonApr 10, 202510 months ago

Similar Papers

Cite this paper

@article{wang2025ckdehrclinical,
  title  = {CKD-EHR:Clinical Knowledge Distillation for Electronic Health Records},
  author = {Junke Wang and Hongshun Ling and Li Zhang and Longqian Zhang and Fang Wang and Yuan Gao and Zhi Li},
  year   = {2025},
  eprint = {2506.15118},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.15118v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.15118.svg)](https://codeofpaper.com/paper/2506.15118)

Discussion