Towards Interpretable Clinical Diagnosis with Bayesian Network Ensembles Stacked on Entity-Aware CNNs

Jun Chen, Xiaoya Dai, Quan Yuan, Chao Lu, Haifeng HuangACL 2020

Introduction

The integration of Artificial Intelligence into clinical workflows faces a significant barrier: the "black box" nature of state-of-the-art deep learning models. While deep neural networks, particularly Convolutional Neural Networks (CNNs) and Transformers, excel at extracting complex patterns from unstructured Electronic Medical Records (EMRs), they typically fail to provide the transparency required for clinical trust. For a physician to act on an AI-generated diagnosis, the system must not only be accurate but also explainable.

Historically, automated diagnosis has faced a trade-off between "white-box" models (like decision trees or simple Bayesian Networks), which offer clear logic but lower accuracy, and "black-box" models, which offer high performance but opaque reasoning. Researchers at Baidu have proposed a hybrid framework, ECNN-PGM, to bridge this gap by stacking Bayesian Network ensembles on top of "Entity-Aware" CNNs.

Example of an Electronic Medical Record (EMR) showing various sections like Chief Complaint (CC) and History of Present Illness (HPI).

The ECNN-PGM Framework

The proposed framework operates through a multi-stage pipeline designed to handle both the narrative complexity of medical text and the logical rigor of clinical reasoning.

1. Named Entity Recognition (NER)

The process begins by parsing the raw EMR text to extract medical entities. These include symptoms (e.g., "fever"), vital signs (e.g., "elevated WBC"), and laboratory test results. Crucially, the system also identifies the polarity of these entities—whether they are present (+), absent (-), or unknown—ensuring that negative findings (e.g., "no cough") are correctly factored into the diagnostic logic.

2. Entity-Aware CNN (ECNN)

To generate initial "disease priors," the model employs an Entity-Aware CNN. This component uses multiple CNN "towers" to process different narrative sections of the EMR, such as the Chief Complaint (CC) and History of Present Illness (HPI). Simultaneously, a Multi-Layer Perceptron (MLP) branch processes the structured list of extracted entities. This dual-pathway approach ensures that the model captures both the contextual nuances of the narrative and the explicit medical signals provided by the entities.

3. Bayesian Network Ensembles (PGM)

The core innovation of this work is the stacking of Probabilistic Graphical Models (PGMs) on top of the CNN outputs. The disease priors from the ECNN are fed into an ensemble of Bayesian Networks that utilize a medical knowledge graph to calculate the posterior probability of a disease based on observed findings.

The ECNN-PGM architecture, illustrating the flow from raw EMR sections through CNN towers to the final Bayesian Network ensemble variants.

The authors explored three ensemble architectures:

  • Parallel PGM: Independent inferences are made for different finding types (symptoms, vital signs, tests) and then averaged.
  • Universal PGM: A single, large network integrates all finding types simultaneously.
  • Cascade PGM: A sequential refinement process where symptoms first update the CNN prior, followed by vital signs and then lab tests. This mirrors the iterative nature of human clinical diagnosis.

Experimental Setup and Results

The model was rigorously evaluated using a large-scale dataset of real-world EMRs from two major departments in Chinese hospitals: Gynaecology (191,645 records) and Respiration (84,152 records). To ensure ground-truth accuracy, a subset of these records was professionally reviewed by medical experts for testing.

The results demonstrate that the ensemble version, ECNN-PGM-E, significantly outperforms standard deep learning baselines. In the Gynaecology department, the model achieved a 73.4% Top-1 sensitivity, compared to just 61.0% for a standard CNN.

Beyond raw performance, the framework provides high interpretability. Because the final decision layer is a Bayesian Network, the system can generate natural language explanations based on the conditional probabilities within the knowledge graph. For instance, it can state that a diagnosis was reached because specific symptoms are statistically prevalent for that disease in historical records. Medical professionals who reviewed these explanations found them to be clinically sound and helpful.

Conclusion and Future Directions

The ECNN-PGM framework represents a significant step toward deployable clinical AI. By combining the feature extraction capabilities of deep learning with the symbolic reasoning of Bayesian Networks, it achieves state-of-the-art accuracy without sacrificing transparency.

However, challenges remain. The system's performance is tied to the quality of the underlying medical knowledge graph; missing relationships in the graph can limit the model's explanatory power. Future work will focus on expanding the framework to additional medical specialties and exploring more complex graph structures to capture the intricate dependencies between various clinical findings.

Summary updated

BibTeX
@inproceedings{chen2020towards,
  author = {Jun Chen and Xiaoya Dai and Quan Yuan and Chao Lu and Haifeng Huang},
  title = {{Towards Interpretable Clinical Diagnosis with Bayesian Network Ensembles Stacked on Entity-Aware CNNs}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.286},
}
Figure