[Paper Review] Bayesian Double Feature Allocation for Phenotyping with Electronic Health Records
This paper proposes a Bayesian double feature allocation (DFA) model for unsupervised phenotyping in electronic health records (EHR), simultaneously allocating patients and symptoms to latent diseases via a novel extension of the Indian buffet process. The method integrates prior knowledge of known diagnoses and symptom-disease associations, enabling interpretable, uncertainty-aware inference of latent diseases—demonstrated on Chinese EHR data to identify 10 biologically plausible latent conditions including lipid disorders, anemia, and infections.
We propose a categorical matrix factorization method to infer latent diseases from electronic health records (EHR) data in an unsupervised manner. A latent disease is defined as an unknown biological aberration that causes a set of common symptoms for a group of patients. The proposed approach is based on a novel double feature allocation model which simultaneously allocates features to the rows and the columns of a categorical matrix. Using a Bayesian approach, available prior information on known diseases greatly improves identifiability and interpretability of latent diseases. This includes known diagnoses for patients and known association of diseases with symptoms. We validate the proposed approach by simulation studies including mis-specified models and comparison with sparse latent factor models. In the application to Chinese EHR data, we find interesting results, some of which agree with related clinical and medical knowledge.
Motivation & Objective
- To develop an unsupervised method for identifying latent diseases from EHR data that are not explicitly recorded but manifest through shared symptom patterns.
- To address the limitation of traditional clustering and factorization methods by allowing overlapping, multi-to-many relationships between patients, symptoms, and latent diseases.
- To incorporate prior knowledge—such as known diagnoses and symptom-disease associations—into a Bayesian framework to improve identifiability and interpretability of latent disease structures.
- To enable patient-level inference by estimating individual disease probabilities, supporting clinical prioritization and decision-making.
- To provide uncertainty quantification through posterior probabilities, unlike frequentist alternatives such as EM-based sparse latent factor models.
Proposed method
- Proposes a double feature allocation (DFA) model that jointly allocates features (latent diseases) to both rows (patients) and columns (symptoms) of a categorical EHR matrix.
- Extends the Indian buffet process (IBP) to allow for overlapping, non-exclusive disease assignments to patients and symptoms, with an unknown and flexible number of latent diseases.
- Uses a hierarchical Bayesian model where prior knowledge on known diagnoses and symptom-disease links is encoded as fixed edges in the network, improving model identifiability.
- Employs Markov chain Monte Carlo (MCMC) for posterior inference, enabling estimation of posterior probabilities for symptom-disease relationships (reflected in line widths in visualizations).
- Applies discretization to continuous lab values (e.g., normal/abnormal) to incorporate clinical reference ranges and reduce sensitivity to noise and outliers.
- Handles missing data under a missing completely at random (MCAR) assumption by omitting missing entries from the likelihood, leveraging standard matrix completion principles.
Experimental results
Research questions
- RQ1Can a Bayesian double feature allocation model effectively infer latent diseases from EHR data without relying on labeled diagnoses?
- RQ2How does incorporating prior knowledge of known diagnoses and symptom-disease associations improve the interpretability and identifiability of latent disease structures?
- RQ3To what extent does the DFA model outperform or complement existing methods like sparse latent factor models (SLFM) and graphical models in capturing overlapping, multi-to-many patient-disease and symptom-disease relationships?
- RQ4How well does the model perform under model misspecification or noisy data conditions, particularly in real-world EHR settings?
- RQ5Can the model provide meaningful patient-level disease probability estimates with uncertainty quantification, enabling clinical prioritization?
Key findings
- The DFA model successfully identified 10 latent diseases in Chinese EHR data, including lipid disorders, thrombocytopenia, polycythemia, anemia, bacterial and viral infections, allergy, and malnutrition, many of which align with clinical knowledge.
- The prevalence of damaged kidney function inferred by the model was comparable to, but slightly higher than, the regional average, indicating plausible real-world alignment.
- Posterior probabilities of symptom-disease relationships were visualized with line widths, providing uncertainty-aware inference—e.g., stronger associations were indicated by thicker lines—offering a more nuanced interpretation than point estimates.
- The model outperformed SLFM in patient-level inference, as SLFM does not support individual patient-disease probability estimation, a key advantage for clinical applications.
- A consensus Monte Carlo algorithm enabled scalable inference on larger datasets (n=15,000) in under 5 minutes, with estimation performance comparable to MCMC on smaller datasets.
- Discretization of continuous lab values improved robustness to noise and outliers while incorporating clinical reference ranges, though it may result in some information loss if categories are too few.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.