Building Scalable LLM Evaluation Systems for Healthcare Prior Authorization

anterior · Healthcare · 2023 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.5 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Healthcare prior authorization quality assurance

Anterior needed to evaluate prior-authorization AI outputs in real time for mission-critical healthcare decisions, while human-review sampling did not scale with production volume and new edge cases appeared only after deployment.

Constraints:

Architecture

Anterior built a real-time reference-free evaluation architecture around its prior-authorization LLM pipeline. Medical records, guidelines, and questions flow into the primary pipeline, which emits an approval or escalation decision. A separate reference-free evaluator, potentially LLM-as-judge or logic-based confidence estimation, scores confidence before human labels exist and predicts the correct output. Confidence combines with contextual factors such as procedure cost, bias risk, and historical error rates to prioritize cases for human review. Clinical reviewers use the Scalp dashboard to inspect records and guidelines, label incorrect outputs, and write critiques; critiques generate ground truths for offline datasets and improve both the primary pipeline and the evaluator.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  medical-records-and-guidelines[Medical records and guidelines] --> primary-llm-pipeline[Primary LLM pipeline]
  medical-records-and-guidelines --> scalp-review-dashboard[Scalp review dashboard]
  primary-llm-pipeline --> reference-free-evaluator[Reference free evaluator]
  primary-llm-pipeline --> customer-response[Customer response]
  reference-free-evaluator --> confidence-grading[Confidence grading]
  reference-free-evaluator --> predicted-correct-output[Predicted correct output]
  confidence-grading --> dynamic-review-prioritizer[Dynamic review prioritizer]
  confidence-grading --> production-gate[Production gate]
  predicted-correct-output --> alignment-monitor[Alignment monitor]
  dynamic-review-prioritizer --> scalp-review-dashboard
  scalp-review-dashboard --> ground-truth-generator[Ground truth generator]
  scalp-review-dashboard --> alignment-monitor
  ground-truth-generator --> offline-evaluation-datasets[Offline evaluation datasets]
  offline-evaluation-datasets --> primary-llm-pipeline
  offline-evaluation-datasets --> reference-free-evaluator
  alignment-monitor --> reference-free-evaluator
  production-gate --> customer-response
  production-gate --> fallback-model-pipeline[Fallback model pipeline]
  production-gate --> scalp-review-dashboard
  production-gate --> customer-review-dashboard[Customer review dashboard]
  fallback-model-pipeline --> customer-response
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Medical records and guidelines Clinical source context and criteria used to answer prior-authorization questions. Primary LLM pipeline, Scalp review dashboard
Primary LLM pipeline Produces approval or escalation outputs for treatment requests. Medical records and guidelines, Reference free evaluator, Customer response
Reference free evaluator Scores outputs before human labels exist using LLM-as-judge, confidence estimation, logic, or combinations. Primary LLM pipeline, Confidence grading, Predicted correct output, Dynamic review prioritizer
Confidence grading Grades how likely the primary output is to be correct, from high confidence to likely wrong. Reference free evaluator, Dynamic review prioritizer, Production gate
Predicted correct output Reference-free estimate of the right decision used for performance estimation and alignment checks. Reference free evaluator, Alignment monitor
Dynamic review prioritizer Combines confidence with contextual risk factors to decide which cases should receive human review first. Confidence grading, Scalp review dashboard
Scalp review dashboard Internal clinical review tool that surfaces context and captures labels and critiques efficiently. Medical records and guidelines, Dynamic review prioritizer, Ground truth generator
Ground truth generator Turns reviewer critiques into correct-answer descriptions for offline evaluation datasets. Scalp review dashboard, Offline evaluation datasets
Offline evaluation datasets Segmented gold-standard datasets used to track and iterate AI pipeline performance over time. Ground truth generator, Primary LLM pipeline, Reference free evaluator
Alignment monitor Compares reference-free predictions with human reviews to validate and improve the evaluator. Predicted correct output, Scalp review dashboard, Reference free evaluator
Production gate Routes high-confidence outputs to customers and lower-confidence cases to another model, internal review, or customer review. Confidence grading, Customer response, Fallback model pipeline, Scalp review dashboard, Customer review dashboard
Fallback model pipeline More expensive model path for cases that need further action. Production gate, Customer response
Customer review dashboard Customer-side review path for cases surfaced to the customer's own team. Production gate
Customer response Decision returned to customers when confidence and review gates permit it. Primary LLM pipeline, Production gate, Fallback model pipeline

Data flow

A medical decision request enters the primary LLM pipeline with records and guidelines, producing either approval or escalation for review. Before human labels exist, the reference-free evaluator scores the output, estimates confidence, and predicts the correct answer. The system uses those signals to estimate performance across all cases, compare evaluator outputs with human-reviewed cases, and prioritize the highest-risk cases for clinical review. Scalp reviewers see the medical record, guideline, question, and required context, label incorrect outputs, and write critiques. Those critiques generate ground truths for segmented offline datasets, which improve both the pipeline and the validator. In production, high-confidence cases can return directly to customers while low-confidence cases route to a more expensive model, internal clinician, or customer dashboard.

6 supporting quotes
“we have our inputs they go into our llm pipeline that we're evaluating and it gives some kind of outputs we then feed that output into an llm as judge along with a scoring system and this scoring system can be many different things it could be uh how helpful”transcript, stated
“inputs they go into our llm pipeline that we're evaluating and it gives some kind of outputs we then feed that output into an llm as judge along with a scoring system and this scoring system can be many different things it could be uh how helpful is the output how concise is the output”transcript, stated
“in our case at anterior we do have a binary output our generated output is either approval that we think this treatment should be approved or it's an escalation for review”transcript, stated
“we can take that we can put that into our reference free eval which could be an llm as judge but can also be other methods such as confidence estimation using logic based methods”transcript, stated
“we can take our confidence grading rather than our predicted outputs from our reference evals and we can combine those with contextual factors”transcript, stated
“we can ask our reviewers to add a critique saying why this is wrong and label it as Incorrect and then save that into our system”transcript, stated

Why this architecture

Anterior uses reference-free real-time evaluation because offline datasets and fixed human-review percentages cannot keep up with heterogeneous medical records at production scale. The evaluator lets the system estimate performance before review labels exist, focus scarce clinicians on the riskiest cases, and validate the validator against cases that do receive human review. The production gate then turns evaluation from retrospective reporting into an active safety mechanism.

4 supporting quotes
“relying only on offline evals is playing with fire um and the input space of medical records is huge there's very high heterogeneity”transcript, stated
“reference free also known as label free means that you evaluate before you know the true outcome I.E before you have done a human review”transcript, stated
“that enables the system to be real time it enables you to respond to issues immediately as they arise so we saw we had these two questions which cases should we review and how do we do on the cases that we couldn't do a human review on well a great starting”transcript, stated
“our reference free evals surface the cases and then our human review determines the accuracy and we can keep on doing this in a process that's often described as validating the validator”transcript, stated

Models used: Primary LLM pipeline for prior-authorization approval/escalation decisions · LLM-as-judge reference-free evaluator · Logic-based confidence estimation methods

Scale

Alternatives considered (roads not taken)

Review a fixed large percentage of all AI outputs

Rejected because: Human review needs grow linearly with case volume and quickly exceed available clinical staff.

“reviewing half of those means 500 human reviews per day and if every clinician on our team can do about 100 reviews per day that means we need five clinicians”transcript, stated
“we start doing 10,000 medical decisions a day to maintain the same percentage we would now have to do 5,000 human reviews every day”transcript, stated

Rely only on offline evaluation datasets

Rejected because: Offline datasets are downstream of delivered customer traffic and may include new edge cases only after damage has occurred.

“if you wait until New edge cases are represented in this data set which You're Building kind of Downstream of actually giving this to the customer it could be too late”transcript, stated
“Building kind of Downstream of actually giving this to the customer it could be too late so relying only on offline evals is playing with fire um and the input space of medical records is huge there's very high heterogeneity so at scale you're continually going to”transcript, stated

Treat reference-free evaluation as a standalone score

Rejected because: The evaluator itself must be validated against human reviews and improved over time.

“we can compare those outputs based on that we can compute an alignment and see how well is our system doing and how much can we trust it”transcript, stated
“validating the validator and over time the number of edge cases that we've never seen before get smaller and smaller and our ability to detect them improves”transcript, stated

Return every primary pipeline output directly

Rejected because: Low-confidence decisions need further action through a stronger model path, internal review, or customer review.

“depending on what the reference free eval output is we can either give it back to the customer because we're confident in the response that we're giving or we can decide to take a further action”transcript, stated
“this further action might be that we send it off to another llm pipeline perhaps with more expensive models it might be that we want to do a human internally and give it to an on call clinician to review it and then return it to the customer or it might be”transcript, stated

Optimize review quantity without custom reviewer tooling

Rejected because: Reviewer quality and efficient context access matter more than raw review volume.

“prioritize the quality of reviews over quantity and build your own tooling if that helps you to move faster this is how we built an evaluation system that gives real-time performance estimates enabling us to respond is accurate that can scale to meet demand”transcript, stated
“created internal tooling to make this as easy and effective as possible so this is our review dashboard which we've called scalp”transcript, stated

Patterns

llm-as-judge (evaluation)

Anterior feeds prior-authorization outputs into a separate evaluator with a scoring rubric to estimate correctness before human labels exist.

“we then feed that output into an llm as judge along with a scoring system”transcript, stated
“reference free also known as label free means that you evaluate before you know the true outcome”transcript, stated

confidence-thresholding (routing)

The reference-free evaluator produces confidence grades that convert into predicted outputs and determine whether cases need review or further action.

“we use it to give us a confidence grading how confident are we that our llm outputs from our actual pipeline here is correct”transcript, stated
“we can use that score and use a threshold to convert that into what the predicted correct output is”transcript, stated

human-in-the-loop-gate (safety)

Low-confidence or high-risk cases are routed to internal clinical reviewers or customer review dashboards instead of being returned automatically.

“we want to do a human internally and give it to an on call clinician to review it and then return it to the customer”transcript, stated
“surface it into the customer's review dashboard so that their team can review it”transcript, stated

eval-driven-development (quality)

Human critiques generate ground truths, offline datasets track segmented performance, and production reference-free evals improve both the product and evaluator.

“correct answer is so using that critique and the original answer we can then generate these ground truths and we can use those ground truths in offline evaluations which I'll talk about shortly but there's a problem with human reviews and it's the following let's say we've created an MVP we”transcript, stated
“don't just use review data to to audit your performance use it to build audit and improve your auditing system your evaluation system”transcript, stated

observability-tracing (operations)

The system estimates performance in real time across all processed cases and compares evaluator predictions against human-reviewed cases.

“predict the estimated performance on all of the cases real time as we're processing them”transcript, stated
“we can then see across all of these cases not just the ones that we're doing human reviews on how do we think we performed”transcript, stated

model-routing (routing)

Reference-free evaluation can route uncertain cases to a more expensive LLM pipeline before customer delivery.

“this further action might be that we send it off to another llm pipeline perhaps with more expensive models”transcript, stated

Tradeoffs

Use reference-free evaluation for live traffic

Chose Evaluate before human review labels exist over Wait for offline labeled datasets.

Rationale: Real-time estimates let Anterior respond before edge cases propagate through customer workflows.

“reference free also known as label free means that you evaluate before you know the true outcome I.E before you have done a human review”transcript, stated
“that enables the system to be real time it enables you to respond to issues immediately as they arise”transcript, stated

Prioritize review by risk

Chose Confidence grades plus procedure cost, bias risk, and historical error rates over Uniform random or fixed-percentage review.

Rationale: The same clinician capacity is more valuable when focused on cases with the highest expected risk of error.

“combine those with contextual factors things like the cost of procedure the risk of bias the previous error rates”transcript, stated
“identify the most relevant cases with the highest probability of error to then prioritize those for human review”transcript, stated

Route uncertain cases to further action

Chose Customer return only for confident responses; model, internal, or customer review for uncertain ones over Always returning the primary LLM output.

Rationale: The gate preserves efficiency for high-confidence cases while adding protection where the evaluator sees risk.

“we can either give it back to the customer because we're confident in the response that we're giving or we can decide to take a further action”transcript, stated
“this further action might be that we send it off to another llm pipeline perhaps with more expensive models”transcript, stated

Invest in expert clinical reviewers and custom tools

Chose Small expert team with Scalp dashboard over Ever-expanding reviewer headcount.

Rationale: High-quality reviewers with efficient tooling can produce critiques and ground truths that improve the whole system.

“the first thing that's enabled us to not do is to hire out an ever expanding team of expert contians to review these cases”transcript, stated
“prioritize the quality of reviews over quantity and build your own tooling if that helps you to move faster”transcript, stated

Use review data to improve the evaluator

Chose Build, audit, and improve the auditing system over Use review data only as a retrospective accuracy report.

Rationale: The feedback loop compounds: reference-free evals surface cases, human review validates them, and the evaluation system improves.

“reference free evals surface the cases and then our human review determines the accuracy and we can keep on doing this”transcript, stated
“don't just use review data to to audit your performance use it to build audit and improve your auditing system your evaluation system”transcript, stated

Gotchas (what bit them)

Rare medical nuance errors become major at production volume.

Root cause: An answer that sounds reasonable can still alter the medical meaning, such as confusing suspicious findings with a confirmed diagnosis.

Resolution: Use clinical review, reference-free evaluation, and prioritization to catch subtle high-risk cases.

“if I as a doctor say that something is suspicious I'm implying that the patient doesn't already have a confirmed diagnosis”transcript, stated
“this answer is actually wrong now this kind of mistake might happen every thousand cases or even every 10,000 cases”transcript, stated

Human-review percentages collapse economically as volume grows.

Root cause: Clinician review capacity scales linearly with case count.

Resolution: Use confidence and contextual risk to choose which cases receive scarce human review.

“maintaining the same ratio we now need 50 clinicians and that's bigger than our entire companies at the moment”transcript, stated
“per day which is still a very conservative number again we're back at 5,000 human reviews and 50 clinicians so the problem here is clear this just doesn't scale and we're left with these two questions which which is firstly which cases should we review and secondly of all the cases that we didn't”transcript, stated

Offline evals can miss live edge cases until after customers are affected.

Root cause: Medical-record input space is highly heterogeneous and offline datasets are built downstream of customer delivery.

Resolution: Evaluate on live production data with reference-free methods and respond immediately.

“if you wait until New edge cases are represented in this data set which You're Building kind of Downstream of actually giving this to the customer it could be too late”transcript, stated
“evaluating on live production data don't rely on offline evals identify problems immediately so that you can respond to them quickly”transcript, stated

The evaluator can become another unvalidated source of error.

Root cause: Reference-free scores are predictions and need calibration against human-reviewed cases.

Resolution: Compute AI-human alignment and validate the validator as part of the loop.

“we can compare those outputs based on that we can compute an alignment and see how well is our system doing and how much can we trust it”transcript, stated
“validating the validator and over time the number of edge cases that we've never seen before get smaller and smaller”transcript, stated

Reviewer throughput depends heavily on interface quality.

Root cause: Clinical reviewers need records, guidelines, questions, and required context available without friction.

Resolution: Build custom review tooling that surfaces context and captures critiques efficiently.

“all of the context that our reviewer needs surfaced in an accessible way without any scrolling required”transcript, stated
“this empowers our reviewers to review a high number of questions very quickly”transcript, stated

Evaluation

Anterior evaluates its production prior-authorization system through real-time reference-free confidence grading, predicted correct outputs, human-review alignment checks, segmented offline datasets built from reviewer critiques, and production routing outcomes.

Metrics: Confidence grade from high confidence correct to likely wrong · Predicted correct output · Estimated performance across all cases · AI-to-human alignment · Human-to-human alignment comparison · F1 score on prior authorization · Customer SLA response time

4 supporting quotes
“give us a confidence grading how confident are we that our llm outputs from our actual pipeline here is correct”transcript, stated
“we can use that score and use a threshold to convert that into what the predicted correct output is”transcript, stated
“we can compute an alignment and see how well is our system doing and how much can we trust it”transcript, stated
“performance at prior authorization with an F1 score of nearly 96% in a recent study”transcript, stated

Outcomes

The reference-free evaluation architecture is explicitly motivated by scaling from MVP to 100,000+ daily medical decisions without needing 50 clinicians for even a 5% review rate.

5 supporting quotes
“we've scaled to now serve insurance providers covering 50 million American lives”transcript, stated
“we're able to review tens of thousands of cases with a review team of less than 10 clinical experts”transcript, stated
“very strong alignment after several iterations between our Ai and human reviews to a level that is comparable with the alignment we see between our human reviewers”transcript, stated
“Ai and human reviews to a level that is comparable with the alignment we see between our human reviewers and we're now able to quickly identify and respond to errors so using this example from earlier we can quickly go from this incorrect answer to a correct answer this means we're able to”transcript, stated
“ultimate impact of this is that we now have provably industry-leading performance at prior authorization with an F1 score of nearly 96% in a recent study and this has enabled us to gain customer trust and Beyond even customer trust this has led customers to love our product in a recent case”transcript, stated