Clinical Assistant Diagnosis for Electronic Medical Record Based on Convolutional Neural Network

Zhongliang Yang, Yongfeng Huang, Yiran Jiang, Yuxi Sun, Yu-Jin Zhang, Pengcheng LuoarXiv 2018

Abstract

Traditional Clinical Decision Support (CDS) systems rely on manually constructed "expert systems" that use rigid if-then rules to match symptoms to diseases. These systems are often hindered by semantic ambiguity and the labor-intensive nature of knowledge base maintenance. This paper presents a deep learning approach using Convolutional Neural Networks (CNNs) to automatically extract diagnostic features from unstructured Electronic Medical Records (EMRs). Our model achieves a 98.67% accuracy and an average processing time of 13.82 ms, demonstrating significant improvements over traditional rule-based and machine learning baselines.

Introduction

Clinical Decision Support systems have historically functioned as expert systems, requiring doctors and engineers to write thousands of rules to reconcile patient data with medical knowledge. This approach faces three primary challenges: semantic ambiguity, where different clinicians describe the same symptoms differently; a maintenance nightmare, as updating these systems requires immense human effort; and the inherent complexity of messy, unstructured medical text. To address these issues, we propose a CNN-based model that learns the high-level semantic meaning of medical text automatically, bypassing the need for hand-crafted rules.

Methodology

The proposed framework utilizes a CNN architecture designed for Natural Language Processing (NLP) tasks. The process begins with the preprocessing of structured EMR data into unstructured text by concatenating the chief complaint, history of present illness, and physical examination sections.

System architecture of the CNN-based clinical assistant diagnosis framework.

As shown in the architecture above, the model employs an embedding layer to map words into a 300-dimensional vector space. A convolutional layer with multiple kernel sizes (4, 5, and 6) captures local context across varying phrase lengths. Finally, an average pooling layer and a Softmax classifier determine the probability of specific diseases. The study utilized the C-EMRs dataset, comprising 18,590 real-world records from Huangshi Central Hospital, focusing on eight common conditions including Hypertension, Diabetes, and COPD.

Experimental Results

The CNN model significantly outperformed traditional machine learning baselines such as SVM and Naïve Bayes. Key performance metrics include an accuracy of 98.67% and a recall of 96.02%, the latter being crucial for minimizing false negatives in a clinical setting.

Training performance and inference time distribution.

Training curves indicate rapid convergence, with accuracy stabilizing near 100% within 100 epochs. Furthermore, the model exhibits exceptional efficiency; the average prediction time was recorded at 13.82 ms per record, which is 12–15 times faster than baseline models. Visualization of the feature space via dimensionality reduction confirms that the model successfully learns to separate different diseases into distinct, tightly packed clusters.

Conclusion and Future Work

This research demonstrates that CNNs can effectively automate clinical diagnosis from unstructured text, overcoming the limitations of rule-based expert systems. While the current model focuses on eight common diseases, future work will expand the scope to include more similar conditions and integrate multimodal data, such as laboratory results and medical imaging, to provide a more comprehensive diagnostic tool.

Summary updated

BibTeX
@misc{yang2018clinical,
  author = {Zhongliang Yang and Yongfeng Huang and Yiran Jiang and Yuxi Sun and Yu-Jin Zhang and Pengcheng Luo},
  title = {{Clinical Assistant Diagnosis for Electronic Medical Record Based on Convolutional Neural Network}},
  year = {2018},
  eprint = {1804.08261},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1804.08261},
}
Figure