Abstract
Extracting accurate patient-level information from Electronic Health Records (EHRs) is challenging due to the inherent contradictions and gaps between structured tabular data and unstructured clinical notes. This paper presents a novel framework that probabilistically fuses these two modalities using expert-informed Bayesian Networks (BNs) and neural text classifiers. The core innovation is a "consistency node" that resolves conflicts between sources by learning their relative reliability. Evaluated on the SimSUM dataset, the proposed method demonstrates superior calibration and robustness to missing textual information compared to standard early-fusion neural models.
Introduction
Electronic Health Records (EHRs) are a cornerstone of modern clinical research, yet they present a significant data integration challenge. Information is typically bifurcated into structured tables (e.g., ICD codes, lab results) and unstructured text (e.g., physician notes). These sources frequently disagree; for instance, a physician might omit a symptom in their notes that is clearly implied by a patient's medication history.
Existing AI approaches often rely on "early fusion," where both modalities are concatenated into a single neural network. While powerful, these "black-box" models lack the interpretability required for clinical trust and often struggle with data sparsity or contradictions. This research proposes a transparent, logic-based alternative that respects medical causality while leveraging the predictive power of deep learning.
Methodology
The proposed framework integrates three distinct components to create a unified patient profile:
- The Bayesian Network (BN): This component processes structured tabular data. Its architecture is a Directed Acyclic Graph (DAG) defined by medical experts to represent causal relationships (e.g., "Pneumonia causes Dyspnea"). This allows the model to maintain a logical "prior" of medical knowledge.
- Neural Text Classifiers: Lightweight models utilizing BioLORD-2023 embeddings are trained to identify specific symptoms within clinical notes. These provide the "textual evidence" for the system.
- The Consistency Node ($C$): This is the framework's primary innovation. It acts as a probabilistic referee that learns the joint distribution of the BN's predictions and the text classifier's outputs relative to the ground truth.
Virtual Evidence and Conflict Resolution
To bridge the gap between the discrete logic of the BN and the continuous probabilities of the neural network, the researchers employ Virtual Evidence. This technique allows the BN to accept uncertain probabilities from the text classifier as inputs rather than requiring hard binary labels.
The consistency node ($C$) is specifically designed to handle scenarios where the text and table provide conflicting signals. By marginalizing over the latent states of both the BN and the text classifier, the model can determine which source is more likely to be correct in a given context.
Experimental Setup and Datasets
The study utilizes the SimSUM dataset, a simulated benchmark comprising 10,000 artificial patient records. Simulated data was chosen because real-world EHR benchmarks (like MIMIC-III) often lack a definitive "ground truth" for symptoms, making it difficult to measure a model's ability to resolve contradictions. In SimSUM, the underlying data-generating process is a known Bayesian Network, providing a perfect gold standard for evaluation.
Key Results and Insights
- Superior Calibration: The consistency node significantly improved the Brier score, a metric measuring the accuracy of probabilistic predictions. The model was less prone to overconfidence, particularly when textual evidence was ambiguous or missing.
- Robustness to Data Shifts: In "masking" experiments where symptom mentions were randomly deleted from clinical notes, the hybrid model maintained high performance. While text-only models failed, the BN acted as a safety net, inferring missing symptoms from the tabular data (e.g., inferring Dyspnea from a Pneumonia diagnosis).
- Performance Gains: The proposed V-C-BN-text model consistently outperformed early-fusion baselines. For complex symptoms like "Pain," the hybrid approach achieved an improvement of up to 2.13% in Average Precision over the best neural baseline.
- Data Efficiency: The method proved most effective at moderate training sizes (600–2000 samples), where the BN's encoded medical logic compensates for the neural network's lack of extensive textual exposure.
Limitations and Future Work
Despite its success, the model relies on an expert-defined DAG, which can be difficult to construct for highly complex or rare diseases. Furthermore, while SimSUM provides a rigorous testbed, future validation on real-world datasets like MIMIC-IV is necessary to test the model against the unpredictable noise of human-written clinical notes. Future iterations may also explore more scalable architectures to handle hundreds of symptoms simultaneously while preserving the interpretability of the Bayesian framework.
Summary updated