Automating Merchant Onboarding with Reinforcement Learning

doordash · E-commerce · 2026 · source Agentic: no · promotional bias: high · summary-only (no fetched source) · extracted with prompt 0.5.4 (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: Merchant onboarding and menu digitization

DoorDash needed to improve merchant menu-generation accuracy for messy real-world menu inputs without relying only on prompt tweaks or manually encoded standard operating procedures.

Constraints:

Architecture

DoorDash and Applied Compute used a grader-first reinforcement learning approach. They built an automated grader aligned with internal expert standards, used it as a reward function for a menu error-correction model, trained against DoorDash's existing structured menu outputs, validated with automated, human, and live A/B tests, and integrated the resulting correction model as a production-ready library in DoorDash's codebase.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  menu-input-processor[Menu input processor] --> menu-correction-model[Menu correction model]
  menu-correction-model --> automated-grader[Automated grader]
  automated-grader --> rl-training-loop[RL training loop]
  rl-training-loop --> menu-correction-model
  menu-correction-model --> human-validation-process[Human validation process]
  human-validation-process --> production-menu-library[Production menu library]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Menu input processor Converts photos, PDFs, and text documents into baseline structured menu output. Menu correction model
Automated grader Scores menu outputs against expert-calibrated quality standards and error categories. Menu correction model, RL training loop
RL training loop Optimizes the menu correction model using the grader as a reward function. Automated grader, Menu correction model
Menu correction model Improves baseline structured menu output before production use. Menu input processor, Automated grader, Production menu library
Human validation process Uses human graders and production A/B testing to verify automated-grader alignment. Menu correction model, Production menu library
Production menu library Integrates the correction model into DoorDash's codebase for USA menu traffic. Menu correction model

Data flow

Existing menu inputs are converted into structured menu output by DoorDash's baseline system. The correction model improves that structured output, the automated grader scores errors against DoorDash menu style guidelines, and reinforcement learning uses the grader signal to improve model behavior. Human graders and A/B tests validate the trained model before rollout to USA menu traffic.

4 supporting quotes
“DoorDash's merchant onboarding system needed to convert diverse menu inputs—photos, PDFs, and text documents—into structured digital listings that enable restaurants to start receiving orders within a single day.”summary, stated
“the automated grading system evaluated the model's structured output, identified different types of errors based on DoorDash's menu style guidelines”summary, stated
“Once the automated grader was validated as sufficiently reliable, it became the reward function for training a menu error correction model.”summary, stated
“The case study states that DoorDash has rolled out the error correction model to all menu traffic in the USA, indicating a full production deployment rather than a limited pilot.”summary, stated

Why this architecture

DoorDash reframed the problem around grading because specifying perfect generation rules was harder than judging outputs against ground truth. A calibrated grader gave reinforcement learning a domain-specific reward signal, while human validation and A/B testing prevented the team from trusting the grader alone.

3 supporting quotes
“verification and grading of menu outputs against ground truth was much more tractable and achieved higher inter-rater agreement among experts.”summary, stated
“This observation led to reframing the problem from "how do we build better generation rules" to "how do we build an automated grader that captures expert judgment, then train a model against it.”summary, stated
“Progressive risk reduction: Moving from automated to human to live testing reduced the risk of production issues”summary, stated

Models used: menu error correction model · automated grader · reinforcement learning training process

Scale

Alternatives considered (roads not taken)

Create a unified standard operating procedure for menu generation

Rejected because: The summary says even human experts disagreed on some optimal outputs.

“creating a unified standard operating procedure for menu generation proved extremely difficult”summary, stated
“even human experts disagreeing on optimal outputs”summary, stated

Incremental prompt or fine-tuning improvements

Rejected because: The team saw diminishing returns and moved to reward-based optimization.

“The project is particularly interesting from an LLMOps perspective because it demonstrates a sophisticated approach to encoding domain expertise into production AI systems through reinforcement learning, moving beyond simple prompt engineering or fine-tuning approaches.”summary, stated
“incremental improvement efforts were yielding diminishing returns.”summary, stated

Trust the automated grader alone

Rejected because: DoorDash added human offline validation and live A/B testing.

“Human Grading with Offline Data: After automated results looked promising, the team moved to "stricter offline validation with human graders reflecting production conditions.”summary, stated
“A/B Testing in Production: DoorDash ran a live A/B test comparing the new menu error correction model against their baseline system on "a large sample of production menus.”summary, stated

Patterns

llm-as-judge (evaluation)

A calibrated automated grader scores menu quality and becomes the foundation for training and validation.

“automated grading system calibrated to internal expert standards”summary, stated

eval-driven-development (evaluation)

Model improvement is driven by grader alignment, offline human grading, and live A/B testing.

“The validation progression moved from automated evaluation to human evaluation to live production testing”summary, stated

data-quality-loop (data)

Production corrections can feed future training, creating a repeatable improvement loop.

“feed production corrections back into training, establishing a repeatable flywheel”summary, stated

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

Human graders validated model outputs on held-out data and live A/B samples.

“having human reviewers evaluate model outputs on held-out data”summary, stated
“human reviewers grade outputs from both systems”summary, stated

Tradeoffs

Invest in evaluation before model optimization

Chose grader-first reinforcement learning over more prompt engineering or direct fine-tuning first.

Rationale: Reliable evaluation was easier to specify than a unified generation policy and enabled domain-specific rewards.

“building robust evaluation infrastructure before optimizing the model itself.”summary, stated

Use a vendor partnership model

Chose Applied Compute working onsite with DoorDash over arms-length tool use.

Rationale: Close collaboration likely supported domain alignment but may create dependency and knowledge-transfer concerns.

“Applied Compute working onsite at DoorDash, suggesting close collaboration rather than arms-length tool provision.”summary, stated

Optimize for production constraints

Chose accuracy balanced with latency, cost, and reliability over offline accuracy alone.

Rationale: The menu correction model had to be viable inside merchant onboarding traffic.

“Training explicitly considered latency, cost, and reliability constraints rather than optimizing accuracy alone.”summary, stated

Gotchas (what bit them)

The grader becomes a hidden dependency.

Root cause: If the grader is misaligned, reinforcement learning optimizes the wrong behavior.

Resolution: DoorDash emphasized alignment, self-consistency, and human validation before production rollout.

3 supporting quotes
“The importance of grader quality in reinforcement learning cannot be overstated”summary, stated
“Alignment with ground truth”summary, stated
“Self-consistency”summary, stated

Promotional reporting omits important deployment details.

Root cause: The case study does not disclose absolute error rates, sample sizes, or statistical confidence intervals.

Resolution: Treat the 30% relative reduction as directionally useful but incomplete.

“the absolute error rates, sample sizes, statistical significance, and confidence intervals are not provided.”summary, stated

USA rollout may not generalize globally.

Root cause: International menu formats, languages, and cuisines may differ from USA traffic.

Resolution: The summary identifies retraining or fine-tuning as likely needed for other markets.

“Whether the approach generalizes to international markets with different menu formats, languages, and cuisine conventions remains unclear.”summary, stated

Evaluation

DoorDash used automated grader scores, human offline grading, and production A/B testing with human reviewers grading both baseline and new outputs.

Metrics: low-quality menu share · automated-human grader alignment · latency · cost · reliability · production A/B outcome

“A/B test comparing the new menu error correction model against their baseline system on "a large sample of production menus."”summary, stated
“human reviewers grade outputs from both systems, providing ground truth evaluation on real production data.”summary, stated

Outcomes

Summary-only evidence supports a USA-traffic rollout and relative quality reduction, but not absolute error rates or sample sizes.

“achieved a 30% relative reduction in low-quality menus and was rolled out to all USA menu traffic”summary, stated
“demonstrating how institutional knowledge can be encoded into automated training signals”summary, stated