Study: Agents rely more on tool error channels; silent error detection rate is only 58.8%Loud Failures, Quiet Failures: Fault Detection and Recovery in Tool-Using Language Model Agents
Six models on 24 BFCL multi-turn tasks: explicit error detection 91.3%, silent corruption 58.8%.
- Tool-calling agents are mostly scored by whether they complete tasks when tools are normal. In deployment, timeouts, disappearing endpoints, renamed parameters, and well-formed but wrong-content returns occur. The authors aim to separately examine detection, replanning, recovery, and repetition in multi-turn agents.
- Wrap a fault injection layer around the BFCL multi-turn executable environment, injecting timeout, missing tool, schema drift, or silent corruption once at a controlled step, with no-fault as baseline. Six models, 24 tasks, five conditions, two repetitions, total 1,920 trials; recovery compared against the same model's own fault-free final state.
- Explicit error detection 91.3% (n=936), silent corruption 58.8% (n=374), no-fault successful calls 26.8%. Reasoning variants detected -9.3 percentage points, replanned +10.4 percentage points, with no net difference in recovery. Only tool absence recovered 39.9%, below the 63.3% final-state consistency across fault-free runs.
- The authors state the task is a simulated environment from a benchmark family, not a production service, and the faults are four selected types. Detection is coded from written text, with κ=.69 against manual coding. The step cap is 15, overall 27% hit the cap. The prompt check is done on only two models from one model family.
- Evaluated models
- claude-haiku-4.5-thinkingclaude-haiku-4.5deepseek-r1deepseek-v3qwen3-thinkingqwen3-instruct
- Benchmarks
- Berkeley Function-Calling Leaderboard multi-turn
- Metrics
- detection ratereplanningrecoverystate agreementsame-tool repetitionstep-cap rate
The researchers wrap the executable environment of a function-calling benchmark with a fault injection layer, inject four fault types at controlled points in the trajectory, and observe whether multi-turn agents notice, replan, recover the task, or repeat actions. Six models from three model families (half being reasoning variants) ran 1,920 trials on 24 multi-step tasks: when tools returned explicit errors, 91.3% of trials were treated as problems; when returning plausible-looking wrong values, only 58.8%, while the rate of reporting problems when everything was normal was 26.8%. Reasoning models did not dominate; compared to same-family instruct models, they noticed less (-9.3 percentage points, p < .001), changed plans more (+10.4 percentage points, p < .001), and showed no difference in recovery rate (p = .512). Because agents are stochastic, two fault-free runs of the same task landed in the same state only 63.3% of the time; using this as a baseline, only tool absence significantly reduced recovery (39.9%), while timeouts, schema drift, and corrupted results were within run-to-run fluctuation. Prompting to check every result did not improve detection.
Related events and news
1 events · 1 news mentions
- This event's paper
研究:Agent 对工具静默故障识别率仅 58.8%
News that mentions this paper
- 公众号 大模型安全研究cites the paper's id or link大模型安全周报:决策性模型护栏也能被攻击者绕过
Loud Failures, Quiet Failures: Fault Detection and Recovery in Tool-Using Language Model Agents(https://arxiv.org/abs/2610.10062)
Paper analysis
What problem does this paper attempt to solve?
The authors aim to separately measure discovery, replanning, and recovery under tool faults, rather than only task success or failure.
Task success when tools are normal does not measure whether an agent notices, reroutes, and recovers after a tool-layer error.
- Deployment gap: The authors state that existing benchmarks ask whether the goal can be reached when the environment is normal; in deployment, services time out, endpoints are retired, fields are renamed in minor versions, and return values may be type-correct but wrong in content.
- Existing results leave a gap: The authors state that language models over-trust tool outputs without error signals. Single-step "accept or reject" and recovery with alternative paths have not been linked together—noticing, replanning, and recovery—within the same set of tasks and models.
- Components to separate: The authors decompose failure handling into registering the anomaly, taking another path, and still reaching the goal, and do not treat ordinary friction as a disaster. Human factors literature separates not detecting automation failures from not reacting after detection, and also studies repeated ineffective actions separately.
- This paper's measurement: On the BFCL multi-turn executable environment, they add a fault injection layer, inject one typed fault at a controlled location, and record whether the result is treated as a problem, whether the next step changes, whether the final state returns to the same model's fault-free run, and whether the same tool is called three or more times consecutively.
- Manipulated settings: The experimenters change the returns at the tool execution layer; the system prompt does not mention the experiment. The four fault types are timeout errors, tool disappearing from the registry, calls rejected with unknown-argument, and calls succeeding but returning wrong values of the same type and shape; there is also a no-fault condition. The fault triggers only once, subsequent calls are normal, and recovery is not designed to be blocked.
What related research exists?
The authors place this paper in the tool-layer fault injection literature and instead measure whether detection, replanning, and recovery are separated.
The authors position this paper along four lines and use Table I to juxtapose tool-layer fault injection research with this paper.
Tool use and evaluation
- Function calling: ReAct (Yao et al., 2023) interleaves reasoning and tool calls; subsequent models are trained to call functions directly (Patil et al., 2024; Schick et al., 2023).
- Interaction benchmarks: ToolLLM covers large-scale APIs, AgentBench covers diverse interactive environments, WebArena is placed in web tasks, and τ-bench adds users and domain rules. The BFCL multi-turn split provides a locally executable, stateful environment rather than just reference call strings.
- What scores hide: Kapoor et al. (2024) argue that agent benchmarks reward narrow accuracy at the expense of cost and reliability, leaving evaluation weaker than general machine learning. Cemri et al. (2025) classify multi-agent failures and state that most failures come from specification and coordination rather than base model limits. The authors state that both point to measuring the shape of failures, not just counting them.
Tool-layer fault injection
- Sun et al. (2024): In deliberately erroneous calculators and embodied planning, models often accept wrong outputs without error signals; short in-context disclaimers in the paper improved detection.
- PALADIN and ReliabilityBench: PALADIN injects execution errors from existing failure taxonomies into ToolBench and trains recovery, with the paper reporting recovery rates rising from 23.75% to 89.86%. ReliabilityBench injects timeouts, rate limits, partial responses, and schema drift across four domains, scoring success by final-state equivalence.
- ToolMaze: Crosses explicit/implicit with transient/permanent perturbations, with tasks having alternative tool paths. The paper paraphrases its results as: recovery drops most under implicit failures, attributed to over-trust in corrupted outputs.
Reasoning models and failure handling
- Test-time thinking: Models with internal thinking phases are juxtaposed with instruction-tuned counterparts; extra test-time computation yields gains on tasks with verifiable answers. Turpin et al. (2023) and Chen et al. (2025) report that chain-of-thought or reasoning models' text does not necessarily reveal the clues that actually drive the answer; Shojaee et al. (2025) report that reasoning effort collapses when problems get harder. The authors treat fault trials as another test: longer thinking is not rewarded per se.
- Awareness and reaction: Fault injection and chaos engineering measure recovery because traditional software has no measurable awareness. Human factors literature separates detecting automation failures from reacting to them. Reflexion and Self-Refine write lessons or iteratively revise after failures; the authors state that both assume the problem has already been identified.
Baselines and this paper's position
- Experimental baselines: A no-fault condition, and the final state of another fault-free run of the same model on the same task. Tasks come from BFCL multi-turn. The paper does not treat the above fault studies as experimental controls.
- Authors' positioning: The authors state that numbers across studies cannot be directly compared because tasks, faults, and outcome definitions differ; the commonality is that silent failures are harder. This paper's difference is that detection, replanning, and recovery are coded separately with a no-fault baseline, recovery is compared against each model's own clean runs, and reasoning versus instruction models are compared within the same family.
How does the paper address this problem?
Add a fault injection layer to the BFCL multi-turn environment, inject one fault at a time and record four behaviors separately.
Wrap a fault injection layer around the BFCL multi-turn executable environment, injecting only one fault at a time, and separately record noticing, replanning, recovery, and repetition.
Task and Environment
- Source: Tasks from BFCL multi-turn. Each scenario has a Python class with state, tools are methods. The authors drive these classes directly, not through the official evaluation harness, so faults appear only at selected steps.
- Sampling: 312 of 400 candidates pass three filters: environment class can be locally imported and run, user turns are 3 to 10, and there is an executable ground-truth call sequence. Then sample 24 with a fixed seed, balanced across domains, and freeze before any trials.
- Composition: The frozen set covers 16 domain combinations, including file system, trading interfaces, travel booking, vehicle control, messaging, and ticketing; median user turns per task is 5.
Fault Types and Injection
- Five conditions: timeout throws a timeout error; missing tool removes the tool from the registry and reports unavailability; schema drift rejects calls with unknown-argument, as if parameters were renamed; silent corruption lets the call succeed, returning a value of the same type and shape but wrong content; clean injects nothing. The first three are loud, the fourth is quiet.
- Corruption rules: numeric values shift by 20% to 60%, lists drop one element, or one field is replaced. When the true result is empty, a placeholder string is returned; this occurs in 2 of the 374 analyzed corruption trials. Corruption only changes the return value; the underlying state remains what a successful call would produce.
- Trigger point: The fault triggers once on the first eligible call at or after step floor(T/2), where T is the number of user turns for that task. Actual median trigger step is 3, median number of calls in reference solution is 7, 42.1% trigger at step 1 or 2. Timeout and corruption median step is 2; missing tool and schema drift is 5, because they wait for the agent to call the target tool.
- Hits and exclusions: The latter two faults' target tools are taken from the ground-truth call path. They trigger in 71% and 74% of trials respectively; timeout 99%, corruption 97%. Non-triggered ones are recorded in Table II and excluded; 1,694 of 1,920 are analyzed. Pre-collection self-test requires: clean does not trigger, each fault exactly once and not before the target step, corruption changes values preserving type (except empty results) and does not change environment state, repeated runs behave the same.
Protocol, Models, and Second Prompt
- Turns: After appending a user turn, the model acts until it stops calling tools, then moves to the next turn. Tools are exposed via the provider's native function calling interface with JSON schema, each call goes through the injection layer.
- Prompt: System prompt requires step-by-step work, one tool at a time, continue toward the goal on tool exceptions, no mention of the experiment. The second analysis adds one line to only one matched pair, requiring a brief check after each tool call whether the result matches expectations.
- Panel: The six models in Table III are three pairs of same-family reasoning/instruction variants: claude-haiku-4.5-thinking and claude-haiku-4.5, deepseek-r1 and deepseek-v3, qwen3-thinking and qwen3-instruct. Reasoning variants have thinking budget 2,048 tokens. Calls go through the same gateway, temperature 1.0, two per cell, no sampling seed. Base design is 24×5×2=240 per model; the prompt arm doubles one pair, total 1,920. Stop after 15 tool calls.
Measurement and Determination
- Recovery: Equation (1)'s A(Sa,Sr) is the proportion of public state fields in the trial's final state that reproduce the reference run. Recovery is defined as recovered=𝟙[A(Sa,Scm,t,s)=1], i.e., final state exactly matches the fault-free run of the same model, task, seed. Clean trials compare against another repetition; the prompt arm's clean runs compare against runs without that line. The paper gives two agreement rates 58.3% and 78.1%, overall 63.3%, the sentence does not specify which numbers correspond to which groups.
- Trajectory metrics: Replanning means the first action after the fault differs from the failed one in tool or parameters. Repetition means three or more consecutive calls to the same tool after the fault, parameters may vary; strict repetition where both tool and parameters are identical is reported separately. Both are not defined for clean. Hitting the cap means stopping at the 15-call limit. Extra steps are the difference relative to the clean run of the same model and task.
- Detection coding: Determined by a model judging whether the result is treated as a problem. Reviewers see one call, the return, and the agent's next words, without knowing whether a fault was injected or which condition; clean is coded at the trajectory midpoint similarly. One author, blind to reviewer labels, manually coded 100 instances. Three-class κ=.47; on the 92 instances both coded, binary agreement 85.9%, κ=.69. The rest uses binary. The paper does not report the reviewer model name.
- Inference: Use task-clustered, exchangeable-correlation binomial generalized estimating equations, and task-resampled bootstrap. Family comparisons use paired task-clustered models. Two-proportion z-tests and paired t-tests for the prompt arm are descriptive. Holm correction within families, conclusions based on clustered results.
What experiments did the paper conduct?
Explicit error detection 91.3%, silent corruption 58.8%; recovery drops to 39.9% only for missing tool.
Experimental Setup
- Tested models: claude-haiku-4.5-thinking, claude-haiku-4.5, deepseek-r1, deepseek-v3, qwen3-thinking, qwen3-instruct. Reasoning variants have thinking budget 2,048 tokens, temperature 1.0, two per cell with no seed. Free-tier Nemotron pair dropped out due to rate limits, no completed trials.
- Tasks and conditions: BFCL multi-turn frozen 24 tasks; clean, timeout, missing tool, schema drift, silent corruption. Designed 1,920 trials. Table II analysis counts: clean 384; timeout 379 (trigger 99%); missing tool 273 (71%); schema drift 284 (74%); silent corruption 374 (97%).
- Metrics: detection rate; replanning rate; recovery rate (final state exactly matches the same model's fault-free run); same tool three or more consecutive times; strict identical repetition; cap-hit rate; extra steps relative to clean run.
- Review: Unnamed model does binary judgment; one author manually coded 100 instances, on 92 instances agreement 85.9%, κ=.69. The paper does not write numeric thresholds nor report the reviewer model name.
- Stopping and inference: Stop after 15 tool calls. Overall 27% of trials hit the cap. Inference is task-clustered GEE and task bootstrap, Holm correction within families.
- Prompt arm: Added only to the Claude pair, that pair has 480 each, other models 240 each.
Main Results
Detection rates per Table IV. The text says 26.8% corresponds to clean trials where the target call actually succeeded, so n=306, less than Table II's clean analysis count of 384.
Swipe horizontally to read the table
Condition n Detection rate 95% CI no fault (target call succeeded) 306 26.8% [17.8, 36.5] silent corruption 374 58.8% [45.7, 71.2] loud failure 936 91.3% [88.3, 94.1] timeout 379 91.6% [88.0, 94.5] missing tool 273 91.2% [86.5, 95.2] schema drift 284 91.2% [86.3, 95.4] - The authors say what organizes results is visibility, not fault name: the three loud faults have different next-step requirements, yet detection rates are close; the authors say corruption is 32 percentage points lower than the three. The text writes loud vs quiet difference is 32.5 percentage points (z=13.86, p<.001, h=0.80). Timeout and corruption have the same median trigger step, detection rates 91.6% vs 58.8%.
- Relative to the above no-fault baseline, the text writes quiet is 32.0 percentage points higher (z=8.36, h=0.66), loud is 64.5 percentage points higher (z=22.77, h=1.46). In task-clustered GEE, quiet OR=3.96 (z=6.48), loud OR=28.61 (z=12.14), both p<.001 relative to no-fault baseline. Table IV note says all fault conditions differ from baseline with p<.001 after Holm correction.
- The authors say in Figure 1 right panel, under loud 4% of trials did not treat the result as a problem, under corruption 39%, and say the latter continues to use the wrong value downstream, sometimes reconciling with prior conversation. In the converted text, left panel n is labeled 320, 308, 795, inconsistent with Table IV's 306, 374, 936; detection rates follow Table IV.
Reasoning Models vs Same-Family Instruction Models
Table V is paired by same task, same fault, same seed. Negative difference means reasoning variant is lower.
Swipe horizontally to read the table
Family Detection reasoning/instruction Replanning reasoning/instruction Recovery reasoning/instruction claude 82.0% / 88.2% 75.2% / 70.8% 66.5% / 68.3% deepseek 78.6% / 82.5% 74.6% / 65.9% 38.9% / 42.1% qwen 67.5% / 84.0% 92.6% / 74.8% 44.2% / 46.6% - In detection, all three families' reasoning variants are lower. Paired task-clustered models: Claude OR=0.61 (pHolm=.042), DeepSeek pHolm=.434, Qwen OR=0.40 (pHolm=.003). Combined 450 pairs is −9.3 percentage points (interval [−14.3, −5.3]); adding fault type, reasoning term OR=0.56 (z=−4.28, p<.001). Claude with fault-type covariate on all fault trials gives pHolm=.209. The authors say DeepSeek's difference is smallest, and note its reasoning model sometimes writes tool calls as text.
- Replanning direction is opposite, combined +10.4 percentage points (interval [+5.6, +15.7], OR=2.02, z=3.52, p<.001). The authors say only Qwen is stable within families (OR=4.23, pHolm<.001); Claude and DeepSeek pHolm=.417.
- Recovery shows no advantage: all three families pHolm=1.000, combined −2.4 percentage points (interval [−9.3, +4.5], OR=0.91, p=.512). The authors say extra thinking changes post-fault behavior but does not change how often the original final state is reached. The authors offer another reading: the thinking phase may support generating alternative actions rather than checking return values against task meaning.
Recovery and Repetition for Single Faults
Per Table VI. Clean's "recovery" is agreement of final states from two independent fault-free runs, not recovery from a fault. Same-tool and strict repetition are not defined for clean.
Swipe horizontally to read the table
Condition Recovery Same tool ≥3 Strict identical Cap hit Extra steps clean 63.3% – – 23.2% +0.01 timeout 59.6% 21.4% 1.1% 24.8% +0.53 missing tool 39.9% 12.5% 1.1% 29.3% +1.47 schema drift 59.2% 17.6% 1.8% 31.7% +1.85 silent corruption 60.4% 22.2% 0.8% 25.9% +0.56 - Agreement rate of two fault-free runs is 63.3% (interval [53.1, 73.2]), ranging by model from Claude instruct's 84.4% to DeepSeek-R1, DeepSeek-V3, and Qwen3 thinking's 41.7%. The authors say against this baseline, only missing tool is clearly lower (interval [28.1, 52.4], h=−0.47, OR=0.34, pHolm<.001). Timeout, schema drift, corruption ORs are 0.80 to 0.88, pHolm≥.117. Schema drift with model covariate gives OR=0.76, pHolm=.024.
- The authors say capability loss is a fault that retries cannot undo, and is the one that clearly moves the final state. The authors say corruption is unnoticed in 41% of trials, but final states still mostly fall within run-to-run fluctuation; the authors' explanation is that recovery compares environment state, and the wrong value read changes the report, not the writes to the environment. Same tool three or more times in fault trials is 12.5% to 22.2%, the authors say mostly retries with changed parameters, strict identical repetition 0.8% to 1.8%. Figure 3's step counts and repetition rates are rounded labels from Table VI.
- Trials that treat the result as a problem recover 55.6%, those that do not 55.7% (z=−0.03, p=.974). The authors say this comparison is confounded. Fixing fault type gives OR=1.51 (z=2.91, p=.004); further fixing model gives OR=1.29, p=.098. The authors say this cannot show noticing is sufficient.
Prompt Requiring Result Check
- What was tested: Claude pair's second arm totals 480 trials, system prompt adds one line requiring a brief check after each tool call whether the result matches expectations.
- Results: Instruction model detection change +0.6 percentage points (t(161)=0.30, p=.764), reasoning variant +2.5 percentage points (t(161)=0.94, p=.347). Split by visibility, quiet from 60.6% to 59.6%, instruction-by-visibility interaction z=−1.35, p=.176. The authors say recovery, repetition, and false positives also unchanged, no numbers given for these metrics.
- Authors' interpretation: The authors say this cannot be generalized to a general conclusion about metacognitive prompting; it shows that asking in text to check does not change the gap in Figure 1. The authors compare to Sun et al.: there short disclaimers improved silent error detection, but the model was asked to judge a single output; the authors think detecting anomalies while executing a plan may be exactly where general check instructions lose effect.
Other Ablations and Analyses
- In clean environments, the proportion of own errors (e.g., authentication, balance info) acknowledged when the target call returns is 90%; the authors say this is correct behavior, not false positives. The paper does not give the denominator.
- DeepSeek-R1 averages 1.8 turns per trial writing tool-call syntax into message text, these calls are not executed (Section III-H).
- Two clean agreement rates are written as 58.3% and 78.1%, overall 63.3%; the paper does not specify group correspondence in that sentence.
- Fault median trigger step is 3, 42.1% at step 1 or 2; timeout and corruption median step 2, missing tool and schema drift median step 5.
What are some points that can be further explored?
The authors state that the task is not a production service, detection relies on text, and the three pairs of reasoning comparisons cannot be extrapolated.
Limitations and Future Directions Noted by the Authors
- Environment and fault set (Limitations): The task is a simulated environment from a benchmark family, executable and stateful, but not a production service; fault types are four selected ones, not an exhaustive set.
- Trigger depends on calls (Limitations): Two of the four faults trigger only when the agent calls the affected tool, at 71% and 74%. Even using ground-truth paths to select targets, the analyzed subset is trials where the agent's own choices happen to hit the fault.
- Detection only from written words (Limitations): Noticing but not saying counts as not noticing. Binary coding vs manual coding has κ=.69, the authors say supports this paper's comparisons but is not perfect agreement. The authors write that multiple human coders, or language-independent behavioral signals of detection, could tighten the measurement.
- Bounded budget and noisy reference (Limitations): Trials are truncated at 15 tool calls, 27% hit the cap, recovery rate is recovery within a bounded effort budget. Recovery is compared against a single independent fault-free run; two such runs agree only 63.3% of the time. The authors say the metric is noisy, and fault effects are judged against this baseline, not against perfect agreement.
- Timing and reasoning extrapolation (Limitations): Faults trigger earlier than the midpoint design, timing also varies by type; timeout and corruption have the same median step. Reasoning comparison has only three pairs, one of which writes tool calls as text, reducing effective action rate under that interface. Detection difference is clearest on Qwen, Claude only holds in paired comparison. The authors say three pairs cannot establish general properties of reasoning models.
- Prompt arm and follow-up measurement (Limitations, Conclusion): The prompt arm covers only one model family, the null result should be read as one prompt on two models, not a verdict on prompting methods. Conclusion says they have released the harness, frozen task suite, and scoring data so other fault types, environments, and models can be measured with the same protocol.
Experimental Coverage
- Tested models are claude-haiku-4.5-thinking, claude-haiku-4.5, deepseek-r1, deepseek-v3, qwen3-thinking, qwen3-instruct, 6 in total; free-tier Nemotron pair exited before analysis, no completed trials (Section III-D).
- Tasks are 24 frozen from BFCL multi-turn, sampled from 312 that passed filtering, covering 16 domain combinations; five conditions, two repetitions, designed 1,920 trials, analyzed 1,694 triggered-fault trials and 384 clean (Section III-A, Table II).
- Detection is coded by a model, the paper does not report that model's name; human comparison is one author's 100 codings, κ reported on the 92 instances both coded (Section III-F).
- Prompt check arm only on Claude pair, second arm 480 trials (Section IV-D, Table III).
- Sampling temperature 1.0, reasoning thinking budget 2,048 tokens, stop cap 15 tool calls; paper reports overall cap hit 27%, and per-condition cap rates in Table VI (Section III-D, III-H).
Summarize the main content of the paper
The authors say agents look at error channels rather than return content, so silent corruption is less often treated as a problem.
The authors inject a one-time tool-layer fault into the BFCL multi-turn executable environment, scoring noticing, replanning, recovery, and repetition separately rather than only looking at whether the task was completed.
- Problem: The success rate when tools work normally does not cover timeouts, missing tools, renamed parameters, and returns that are well-formed but wrong in content. The authors argue that not noticing the problem and noticing it but being unable to work around it correspond to different fixes.
- Method: Loud faults place the error string in front of the agent; quiet faults keep the return's type and shape and only change the content. The fault triggers only once, and the underlying state is not half-modified. Recovery is compared against the same model's own fault-free final state, and then against whether two fault-free runs agree.
- Detection: In loud faults, 91.3% (n=936) were treated as problems; silent corruption was 58.8% (n=374); the fault-free baseline with successful target calls was 26.8% (n=306). The three loud faults were close to one another. The authors say the agent responds to the error channel rather than to the returned content.
- Reasoning variants: Across 450 same-family pairs, reasoning models detected 9.3 percentage points less, replanned 10.4 percentage points more, and the recovery difference was −2.4 percentage points (p=.512). Adding one line requiring checking each result did not change detection.
- Cost: Final states agreed across fault-free runs 63.3% of the time. Recovery for missing tool was 39.9%; timeout, schema drift, and corruption fell within run-to-run fluctuation. Calling the same tool three or more consecutive times after a fault was highest for corruption at 22.2%; repeats with strictly identical parameters were 0.8%–1.8%.
- Authors' deployment reading: Monitor values entering the context, not just tool errors; do not treat detecting a fault as already sufficient for recovery; use repeated fault-free runs as a reference, otherwise three faults will look harmful while the final state is still within run-to-run fluctuation. The authors say the materials are released for other fault types, environments, and models to use the same protocol.