Search arXiv⌕ Search

arXiv subjects

Saroj Pradhan

Publications and source records attributed to Saroj Pradhan.

2 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↗