A diagnostic evaluation framework for industrial tool-use agents

ATLAS: Dual-Horizon Diagnostic Evaluation for Tool-Use Agents in Meituan Xiaotuan

Wei Chen1,*Peilun Zhou2,*,‡Zhaoyu Hu2Jiajun Chai2Derong Xu1Zhongni Hou2Yufei Zhang2Guojun Yin2,†Wei Lin2,†Zhi Zheng1,†Tong Xu1,†

1 State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China 2 Meituan

* Equal Contribution‡ Project Leader† Corresponding Author

This page follows the revised report; the linked arXiv release will be updated when the revision is uploaded.

Abstract

LLM-based assistants on web-scale service platforms address local-service needs through multi-step planning and tool use. Under dynamic business conditions and evolving user needs, outcome-level evaluation offers limited evidence of where execution falls short, which quality or compliance requirement is unmet, or how service loses alignment over continued interaction.

ATLAS diagnoses two complementary horizons: within-turn, trajectory-wise signals examine the complete agent lifecycle triggered by a request across thinking and reflection, tool and skill execution, and response generation; across-turn, user-wise signals examine whether intent, constraints, and corrections carry forward across multiple lifecycles.

Rule-based checks and LLM judgments ground each signal in explicit evidence scopes and decision boundaries. LLM judges are calibrated on dynamically maintained business-log references, and selected judges are distilled into grouped compact models. Diagnostic profiles help developers attribute failures, prioritize workflow, data, or policy interventions, and reassess the resulting agent.

In Meituan Xiaotuan, a million-scale DAU local-services assistant, calibrated judges and distilled models achieve high diagnostic fidelity. A blinded human audit and a 14-day online A/B test with nearly two million users per arm confirm improved recommendation quality, answer read-through (+2.84%), and paid orders (+6.13%), leading to full production deployment.

Why evaluation must diagnose

Outcome reporting alone is not enough for targeted iteration.

Production tool-use agents combine reasoning, tool and skill execution, and responses grounded in live business supply. When service falls short, the cause may lie in the workflow, a tool interface, scenario coverage, or the policy—not just the final answer.

With limited engineering and training resources, teams need diagnostic evidence to locate bottlenecks, choose focused interventions, and assess the resulting changes.

What outcome reporting hidesA final outcome may reveal that service failed without showing the responsible execution stage, the unmet quality or compliance requirement, or where alignment with user context was lost.

Diagnostic evaluation should answer:

  1. 01Where does service fail?
  2. 02What should be prioritized?
  3. 03Did the intervention work?
An example interaction in Meituan Xiaotuan: an illustrative multi-step workflow alongside the user-facing response. The assistant retrieves and compares live business evidence before synthesizing a recommendation.

Xiaotuan, Meituan’s AI assistant for local services, makes this need concrete. It interprets open-ended requests, retrieves live business information, and adjusts its actions using tool feedback before presenting grounded recommendations. The example illustrates the workflow behind the user-facing response.

  • Challenge 01 — Early errors can propagate across execution. A mistake in interpreting the request, rewriting a query, or choosing a tool can lead to an off-target response. The final answer alone does not reveal whether the cause lies in synthesis or an earlier execution step.
  • Challenge 02 — Quality is multifaceted under dynamic supply. Merchant inventory, pricing, and availability change continuously, and open-ended requests admit multiple valid paths. A useful recommendation must jointly satisfy user constraints, supply facts, deal timeliness, logical consistency, and safety requirements rather than match a fixed reference answer.
  • Challenge 03 — User context can drift across requests. An ongoing interaction is more than a sequence of isolated requests. Each later turn may appear reasonable on its own while overlooking an earlier reference, constraint, or correction; over time, these locally plausible decisions can drift away from the user’s evolving goal.

Why dual-horizonThe first two challenges concern the current request trajectory: ATLAS’s within-turn horizon inspects the execution and its use of current business evidence. The third concerns continued service: its across-turn horizon evaluates user-relevant state across complete lifecycles.

ATLAS’s central design

Two horizons for diagnosing agent service.

ATLAS preserves two complementary views: the full trajectory of one request and the evolving user context across successive lifecycles. Rather than reporting only an overall outcome, it retains the evidence needed to locate and interpret deficiencies.

Why the separation mattersWithin-turn evaluation localizes a capability deficiency in an execution. Across-turn evaluation asks whether subsequent service remains responsive as user-relevant context evolves.

Horizon 01 · Within-turn / trajectory-wise

Localize a gap in one request.

Examine the complete trajectory initiated by a request: thinking and reflection, tool or skill execution, updates after tool feedback, and response generation.

Diagnostic questionWhere does a capability deficiency arise in this execution?

Horizon 02 · Across-turn / user-wise

Diagnose continuity across requests.

Examine whether referents, intent, constraints, and explicit corrections are carried forward, updated, and used across complete lifecycles.

Diagnostic questionDoes later service still respond to the user’s evolving context?

Dual-horizon evaluation frameworkTwo connected temporal scopes
The framework applies the two diagnostic horizons to agent service: trajectory-wise evidence for a current request and user-wise evidence across successive complete lifecycles.

Within-turn diagnostic structure

How the within-turn horizon localizes a gap.

Within-turn diagnostic structureExecution location × capability concern

Within a request, ATLAS records both the execution stage where behavior occurs and the capability requirement it fails to meet. These two axes organize the within-turn diagnostic matrix.

Across-turn stays outside this matrix by design: it evaluates relations among complete lifecycles and the evolving user context.

Execution location
Thinking & Reflection · Tool & Skill Execution · Response Generation
Capability concern
Relevance · Factuality · Timeliness · Reliability · Intent & Planning
Guardrail
Norms & Compliance covers safety, privacy, compliance, and structural validity.

Trace a symptom to its source.

Cross-stage fault attribution from the revised report: distinguish the off-intent recommendation from the upstream interpretation and rewrite errors that produced it.

A user asks for non-dessert cakes, such as fried-chicken cakes or beef cakes. The agent reinterprets these as egg burgers and beef pies, searches for the substituted items, and presents the resulting supply as a match. The final response reflects the retrieved items, but those items no longer preserve the original request.

ATLAS starts from the visible recommendation mismatch and follows the evidence upstream: response-level Supply Relevance flags the symptom, while Rewrite Validity and Search Intent Understanding locate the earlier query-rewrite and intent-understanding errors. The distinction helps developers target the execution bottleneck rather than only rewrite the final answer.

From diagnosis to iteration

From diagnostic signals to targeted iteration.

ATLAS turns evidence-bound signals into a diagnostic profile. Developers use that profile to select workflow, data, or policy interventions, then reassess the agent. Rolling calibration and grouped distillation make the signals reliable and practical at scale; selected signals can also provide gated training feedback when policy optimization is the chosen intervention.

The semantic threadA signal’s target, evidence scope, and decision boundary are established before calibration and retained when the resulting policy is evaluated again.

ATLAS connects rule checks, rolling judge calibration, and grouped model distillation to diagnostic profiles, targeted interventions, and reassessment.
  1. 01
    Specify the signal

    Each signal binds a specific behavior to admissible evidence and a decision rule. Programmatic checks handle deterministic cases; calibrated LLM judges handle semantic ones. Outputs are pass/fail by default, while quantitative signals are derived from local judgments and normalized.

  2. 02
    Calibrate and maintain the boundary

    Dynamically maintain about 1,000 references per LLM-based diagnostic signal from a rolling six-month log window. Stratify by business scenario, request complexity, and interaction type; split by original conversation into calibration and held-out test sets. Refine on the calibration split, then freeze the interface before testing.

  3. 03
    Distill compatible signals together

    Group selected signals by execution dimension, capability concern, and input–output form. Teacher-supervised compact models retain calibrated decisions while avoiding fragmented per-signal deployments or one shared model with incompatible evidence forms.

  4. 04
    Choose an intervention, then reassess

    Diagnostic profiles guide human-in-the-loop workflow refinement, targeted data curation, or policy optimization. The Xiaotuan iteration reuses selected signals as GRPO feedback with Norms & Compliance as a hard training-time gate; reassessment combines diagnostic replay, independent human auditing, and online A/B testing.

A diagnostic result is not an automatic product decision. It identifies a candidate capability deficiency; product context and deployment constraints still determine priority and intervention.

Companion resource · Public signal inventory

Inspect individual signals.

The method above defines how signals are specified, calibrated, scaled, and reused for iteration. The public Signal Explorer exposes the trajectory-wise and user-wise signals that instantiate that method, each with a target, evidence scope, decision boundary, and reporting semantics.

Use it as a referenceMove from the dual-horizon structure on this page to individual signal definitions and the evidence each decision may use.

Open the Signal Explorer

Browse the inventory for signal-level detail, then continue to the validation evidence below.

Preview of the ATLAS Signal Explorer, which maps its trajectory-wise and user-wise diagnostic signals.
Open the public ATLAS Signal Explorer ↗

Validation on Meituan Xiaotuan

A validation chain from signal decisions to live service.

Four research questions test diagnostic fidelity, scalable distillation, independently audited recommendation quality, and impact on live user engagement and transactions. Pre-deployment diagnostic replay supplies complementary evidence of where execution improves.

  1. 01Judge interfacesCan signal boundaries be reproduced?
  2. 02Efficient modelsCan selected signals run at scale?
  3. 03Blinded human auditDoes independent review confirm quality?
  4. 0414-day online A/BDo gains reach live traffic?

Experimental setting

Datasets come from de-identified Xiaotuan production logs over a six-month window and are separated by original conversation. The diagnostic benchmark covers 41 LLM-based signals with about 1,000 instances per signal, split 1:1 for calibration and held-out testing. Grouped Qwen3.5-9B models cover 17 selected signals. The downstream study optimizes Qwen3.6-35B-A3B on about 10,000 requests and uses 1,000 paired queries for blinded human review; supplementary diagnostic replay covers 2,000 requests.

Study 01 · Judge interfaces

Can an LLM judge reproduce a signal’s intended decision boundary?

Purpose
A diagnostic signal is useful only if its semantic judgment implements the intended boundary.
How
Four judge interfaces share the same DeepSeek-V4-Pro backbone and are evaluated with F1 on high-confidence references for 41 LLM-based signals from real Xiaotuan logs.
Held-out F1 for 41 LLM-based signals; group columns report unweighted means.
MethodRel.Fact.Time.Reliab.IntentN&CUser-wiseOverall
Direct Judge0.8310.8420.6910.8110.7680.8130.7840.800
Static Rubric0.8430.8530.8490.7750.8110.8760.7610.826
Curated Rubric0.8850.9050.8380.8080.8430.9320.8800.877
ATLAS Judge0.9390.9560.9610.9720.9470.9840.9530.954

Swipe or scroll horizontally to view all result columns.

FindingATLAS Judge is strongest in every reported group, reaching 0.954 overall F1; calibrated evidence binding and boundary control faithfully implement the diagnostic decisions.

ColumnsRel. — Relevance · Fact. — Factuality · Time. — Timeliness · Reliab. — Reliability · N&C — Norms & Compliance

The comparison covers LLM-based signals; rule-based signals follow their programmatic specifications.

Study 02 · Efficient models

Can selected signals retain their decision behavior in a compact model?

Purpose
High-capacity LLM judges are costly to invoke repeatedly at scale.
How
Grouped Qwen3.5-9B diagnostic models cover 17 high-frequency LLM-based signals. We compare held-out F1 with the untuned 9B backbone and larger open baselines, using evaluation instances separated from distillation training by original conversation.
Held-out F1 (%) for 17 selected signals; group rows report unweighted means.
Signal group DeepSeek-V4-Pro Qwen3.5-9B Qwen3.6-27B Qwen3.6-35B-A3B Ours Δ vs 9B
Relevance95.276.990.888.292.7+15.8
Factuality95.981.484.182.394.6+13.2
Reliability97.278.095.585.695.5+17.5
Norms & Compliance98.487.396.284.496.7+9.4
Overall96.481.090.384.994.6+13.6

Swipe or scroll horizontally to view all result columns.

FindingThe grouped 9B models reach 94.6% overall F1, a +13.6-point gain over the untuned 9B backbone, outperforming the larger open baselines through calibrated decision-boundary transfer.

DeepSeek-V4-Pro is the high-capacity reference interface. Δ is the absolute gain over Qwen3.5-9B.

Studies 03–04 · Policy outcomes

Does diagnostic feedback improve service?

Study 03 · Blinded human audit · 1,000 paired queries

Does independent review confirm recommendation quality?

Purpose
Evaluate response quality independently of ATLAS’s own judges, before online rollout.
How
Both agents generate fresh tool-use trajectories for the same 1,000 production queries and prior dialogue context, sharing the Qwen3.6-35B-A3B backbone, tools, and harness. Blinded domain annotators perform independent dual review against the request and retrieved supply; experts adjudicate disagreements.

Absolute rate changes versus the deployed baseline (percentage points, pp)

Response–supply relevance
+6.2 pp
P0 hallucination rate
−6.9 pp
ID hallucination rate
−2.0 pp

Relevance checks primary intent and key constraints. P0 hallucination flags unsupported core conclusions or key facts; ID hallucination flags fabricated, mismatched, or untraceable recommendation IDs. Lower hallucination rates are better.

Study 04 · Online A/B · 14 days

Do quality gains reach live users and transactions?

Purpose
Assess the ATLAS-guided agent against the deployed production baseline on live Xiaotuan traffic.
How
August 14–27, with nearly two million enrolled users per arm, user-level hash bucketing, equal traffic splits, concurrent evaluation, and two-sided statistical testing.
14 days August 14–27 ≈2M users / arm Equal traffic splits 95% confidence intervals Two-sided testing
Relative changes versus the deployed baseline.
Online metricRelative Δp-value95% CI
AI answer read-through rate+2.84%<0.0001[+2.27%, +3.38%]
Effective QV+0.89%<0.0001[+0.56%, +1.23%]
Merchant-card exposure QV+4.23%<0.0001[+3.81%, +4.66%]
Paid order count+6.13%<0.0001[+2.89%, +8.67%]
Paid GTV+4.51%0.1355[−1.41%, +10.43%]
5-second session exit rate−1.29%<0.0001[−1.45%, −1.19%]

Swipe or scroll horizontally to view p-values and confidence intervals.

FindingEngagement, merchant-card exposure, and paid orders improve significantly, while early exits decline. Together with the blinded audit, these results support the improved agent’s rollout to all production traffic.

Effective QV counts valid AI-assistant visits satisfying the platform’s effectiveness criterion; merchant-card exposure QV counts visits with merchant or supply cards shown to the user. Paid orders and paid gross transaction volume (GTV) are attributed to AI-assistant interactions.

Supplementary evidence: pre-deployment diagnostic replay 2,000 production requests
Additional diagnostic replay breakdown from the revised report’s appendix.

Where does execution improve?

Each agent executes 2,000 conversation-disjoint production requests through production interfaces against live business supply. The ATLAS-guided policy has the highest mean score in every reported group, with the largest gain in Tool & Skill Execution.

Replay also shows improved user-wise performance and a high Norms & Compliance score. These are ATLAS diagnostic scores, not an independent quality assessment; the blinded human audit and online A/B test provide that complementary validation.

Conclusion

Evaluation as evidence for targeted iteration.

ATLAS is a dual-horizon diagnostic framework for industrial tool-use agents. Trajectory-wise signals localize capability gaps in a current execution; user-wise signals assess whether subsequent service remains responsive as interaction context evolves.

Evidence-bound signals, rolling reference calibration, and grouped compact models make diagnosis executable at scale. Diagnostic profiles guide human-in-the-loop workflow, data, and policy interventions; the framework then reassesses the updated agent.

On Xiaotuan, calibrated judge fidelity, compact-model distillation, blinded human auditing, and a 14-day online A/B test connect diagnosis to improved recommendation quality, engagement, and paid orders. The ATLAS-guided agent is deployed to all production traffic.

Reference

Cite ATLAS.

If ATLAS informs your research, please cite the paper using the BibTeX entry below.

arXiv:2608.30685
@misc{chen2026atlas,
  title = {{ATLAS}: Dual-Horizon Diagnostic Evaluation for Tool-Use Agents in Meituan Xiaotuan},
  author = {Wei Chen and Peilun Zhou and Zhaoyu Hu and Jiajun Chai and Derong Xu and Zhongni Hou and Yufei Zhang and Guojun Yin and Wei Lin and Zhi Zheng and Tong Xu},
  year = {2026},
  eprint = {2608.30685},
  archivePrefix = {arXiv},
  primaryClass = {cs.AI},
  url = {https://arxiv.org/abs/2608.30685}
}

This citation follows the revised report. The arXiv link currently hosts the earlier release until the revision is uploaded.