A Stopping Rule Needs Three Answers
A bounded evaluation rule must say when evidence supports acceptance, when it supports rejection, and when one more observation is worth buying.
An unbounded AI evaluation has a quiet bias: it can keep trying until something looks acceptable.
That is not merely a cost problem. Repeated attempts change the meaning of the evidence. A task that passes once after nineteen failures is different from a task that usually passes first time, even when the final output is identical.
A stopping rule prevents the attempt policy from being invented after the result. It needs three answers: accept, reject or escalate, and continue gathering evidence.
Sequential sampling supplies the shape
The NIST/SEMATECH handbook on sequential sampling describes an industrial procedure in which items are inspected one at a time. After each observation, accumulated evidence can cross an acceptance boundary, cross a rejection boundary, or remain between them and require another observation.
The handbook’s worked design distinguishes an acceptable defect level of 1% from a rejectable level of 10%, with a 5% producer risk and 10% consumer risk. Those values belong to its example. They are not recommended limits for AI work. Without truncation, the plan can continue until the whole finite lot has been inspected; the handbook gives three times the corresponding single-plan sample as a rule-of-thumb cap.
The transferable idea is the decision geometry, not the example’s thresholds.
For an AI route, an observation could be a representative task outcome rather than another generation of the same prompt. The evidence could be a cumulative failure count, a likelihood ratio, or another pre-specified statistic. The rule must be calibrated to the population and consequence; drawing two lines after the experiment would only make hindsight more geometric.
Define two rates and two mistakes
A simple design begins with two propositions:
- a failure rate at or below p₀ would support using the route for the declared task;
- a failure rate at or above p₁ would support rejecting or escalating it.
The gap between them is intentional uncertainty. Then choose the tolerable chance of rejecting a route at p₀, and the tolerable chance of accepting one at p₁. These are decision errors, not confidence decorations.
The proposal still needs a maximum sample, maximum elapsed time, and maximum spend. At the cap, the rule must say what happens if neither boundary has been crossed. For consequential work, “inconclusive” should not silently become acceptance. It may mean run a stronger study, narrow the population, or keep the route out of production.
The task population matters more than mathematical neatness. If difficult items are rare, random arrival may require a long time to observe them. Stratified sampling or mandatory challenge cases may be necessary. If outputs change after each observation because the system is being tuned, the observations do not come from a stable route; freeze the evaluated version or treat the change as a new episode.
Attempts within a task need a second cap
Evaluation episodes and production attempts are different loops.
Suppose a production policy permits up to three model attempts for one task. Record whether acceptance occurred on attempt one, two or three, and retain failed attempts. Do not report the final success as if only one attempt occurred. If each attempt has an independent 60% chance of success, an illustrative and often unrealistic assumption, the chance of at least one success in three attempts is 93.6%. The expected cost and latency still include all attempts made, and correlated failures can make the actual improvement much smaller.
The attempt cap protects the service from spending without limit. The evaluation cap protects the organization from studying without deciding. Both belong in the task contract.
Escalation must change the evidence source
An escalation is useful when it can obtain evidence the current loop lacks. It may bring a person with authority, a stronger model, a deterministic tool, an external record, or a decision to defer. Sending the same prompt to the same route for the fourth time is continuation, not escalation.
Name the classes in advance. A missing source may route to retrieval. A policy conflict may route to an authorized owner. A safety boundary may stop the task. A service timeout may choose a reduced but reversible action. This makes the stopping rule an operating mechanism rather than a statistical appendix.
The rule should be allowed to reject the project
A team can always choose thresholds that make its preferred system pass. The defense is to bind the rule to the consequence and set it before observing the current route.
Publish the population, failure definition, boundaries, maximum sample, attempt policy, version and decision after the cap. Keep rejected and unresolved work. Re-run the design after a material change or observed drift. Where the risk cannot be represented credibly by a rate, use a different acceptance mechanism instead of forcing it into this one.
The purpose of the stopping rule is not to make every decision quantitative. It is to ensure that continuing, accepting and rejecting are all real actions. Otherwise the only action is to continue until the budget or patience fails, and neither is an acceptance standard.
Tomorrow’s revision addresses the boundary of the whole exercise: even an excellent cost and stopping account cannot decide what the outcome is worth.