Skip to content
English

Switch theme

arXiv 2611.20595 · cs.CL · 2026-11-16

Invariant-Aware Harness Enforcement to Protect LLM Agents from Silent API Failures

Sajib Acharjee Dip, Brian Ouyang, Lala Motlhabi

Genentech

In latest · #580 Added on 2026-11-18

One-line takeaway

SilentGuard enforces API invariants during tool execution, drastically reducing erroneous outputs from silent failures without affecting correct responses.

SilentGuard通过在工具调用执行阶段引入不变性检查,有效检测并阻止API沉默失败导致的错误响应,显著降低错误答案率,尤其在前沿模型上表现突出。

Key points

SilentGuard shifts fault detection from LLM reasoning to tool execution by enforcing invariants that correct API responses must satisfy. It detects silent failures during API calls, rejects invalid outputs, and significantly reduces erroneous answers without degrading performance on correct cases. The approach is effective across diverse models and fault types, demonstrating robustness against unseen failures.

  • SilentGuard moves failure detection from model reasoning to tool execution via invariant checks.
  • It identifies silent API failures by verifying results against necessary invariants and rejects invalid outputs.
  • Reduces erroneous answers from 74.0% to 1.7% on target faults across 7 models, down to 0.5% on frontier models.
  • Maintains accuracy on correct tasks and reduces errors on novel fault types from 61.1% to 24.5%.

Written only from the official arXiv abstract by an open-source model, then checked automatically (every number and name must appear in the abstract). The paper is authoritative.

5HF upvotes
1GitHub stars
0Citations (Semantic Scholar)
22.3Buzz score

Read on arXiv PDF Hugging Face discussion Code Project page

Related papers

About this data

Metadata from the arXiv API (verified); upvotes from Hugging Face Daily Papers; citations from Semantic Scholar. Last refreshed 2026-11-30.

The takeaway is written by AIMap from the abstract; the abstract itself is not reproduced — read the original.

Data updated: Latest AI papers(UTC+8)