AgentAbstain: Do LLM Agents Know When Not to Act?

Xun Liu, Yi Evie Zhang, Vira Kasprova, Parisa Rabbani, Pardis Sadat Zahraei, Tianyu Zhang, Ali Ebrahimpour-Boroojeny, Varun Chandrasekaran

TL;DR

As LLM agents transition from text-only assistants to autonomous systems capable of executing real-world actions, knowing when not to act becomes critical. This paper introduces AGENTABSTAIN, the first systematic evaluation framework designed to measure an agent's ability to recognize when to abstain due to ambiguities, tool failures, or conflicting constraints. The findings reveal a severe "action bias" across 17 frontier LLMs, showing that general task-solving capability does not automatically translate into safe, calibrated restraint.

What Problem Does This Paper Address?

When a standard LLM hallucinates in a question-answering setting, the result is a bad piece of text. However, when a tool-using LLM agent hallucinates or blindly pushes forward during an autonomous task—such as deleting a file directory, transferring funds, or canceling a flight reservation—the consequences are irreversible and potentially damaging.

Existing agent benchmarks primarily focus on task success and completion rates. They fail to evaluate whether an agent can detect when a task is impossible, ambiguous, or hazardous. To address this safety-critical gap, the authors formalize and evaluate agentic abstention: the calibrated ability of tool-use agents to explicitly refuse or seek clarification rather than execute unintended actions.

Methods

The authors developed a rigorous framework built on three core design principles:

  1. Paired-Task Design: To accurately measure calibration without inflating scores, every evaluation instance consists of a pair of tasks: a "should-act" variant ($T^+$) and a "should-abstain" variant ($T^-$). The two share the same sandbox environment but differ by a single controlled perturbation ($\delta$) that introduces an abstention trigger.
  2. Phase Coverage: The framework evaluates agents across two distinct execution phases: pre-execution (where the trigger is visible in the prompt or tool schemas) and runtime (where the trigger only surfaces after interacting with tools).
  3. Commit-Level Evaluation: Tasks are executed in sandboxed environments where tools are explicitly categorized as lookup (read-only), verify (validation gates), or commit (state-mutating). Evaluation combines a deterministic check on the tool-call trace (ensuring no commit tools were fired for abstention tasks) with an LLM judge scoring the final text response.

To scale this benchmark safely and avoid data contamination, the authors created ABSTAINGEN, a fully automated pipeline that synthesizes Model Context Protocol (MCP) sandbox environments and generates paired tasks end-to-end using a cross-family actor-critic loop (GPT-5.4 as the actor, Claude Sonnet 4.6 as the critic).

Datasets

The resulting AGENTABSTAIN benchmark contains 263 paired tasks (526 individual tasks) instantiated across 42 executable sandbox environments exposing 541 tools.

The tasks are balanced across eight distinct abstention scenarios (detailed in Figure 2) and are grounded using raw seed instructions sampled from eight prominent upstream agent benchmarks, including tau-bench, BFCL, Agent-SafetyBench, AppWorld, ToolBH, TOP-R, Upward Deceivers, and MCPVerse.

Figure 2: AGENTABSTAIN taxonomy. Eight abstention scenarios across two phases. Blue cards: pre-execution trigger detectable from the user’s instruction or the tool inventory. Orange cards: runtime trigger detectable only from tool observations. Formal conditions and the perturbation target for each scenario appear in Appendix B.7.

Key Insights and Ideas

  • Action Bias as a Default Prior: LLM agents suffer from a profound bias toward execution. They frequently prioritize task completion over task coherence, attempting to resolve logically impossible instructions or extreme scope escalations rather than pausing to flag them.
  • The Danger of "Post-Hoc Abstention": The authors identified a uniquely dangerous failure mode where an agent executes an irreversible state-mutating action first, encounters a problem or realizes a conflict later, and then verbally claims refusal in its final response to the user.
Figure 1: Four distinct agent behaviors on the same should-abstain task. (a) The user instruc- tion requests document verification and briefing creation. (b) The MCP sandboxed environment contains conflicting evidence: file metadata lists version 2024 while the registry lists 2025. (c) Each panel shows one of the four outcomes from our 2×2 evaluation (commit check × response abstention); only Successful Abstention is scored as a correct abstention on should-abstain task.
  • Capability Does Not Imply Restraint: Abstention capability scales largely independently of general task-solving capability. Simply making a model larger or better at completing tasks does not close the calibration gap.
  • Deficiency Type Predicts Difficulty: The underlying nature of the problem dictates task difficulty far more than when the trigger becomes visible. Informational gaps and logical contradictions are systematically harder for models to handle than simple tool capability limitations, regardless of whether they appear pre-execution or at runtime.
Figure 5: Category difficulty across 17 models. Bar color encodes deficiency type; diagonal hatch- ing marks runtime (solid = pre-execution). Error bars show cross-model min–max range.

Key Results

The authors evaluated 17 frontier LLMs across 4 agent harnesses. The primary metric, Paired Accuracy, requires a model to successfully complete the action variant and correctly abstain on the paired variant.

  • An Unbroken Ceiling: No frontier LLM crossed a 60% Paired Accuracy ceiling. The top-performing models were Gemini 3.1 Pro (59.5%) and Claude Opus 4.7 (59.4%).
  • Widespread Failures: 12 out of the 17 evaluated models scored below 50% paired accuracy, meaning they perform worse than a simple constant policy.
  • The Act-Abstain Gap: Across the entire benchmark, mean Act Accuracy reached 80.6%, while mean Abstain Accuracy lagged at 59.1%—a stark 21-point gap highlighting the systemic lack of restraint.

Limitations and Future Work

  • Environment Complexity: The 42 sandbox environments feature deterministic behaviors and relatively small tool sets (3–29 tools per environment). Real-world deployments deal with hundreds of endpoints, non-standard error handling, and partial infrastructure failures.
  • Single-Turn Constraints: The current benchmark evaluates single-turn interactions. Future extensions should explore multi-turn setups to evaluate how effectively agents update their decisions after receiving user clarifications or overrides.
  • Stochasticity: Each model was evaluated using a single rollout per task. Multi-run evaluations (e.g., pass@k) would help better decouple absolute model capability from stochastic variance.

Summary updated

BibTeX
@inproceedings{liu2026agentabstain,
  author = {Xun Liu and Yi Evie Zhang and Vira Kasprova and Parisa Rabbani and Pardis Sadat Zahraei and Tianyu Zhang and Ali Ebrahimpour-Boroojeny and Varun Chandrasekaran},
  title = {{AgentAbstain: Do LLM Agents Know When Not to Act?}},
  booktitle = {WAB @ COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=0CW0wJGtLS},
}
Figure