LLM-Powered Search Evaluation System for Automated Result Quality Assessment

doordash · E-commerce · 2025 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.6 (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: Search-result page relevance evaluation

DoorDash needed to evaluate search relevance at the whole-page level across diverse verticals without being bottlenecked by slow, inconsistent, and expensive human annotation.

Constraints:

Architecture

DoorDash built AutoEval, a human-in-the-loop LLM evaluation system that samples real user queries, constructs structured prompts for query-result tasks, runs base or fine-tuned LLM inference, aggregates judgments into a Whole-Page Relevance score, and audits sampled outputs with external raters and internal experts. Fine-tuned GPT-4o models and expert-labeled golden datasets improve alignment, while WPR supports offline feature evaluation and daily production relevance monitoring.

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

flowchart LR
  Sampler["Query sampler"] --> Prompt["Prompt constructor"]
  Prompt --> Judge["LLM judge"]
  Judge --> WPR["WPR aggregator"]
  WPR --> Eval["Offline and production evaluation"]
  Eval --> Audit["Human audit loop"]
  Audit --> Golden["Golden dataset"]
  Golden --> Judge
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Query sampler Samples real user queries from live traffic by intent, frequency, geography, and daypart. Prompt constructor
Prompt constructor Builds task-specific structured prompts with query intent, document type, metadata, guidelines, and rubrics. Query sampler, LLM judge
LLM judge Base or fine-tuned model that returns structured relevance judgments for query-result pairs. Prompt constructor, WPR aggregator
WPR aggregator Rolls individual judgments into page-level Whole-Page Relevance scores. LLM judge, Offline and production evaluation
Offline and production evaluation Uses WPR for offline feature evaluation and continuous production relevance monitoring. WPR aggregator, Human audit loop
Human audit loop External raters review sampled judgments and internal experts investigate flags, refine prompts, and create golden data. LLM judge, Golden dataset
Golden dataset Expert-labeled training and evaluation data with justifications for fine-tuning and benchmarking. LLM judge, Human audit loop

Data flow

AutoEval samples live queries across intent, frequency, geography, and daypart; converts each query-result pair into a task-specific prompt; sends it to a base or fine-tuned LLM; rolls judgments into WPR page scores; and feeds sampled judgments into human auditing and expert refinement loops.

4 supporting quotes
“AutoEval’s architecture is designed to turn a query and its corresponding search results into structured tasks that are evaluated by LLMs.”article, stated
“Query Sampling: We sample real user queries from live traffic across intent, frequency, geographic, and daypart dimensions.”article, stated
“LLM inference: The prompt is passed to an LLM, base or fine-tuned, which returns a structured relevance judgment.”article, stated
“WPR aggregation: Judgments are aggregated to generate a page-level WPR score.”article, stated

Why this architecture

DoorDash used LLM evaluation because the old human-labeling process could not match the scale and iteration speed of modern search. WPR was necessary because DoorDash search pages have multiple spatial content blocks, and expert auditing was kept because automated judgments still need calibration against evolving domain standards.

3 supporting quotes
“For years, DoorDash and many others relied on human labelers to evaluate — query by query — the quality of search results.”article, stated
“WPR measures multiple content blocks arranged spatially on the screen, including stores, dishes, and items.”article, stated
“Paired with human oversight and auditing, LLMs became a powerful tool to scale our evaluation capability without sacrificing quality.”article, stated

Models used: GPT-4o · fine-tuned GPT-4o · LLMs

Scale

Alternatives considered (roads not taken)

Traditional human-driven relevance annotation

Rejected because: It was too slow, costly, inconsistent, and coverage-limited for modern DoorDash search.

"Among the challenges are:

— article, stated

NDCG-style vertical-list evaluation

Rejected because: DoorDash pages contain spatially arranged content blocks, so the metric needed to evaluate whole-page usefulness.

“Unlike NDCG, which evaluates a vertical list, WPR measures multiple content blocks arranged spatially on the screen”article, stated

Zero-shot or generic prompting

Rejected because: Task-specific structured prompts with rule logic and domain examples were more consistent and interpretable.

“We found that task-specific structured prompts paired with rule-based logic and domain-specific examples offered the most consistent, interpretable, and human-aligned results.”article, stated

Rely on a single public LLM provider indefinitely

Rejected because: DoorDash plans to route through an internal gateway to compare cost, latency, and accuracy across vendors.

“This abstraction layer will allow us to compare performance flexibly across multiple LLM vendors, enabling experimentation with cost, latency, and accuracy trade-offs”article, stated

Patterns

eval-driven-development (evaluation)

AutoEval is DoorDash's evaluation layer for offline experiments, daily production relevance monitoring, model benchmarking, and quality improvement loops.

“AutoEval has become a critical part of how we evaluate everything from offline experiments to daily production traffic.”article, stated

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

External raters and internal experts review LLM judgments, investigate low-quality outputs, and feed corrections back into prompts and golden data.

“First, external raters review a sample of LLM-generated judgments, flagging low-quality outputs which internal experts then investigate.”article, stated

fine-tuning-adaptation (model-adaptation)

DoorDash fine-tunes LLMs on expert-labeled relevance data and justifications for key evaluation categories.

“we fine-tune our LLMs on high-quality, human-labeled data for key evaluation categories.”article, stated

prompt-chaining (prompting)

AutoEval uses chain-of-thought and stepwise fallback logic to mirror evaluator decision processes.

“We explicitly break down rating tasks into multi-step logic — for example, exact match → substitute → off-target — so the model can reason in stages.”article, stated

structured-output-contract (judgment-schema)

The LLM returns structured relevance judgments from task-specific prompts that reflect internal rating rubrics.

“The prompt is passed to an LLM, base or fine-tuned, which returns a structured relevance judgment.”article, stated

observability-tracing (monitoring)

WPR and human audits support continuous production relevance monitoring and stability checks.

“Judgments are regularly sampled for human review to ensure quality, stability, and alignment.”article, stated
“We use the WPR score daily to measure search relevance and capture quality signals beyond user engagement and system performance.”article, stated

Tradeoffs

Automate relevance judgments with oversight

Chose LLM-powered evaluation plus human auditing over manual relevance annotation as the primary evaluation path.

Rationale: The hybrid approach improved scale and speed while keeping expert judgment focused on calibration and edge cases.

“While the system significantly enhances efficiency, it frees up expert raters to focus on guideline development, edge cases, and calibration.”article, stated

Measure whole-page relevance

Chose WPR over individual-result-only relevance over NDCG-style vertical-list assumptions.

Rationale: WPR matches the spatial, multi-block search experience DoorDash users actually see.

“This custom metric is designed to evaluate the entire search impression, not just individual results.”article, stated

Fine-tune for high-impact categories

Chose expert-labeled golden data and fine-tuning over prompt-only LLM judging.

Rationale: Fine-tuning improved alignment in store-name, cuisine, and dish/item relevance tasks.

“Fine-tuned models improve alignment in high-impact categories such as:”article, stated

Plan provider abstraction

Chose internal GenAI gateway over direct dependence on OpenAI public API.

Rationale: The gateway would let DoorDash compare vendors across cost, latency, and accuracy without changing downstream systems.

“We plan to migrate from directly calling OpenAI’s public API to routing traffic through our internal GenAI gateway.”article, stated

Gotchas (what bit them)

Human raters create slow and inconsistent search feedback.

Root cause: Manual annotation cycles take days or weeks and raters interpret guidelines differently.

Resolution: Use LLM-powered judgments with expert-created rubrics and audit loops.

“Inconsistent ratings: Each human rater interprets guidelines differently, leading to label noise and requiring calibration.”article, stated

Head-query bias hides tail-query relevance problems.

Root cause: Annotated datasets overrepresent frequent queries and underrepresent tail queries.

Resolution: Sample across intent, frequency, geography, and daypart and use LLM scale to broaden coverage.

“Limited coverage: Annotated datasets overrepresent high-frequency, or head, queries, while underrepresenting tail queries, where relevance problems often hide.”article, stated

Search-page relevance is not just top-result relevance.

Root cause: DoorDash UI contains stores, dishes, and items arranged spatially with different visual prominence.

Resolution: Use WPR to weight the whole page by content blocks and expected user impact.

“each content type is weighted by its visual prominence and expected user impact, which is similar to how we assign real estate value on the DoorDash app.”article, stated

Fine-tuned judges still require ongoing calibration.

Root cause: Search domains, edge cases, and quality standards evolve.

Resolution: Keep external audits, internal expert investigation, prompt refinement, new golden data, and ongoing fine-tuning in the loop.

“This effort leads to prompt improvements, creation of new golden data, and ongoing fine-tuning and evaluation.”article, stated

Evaluation

DoorDash evaluates AutoEval through expert-labeled golden datasets, train/eval splits, model benchmarking, external rater audits, internal expert investigation, WPR offline impact checks, daily production monitoring, and offline benchmark comparisons with external raters.

Metrics: 98% relevance judgment turnaround-time reduction · nine-fold capacity increase · fine-tuned GPT-4o outperformed external raters in offline benchmark accuracy · WPR daily production relevance monitoring

3 supporting quotes
“These labels form our golden dataset, which we split into training and evaluation sets for fine-tuning models and benchmarking their performance.”article, stated
“In offline benchmark evaluation, the fine-tuned GPT-4o model outperformed external raters in overall accuracy after several quality improvement loops”article, stated
“AutoEval has reduced relevance judgment turnaround time by 98% compared to human evaluation, unlocking a nine-fold increase in capacity”article, stated

Outcomes

DoorDash reports automated assessment of millions of relevance judgments per day, a 98% turnaround-time reduction, nine-fold capacity increase, and multiple verticals including restaurants, retail, grocery, and pharmacy.

3 supporting quotes
“AutoEval has delivered substantial improvements across DoorDash’s relevance evaluation life cycle, enabling us to scale faster, iterate more confidently”article, stated
“Fine-tuned LLMs consistently match or outperform external raters in key relevance tasks, including store name and dish-level search satisfaction.”article, stated
“turning what was a slow, manual process into a fast, scalable, and efficient structure.”article, stated