arXiv:2610.08097cs.CROct 2026

Manuscript Offprint

arXiv:2610.08097

When Tools Lie: Reliability of Mathematical Agents Under Corrupted Tool Feedback

Kavienan Jegatheesan, Gayathri Lihinikaduarachchi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Mathematical problem solving often requires deterministic computational steps that agents delegate to tools and implicitly trust. Yet tools can fail silently, returning plausible but incorrect results. How well can agents detect and correct corrupted tool call outputs? We study this through a controlled corruption framework where a hidden interceptor replaces tool call results with plausible incorrect information on targeted problems. We evaluate agents across 31 problems under four verification designs including no verification (baseline), mandatory same-context reflection, optional fresh-context verification, and optional structural verification. Without verification, corruption causes dramatic accuracy loss, from 100% down to 72.4%. Mandatory reflection fully recovers this performance to 100%. Optional verification improves accuracy only when models actively invoke it. Our results show that checking frequency is strongly associated with robustness differences, while unequal invocation prevents a controlled comparison of verifier quality. A supporting recovery experiment shows that full problem restart succeeds in 100% of cases after explicit detection. These findings demonstrate that verifier availability and verification policy are separate components of mathematical-agent reliability. Mandatory policies enforce verification while optional policies depend on the model's own choice to invoke it.

1 Introduction

Mathematical agents increasingly use calculators, symbolic solvers, simplifiers, and substitution tools as external evidence. Reliability work commonly treats the model as uncertain and the tool as trusted grounding. Yet software bugs, stale state, integration faults, or adversarial manipulation can instead produce a well-formed, plausible, but false result. Such semantic failures are harder to recognize than timeouts or malformed responses and can be propagated through otherwise coherent reasoning.

Tool-augmented reasoning such as ReAct studies how external actions support reasoning when tools are useful evidence [1]. Reflection and self-correction methods revise model-generated reasoning [2, 3], although intrinsic self-correction without grounding can be unreliable [7]. External checking methods such as CRITIC and Chain-of-Verification introduce additional verification channels [4, 5], while process supervision evaluates intermediate reasoning [6]. We study the complementary setting in which external mathematical evidence itself is plausible but false.

We ask: RQ1, how susceptible are capable mathematical agents to semantic corruption of tool outputs? RQ2, how do no verification, mandatory reflection, optional fresh-context verification, and optional structural verification compare? RQ3, how are checking behavior and conditional success associated with robustness differences? We contribute a controlled corruption framework,

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: The 6th Workshop on Mathematical Reasoning and AI.

Figure

Figure 1: Experimental architecture. A hidden interceptor may replace a genuine tool result with plausible incorrect evidence. B0 has no dedicated verification, B1 mandates same-context reflection, and B2 and B3 provide optional fresh-context and structurally independent verification. B4 restarts only after explicit detection. The key distinction is mandatory checking in B1 versus optional checking in B2/B3.

an empirical susceptibility study across two capability tiers, and a behavioral decomposition of verification policy. B4 restart is reported only as a supporting recovery observation.