How LLM Continuation Bias Turns Bad Tool Returns Into Confident Wrong Answers
Models keep answering when tools fail, so catch bad returns first.

Silent tool failure detection in production multi-agent pipelines requires tracing tool returns and validating them before the model treats them as evidence. LLM continuation bias turns malformed or empty returns into confident wrong answers because the drive to complete persists when inputs fail. Final-output scoring can miss that broken causal chain, so finding the failure takes run-level traces, harness-layer checks, and replay against the failures those traces reveal.
Why continuation bias is a training artifact, not a runtime error
Next-token training rewards continuation. OpenAI’s September 2025 paper describes how training objectives and common leaderboards reward confident guessing over calibrated uncertainty. A model can therefore produce a fluent answer without having adequate support for what it says, because completing the response and establishing its truth are different tasks.
Human preference training can reinforce that distinction. In pairwise comparisons, judges often favor a confident response over one that carefully qualifies its claims, so reinforcement learning from human feedback can strengthen the preference for confident completion. Abstention then competes with a learned preference for answering. An instruction to acknowledge uncertainty may help, but it works against a preference that remains in place. This makes continuation bias an incentive problem.
Prompt-level mitigations leave the underlying generator responsible for deciding when its own drive to answer is inappropriate. In an agent, the same drive remains active when the next context segment comes from either a tool or a user. A bad return does not suspend it.
How the drive to complete overrides a bad tool return, step by step
The first step is an ordinary tool call. The agent requests information or an operation, and the tool returns an error, an empty payload, or data with a malformed schema. At this point, the failure is still local. It could remain a recoverable tool-boundary problem, contained outside the answer.
The second step places the return in the model’s context window. Without a separate validation boundary, a broken return and a valid but sparse return both arrive as context that the model must interpret. The third step is the critical transition. Instead of flagging the anomaly, the model treats the return as usable input and continues generating. The fourth step passes the resulting confident answer into the next stage, where the original uncertainty may no longer be apparent.
Carnegie Mellon University’s July 2025 research illustrates why retrospective confidence is not a dependable recovery mechanism. Gemini predicted 10.03 correct sketches, answered fewer than one out of 20 correctly, and then estimated that it had answered 14.40 correctly. This experiment challenges the assumption that asking the model to reconsider its performance will reliably expose an earlier failure.
Peking University and YIXIN’s August 2026 paper on sequence score collapse identifies another reason output confidence can mislead. Hidden-state probes found the correct answers even when structural biases caused native sequence scoring to fail. The correct signal could survive internally while the output failed. This shows that a model can fail even when it has the reasoning capability it needs, though it does not prove that internal reasoning stays intact after every bad tool return. Label frequency preference and prompt-phrasing sensitivity can override an internal signal that points to the correct answer at the output stage, so fluent completion may not show what the model could distinguish internally.
Why reasoning and CoT make confident wrong answers worse, not better
Chain-of-thought prompting does not put a tool-validation boundary in place. Its reasoning steps are generated by the same process that produces the final answer, and they can accept the bad return as their starting premise. Each step then builds on the preceding one. In this failure mode, the chain elaborates the input rather than testing whether the input deserves to be used. More reasoning therefore provides more opportunities to develop an unsupported premise into a coherent conclusion.
That coherence can make the result harder to reject. A direct wrong answer makes a claim, while a reasoning-augmented wrong answer also gives what looks like an orderly path to that claim. Logical connectives and internal consistency can hide the lack of support for the answer. CoT can increase high-confidence wrong answers and worsen standard calibration metrics for most models, so added reasoning is not a dependable corrective for this particular failure. The relevant distinction is between checking a return and reasoning from it.
For a tool-calling agent, that distinction has an operational consequence. A broken tool can lead to an answer that is detailed and confident even though the response might be expected to look incomplete. Downstream systems and human reviewers must then distinguish a well-supported explanation from a polished explanation of a bad premise. Length alone supplies no such distinction. The escape hatch is not simply more generated reasoning, because the reasoning can inherit precisely the input defect it is expected to catch.
How a single bad return becomes a system-wide failure through cascading and loops
A wrong answer becomes more dangerous when another agent consumes it as context. Each downstream step can accept the preceding output as valid and build on it, applying the same continuation drive again. The error acquires dependencies as it travels. By the time it appears in a final answer, the original tool return may be several steps behind the visible symptom. Output-only monitoring reveals the result without showing where the premise first became unsupported.
Retries can turn that propagation into repeated resource consumption. A framework may catch a tool error, feed the full conversation history back to the model, and ask it to try again. Without argument validation or a circuit breaker, a hallucinated tool argument can recur indefinitely. A documented case of a B2B logistics agent reported that such a retry cycle used ₹18,000 in frontier API tokens in four hours. The detailed account credits an automated credit threshold with stopping it, illustrating why recovery cannot depend solely on the model eventually choosing a valid action.
Schema drift makes a run more likely to fail in this way. A harness with many prompts, model configurations, retrievers, and tools has many independent surfaces that can change. A tool schema change can alter how earlier instructions are interpreted, while the resulting bad return may not appear anomalous to the model. More tool definitions introduce another route to the same outcome. Ambiguous selection can produce a call to the wrong function or a hallucinated hybrid call, which looks like a schema failure when viewed only through the final answer.
Why confident wrong answers evade standard evaluation pipelines
Final-output scoring can reward the same qualities that conceal a broken tool interaction. Fluency, verbosity, and internal consistency make an answer look complete even when the causal chain beneath it is corrupt. A judge that sees only that output cannot reliably distinguish supported reasoning from a fluent continuation of bad data. This is a visibility problem before it is a scoring problem.
Model-family bias can further weaken that evaluation. An LLM judge from the same family as the generator can systematically over-reward same-family outputs, making it an imperfect check on agent responses from that family. Recchia et al. (2025) found that evaluators became more confident in a system’s answers after online research, even when those answers were incorrect. Contradictory information was available, but oversight did not consistently translate it into better judgment.
A confident wrong answer can consequently pass both automated grading and a human spot-check before a downstream system acts on it. Both reviews can leave the original tool return unseen. This limits what a passing score in final-output evaluation establishes. The score assesses the visible answer under the evaluator’s criteria. It does not demonstrate that every intermediate input was valid or that the workflow handled a failed tool correctly.
How do you know if a tool call failed silently inside a multi-agent workflow?
A production trace exposes the sequence that final-output scoring omits. It records the prompt, tool call, exact tool return, recorded intermediate reasoning, and final output. Latency and retry counts add evidence of repeated attempts or a loop. Together, these details show where an invalid premise entered the run and which later steps treated it as usable. The trace connects the visible symptom to its antecedents.
That connection supports attribution to a specific layer. A malformed return points to a weakness at the tool boundary, while a prompt that mishandles an empty return points to a weakness in the prompt. A workflow can also fail if it has no validation. A model that overrides a valid return with its prior requires a different diagnosis again. These failures can produce similar final answers, so the trace is needed to distinguish the intervention each one calls for.
For a multi-agent pipeline returning wrong answers without errors, the practical shift is from inspecting the answer alone to examining the recorded call-return sequence and its downstream use. AgentDebug’s September 2025 framework formalizes trace-level diagnosis across memory, reflection, planning, action, and system. Its system category covers errors in tool execution and in the environment. That separation helps prevent every incorrect output from being treated as a generic model failure.
Captured traces also provide the inputs for replay-based validation. Re-running agent logic against recorded inputs and tool outputs tests whether a proposed fix changes what happens on the run that failed. A better overall score on a synthetic benchmark cannot answer that question. Systematically logged failures can then become reusable evaluation cases, giving the test suite a basis in production behavior. Changes in the rate of a known failure pattern also make drift detectable over time.
How harness-layer fixes address continuation bias where prompt mitigations cannot
The harness can enforce a boundary that the generator cannot reliably enforce on itself. Return-validation middleware checks the structure of tool output before it enters the context window. Circuit breakers stop retries after a threshold. Explicit error-state handling routes bad returns to a recovery branch and excludes them from valid context. These interventions change what the model receives and what the workflow permits, rather than merely asking the model to resist its learned preference for completion.
The EMNLP Findings paper “Beyond Prompts: Measuring and Optimizing LLM Tool-Agent Harnesses,” published in October 2026, shows that tool agents can improve without retraining through changes to their runtime harness. Its intervention surfaces include prompts, tool interfaces, middleware, state handling, and recovery logic. PRISM clusters failures and routes repairs to prompt, tool-boundary middleware, or joint edit surfaces within a Pareto search. The repair is targeted to the failure. Prompt changes remain available, but they are not treated as the universal remedy for every layer.
Life-Harness provides a quantitative case for runtime interface adaptation. In tests on seven deterministic environments, it improved 116 out of 126 model–environment settings across 18 model backbones. Its average relative improvement was much greater than that of prompt-only tuning, and the evolved harness worked across model backbones without retraining. These results support treating the runtime interface as an optimization surface in its own right. They do not remove the need to test a particular repair against the particular tool failure it is intended to contain.
For production teams, the lesson is to place checks where bad returns cross into usable context and where retries can continue unchecked. An instruction to flag broken returns still delegates the decision to the generator exhibiting the bias. Harness validation changes that dependency. Training-time calibration approaches, including the “Rewarding Doubt” direction, address the model more directly but require retraining that deployed-agent teams may not control. Harness engineering is the intervention available within their runtime.
The final requirement is evidence that the intervention works. A proposed harness fix needs replay against the production traces that exposed the failure, followed by reusable tests that preserve those cases. Structural validation alone does not prove that a workflow now deals correctly with the failed run. Replay must show the behavioral change. Shipping the repair without that evidence repeats the original mistake at the engineering layer, acting with confidence before the available inputs give enough reason to do so.
Sources
- AI Chatbots Remain Confident — Even When They’re Wrong - News - Carnegie Mellon University
- Wrong Prediction, Right Answer: Recovering Evidence from Collapsed LLM Sequence Scores
- Confirmation bias: A challenge for scalable oversight
- Multiple Choice Questions: Reasoning Makes Large Language Models More Self-Confident, Especially When They Are Wrong
- TRAJDEBUG: Tracing Error Lifecycle to Identify Critical Failures in Long-Horizon Agent Trajectories


