APRIL: Annotations for Policy evaluation with Reliable Inference from LLMs
Aishwarya Mandyam, Kalyani Limaye, Barbara E. Engelhardt, Emily Alsentzer
TL;DR
This work tackles off-policy evaluation (OPE) for clinical contextual bandits by addressing dataset coverage gaps with scalable counterfactual annotations generated by large language models (LLMs). The authors demonstrate that LLMs can predict downstream lab values relevant to potassium and sodium repletion from MIMIC-IV data, and they show that incorporating LLM-generated counterfactuals into a direct-method OPE estimator ($\mathrm{DM}^+$) substantially improves RMSE under distribution shifts, with diminishing returns beyond a certain annotation count. An entropy-based stopping criterion $H(A)$ is proposed to identify when additional annotations cease to be useful. The results suggest a practical, scalable pathway to safer deployment of clinical decision policies by enriching behavior data with high-quality, model-generated counterfactuals while monitoring coverage via predictive entropy.
Abstract
Off-policy evaluation (OPE) estimates the value of a contextual bandit policy prior to deployment. As such, OPE plays a critical role in ensuring safety in high-stakes domains such as healthcare. However, standard OPE approaches are limited by the size and coverage of the behavior dataset. While previous work has explored using expert-labeled counterfactual annotations to enhance dataset coverage, obtaining such annotations is expensive, limiting the scalability of prior approaches. We propose leveraging large language models (LLMs) to generate counterfactual annotations for OPE in medical domains. Our method uses domain knowledge to guide LLMs in predicting how key clinical features evolve under alternate treatments. These predicted features can then be transformed using known reward functions to create counterfactual annotations. We first evaluate the ability of several LLMs to predict clinical features across two patient subsets in MIMIC-IV, finding that state-of-the-art LLMs achieve comparable performance. Building on this capacity to predict clinical features, we generate LLM-based counterfactual annotations and incorporate them into an OPE estimator. Our empirical results analyze the benefits of counterfactual annotations under varying degrees of shift between the behavior and target policies. We find that in most cases, the LLM-based counterfactual annotations significantly improve OPE estimates up to a point. We provide an entropy-based metric to identify when additional annotations cease to be useful. Our results demonstrate that LLM-based counterfactual annotations offer a scalable approach for addressing coverage limitations in healthcare datasets, enabling safer deployment of decision-making policies in clinical settings.
