arXiv — NLP / Computation & Language · · 3 min read

Check Yourself Before You Wreck Yourself: Selectively Quitting Improves LLM Agent Safety

Mirrored from arXiv — NLP / Computation & Language for archival readability. Support the source by reading on the original site.

Computer Science > Computation and Language

arXiv:2510.16492 (cs)
[Submitted on 18 Oct 2025 (v1), last revised 26 Jun 2026 (this version, v4)]

Title:Check Yourself Before You Wreck Yourself: Selectively Quitting Improves LLM Agent Safety

View a PDF of the paper titled Check Yourself Before You Wreck Yourself: Selectively Quitting Improves LLM Agent Safety, by Vamshi Krishna Bonagiri and 3 other authors
View PDF HTML (experimental)
Abstract:As Large Language Model (LLM) agents increasingly operate in complex environments with real-world consequences, their safety becomes critical. While uncertainty quantification is well-studied for single-turn tasks, multi-turn agentic scenarios with real-world tool access present unique challenges where uncertainties and ambiguities compound, leading to severe or catastrophic risks beyond traditional text generation failures. We propose using "quitting" as a simple yet effective behavioral mechanism for LLM agents to recognize and withdraw from situations where they lack confidence. Leveraging the ToolEmu framework, we conduct a systematic evaluation of quitting behavior across 12 state-of-the-art LLMs. Our results demonstrate a highly favorable safety-helpfulness trade-off: agents prompted to quit with explicit instructions improve safety by an average of +0.39 on a 0-3 scale across all models (+0.64 for proprietary models), while maintaining a negligible average decrease of -0.03 in helpfulness. Our analysis demonstrates that simply adding explicit quit instructions proves to be a highly effective safety mechanism that can immediately be deployed in existing agent systems, and establishes quitting as an effective first-line defense mechanism for autonomous agents in high-stakes applications.
Comments: Reliable ML and Regulatable ML workshops, Neurips 2025
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2510.16492 [cs.CL]
  (or arXiv:2510.16492v4 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2510.16492
arXiv-issued DOI via DataCite

Submission history

From: Vamshi Krishna Bonagiri [view email]
[v1] Sat, 18 Oct 2025 13:22:19 UTC (1,725 KB)
[v2] Sat, 25 Oct 2025 10:26:51 UTC (1,725 KB)
[v3] Sun, 1 Feb 2026 11:38:28 UTC (1,726 KB)
[v4] Fri, 26 Jun 2026 11:50:13 UTC (1,725 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Check Yourself Before You Wreck Yourself: Selectively Quitting Improves LLM Agent Safety, by Vamshi Krishna Bonagiri and 3 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source

Current browse context:

cs.CL
< prev   |   next >
Change to browse by:
cs

References & Citations

Loading...

BibTeX formatted citation

loading...
Data provided by:

Bookmark

BibSonomy Reddit
Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos

Demos

Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers

Recommenders and Search Tools

Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from arXiv — NLP / Computation & Language