UK AISI open-sources optstop: stop evaluations early by precision to save compute
Optimal stopping: spending evaluation compute where it counts
UK AISI released the open-source Python package optstop, which integrates with its Inspect evaluation framework to stop evaluation runs early when the model performance estimate is sufficiently precise, reducing unnecessary compute consumption. optstop tracks confidence intervals at both the task repetition and grouping levels, using two stopping rules—precision and stabilization—while groups that do not meet the rules still run the full planned budget; it includes a conservative mechanism for rare success cases with success rates below 1%, and requires random ordering of tasks to avoid order bias. On public benchmarks such as MATH, GPQA Diamond, and WritingBench, covering binary, ordinal, and continuous scoring types and low, medium, and high expected performance levels, it saved 57% to 97% of planned trials across 9 settings without affecting score estimates. The tool supports three progressive adoption modes—post-hoc validation, shadow mode, and real-time stopping—and requires only a few lines of code added to the evaluation configuration when using Inspect.
AISI publishes an open-source implementation and test data for adaptive stopping of evaluation compute, which teams doing frontier evaluations can use to adjust their sampling budget allocation.