Deployment-Centered Evaluation: Predicting Query-Level Rejection Risk in a Clinical LLM System

Alyssa Unell, Miguel Fuentes, Brenna Li, Bridget Lin, Meena Jagadeesan, Sanmi Koyejo, Nigam ShaharXiv 2026

TL;DR

Instead of evaluating clinical LLMs using static benchmarks of "correctness," this paper introduces a deployment-centered approach that predicts whether a clinician will reject an LLM's response before it is even generated. By leveraging deployment-specific metadata—such as the provider's role and department—alongside query text, their lightweight classifier achieves an AUROC of 0.719, enabling proactive system abstention or targeted guardrails.

What Problem Does This Paper Address?

When large language models (LLMs) are deployed in real-world clinical settings, traditional evaluation metrics fall short. Standard benchmarks typically measure objective "correctness" on static datasets. However, in live hospital environments, a response can be factually accurate but still completely useless to a clinician if it lacks the appropriate style, depth, or context.

Furthermore, static benchmarks evaluate aggregate performance retrospectively, failing to flag problematic individual queries in real time. To bridge this gap, the authors tackle the challenge of predicting query-level user rejection in a live, electronic health record (EHR)-embedded LLM system where user feedback is sparse but highly reflective of actual clinical utility.

Methods

The authors developed a pre-response rejection prediction model. Rather than analyzing the LLM's output after generation (which incurs latency and API costs), the model estimates rejection risk using only information available before generation.

Figure 1: Overview of clinically deployed system. Simplified system view showing the progression from 1 user input, through 2 feature-based prediction, to 3 the continuous retraining loop based on real-world feedback.

As shown in Figure 1, the pipeline consists of three main phases:

  1. Feature Aggregation: The system extracts text embeddings of the user query (using OpenAI's text-embedding-3-large) and pairs them with deployment metadata.
  2. Classification: A lightweight logistic regression model (optimized via a SAGA solver with elastic net regularization) outputs a predicted acceptance/rejection score.
  3. Continuous Retraining: The system dynamically updates the model on a weekly basis using a rolling training window to adapt to shifting clinical usage patterns.

Datasets

The study was conducted using real-world interaction logs from an LLM system embedded within the EHR of an academic medical center between September 2025 and April 2026.

  • Total Interactions: 74,729 logs.
  • Annotated Dataset: 878 unique query-annotation pairs that received explicit binary feedback ("thumbs up" for acceptance, "thumbs down" for rejection).
  • Data Splits: The first 8 weeks served as the initial training set (283 queries), followed by a 4-week validation set (162 queries), and a 19-week prospective test set.

Note: Due to Protected Health Information (PHI) constraints, the dataset cannot be publicly released.

Key Insights and Ideas

  • Metadata Trumps Text Alone: The core conceptual breakthrough is that who is asking and where they are asking matters just as much as what is being asked. Incorporating deployment context (provider type, department, and the specific LLM being routed to) yielded a 16.3% relative improvement in AUROC compared to using query text embeddings alone.
  • Role-Dependent Expectations: Rejection is highly subjective. For example, within the cardiology department, physicians rejected 9 out of 10 responses, frequently citing omissions of granular clinical details (like pacemaker specifics). Conversely, nurse practitioners in the same department rejected only 1 out of 40 responses, finding high-level summaries sufficient for their workflows.
  • Departmental Variations: Rejection rates varied wildly by specialty. Clinicians in Case Management (65.4% rejection) and Cancer Clinics (56.7%) were much harder to satisfy than those in Cardiovascular Medicine (3.6%) or Neurology (5.0%).

Key Results

The prospective evaluation over 4.5 months demonstrated strong, stable predictive power:

  • Overall Performance: The "Best Model" (combining embeddings, provider type, department, and model type) achieved an AUROC of 0.719, significantly outperforming an LLM-as-judge baseline (GPT-4), which hovered near random guess territory (~0.52–0.53 AUROC).
Figure 2: Our model results in 0.719 AUROC. Models are trained on historical data, validated for model selection, and evaluated on held-out future data.
  • Downstream Utility: By adjusting the decision threshold ($\F_\beta$ score), the model successfully serviced two distinct deployment strategies without retraining:
  • Abstention (High Precision): At $\beta = 0.12$, the model achieved 0.88 precision, allowing the system to safely withhold responses it was highly confident would be rejected, minimizing clinician verification fatigue.
  • Guardrail Activation (High Recall): At $\beta = 4.0$, the model achieved 0.99 recall, catching virtually all rejected outputs to trigger secondary verification pipelines or user warnings.

Limitations and Future Work

The primary limitation of this study is data sparsity; only 1.6% of total clinical interactions received explicit thumbs-up/down feedback. This low response rate introduces potential selection bias, as clinicians may only take the time to provide feedback when they have strong positive or negative reactions.

Additionally, because the data originates from a single academic medical center, the findings may reflect institutional quirks in EHR configuration or clinician composition. The authors suggest that future work should explore active feedback elicitation strategies and semi-supervised methods that leverage the massive volume of unlabeled user queries.

Summary updated

BibTeX
@misc{unell2026deployment,
  author = {Alyssa Unell and Miguel Fuentes and Brenna Li and Bridget Lin and Meena Jagadeesan and Sanmi Koyejo and Nigam Shah},
  title = {{Deployment-Centered Evaluation: Predicting Query-Level Rejection Risk in a Clinical LLM System}},
  year = {2026},
  eprint = {2606.12702},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.12702},
}

Loading related content...

Figure