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.
PAC Reasoning: Controlling the Performance Loss for Efficient Reasoning
Nanyang Technological University, Singapore(新加坡南洋理工大学);Southern University of Science(南方科技大学);The Chinese University of Hong Kong, Shenzhen, China(香港中文大学(深圳))
Aligning, Fast and Slow: A Control-Theoretic Oversight Framework for Long-Horizon Trajectories and Maintained Deployments
BCG X AI Science Institute(BCG X AI科学研究院);Boston Consulting Group(波士顿咨询公司);Centre for Human-Inspired Artificial Intelligence, University of Cambridge(剑桥大学 类人人工智能中心)
Trajectory Design for UAV-Based Low-Altitude Wireless Networks in Unknown Environments: A Digital Twin-Assisted TD3 Approach
School of Information and Electronics, Beijing Institute of Technology(信息与电子学院,北京理工大学);School of Information and Communication Engineering, Beijing University of Posts and Telecommunications(信息与通信工程学院,北京邮电大学);Shenzhen Research Institute of Big Data, The Chinese University of Hong Kong (Shenzhen)(大数据深圳研究院,香港中文大学(深圳));College of Computing and Data Science, Nanyang Technological University(计算与数据科学学院,南洋理工大学)
FaithSteer-BENCH: A Deployment-Aligned Stress-Testing Benchmark for Inference-Time Steering
University of Electronic Science and Technology of China(电子科技大学);Mohamed bin Zayed University of Artificial Intelligence(马尔代夫人工智能大学);South China University of Technology(华南理工大学)