Manuscript Offprint

arXiv:2611.00442

Fidelity Collapses with Table Size, Not Turn Count: Delivery Architecture in a Deployed Tool-Using Agent

Tung Thanh Hoang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

When a multi-turn agent delivers a tool's structured records into the model's context and re-emits them each turn, every turn can corrupt data the tool computed correctly. We measure this in a production award-travel agent: two architectures over identical frozen payloads, lineage-matched prompts and sampling, differing only in delivery architecture. SYNTHESIS feeds full record sets into the planner's context and answers follow-ups in-head; BYPASS, the deployed system, keeps records in session state, translates follow-ups into arguments for a deterministic filter, and delivers rows over a typed side channel. Across 24 dialogues (339 scored turns per condition), BYPASS scores 92.3% of turns fully correct, SYNTHESIS 45.7% (paired gap +46.6pp [+35.7, +57.1]). Varying delivered-table size by capture date, SYNTHESIS collapses from near-perfect at ≤10 rows to ≤8% beyond ~74 rows. On a content-controlled prefix ladder the collapse threshold orders by model capability, from under 10 rows (GPT-4o-mini) to ≥198 (Gemini 2.5 Pro), while BYPASS stays size-flat for all four models. The collapse is expensive: beyond 100 rows, where almost no SYNTHESIS answer is correct, each correct one costs roughly 200× BYPASS's flat $0.012. Practitioners converged on typed side-channel delivery for rendering, not correctness; we show it was, unknowingly, also a correctness decision.

1 Introduction

Structured hallucination, in which an agent retrieves correct structured data through a tool call and then corrupts field values while formatting them, is invisible to ordinary hallucination detection (Ji et al., 2023): validators see valid JSON, schema-parse metrics log success (Hoang, 2026). Prior work established the phenomenon single-turn; a deployed award-travel session runs five to twelve turns, each another synthesis pass over

Figure

Figure 1: Four models, one content-controlled ladder: SYNTHESIS fidelity vs K-row prefixes of one frozen payload. Capability buys threshold, architecture buys immunity: collapse orders by capability (under 10→≳19810 \to \gtrsim 198 rows); the BYPASS band is size-flat for all four (140/144 runs). n=6n=6 runs per (model, K) cell.

the same record set. Whether the corruption compounds, and what it scales with, is this paper's question.

The stake is architectural: agent frameworks default to returning a tool's result into the model's context for the model to re-emit: every framework we surveyed does so, or requires wiring an opt-in bypass (LangChain, 2026; Vercel, 2026; CrewAI, 2026; Microsoft, 2026; OpenAI, 2026). The alternative (records as structured state, follow-ups answered by a deterministic tool, rows streamed on a typed side channel) exists (CopilotKit, 2026), adopted for rendering, with correctness only an unmeasured aside (Anthropic, 2025; CopilotKit contributors, 2026); the corruption itself is documented both single-turn (Yang et al., 2026) and, over long agentic workflows, at roughly a quarter of document content (Laban et al., 2026). To our knowledge, no prior work joins the two: a controlled A/B on the same real record sets, with row- and field-level fidelity on both arms. We measure the corruption in a production multi-agent award-and-cash flight system built on Google's Agent Development Kit (ADK) as a fork of the adk-samples travel-concierge (Google, 2025): the fork-point ar-chitecture (full row lists into the planner's context, follow-ups in-head) is a real system contract, not a strawman, and the deployed system is the same tree with only delivery replaced; both run over the same frozen vendor payloads.

References (66)