Back to today's list

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

Published Jul 14, 2026Featured #6In the daily list Jul 15, 2026
Daily score65.5
Editorial review7.2
Relevance0.492
Freshness0.722

Why It Matters

What makes this one worth your time

Understanding and improving the abstention capabilities of LLM agents is crucial for deploying them safely in real-world applications where unintended actions can have significant consequences.

AgentAbstain evaluates LLM agents' ability to recognize when not to act, revealing a gap in current capabilities.

Summary

The paper introduces AgentAbstain, a framework for evaluating the ability of large language model (LLM) agents to abstain from acting in scenarios where action may be inappropriate or risky. It includes a benchmark with paired tasks designed to test this abstention capability across various scenarios and environments. The study finds that current LLM agents have limited ability to abstain, independent of their general task-solving skills.

Key contributions

  • Introduction of AgentAbstain, a systematic evaluation framework for agentic abstention.
  • Development of AbstainGen, an automated pipeline for generating paired tasks and sandbox environments.
  • Empirical evaluation showing the limited abstention capabilities of current LLM agents.

Notable insights

  • Abstention capability is largely independent of general task-solving ability, suggesting that improvements in task-solving alone will not address abstention issues.

Possible limitations

  • Not stated in the abstract

Abstract

arXiv:2607.10059v1 Announce Type: new Abstract: Agent systems based on large language models (LLMs) are increasingly deployed for autonomous tasks, yet existing evaluations mostly focus on task success rather than whether agents know when to abstain. This gap poses real risks: under ambiguity, conflicting constraints, or tool failures, agents may execute unintended and irreversible actions. To close this gap, we present the first systematic evaluation framework for agentic abstention: the calibrated ability of tool-using LLM agents to recognize when not to act. At its core, AgentAbstain is a paired-task benchmark built on an agent-native taxonomy of 8 abstention scenarios across pre-execution reasoning and runtime discovery. It contains 263 paired tasks across 42 executable sandbox environments, where each pair consists of a should-act task and a should-abstain variant produced through a controlled perturbation to the instruction, tool, or environment state. To scale this paired design and resist data contamination, we propose AbstainGen, a fully automated pipeline that synthesizes sandbox environments and generates paired tasks end-to-end, validated by deterministic replay and semantic LLM judges; fresh task instances can be regenerated on demand, and three independent annotators rate 94-98% of sampled tasks as well-designed. Across 17 frontier LLMs in 4 agent harnesses, the best agent (Gemini 3.1 Pro) achieves only 59.5% paired accuracy (correct on both the act and abstain sides of each paired task). More importantly, abstention capability is largely independent of general task-solving capability, indicating that scaling task-solving alone will not close this gap. We further identify failure modes such as post-hoc abstention, in which agents execute irreversible actions before recognizing abstention triggers. Our code and dataset are open-sourced at agentabstain.github.io.