Adaptive auditing of AI systems with anytime-valid guarantees
Siyu Zhou, Patrick Vossler, Venkatesh Sivaraman, Yifan Mai, Jean Feng
NeurIPS page · OpenReview · Open on the map
Category: LLM Reasoning, Memory & RAG › Agent Memory Management · Type: new method · Keywords: adaptive auditing, anytime-valid inference, statistical testing, e-processes, AI robustness, testing by betting
Areas: Evaluation & Benchmarks › Language Model and Agent Benchmarks › System Reliability and Auditing
Summary
Adaptive auditing with anytime-valid guarantees introduces a dual-null hypothesis testing framework that leverages Safe Anytime-Valid Inference to enable rigorous statistical conclusions from highly adaptive audits, certifying global robustness of AI systems.
Explained to a 5-year-old
We want to check if a smart computer program works well all the time. Instead of looking at many examples at once, we can look at a few and decide what to look at next. By using a special way of testing, we can be sure that if we see no problems, the program is probably safe. This method keeps the chance of making a mistake very low. It helps us trust the program without spending a lot of time and money.
Explained to a 5-year-old, longer
When we build a computer that can create pictures or text, we need to make sure it doesn't make mistakes. Checking every possible thing it could do takes a lot of time and money. So people came up with a plan where they look at a few examples, learn from them, and then decide what to look at next. This way they can focus on the parts that might be problematic. The plan also says we can stop checking early if we are confident. By using a special rule for testing, we keep the chance of being wrong very small. This helps us trust the program without needing huge amounts of data. It also saves money because we don't have to label as many examples. The method works even if we change our mind about what to test as we go. It is designed to be safe no matter how we adapt our testing strategy. This makes auditing AI systems faster and more reliable for everyone.
For a technical reader
The paper proposes a hypothesis-testing framework that formulates two complementary nulls-one about model performance and one about the auditor’s sampling strategy-and uses Safe Anytime-Valid Inference to create simultaneous e-processes for testing by betting. Under sufficient auditor power, the nulls are asymptotically inverse, allowing a stringent audit to certify global robustness. Empirical evaluations confirm anytime-valid type-I error control and superior performance over conventional pre-specified testing methods.
Problem
When evaluating AI systems, adaptive testing-where sampling and stopping decisions are made on the fly based on observed data-makes it difficult to draw statistically rigorous conclusions because classical methods assume fixed sample sizes and pre-specified rules.
Method
The approach formulates two complementary null hypotheses-one about the model's performance and another about the auditor's sampling strategy-and uses Safe Anytime-Valid Inference (SAVI) to construct simultaneous e-processes that implement testing by betting. Under sufficient auditor power, the two hypotheses are shown to be asymptotically inverse, enabling a stringent audit to certify global robustness. Empirical results demonstrate anytime-valid type-I error control and better performance than pre-specified testing methods.
Results
The procedures maintain anytime-valid type-I error control, beat pre-specified testing methods, and can draw rigorous conclusions with as few as 20 observations.
Contributions
We introduce a dual-null hypothesis testing framework that leverages Safe Anytime-Valid Inference to enable rigorous statistical conclusions from highly adaptive audits, and we prove that under sufficient auditor power the two hypotheses are asymptotically inverse, certifying global robustness. The work also provides empirical validation of anytime-valid control and superior performance over conventional methods.
Limitations and assumptions
The guarantees rely on the auditor having sufficient power to detect failures; the analysis assumes limited sample sizes typical of adaptive audits.
Practical relevance
Enables efficient, statistically rigorous auditing of AI systems, reducing annotation cost and allowing reliable robustness certification with few observations.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction