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

Re-emitting tool records through the model corrupts their values as conversations grow

Tung Thanh Hoang · arXiv · 2026-10-30

- **Problem** Agents that feed tool results into the model's context let the model re-emit those records every turn. Each re-emission can corrupt values the tool had already retrieved correctly, and the corruption grows with table size.
- **Method** SYNTHESIS sends full record sets through the model's context and answers follow-ups from memory. BYPASS instead keeps records in session state, turns follow-ups into filter arguments, and delivers rows on a typed side channel the model never generates.
- **Results** Across 24 dialogues, BYPASS scored 92.3% of turns fully correct against 45.7% for SYNTHESIS. SYNTHESIS fell to 8% or less beyond about 74 rows, while BYPASS stayed flat.

## Why re-emitting records is risky

The usual agent design returns a tool's result into the model's context, so the model can write its answer from that result. Every framework the authors surveyed does this by default, or asks developers to wire in an opt-in bypass. In a multi-turn session, the model therefore re-emits the same record set on every turn, as another synthesis pass.

Each re-emission gives the model a fresh chance to corrupt a field value that the tool had already retrieved correctly.

The authors call this structured hallucination, and ordinary hallucination detection does not catch it. Validators still see valid JSON, so schema-parse metrics log the output as a success. A check that only tests shape therefore passes output whose values have drifted from the source.

Earlier work documented this corruption in single-turn settings (Yang et al., 2026). Over long agentic workflows, the corruption appeared at roughly a quarter of document content (Laban et al., 2026). A deployed award-travel session, however, runs five to twelve turns, so depth is the setting that matters here. The open question is whether corruption compounds with depth, and what it scales with.

No prior work, the authors note, joins these two lines with a controlled A/B on the same real record sets.

The authors argue this makes the comparison a fair test of delivery rather than a strawman baseline.

## Two delivery architectures on one system

BYPASS and SYNTHESIS differ in one thing: how the records reach the interface. In SYNTHESIS, the record set passes through the model's generation and is re-emitted. In BYPASS, records stay in session state and reach the interface as typed data that the model never generates. The model still translates each follow-up into filter arguments in both arms, so translation errors are common to both.

A deterministic tool then evaluates those arguments over the stored record set.

Mechanical injection stops SYNTHESIS from being penalised for sub-agent transcription noise. Because of this, the reported gap is, if anything, conservative.

Apart from delivery, the planner's model, its sampling and its tools stay the same in both arms. Both arms run Gemini 2.5 Flash at temperature 0.1 and top\_p 0.5, inherited by lineage rather than chosen. Temperature therefore can't explain the gap between the arms. The study uses a freeze-real-then-replay design, and the largest single payload holds 510 rows.

Every experiment replays these captures and never calls a vendor live.

BYPASS also keeps structured state, so the measured effect belongs to the pair of choices rather than to either one. A condition that keeps state but delivers through the LLM would isolate the synthesis half. The authors didn't run that condition, because it matches no deployed pattern they know of.

## How each turn is scored

Ground truth in this paper is computed by replaying the dialogue, not annotated by hand. Each filter turn's pinned arguments are then passed to the production context tool's evaluator over that state. The returned envelope, holding the count and arguments with rows by reference, is the ground truth. The production canonicalisation layer normalises that envelope at a fixed SHA, and the same step applies to both conditions.

The primary metric is per-turn field fidelity with a strict count-mismatch zero-out, a policy taken from the single-turn study. When the emitted count equals the ground-truth count, the turn's fidelity is the fraction of matching scored fields across aligned pairs. If the counts differ, the turn scores zero, regardless of how many individual fields match.

A turn counts as correct only if it produced an artifact and its zero-out fidelity is 1.0. Because of this rule, the BYPASS published rate is a lower bound. The authors also compute partial-credit fidelity alongside every turn, giving 98.2% for BYPASS against 82.7% for SYNTHESIS. The ordered-turn axis gives 94.2% for BYPASS against 51.8% for SYNTHESIS, order-exact.

Search turns establish context and are not scored, and award-versus-cash comparison turns are out of scope.

A post-submission audit found a gap in the metric: a turn with the right count but the wrong membership can score as perfect. Rescoring with an exact-set rule, which gives zero on any spurious or missing row, leaves BYPASS essentially unchanged. Each dialogue runs three times per condition at production sampling, and repeats are independent rather than seeded replays.

## Table size drives the synthesis collapse

The central test changes only how many rows the agent receives, holding route, cabin, filter vocabulary and turn position fixed. Each of six routes contributes its fixed payload, 112–198 rows, cut down to the first K rows. Because every smaller table is a true prefix, the only difference between K values is the row count. The same query, about afternoon departures, is asked at every K, with each cell pooling six routes and three repeats.

Pooled Flash SYNTHESIS fidelity falls monotonically from 83% at K=5 to 6% at K=100. BYPASS scores 100% in all 93 runs, so its fidelity stays flat as the delivered table grows.

![Figure 2: Turn fidelity vs K: the delivered table is the first K rows of each route’s fixed payload, so size varies only by appending rows (six routes pooled).…](https://refivu.com/papers/34076b48-af00-4003-899f-7507faf9f827/figures/figure-26688a13bac0bb27eea289cb51a9fa97.png?thumb=512)

**Figure 2** : Turn fidelity vs K: the delivered table is the first K rows of each route’s fixed payload, so size varies only by appending rows (six routes pooled). Light dots are per-route points at each K ( n=3 runs each, hence quantised to 0/33/67/100%); the band is a Wilson 95% interval on the six routes pooled. Flash SYNTHESIS decays monotonically to 6% at K=100; BYPASS is 100% in all 93 runs.

[Original paper](https://arxiv.org/abs/2611.00442v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tung Thanh Hoang · Fidelity Collapses with Table Size, Not Turn Count: Delivery Architecture in a Deployed Tool-Using Agent · Original paper figure · Extracted the figure area from page 5 of the original PDF.

The decay is graded rather than a cliff, because single routes at n=3 can only land on 0, 33, 67 or 100%. Pooled over six routes, a Cochran–Armitage trend test on log-K rejects a flat profile with z=−5.07. FRA-BKK's full 198-row payload, run only at K=198, also scores 0/3. The authors conclude that table size alone produces the decay, since no route, date, price distribution or query changes.

The authors also varied size by capture date on four routes, which confounds size with route content. Here SYNTHESIS falls from 75–100% on the smallest tables to near zero beyond about 74 rows. BYPASS stays at 99.2% (238/240) on the same ladder. Its two misses come from one starved run, in which the search sub-agent never fired.

The prefix ladder has no such confound, and the two designs agree that size drives the effect. A byte-identical 16-row control table scores SYNTHESIS 77.5% and BYPASS 100% across all twenty dialogues.

## The gap across the corpus and three model families

Over the 24 authored dialogues, BYPASS fully correct on 92.3% (313/339) of scored turns, against 45.7% (155/339) for SYNTHESIS. The paired gap is +46.6pp, with a dialogue-level bootstrap interval of \[+35.7,+57.1\]. The authors resample dialogues rather than turns, because turns inside one dialogue are not independent. BYPASS beat SYNTHESIS in 22 of 24 paired dialogues, with one tie and one loss, under an exact sign test at p=5.7×10−6.

The authors re-ran both conditions on GPT-4o-mini and Claude Haiku 4.5 over the same full corpus. The paired gap was +49.6pp for GPT-4o-mini and +55.8pp for Claude Haiku 4.5. Across the three families the gap stays between +46.6pp and +55.8pp, and the condition intervals of each family are disjoint. GPT-4o-mini beat SYNTHESIS in 24 of 24 dialogues, and Claude Haiku in 21 of 24.

The authors read family as shaping the failure pattern, not the size of the architectural cost. Gemini corrupts real rows into a wrong set, GPT garbles output, and Claude omits the flights array.

On the content-controlled ladder, the collapse threshold rises with model capability. It sits under 10 rows for GPT-4o-mini, at 10 to 25 rows for Claude Haiku, and at 50 to 100 rows for Gemini 2.5 Flash. Gemini 2.5 Pro stays perfect through 25 rows, then falls to 83% at 50 rows, 67% at 100 rows and 50% at 198 rows. BYPASS stays size-flat across all four models, at 140/144 runs.

A tier upgrade on Gemini only partly closes the gap, with Pro reaching SYNTHESIS 72.0% against BYPASS 92.6%. The gap narrows to +20.6pp, with an interval of \[+11.7,+31.4\], against Flash's +46.6pp. That upgrade costs five times Flash's per-turn cost and 1.6 times its latency. BYPASS on the cheap Flash beats SYNTHESIS on Pro at one twelfth the price.

The higher tier raises the collapse threshold without removing the mechanism.

## What the size effect costs in money and time

Mean per-turn latency across the full 24-dialogue grid was 4.9 s for BYPASS and 31.7 s for SYNTHESIS. That makes SYNTHESIS 6.5 times slower than BYPASS on the same dialogues. BYPASS re-emits nothing, so its latency and cost stay flat as the delivered table grows. SYNTHESIS scales with the set it must reproduce, so its turns lengthen as the table grows.

At the largest tables, a SYNTHESIS turn averaged 146 seconds, and the worst turn took 194 seconds. Those largest-table turns also cost 8.7 times BYPASS's flat per-turn cost, for an answer with 8% fidelity.

Cost per correct answer divides mean turn cost by accuracy within each delivered-size band. BYPASS stays near $0.012 per correct answer at every table size, so its cost does not rise with size. SYNTHESIS climbs to $2.53 per correct answer beyond 100 rows, roughly 200 times BYPASS's cost. In that band only one SYNTHESIS turn was correct, so the accuracy label reads 3% correct.

The authors point out that tables of that size are the regime a search product exists for.

A bigger model narrows the gap but raises the bill, so the authors call it a costly stand-in. Gemini 2.5 Pro lifts SYNTHESIS to 72.0% at 5 times Flash's per-turn cost. That upgrade also brings 1.6 times Flash's latency, while BYPASS stays at 92.6% on Pro. BYPASS on the cheaper Flash still beats SYNTHESIS on Pro at one twelfth the price.

## Whether failures carry into later turns

Lag-1 conditioning asks whether a failed turn makes the next turn more likely to fail. After a failed SYNTHESIS turn, the next turn fails in 71.9% of cases, versus 31.4% after a clean one. SYNTHESIS recovers only 28.1% of the time, so most of its failures stand into the next turn.

The authors also trace individual values, which gives a deliberately liberal upper bound on propagation. Of SYNTHESIS's 177 traceable failures, 53 (30%) carry corrupted values into later turns. None of BYPASS's 25 failures propagate, and the authors read that zero as structural rather than lucky. BYPASS has no model-emitted set to trace, so propagation can't pass through its delivery path.

A single dialogue shows the same mechanism on real rows: a 74-row result was truncated to 55 rows. The next turn filtered those 55 rows instead of the true 74, returning 45 rows where the ground truth was 11.

The pre-registered depth test asked whether failures compound faster with turn count than an accumulation-only null predicts. It found no super-linear compounding. The authors trace this to saturation, because SYNTHESIS's 56.9% first-turn failure rate leaves the null almost no headroom. The test is degenerate in that high-error regime, so the authors redirected the analysis to table size.

Table size is monotone and controlled, which makes it a better target than turn count for this data.

Fabrication disappeared after the prompt fix, but set errors remained in SYNTHESIS. Of 99 failed SYNTHESIS turns in the size ladder, 96 kept partial-credit fidelity near 1.0. In those turns the emitted rows were genuine, and the error sat in where the set boundary fell.

## Limits of the evidence

Every headline number comes from Gemini 2.5 Flash, and the family and tier legs are the only evidence beyond that model. Runs use no random seed on a non-bit-deterministic serving stack, so they reproduce in distribution rather than turn by turn. Anthropic's API rejects temperature and top\_p together, so Claude runs clear top\_p. If that deviation's direction transfers across families, the parity break works against BYPASS and the Claude gap is conservative.

The size manipulation covers six routes on one cabin, with per-route ceilings of 112 to 198 rows against 510-row payloads.

The gap can't be pinned on synthesis bypass alone, because BYPASS also keeps records in structured state. The authors never ran a condition that keeps the state mechanism but delivers through the LLM, since no deployed pattern matches it. That missing condition would show which member carries the effect, so the +46.6pp measures the pair, not either member.

The size effect still appears without the state mechanism, because every scored ladder turn is a run's first filter turn. The H2 hypothesis, that an answer-shaped demonstration overrides a prompt prohibition, rests on earlier engineering observations.

Dialogue-level bootstrap intervals are wide, with BYPASS from 88.3 to 95.9 and SYNTHESIS from 34.8 to 57.2. The gap interval of \[+35.7, +57.1\] is wide because 24 dialogues form the resampling unit. The largest-size by deepest-position stratum holds only 7 turns, and the two deepest positions are reached by 8 and 3 dialogues. The corpus-level marginal of +46.6pp depends on the authored mix of delivered-table sizes.

Captures are limited to non-stop and one-stop itineraries, and every payload comes from one deployment's flight itineraries. An independent re-implementation of the filter semantics was not built, so that check is still missing.

## Paper info

- **Authors**: Tung Thanh Hoang
- **Venue**: arXiv · Preprint
- **First published**: 2026-10-30
- **Added**: 2026-11-3
- **Updated**: 2026-10-30
- **Version**: v1
- **arXiv**: 2611.00442
- **Category**: cs.CL · cs.AI
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.00442v1) · [PDF ↗](https://arxiv.org/pdf/2611.00442v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## 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 or fewer to 8% or less beyond about 74 rows. On a content-controlled prefix ladder the collapse threshold orders by model capability, from under 10 rows (GPT-4o-mini) to about 198 or more (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 200x 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.

## Quote from the paper

Tung Thanh Hoang (2026). Fidelity Collapses with Table Size, Not Turn Count: Delivery Architecture in a Deployed Tool-Using Agent. arXiv:2611.00442v1. https://arxiv.org/abs/2611.00442v1

**BibTeX**

```
@misc{hoang2026fidelity,
  title = {{Fidelity Collapses with Table Size, Not Turn Count: Delivery Architecture in a Deployed Tool-Using Agent}},
  author = {Tung Thanh Hoang},
  year = {2026},
  eprint = {2611.00442},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.00442v1}
}
```

## Other paper commentary

- [BlindToChange: AI Agents Can Find Changes When Asked But Do They Look When Needed?](https://refivu.com/en/papers/c83614fd-7f10-4160-93dd-e1f5db8363de-blindtochange-ai-agents-can-find-changes-when-asked.md)
- [Pre-Crime for Agents, at the Last Second: Probing When a Recruited Agent Gives In](https://refivu.com/en/papers/bc98eaff-2923-46cf-ba1a-6894522628a0-pre-crime-for-agents-at-the-last-second.md)
- [rTaste: Do Research Agents Have Taste? Evaluating Early Stage Research Judgment](https://refivu.com/en/papers/28dd3461-aee4-4e29-a1a3-d5de1adb3767-rtaste-do-research-agents-have-taste-evaluating-early.md)
- [Appreciation Teaches Unauthorized Execution: Self-Evolution Degrades the Robustness of Personal Agents to Indirect Prompt Injection](https://refivu.com/en/papers/b24e4442-53ad-4dcf-b6e4-f6c50a51e024-appreciation-teaches-unauthorized-execution-self-evolution.md)
- [Where You Inject Matters: The Trust Region Effect in LLM Agents](https://refivu.com/en/papers/a6f00920-d637-4a24-9dd3-61dad04fe8ca-where-you-inject-matters-the-trust-region-effect.md)
- [Agentic Backdoors via Pretraining Poisoning](https://refivu.com/en/papers/efc6c087-fb4c-405a-b03c-44c39cb4e065-agentic-backdoors-via-pretraining-poisoning.md)
- [GraphNIAH: A Benchmark for Long-Context Reasoning over Real-World Graphs](https://refivu.com/en/papers/379f5ec1-86ec-443c-aa89-b520d89b337f-graphniah-a-benchmark-for-long-context-reasoning-over.md)
- [Does Validation Loss Predict Real-Robot Success? Evidence from Four Imitation-Learning Policies on a Low-Cost Arm](https://refivu.com/en/papers/2ee1ef0e-8052-42d5-9651-a13f9d8efe51-does-validation-loss-predict-real-robot-success-evidence.md)
- [Simple Features Beat Most AI Control Monitors](https://refivu.com/en/papers/d1aca6c2-1615-45b0-9efd-38f4290a39cf-simple-features-beat-most-ai-control-monitors.md)
- [When the Simulator Fails, Not the Policy: Auditing Contact Artifacts in Simulated Robot Benchmarks](https://refivu.com/en/papers/6acb7321-bd18-4d58-ac5d-204a2852ff4f-when-the-simulator-fails-not-the-policy-auditing.md)
- [End-to-End Guarantees for Masked Diffusion Models under Conditional Mixing](https://refivu.com/en/papers/9f90360e-afe6-49ca-8165-7669933251b8-end-to-end-guarantees-for-masked-diffusion-models.md)
- [Cord: Confidence-Anchored Order Residual Decoding for Masked Diffusion Language Models](https://refivu.com/en/papers/f4a533fb-c361-44fb-b98c-6372bedef6b6-cord-confidence-anchored-order-residual-decoding-for-masked.md)

## Terms in this paper

- [ORACLE](https://refivu.com/en/terms/3ff0e5f5c4ee-oracle)
- [GPT-4o-mini](https://refivu.com/en/terms/d08bfaa2b9f8-gpt-4o-mini)
- [Gemini 2.5 Flash](https://refivu.com/en/terms/eb64f692e66e-gemini-2-5-flash)
- [Gemini 2.5 Pro](https://refivu.com/en/terms/5e8277bfc876-gemini-2-5-pro)
- [BYPASS](https://refivu.com/en/terms/397c852919fc-bypass)
- [Latin square](https://refivu.com/en/terms/d1d8912ea019-latin-square)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/34076b48-af00-4003-899f-7507faf9f827-fidelity-collapses-with-table-size-not-turn-count)
