Trace Integrity for LLM Data Agents: A Vision for Auditable Structured Reasoning in Real-World Systems

精选理由

Read this paper if you're interested in improving the reliability of LLM data agents and understanding the importance of Trace Integrity in real-world systems.

AI 摘要

This paper introduces Trace Integrity, a deployment reliability criterion for evaluating LLM data agents. It identifies the Structure Gap as the deployment failure mode and operationalizes Trace Integrity with execution contracts. The study shows that answer accuracy, trace validity, and silent-failure risk are distinct evaluation signals. Real-world LLM data agents should be evaluated by their auditable computation.

原文 · arXiv cs.AI

Answer accuracy is an insufficient reliability signal for LLM data agents. In structured-data tasks, a benchmark-correct answer can be produced by an invalid trace. This paper introduces Trace Integrity, a deployment reliability criterion for evaluating whether the computation recorded behind an answer is explicit, executable, schema-valid, operator-faithful, replayable, answer-consistent, and auditable. We identify the Structure Gap as the deployment failure mode that makes Trace Integrity necessary: natural-language reasoning and free-form rationales do not reliably specify the operator-level programs required by real-world systems. We operationalize Trace Integrity with execution contracts, structured artifacts that bind user intent to schema elements, operator plans, assumptions, executable queries, verification status, and final-answer linkage. We also introduce CAIT (Correct Answer / Invalid Trace) Rate, which measures how often answer-only evaluation counts computationally unsupported outputs as successes. In an empirical demonstration on BIRD Mini-Dev, Direct SQL, Operation Summary + SQL, and Contract-First SQL achieve answer accuracies of 20%, 22%, and 24%, while their Trace Integrity Pass Rates are 39%, 43%, and 40% and their CAIT Rates remain high at 55%, 59.1%, and 45.8%, showing that answer accuracy, trace validity, and silent-failure risk are distinct evaluation signals. Real-world LLM data agents should, therefore, be evaluated not only by whether their outputs match a reference answer, but by whether those outputs are backed by auditable computation.