Generalization in Adaptive Data Analysis and Holdout Reuse
Cynthia Dwork, Vitaly Feldman, Moritz Hardt, Toniann Pitassi, Omer Reingold, Aaron Roth
cs.LG, cs.DS
2015-06-09
Thresholdout returns the training mean unless a query overfits. On pure-noise labels at k=500, a standard holdout exceeds 63% accuracy; Thresholdout returns a valid estimate.
Holdout accuracy estimates the true distribution only if the model was chosen without that holdout. Hyperparameter search, feature selection, early stopping, and competition resubmissions all read the same holdout, and the next try depends on the previous number. The reported accuracy can then be a property of this sample alone.
When the menu of tests is fixed in advance, multiple-testing corrections apply. They do not apply once the analyst writes the next function after seeing earlier results. Freedman's simulation makes the failure concrete: variables unrelated to the label are screened by a t-statistic and fed to a regression, and the procedure still announces a significant relationship. ImageNet's holdout is reused in the same adaptive way.
An analysis is a sequence of algorithms on one dataset S. Each step generalizes when its input is independent of S. After earlier outputs depend on S, the next step is no longer looking at a fresh sample.
The training set is unrestricted. The holdout is available only through a validation interface.
Thresholdout uses differential privacy to limit what leaks from the holdout. Differential privacy asks that changing any single row barely move the output distribution. A query φ takes values in [0, 1]. The interface compares its mean on the training set and on the holdout, against a threshold T shifted by Laplace noise, the symmetric exponential noise standard in this literature. Inside the threshold, it returns the training mean and keeps the holdout mean private. Past the threshold, it returns the holdout mean plus another Laplace draw and spends one unit of an overfitting budget B. At B = 0 it refuses further queries.
An exact holdout mean, released on every query, is material an adaptive analyst can stack into a function fit to this holdout. Queries that do not overfit add almost no new information, so the budget goes to the queries that cross the threshold. The construction is Sparse Vector, which answers in substance only above a threshold, composed with the Laplace mechanism. Pure differential privacy holds with parameters (2B/(σn), 0).
For every answer to stay within τ of the true expectation except with probability β, the holdout needs n = O((ln(m/β)/τ²) · min{B, sqrt(B · ln(ln(m/β)/τ))}). The tolerance τ still falls as about 1/sqrt(n), matching the sample size for m non-adaptive queries up to log factors. The query count m can grow exponentially with n provided B ≤ n^{2−c}. The introduction's phrase "at most quadratic" is looser than this theorem note.
SparseValidate switches to description length. Any Boolean function comes back as one bit, with no bounded-range assumption and no smoothness assumption. A budget m caps the number of queries and a budget B caps how many return 1. While failures stay within B, the number of possible histories is a sum of binomial coefficients, ℓ, and a per-history failure probability β grows to at most ℓ·β. Shorter outputs inflate less, and the argument assumes nothing about the data distribution. A failure does not return a corrected number.
Short outputs can still expose a single row, so description length does not give differential privacy. Differential privacy does not cap the length of the output either.
Approximate max-information is the common scale. Seeing the output multiplies the probability of any particular dataset by at most 2^k, except with probability β. A bad event is then at most 2^k times as likely as when the output is independent of the data, plus β. Mutual information does not pin down that tail. Pure differential privacy implies an upper bound for every distribution over datasets, and so does description length. The quantity adds under adaptive composition, which lets the two kinds of steps share one pipeline.
The experiment is Freedman's variable-selection story on synthetic data. A sample of 2n points in dimension d is split in half, with labels in {−1, +1}. Each coordinate is correlated with the label. A coordinate is kept only if the training and holdout correlations have the same sign and absolute value at least 1/sqrt(n). The k largest training correlations become a linear threshold classifier that uses only those signs. The run uses n = d = 10000, k up to 500, and 100 independent repetitions. Thresholdout is run with T = 0.04, τ = 0.01, and Gaussian noise. Those choices sit below the proof, which sets T = 3τ/4, and the proof's constants are not meant to be used as is.
| Data | Validation | Result |
| Features independent of the label; true accuracy cannot exceed 50% | Standard holdout, k=500 | Above 63% on train and holdout; standard deviation of the error under 0.5% |
| Same | Fresh sample | Plotted against the 50% ceiling |
| Same | Thresholdout | Valid estimate; if train and holdout are within 0.04, the report is off by at most another 0.04 |
| 20 coordinates from N(y·0.06, 1), the rest noise | Thresholdout | Still recovers a classifier on the real signal, and blocks holdout overfitting |
The 63% number belongs only to the no-signal, standard-reuse, k=500 cell. The correlated cell has no accuracy figure in the text. Figure 4 scores the Thresholdout classifier on the holdout and finds it lined up with training, so the holdout was not fit. Cross-validation and the bootstrap do not escape the same trap: the final classifier is still trained and checked on one pool of data.
If B ≤ τ²n / ln m, SparseValidate keeps a concentration bound for adaptively chosen queries: the holdout mean deviates from the true mean by τ or more with probability at most 2e^{−τ²n}.
Tuning, feature screening, and leaderboard chasing reuse one holdout. A budgeted interface is the option besides drawing a fresh holdout every time a result is consumed. When most queries do not overfit, the number of checks can sit far above the sample size, with tolerance on the non-adaptive scale.
In this variable-selection loop the comparison is concrete. Standard reuse reports above 63% on pure noise. The budgeted interface returns a valid estimate and still keeps the 20 weakly shifted coordinates. Blum and Hardt later used the description-length bound to keep a competition leaderboard accurate under adaptive submissions. A public board that has already burned through the budget is not something this interface can rewind.
Where to apply the theory, and which parameters to use, still lack empirical evidence. Whether expectations of Boolean predicates on a holdout can beat the generalization bounds known from differential privacy is left open.
The only experiment is Gaussian synthetic data and a sign linear classifier. T, τ, and the Gaussian noise lie outside the theorem, so the contrast with 63% is not a numerical corollary of the proof. Queries have to land in [0, 1]. Unbounded losses, and arbitrary Boolean checks, go to SparseValidate, which returns no corrected estimate on failure. The description-length procedure that answers exponentially many adaptive statistical queries is not efficient. If almost every query crosses the threshold, the interface stops after B answers. That is the point of the budget, and it is also the boundary.