TRANSMISSION // 2612.04866v1

When AI Agents Know a Tool Result Is Wrong—but Use It Anyway

Source published

A study of small language-model agents finds that recognizing a corrupted tool result does not always stop them from acting on it. The gap varies sharply by task.

AI-generated conceptual illustration for When AI Agents Know a Tool Result Is Wrong—but Use It Anyway
AI-generated conceptual illustration; not documentary evidence.

If an AI agent notices that a database or table result is unreliable, will it avoid using that result? In a preprint study, researchers tested this question by giving models deliberately corrupted tool outputs, then comparing what the models said about those outputs with what they did next.

The gap between spotting an error and acting on it

AI agents often rely on tools: a database query, a table reader or a calculator can provide information that shapes what the agent does next. But a tool’s output might be wrong, fabricated or out of date. Recognizing that problem is useful only if the agent’s actions reflect its recognition.

Yuze Gao and Yu Yuan investigate this mismatch in a study of small language-model agents. Their central measure is conditioned acceptance: among cases where a model correctly flags a tool result as corrupted, how often does it nevertheless act on that result? The authors call the gap between a stated judgment and a subsequent action a “knowledge–action gap.”

How the researchers tested it

The researchers built a test harness that replaced otherwise faithful tool outputs with one of three kinds of corruption: a fabricated success message, a result taken from the wrong table cell, or a plausible-looking stale result inconsistent with the current input. They tested three task families: question answering over tables (DataBench), text-to-SQL, and arithmetic problems (GSM8K).

For each corrupted item, the study elicited both a trust judgment—whether the model considered the result correct—and a task continuation, showing whether it used the result. A clean, uncorrupted control helped measure whether models wrongly rejected good outputs. The primary statistical test asked whether the probability of acting after a correct flag exceeded a preregistered 10% margin. The main analysis covered four models of up to 8 billion parameters across three task families, with 6,073 items in the shared pool; the authors also report checks involving additional models and held-out examples.

The team checked whether text-classification rules used to score model responses were reliable by comparing them with an independent language-model judge. That check mattered: the acceptance classifier was less reliable than the flag classifier, and its errors differed across task families. The reported per-task acceptance figures were therefore judge-corrected.

What the study found

In 11 of the 12 main model-by-task comparisons, conditioned acceptance was statistically above the 10% threshold after correction for multiple tests. The exception was one Qwen model on GSM8K, where the estimate was below that threshold. The size of the gap was not uniform: it was strongest on table question-answering, also appeared on text-to-SQL after the scoring correction, and was not consistently demonstrated on arithmetic. The authors caution against summarizing results with one pooled figure because differences between task families were very large.

The study also tested whether the pattern could be explained by prompt wording, response order, sycophancy or miscalibration. Several checks supported the researchers’ interpretation, but not every control worked equally well for every model. In particular, order and surface-form equivalence were not established for Qwen2.5-7B, and a planned test of presentation position was missing because of a logging error.

As a further analysis, the researchers trained linear probes to detect corruption from patterns inside models’ residual-stream activations. On the subset of cases where models both flagged and acted on corrupted results, the probes detected corruption above chance and outperformed a difficulty-matched comparison. This suggests that information about corruption remained present in the models’ internal representations. It does not show that the models consciously “knew” the result was wrong, or establish why that information failed to govern behavior.

A scale analysis found that acceptance tended to decrease as model size increased, but the pattern depended on corruption type. A separate 32-billion-parameter Qwen model did not remove the gap on table and SQL tasks. That check used a smaller sample and a quantized model, so it is limited evidence about scaling—not a broad comparison across model sizes.

What remains uncertain

These are controlled tests of particular model families, tools and task datasets, not observations of deployed data pipelines. The authors did not test every kind of tool, corruption or real-world workflow, and the strong variation across task families limits generalization. Their internal-state analysis is correlational: showing that a signal can be decoded does not demonstrate that changing the signal would change behavior.

The paper also describes earlier analysis problems that were corrected, including a flawed probe split that could leak item identity between training and test data. The authors report that the probe result persisted after switching to item-grouped validation, with a smaller, more defensible effect. Such disclosures are useful, but they also make independent scrutiny and replication important.

This article is based on the paper text supplied for the arXiv preprint 2612.04866v1. A preprint is a public research manuscript and should not, by itself, be treated as evidence of peer review. The practical takeaway is narrower than the authors’ punchiest phrasing: a model’s verbal warning is not a reliable substitute for checking its actions. Systems using tools need evaluations that measure both.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.