Search arXiv⌕ Search

arXiv subjects

Dolly Sah

Publications and source records attributed to Dolly Sah.

5 recordsLinked to original sources

EnterpriseSim: A Transactional Gym and Benchmark for AI Agent Reliability

Most AI agent benchmarks test agents in single-actor settings. If an agent calls tools and closes a ticket, it passes. Production enterprise systems behave differently. An agent can satisfy a user's request while breaking the database, such as duplicating a refund after a network timeout, overwriting a concurrent security patch, or acting on a frozen account. To solve this problem, we introduce EnterpriseSim, an open-source, PostgreSQL-based gym of 83 tasks (30 single-incident, 53 with 2+ hazards) across six connected departments. It injects ambiguous timeouts, runs four live background worker bots over shared records, evaluates SQL state directly without LLM judges, and replays every run deterministically. We run 3,619 episodes in total and find four main results. First, under guided prompts on these 53 multi-hazard tasks, model pass rates span 47.2% to 98.1%, yet none of the 7 evaluated models pass a concurrent security patch race unguarded. Second, switching to vague inbox alerts, 55-tool consoles, distraction tickets, and live contention drops every model by 10pp to 30pp, lowering the top model from 95% to 65%. Third, across seven runtime safety layers, a commit gate before PostgreSQL prevents all observed single-agent unsafe writes with 0% false blocking and under 10 ms p99 latency, while parallel multi-writer budget caps still require database locks. Fourth, models frequently spot silent data bugs they fail to fix safely and get stuck in repetitive loops under long safety prompts.

cs.AI↗

Measure Then Revise: Budgeted Compute Routers From a Harness Self-Improvement Loop

Automated harness self-improvement modifies the prompts and code surrounding a frozen language model. However, reported improvements often overlook generalization, inference costs, and evaluation noise. We investigate these limitations across 75 full-loop runs, 966 harnesses, and over 445,000 $τ$-bench conversations using unseen tasks and a $2\times$ executor output-token budget. Prompt guidelines and execution guards produce little improvement on unseen tasks ($-3.0$ to $0.2$ percentage points). In contrast, Python-based compute routers that dynamically allocate reasoning effort generalize across five proposer models, with $95.6\%$ ($172/180$) outperforming their initial harness. However, $60.6\%$ ($109/180$) exceed the token budget. We introduce measure-then-revise, a method that uses measured token consumption at each reasoning level to revise expensive routers rather than discard them. Across six GLM-5.3 seeds per method under search-only selection, budget violations decrease from $38/72$ to $2/72$, and wasted search episodes decrease by $53\%$. All six revised seeds achieve positive held-out gains, averaging $11.6 \pm 2.9$ percentage points versus $5.4 \pm 6.4$ under discard-and-resample. Comparisons with uniform-effort baselines and three reimplemented compute allocators show that automated harness evolution can reach performance comparable to uniform medium effort without weight training.

cs.AI↗

UndoBench: Separating Task Competence from Recovery Capability in Tool-Using AI Agents

Tool-using AI agents are increasingly deployed across enterprise software systems, yet widely used benchmarks primarily evaluate nominal task completion, conflating baseline planning competence with operational fault recovery. We introduce UndoBench, a benchmark spanning 36 base workflows and 36 fault scenarios across 8 enterprise domains, decoupling task competence from recovery capability via counterfactual paired trials under identical seeds alongside wire-level effect-history and environment-state oracles. On 12 held-out TEST workflows across two open-weight models, two frameworks, and three recovery paradigms (5,760 executions / 2,880 paired trials) in the frozen lost-acknowledgment study, nominal competence reached 83.54% while conditional recovery success rate (CRSR) fell to 46.72%, with naive retry producing duplicate external effects in 53.33% of trials. Extensions to commercial API models reproduced this competence-recovery separation. Evaluations across complementary execution boundaries show that recovery is phase-dependent: before mutation, methods perform similarly without duplicate effects among capable trials; during partial mutation, naive retry, per-call idempotency, and zero-privilege journaling collapse on the evaluated composite workflows; after commit but before acknowledgment, verification and server-side idempotency substantially improve safety. These findings demonstrate that evaluating nominal completion alone masks critical, phase-dependent recovery vulnerabilities in autonomous agents.

cs.SE↗

EvoUndo: Recoverability-Constrained Self-Evolution for LLM Agent Harnesses

LLM agents increasingly modify their own prompts, tools, middleware, resources, and execution harnesses at runtime. Such self-evolution can improve capability, but a successful mutation may leave persistent effects that cannot be safely reversed in states different from the one in which it was created. We introduce EvoUndo, a framework for representing, synthesizing, diagnosing, and independently verifying recoverability of model-generated self-modifications across counterfactual states. Across 600 unseen one-shot self-evolution tasks, we identify 197 capability-improving mutations that fail recoverability verification. Under the original recovery representation, conventional repair strategies recover 0/197 of these natural failures. Deterministic oracle analysis recovers 48/197 under the original recovery language L0, while the extended recovery calculus increases empirical oracle recovery to 191/197. A protocol-locked 2x2 grounding-by-expressivity intervention then separates two bottlenecks: exact state-address grounding increases successful recovery from 0/48 to 38/48 (79.2%) when the original language is sufficient, while extending the recovery language enables recovery on 142/143 (99.3%) failures in the oracle-defined S1 stratum. On the primary gpt-oss-120b backbone, adding exact-address diagnostics to the richer language reduces recovery to 133/143 (93.0%); a Qwen3.8-27B replication preserves the grounding and expressivity effects but not this negative interaction, indicating that the latter is model-dependent. These results indicate that reliable agent self-evolution requires co-designing verification, state grounding, witness semantics, and recovery-language expressivity rather than relying on iterative prompting alone.

cs.AI↗

The Verifier Tax: Horizon Dependent Safety Success Tradeoffs in Tool Using LLM Agents

We study how runtime enforcement against unsafe actions affects end-to-end task performance in multi-step tool using large language model (LLM) agents. Using tau-bench across Airline and Retail domains, we compare baseline Tool-Calling, planning-integrated (TRIAD), and policy-mediated (TRIAD-SAFETY) architectures with GPT-OSS-20B and GLM-4-9B. We identify model dependent interaction horizons (15 to 30 turns) and decompose outcomes into overall success rate (SR), safe success rate (SSR), and unsafe success rate (USR). Our results reveal a persistent Safety Capability Gap. While safety mediation can intercept up to 94 percent of non-compliant actions, it rarely translates into strictly safe goal attainment (SSR below 5 percent in most settings). We find that high unsafe success rates are primarily driven by Integrity Leaks, where models hallucinate user identifiers to bypass mandatory authentication. Recovery rates following blocked actions are consistently low, ranging from 21 percent for GPT-OSS-20B in simpler procedural tasks to near zero in complex Retail scenarios. These results demonstrate that runtime enforcement imposes a significant verifier tax on conversational length and compute cost without guaranteeing safe completion, highlighting the critical need for agents capable of grounded identity verification and post-intervention reasoning.

cs.CR↗