arXiv cs.AI· Rachel Li, Chris Hays, Aaditya Ramdas, Manish Raghavan·· 1 天前AI 评分34
如何在 AI 系统部署前测试中控制未知未知故障的概率
Controlling the Probability of Unknown Unknowns in Pre-Deployment Testing of AI Systems
AI 导读
研究者提出一种算法,用于在 AI 系统(如 AI 智能体)部署前测试中认证"观察到未见故障模式的概率足够小",通过构建 anytime-valid 上置信序列,让开发者可反复测试并查看边界,低于阈值时停止而不破坏统计保证。
正文 · 原文
Abstract:In pre-deployment testing of AI systems such as AI agents, a developer can often deal with known failure modes (e.g., leaking API keys, deleting important databases, or installing a malicious package) by implementing fixes or making contingency plans for when the same issue might occur again. What is more challenging are the unknown unknowns: the unseen failure modes that haven't surfaced during testing. The decision to stop testing and deploy therefore faces an inherent tradeoff: continue testing to observe more behaviors, at the cost of time and resources, or stop testing and deploy, at the risk of failure modes remaining undiscovered. How then does the developer decide when they have tested enough? To answer this, we develop an algorithm that certifies when the probability of observing an unseen failure mode is sufficiently small. The algorithm constructs an anytime-valid upper confidence sequence on this quantity, so the developer can repeatedly test a system, inspect the bound, and decide to stop when it falls below a chosen threshold without invalidating the statistical guarantee. Our problem can be interpreted as a sequential variant of the missing-mass estimation problem which gave rise to the classic Good-Turing estimator (Good, 1953). On SWE-Chat, a dataset of real-world coding agent traces (Baumann et al., 2026), we implement our procedure and show that it achieves tighter upper bounds than a simple multiple-testing corrected Good-Turing baseline, and even dominates a fixed-horizon (non-multiple-testing-corrected) Good-Turing upper confidence bound, which is not anytime valid. Additionally, to better match realistic evaluation pipelines, we extend our method to handle sampling from a different task distribution and imperfect automated failure labeling.
| Comments: | 62 pages, 10 figures |
| Subjects: | Artificial Intelligence (cs.AI); Computers and Society (cs.CY); Statistics Theory (math.ST) |
| Cite as: | arXiv:2611.15835 [cs.AI] |
| (or arXiv:2611.15835v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.15835 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Chris Hays [view email]
[v1]
Wed, 11 Nov 2026 18:46:36 UTC (2,221 KB)
来源:arXiv cs.AI · arxiv.org