Editor’s introduction
The study focuses on improving treatment policy learning from multimodal electronic health records that include both structured data and clinical text. Researchers developed AACE, a method that uses expert annotations during training to adjust for confounding factors, then applies treatment benefit predictions using only the multimodal data at inference. The method outperforms both risk-based and representation-based causal models on synthetic, semi-synthetic, and real-world datasets. On the SynSum benchmark, AACE consistently achieves better results across all training sizes, showing superior performance in identifying patients with the highest treatment benefit. In real-world data, different methods lead to significantly different patient prioritizations, highlighting the impact of modeling choices. The evidence shows that AACE is effective when given suitable supervision, and remains stable under moderately imperfect annotations or representations.
Introduction
Machine learning (ML) is increasingly being used in healthcare to support clinical decision-making. A central problem in this context is learning from observational data which patients should receive treatment, supporting more targeted and efficient allocation of clinical resources. Electronic health records (EHRs) are widely available in modern healthcare systems and capture rich, patient-specific information, making them well suited for learning data-driven treatment policies. However, these records are typically multimodal, combining tabular data and clinical text. In this work, we study how to learn effective and reliable treatment policies from such multimodal EHR data.
One strategy to tackle this problem is to directly estimate treatment effects and prioritize patients with the largest expected benefit. By modeling how outcomes change under different treatment assignments, this strategy aligns the learning objective with the goal of making well-targeted treatment decisions. However, existing estimators are designed for tabular covariates under causal identification assumptions, such as unconfoundedness. These assumptions can be difficult to justify in multimodal EHRs, where patient information is distributed across tabular data and clinical text. A pragmatic alternative is therefore to apply causal estimators directly to representations of the multimodal data, implicitly assuming that they are sufficient for confounding adjustment. However, when relevant confounding information is missing from these representations, this leads to biased treatment effect estimates.
Proposed Method
We extend the causal strategy to the multimodal setting with an annotation-assisted approach, which we refer to as AACE (Annotation-Assisted Coarsened Effects). The method builds on the doubly robust learner to estimate coarsened treatment effects, which quantify the expected treatment benefit given the information contained in the multimodal representations. When relevant confounders are expressed in clinical text, but not entirely preserved in these representations, reliable treatment effect estimation requires additional training-time covariates that are sufficient for confounding adjustment. In AACE, expert-provided annotations serve as a pragmatic way to obtain such covariates during training. At inference time, the model relies only on the multimodal representations to assign treatment.
Main Results
Our experiments show that the proposed method can learn effective treatment policies from multimodal EHR data given suitable supervision. On synthetic and semi-synthetic benchmarks, AACE outperforms both risk-based and representation-based causal baselines. Additional robustness analyses show that the method remains effective under moderately imperfect annotations and representations. On real-world clinical data, the different methods produce substantially different treatment assignments, showing that the choice of method directly affects which patients are prioritized for treatment.
Generalizable Insights about Machine Learning in the Context of Healthcare
Our findings suggest several broader lessons for machine learning in healthcare. In multimodal settings, predictive models of baseline risk are not necessarily appropriate for treatment assignment, because risk and treatment benefit do not necessarily align. At the same time, directly applying causal estimators to learned representations can be problematic when those representations do not capture all relevant confounders, leading to biased effect estimates. Expert-provided annotations offer a practical way to support confounding adjustment during training, helping causal methods better match the realities of multimodal clinical data. More broadly, the choice of modeling strategy can directly affect which patients are prioritized for treatment, making the method choice matter in practice.
Causal Treatment Policies
Causal strategies learn treatment policies by modeling how outcomes would change under different treatment assignments. Within this framework, two main approaches have emerged. First, in direct policy learning, the treatment policy is learned directly by optimizing an empirical estimate of the policy value. Second, in CATE-based policy learning, the conditional average treatment effect (CATE) is estimated first, and individuals whose estimated benefit exceeds a threshold are treated. We focus on this latter family because it forms the basis of our proposed method.
There is a rich literature on estimating the CATE from observational data. Existing machine learning models have been adapted for this purpose, including Gaussian processes, random forests, and generative adversarial networks. More recently, meta-learners have gained popularity as general-purpose procedures for CATE estimation that can be instantiated with standard supervised learning models. In their standard form, however, these estimators are typically developed for tabular covariates that are directly observed, and satisfy the above assumptions (1.1 – 1.3). In multimodal clinical data, these assumptions are difficult to satisfy in practice, because relevant confounding information may be distributed across tabular variables and clinical text, or may be only imperfectly preserved in the data representations.
Representation-Based CATE Estimation
Several authors have proposed neural network architectures that learn intermediate representations of tabular covariates for CATE estimation under the standard causal inference assumptions. Neural architectures such as TARNet learn a shared representation of the covariates and use treatment-specific heads to estimate the potential outcomes. DragonNet extends this design with an additional head for the propensity score, while subsequent work has explored broader architectural variants and inductive biases for representation-based treatment effect estimation. However, when these learned representations fail to preserve relevant confounding information, the resulting treatment effect estimates can be biased.
Recent work has also studied treatment effect estimation from high-dimensional and multimodal data, particularly text, and more recently images, and combinations of both. In these settings, the learned representations are typically assumed to be sufficient for confounding adjustment. In contrast, we argue that this assumption can be hard to satisfy in multimodal EHRs, and instead propose annotation-assisted learning as a more practical alternative. This is closely related to learning with privileged information, where richer variables are available during training than at inference. AACE applies this idea to multimodal confounding, using expert annotations for confounding adjustment before learning treatment effects over inference-time representations.
Risk-Based Treatment Policies
This strategy is particularly appealing in the multimodal setting, because it does not rely on causal identification assumptions, and predictive accuracy often improves with richer data. For instance, clinical outcome prediction can improve substantially when incorporating the multiple modalities in electronic health records. However, while such models may predict outcomes well, our goal is to learn effective treatment policies rather than to optimize predictive accuracy alone.
Annotation-Assisted Confounding Adjustment
Which covariates need to be annotated is application-dependent and should be guided by domain expertise. We therefore deliberately do not prescribe a fixed annotation protocol. In practice, such annotations may be obtained through a one-time annotation effort on top of routine clinical documentation, or through retrospective expert review. Appendix A provides a concrete example of how such annotations may be obtained in practice.
Treatment Policies Based on Coarsened Effects
Thus, representation-based coarsening can distort effect values without affecting treatment assignment, as long as no individuals are swapped across the treatment decision boundary. A proof is given in Appendix B. In practice, the condition of Proposition 1 cannot be verified directly, since the true treatment effects are unknown, much like the standard causal identification assumptions cannot be verified from observational data alone (Assumptions 1.1 – 1.3). However, if the annotated covariates can be recovered reasonably well from the representations in the training data, this is a strong indication that the coarsening bias is limited and unlikely to alter treatment decisions.
SynSum
The fully synthetic SynSum dataset consists of 10,000 medical records with tabular variables and free-text clinical notes. The notes are generated with an LLM and describe patient symptoms such as fever, cough, and pain, which act as text-based confounders and influence both treatment and outcome. We generate the treatments and outcomes such that confounding is substantial and baseline risk is only moderately aligned with treatment benefit. Expert annotations are simulated using the true symptom values used to generate the text, and we additionally study how performance changes when these annotations are imperfect. This results in a controlled multimodal EHR benchmark with known ground-truth treatment effects.
MIMIC-Syn
The semi-synthetic MIMIC-Syn benchmark is derived from the publicly available MIMIC-III database of intensive care EHRs. Following, we retain the real clinical notes and demographic variables to construct the multimodal EHRs. We then generate treatments and outcomes using cardiovascular diagnoses, age, and sex. The diagnosis indicators act as text-based confounders and influence both treatment and outcome, while being only implicitly expressed in the clinical text. Expert annotations are simulated using these diagnosis indicators. This results in a semi-synthetic multimodal EHR benchmark with known ground-truth treatment effects and realistic covariate distributions.
MIMIC-Real
The MIMIC-Real dataset was also derived from MIMIC-III. Each multimodal EHR consists of demographic variables and clinical notes recorded prior to treatment. The treatment corresponds to antibiotic administration during ICU admission, and the outcome is in-hospital mortality. Vital-sign measurements are used as additional training-time covariates, as they plausibly influence both treatment and outcomes. Since this is an observational dataset, the required unconfoundedness assumption cannot be verified, and ground-truth effects are unknown. We therefore cannot use MIMIC-Real to evaluate which policy is best, and instead use it only to qualitatively compare the treatment assignments of the different methods in a real-world setting. The goal of this experiment is therefore to study how treatment decisions differ in practice, rather than to determine which policy is optimal.
Baselines
We compare AACE to two standard strategies for treatment policy learning from multimodal EHR data. First, we consider risk-based models, which prioritize patients based on predicted baseline risk. Second, we consider representation-based causal models, which estimate treatment effects directly from the multimodal representations, implicitly assuming that these representations are sufficient for confounding adjustment. For this class, we apply standard neural CATE estimators, namely TARNet, DragonNet, and DR-learner, directly to the multimodal representations. All methods use the same frozen ModernBERT-based multimodal representations as input for fair comparison.
Annotation Quality
We next assess the robustness of AACE to imperfect annotations. We consider three failure modes that may arise in practice: (i) noisy or incorrect annotations of relevant confounders, simulated by replacing annotations with random values drawn from the empirical covariate distribution, (ii) missing relevant confounders, simulated by removing annotated confounders before training, and (iii) irrelevant annotations, simulated by adding variables to the annotations that are unrelated to the true confounding structure. Tables 3–5 show that noisy annotations and missing relevant confounders lead to gradual performance degradation, whereas adding irrelevant variables has little effect. Overall, these results indicate that AACE mainly depends on capturing the relevant confounding signal, while being relatively insensitive to irrelevant annotations.
Representation Quality
We next assess robustness to the quality and choice of the multimodal representations. First, we degrade representation quality by randomly masking a fraction of the embedding dimensions. Second, we replace the original ModernBERT embeddings with Gemma embeddings. Tables 6 and 7 show that (i) AACE degrades gradually under representation masking, and (ii) the relative ordering of methods remains largely unchanged with Gemma embeddings. This suggests that the benefits of AACE are not specific to the original encoder, but depend on the representations retaining relevant confounding signal.
Empirical Findings
Across synthetic and semi-synthetic benchmarks, AACE outperforms both risk-based and representation-based causal baselines, and remains robust to moderately imperfect annotations and representations. On real-world EHR data, the different methods induce substantially different treatment assignments, suggesting that the choice of modeling strategy can directly affect which patients are prioritized for treatment. Together, these results show that targeted training-time supervision can substantially improve treatment policy learning in multimodal settings where representations alone are insufficient for confounding adjustment.
Technical Implications
We study an important yet understudied setting in causal inference: multimodal data, where learned representations may not be sufficient for confounding adjustment. In that case, treatment effects are not identified from the observed data. Applying causal estimators directly to the representations may still perform well empirically, but the resulting treatment effect estimates remain biased, and the magnitude of this bias is generally unknown. In this setting, confounding must be addressed using additional training-time covariates that are sufficient for confounding adjustment. We argue that expert annotations offer a practical way to obtain such covariates.
Clinical Relevance
Electronic health records are a natural choice for learning data-driven treatment policies, because they are widely available and contain rich patient-specific information. However, learning effective and reliable treatment policies requires proper confounding adjustment, which is non-trivial in multimodal EHRs where relevant confounders may be distributed across tabular data and text. With AACE, we argue that expert knowledge remains important in this setting. By using expert-provided annotations during training, AACE offers a practical way to support confounding adjustment while still operating on standard multimodal EHR inputs at inference. This makes the approach compatible with standard clinical workflows, since the expert input is required only during model development, while routine EHR data are used for deployment. As with any clinical decision-support model, applying AACE in a new setting requires careful evaluation of the learned policy in the target population and clinical context.
Conclusion
In this work, we study treatment policy learning from multimodal electronic health records (EHRs), where confounding information is distributed across tabular data and clinical text. We proposed AACE, an annotation-assisted method that uses expert-provided annotations during training to support confounding adjustment, while relying only on multimodal representations at inference time. Across synthetic and semi-synthetic benchmarks, AACE outperforms both risk-based and representation-based causal baselines, while remaining robust to moderately imperfect annotations and representations. On real-world data, we find that the choice of modeling strategy substantially affects the resulting treatment assignments, highlighting that method choice matters in practice. Together, these results suggest that incorporating expert knowledge during training is a promising direction for improving treatment policy learning from multimodal healthcare data.
Problem Setting
SynSum is a dataset that simulates primary-care encounters for patients with respiratory diseases (discussed in detail in Appendix C). Each simulated record contains both tabular variables and a free-text clinical note: background information, such as demographics, is recorded in structured form, while symptom variables such as fever, dyspnea, and cough are expressed in the note. In this setting, the treatment decision under study is antibiotics prescription, which is influenced by the symptoms that also affect patient outcomes, and therefore requires adjustment for them during effect estimation.
Text Generation
Each record’s clinical note is generated with GPT-4 so that the patient’s symptom profile is reflected in natural language. The prompts are designed to encourage clinical realism, coherence, and stylistic variation, resembling documentation written at the time of consultation. In the final EHR, these symptoms are not included as structured variables, but are expressed implicitly in the free-text note. Each simulated EHR therefore consists of tabular background variables (e.g., smoking status, chronic conditions, and season) together with a clinical note describing the patient’s symptoms.
Confounding Annotations
AACE assumes that domain experts can provide annotations of confounding information expressed in the clinical text. In SynSum, this process is simulated using the ground-truth symptom variables (e.g., fever, cough, and dyspnea), which influence both treatment assignment and outcome. This yields a controlled setting in which confounding adjustment is possible during training through the annotations, while inference relies only on the multimodal representations. In addition, we use this benchmark later to study how AACE degrades as annotation quality decreases.
Data Preprocessing
We follow the preprocessing pipeline of to construct patient-level records from MIMIC-III. Starting from all clinical notes, we remove entries with missing hospital admission IDs and exclude discharge summaries. For each patient, identified by a unique subject ID, we retain only the earliest hospital admission and concatenate all associated clinical notes into a single text sequence. We additionally extract the demographic variables age and sex, which serve as the tabular covariates in the EHR. Patients younger than 18 or older than 100 years are excluded. Each resulting record therefore consists of a single aggregated clinical note and a small set of demographic variables, forming a multimodal EHR with real-world patient data. Other structured variables from MIMIC-III are used later in the data-generating process to construct treatment and outcome variables, but are not included directly in the final EHR.
MIMIC-Real
We construct a real-world observational dataset from the MIMIC-III database to examine whether annotation-assisted, risk-based, and representation-based causal treatment strategies diverge in practice. In this setting, both the tabular variables and the clinical text notes of the electronic health records (EHRs) are derived directly from real-world patient data. The treatment (antibiotic administration) and outcome (in-hospital mortality) are likewise observed rather than generated. This dataset complements the synthetic and semi-synthetic analyses by extending the comparison of risk-based and causal policies to fully real-world clinical data. Because ground-truth counterfactuals are unknown, we cannot determine which policy is best and restrict the analysis to a qualitative comparison of the treatment assignments induced by the different methods.
Extended Robustness Analysis
We complement the robustness analyses in the main text by reporting additional metrics beyond AUTOC. We first report extended results for noisy annotations, missing annotated confounders, and added irrelevant annotation variables (Tables 12–14). We then report extended results for representation masking and the alternative encoder experiment (Tables 15 and 16). Overall, these results support the main finding that AACE remains effective under moderate degradation of annotation and representation quality.


