arXiv:2610.00993stat.MLOct 2026

Manuscript Offprint

arXiv:2610.00993

The Price of Correlated Tests: How Strict Should a Model Release Gate Be?

Marco Pollanen

Marco Pollanen

Department of Mathematics & Statistics

Trent University

Peterborough, ON, Canada

marcopollanen@trentu.ca

Abstract—Before a machine learning model ships, it often has to pass a suite of automated tests. Requiring every test to pass looks safe, yet it can reject many models that would have served users well, and it does not say how trustworthy a passing model actually is. We treat the release gate as a design problem: choose how many tests a model must pass so that cleared models meet a stated reliability target, while keeping as many good models as possible. A two-class latent-factor model makes both costs explicit and reduces each calculation to a one-dimensional integral. We prove that when both classes share the same latent correlation, a stricter gate always raises reliability, so the gate that keeps the most good models is the most lenient one that still meets the target. Under pass-all gating, any reliability target short of perfection is attainable within the model, but the share of good models kept tends to zero as the suite grows. Correlation between tests sets the price. In one configuration, a 99 percent target needs 8 independent tests, but 74 tests at a latent correlation of 0.3 and 5,182 at 0.5, where the gate keeps fewer than one good model in ten. We also give a validation procedure, built on exact binomial bounds, that certifies a gate from labelled data even when the gate is chosen from a fixed shortlist.

Keywords—model deployment, release gates, machine learning testing, correlated tests, precision, sensitivity, confidence bounds

I. INTRODUCTION

A training sweep produces hundreds of checkpoints. A release review must decide which of them may be deployed, and it often does so with a fixed suite of automated checks [1][1], [2][2]. The gate can fail in two ways. It can clear a model that violates the deployment requirement, or it can reject a model that meets it. The common convention, “every test must pass,” guards against the first failure and says nothing about the second.

How many of k tests should a model be required to pass? The answer turns on three quantities. The first is how often each test errs. The second is whether the tests err together: a flaw that slips past one benchmark tends to slip past similar ones, and a good model that trips one check tends to trip related checks. The third is the composition of the pool. When good candidates are rare, even a small false-clearance rate can fill the released set with bad ones. With 1,000 flawed candidates for every 10 good ones, a 99% reliability target requires the gate to clear flawed candidates at no more than one ten-thousandth of the rate at which it clears good ones.

Diagnostic medicine has long studied how to combine imperfect tests and how conditional dependence distorts their apparent accuracy [3], [4]; latent-class models with random effects represent that dependence explicitly [5]. The equicorrelated one-factor model we use also underlies portfolio credit-risk calculations [6]. In machine learning, selective classification trades risk against coverage when a model abstains on some inputs [7], and learn-then-test calibrates such settings with finite-sample guarantees by treating their selection as multiple testing [8]. Our setting differs in two respects: the objects screened are candidate models, not inputs, and retention is measured within the acceptable class rather than as the overall fraction accepted. Work on leaderboard reuse addresses yet another problem, adaptive overfitting to a shared test set [9], [10]. We contribute an analysis of correlated benchmark pass counts for candidate-model release, in four parts:

  • A design rule with a proof. For an r-of-k gate we compute both the false-clearance rate and the rate at which good models survive. In a Gaussian one-factor model with a common within-class correlation, precision rises strictly with the required pass count for a fixed suite, and with suite size under pass-all gating. Under pass-all gating, any precision target below one is attainable, but sensitivity tends to zero as the suite grows. Among r-of-k gates meeting the target, the most lenient keeps the most good models.

  • The price of dependence, quantified. Holding per-test error rates fixed, raising latent correlation from 0 to 0.5 raises the pass-all suite needed for 99% precision from 8 tests to 5,182, and cuts the share of good models kept from 66% to under 10%.

• A worked release decision. In an illustrative sweep, misjudging the test correlation by a factor of two changes the outcome more than moving the gate by one test.

• A certificate from data. Exact binomial bounds with a union bound give a simultaneous lower bound on precision, so a team can select a gate from a fixed shortlist and still hold a valid guarantee. We also quantify how much labelled data that requires.

Two scope notes. Our precision is the probability that a candidate is acceptable given that it cleared, for a candidate drawn before evaluation; it is not the probability that a winner picked afterwards from the cleared set is acceptable. The tables are model calculations for stated parameter values, not measurements of deployed pipelines. Section VI shows how to turn such calculations into guarantees.