I put a conformal risk control gate between an LLM agent and its write actions on tau-bench. The bound held. The gate didn't beat asking every time [R]

Reddit r/MachineLearning Papers

Summary

作者实现了一个基于 conformal risk control 的写操作安全闸门 gate-calibrated,在 tau-bench retail 上验证了风险上界成立(α=0.02 时 1.7% 错误写入未询问,达标),但闸门在每错误写入避免率上并未优于简单地每次询问用户。诊断显示模型的 verbalized confidence 和自采样一致性信号均已饱和(错误步骤上置信度也≥0.9),真正起作用的特征只是对话步数位置,说明该方案在易基准上也难以产生有区分度的置信信号。

My agent said it was 100% sure. The user had asked it to change two items in an order. It changed one. So I built gate-calibrated: a barrier between a tool-using agent and the environment. Before any action that writes (modify an order, change a payment method), the gate computes two confidence signals, the model's own probability estimate and the agreement of k resampled next actions, maps them to a calibrated probability of success, and compares it to a threshold. The thresholds come from conformal risk control: you pick an alpha, and the bound targets the share of conversations that execute a wrong write without asking. Actions in the irreversible tier (cancel, return, exchange) always ask, under every policy I compared. It is an open implementation of the idea in ToolChain-CRC (arXiv 2606.18467) and CORA (arXiv 2604.09155). Evaluated on tau-bench retail, 3,340 simulated conversations total, agent and simulated user both glm-5.3-flash. The risk control worked. At alpha 0.02, 1.7% of 460 test conversations executed a wrong write without asking. At alpha 0.05, 3.7%. At 0.10 and 0.20, 3.0%. All at or under target in point estimates, with wide CIs, because 460 trajectories is not a lot. tradeoff curve: wrong writes executed vs approvals requested https://preview.redd.it/6yjfiph4mlvh1.png?width=1050&format=png&auto=webp&s=dc280e5abbc7d2043f64476fd44b945ca01d6c2a The gate did not. At alpha 0.10 and above, the learned threshold is so low the gate never asks on a write, which makes it the same policy as a fixed 0.7 confidence cutoff. At alpha 0.02 it asks a lot, and per approval it avoids 0.058 wrong writes, against 0.062 for confirming every write (difference CI [-0.04, 0.03]). Confirming every write also gets you to zero executed wrong writes, at 1.57 approvals per conversation. The calibrated gate cannot reach zero at any alpha. The diagnosis is the part I keep coming back to. Verbalized confidence was 0.9 or higher on 548 of 549 write steps I collected, including all 43 wrong ones. Self-agreement of 5 resamples was 0.9 or higher on 758 of 780 steps. Both signals are saturated, so the calibrator mostly learned the base rate plus one real feature: the weight it puts on step position (-0.80 on log(1 + step index)) says later steps are riskier. Position in the conversation is doing the work confidence was supposed to do. Code, data and the negative results: https://github.com/Gjusev/gate-calibrated If verbalized confidence and self-agreement are this saturated even on an easy benchmark, what would you rank write steps by instead? A separate verifier model, checks on the tool arguments, something else?
Original Article

Similar Articles

The Harness as the Only Mutable Surface: Compliance-Bounded Self-Evolution of LLM Agents in Credit Pipelines, with a Measured Admission Gate

arXiv cs.AI

该论文提出一种将LLM代理的自进化限制在运行时harness(指令文本、工具调用逻辑与原语组合)的框架,模型权重保持固定,使每次适应都成为可审查的diff,并通过哈希链记录的准入门进行管控。模拟实验显示受控双循环仅放行144/7449个候选变更且未恶化误差,而无约束系统放行了309个有害变更。

Auditing Escalation Reliability in Healthcare LLM Agents: A Perturbation-Controlled Benchmark of Workflow-State Failures

arXiv cs.AI

该论文提出了一个受扰动控制的医疗LLM智能体基准测试,包含400个多轮episode,评测在缺失、过时、冲突和迟到信息下的升级/拒答决策能力。结果显示模型在干净环境下准确率达0.97,但在不确定性扰动下漏掉32-97%的必要升级,且基于词汇规则的控制器在未见过的同义改写下召回率降至0。

update on the multi-step agent guardrail i scoped here a few weeks ago

Reddit r/AI_Agents

The author shares a first working version of a multi-step agent guardrail that re-checks the facts an irreversible action depends on right before execution, plus a benchmark reporting catch rate and false-alarm rate separately — achieving 0% false alarms after conservative normalization while running on a local Qwen2.5-7B model.