Which Missing Details Matter? Searching Over Undocumented Pipeline Choices

When a paper leaves out how its data was preprocessed or split, anyone trying to reproduce it has to guess. Those guesses can be expensive. In digital pathology, faithful reimplementations of three top Camelyon challenge methods, built only from their papers, lost most of their performance: one method's slide-level accuracy fell from 92% to 54.7%, and another's lesion-detection score fell from 0.981 to 0.499 (Reproducibility of deep learning in digital pathology whole slide image analysis). The authors traced these failures to omitted preprocessing details and unstated split boundaries, not to the network architectures. The field's current answer is longer checklists, such as the 50-question Datasheets for Datasets. But checklists are costly to fill in, and they do not say which questions actually matter for reproducing a result.

This note proposes to answer that question with the tools of hyperparameter optimization (HPO), meaning automated search over the settings that sit outside ordinary training. Each undocumented pipeline choice, such as the stain-normalization template, the tissue-detection threshold, the patch-labeling rule, the imputation method, or the split grouping, becomes a search dimension. We then ask three things. How much of the lost performance can search recover? Which omitted fields explain most of the variance in results? And, the part prior work has not examined, how often does search "recover" performance by picking a leaky configuration that looks good on validation and fails on honest test data? The expected output is an empirically ranked list of reporting fields, together with a warning about when search-based recovery cannot be trusted.

Core Claim

Undocumented pipeline choices can be treated as hyperparameters, and their importance can be measured the same way hyperparameter importance is measured: by how much of the variance in held-out performance each one explains. We make two claims. First, a small minority of documentation fields accounts for most of the reproduction gap. For these fields, no amount of tuning the model's own settings substitutes for the missing information, while the remaining fields can safely be left to search. Second, search over undocumented split and preprocessing choices is biased toward leakage. For example, applying normalization or imputation to the whole dataset before splitting, or splitting at the patch level rather than the patient level, makes validation error smaller and less noisy. An optimizer that ranks configurations by validation error will therefore tend to select exactly these leaky options. This is a specific instance of overtuning, the failure in which a search overfits its own validation estimate, as characterized by Overtuning in Hyperparameter Optimization. That paper treats the dataset as an opaque matrix described only by sample size. We add the data-handling choices themselves as a source of optimistic validation error.

Relation to Prior Work

Four papers motivate this work. The Camelyon replication study (Fell et al.) documents the gap, but it reimplemented pipelines with fixed hyperparameters and never ran systematic search. It therefore cannot tell unrecoverable omissions apart from ones that search could fix. Quantifying the Hyperparameter Sensitivity of Neural Networks for Character-level Sequence-to-Sequence Tasks shows that structured search can reverse architecture rankings. This makes it plausible that part of any reproduction gap is really a tuning gap, and our design must separate the two. Similar tuning-gap findings for molecular models (Zheng et al.) support the same point.

Three papers supply methods but ask different questions. Data Cleaning and AutoML: Would an Optimizer Choose to Clean? already folds cleaning operations into a Bayesian-optimization search space and finds that explicit outlier and missing-value cleaning adds less than 1% balanced accuracy. It uses the search to maximize accuracy, not to attribute a reproduction gap to documentation fields, and it does not measure overtuning in its enlarged search space. DMCO co-schedules cleaning and model search under a budget, reaching up to 82.19% of an exhaustive pipeline's utility. It never records which samples it altered, so it produces a new opacity rather than measuring an existing one. CleanML shows that cleaning effects depend heavily on the dataset and that validation-based model selection reduces cleaning damage. This supports using search, and it also warns that recovered pipelines may not generalize from one dataset to another.

Two papers constrain the design. The overtuning paper reports that about 10% of HPO runs end worse than their starting configuration, and that small samples and discontinuous metrics such as accuracy and ROC AUC make overtuning worse. We therefore report log loss next to accuracy, and we study sample size explicitly. WILDS shows Camelyon17 accuracy under standard training falling from about 93% on held-out slides from training hospitals to about 70% on unseen hospitals. A "recovered" pipeline must therefore be judged on grouped, out-of-hospital test data, never on the validation signal the search itself optimized.

Research Program

We build a documentation-recovery harness in two settings.

The first setting is controlled and tabular, so the ground truth is known. We take CleanML datasets, including Titanic, Adult, Airbnb, EEG and Flights, together with fully specified reference pipelines. We then hide subsets of the pipeline fields that correspond to datasheet questions. These hidden fields cover imputation method and scope, outlier handling, duplicate handling, feature scaling scope, and split grouping. A reproducer who sees only the remaining fields searches the hidden ones jointly with model hyperparameters, using SMAC or HEBO under a fixed budget. Because the reference pipeline is known, we can compute exactly how much performance search recovers. We can also check whether the recovered configuration matches the true one or is a different configuration that happens to score equally well. We run each dataset at a subsample of 500 rows and at the full size, which tests the overtuning paper's sample-size effect in a data-handling context.

The second setting is realistic: the three Camelyon reimplementations. The unknown fields, namely stain template, tissue threshold, patch-labeling criterion, patch size and magnification, and slide-versus-patient split grouping, become search dimensions. Hyperband-style early stopping on patch-level proxies keeps whole-slide cost manageable. Search uses patient-grouped validation. Final scoring uses Camelyon17-WILDS held-out hospitals.

We use three quantities throughout. Recovery fraction is $R = (s_{\text{search}} - s_{\text{naive}})/(s_{\text{orig}} - s_{\text{naive}})$. Here $s_{\text{orig}}$ is the originally reported or reference score, $s_{\text{naive}}$ is the literal reimplementation, and $s_{\text{search}}$ is the searched incumbent, all measured on honest held-out test data. Field importance is the fraction of variance in test performance attributable to each hidden field, estimated with a variance decomposition over the surrogate model the search already fits. Leak selection rate is the fraction of runs whose chosen incumbent uses a leaky option, meaning global preprocessing or ungrouped splitting, paired with that incumbent's gap between validation and test score. We also report the overtuning measures $ot_t$ and relative overtuning from the overtuning paper.

Baselines

The naive reference point is the literal reimplementation with guessed defaults. For Camelyon, the file reports that Wang's patch accuracy fell from 98.4% to 80.5% and slide AUC from 0.925 to 0.891, Lee's slide accuracy fell from 92% to 54.7%, and Liu's lesion-detection score (FROC) fell from 0.981 to 0.499 (Fell et al.). For the tabular setting, the naive point is the reference model trained with default hyperparameters on the pipeline with its hidden fields set to library defaults.

The strongest competitor for the question "does search fix it?" is model-only HPO. This means SMAC or HEBO tuning the network or learner hyperparameters, with preprocessing frozen at the naive guesses. The overtuning paper recommends this family of optimizers and 5-fold cross-validation as the most robust HPO practice. The sensitivity literature suggests model tuning alone can close large gaps, so this baseline tests the simplest explanation: that reproduction failures are really tuning failures. There is no reported result found on Lacuna for model-only HPO on the Camelyon reimplementations. This comparison is itself one of our findings.

The second strong competitor is AutoClean-style joint search (Would an Optimizer Choose to Clean?). It searches over cleaning operators and model settings to maximize validation accuracy, with no grouping constraint on the split and no leakage audit. On CleanML, that paper reports that cleaning adds less than 1% balanced accuracy under AutoML, and that 10% label noise causes a 5% drop that AutoML cannot undo.

All methods get the same data, the same number of full-fidelity evaluations, the same optimizer seeds and the same test sets. The upper reference is the fully documented pipeline, which is known exactly in the tabular setting and taken from the published numbers for Camelyon.

The key ablation removes the leakage guard. We run the same joint search once with patient- or group-level splitting and preprocessing fit only on training folds enforced by construction, and once with these treated as free choices. The proposal counts as beating model-only HPO if joint search over documentation fields raises recovery fraction by a margin larger than the spread across seeds, on test data the search never saw. It counts as beating the AutoClean-style approach if it matches that approach's validation performance while showing a lower leak selection rate and a smaller gap between validation and test score. The ablation succeeds if removing the guard measurably increases both leak selection and overtuning.

Why not just…?

Why not just require authors to fill in a full datasheet? That is the ideal, and our fully documented reference condition shows what it would buy. But Datasheets for Datasets concedes that the overhead is high. Fell et al. found critical preprocessing details missing in every Camelyon paper they examined. A ranked list of the few fields that carry most of the reproduction gap is a complement to datasheets, not a replacement: it tells reviewers and venues which questions to enforce.

Why not just tune the model harder? This is the most serious threat. If model-only HPO recovers most of the gap, then documentation matters less than the transparency literature assumes. The model-only baseline is designed to settle this directly. We will report it as a primary result either way, including the possibility that field importance concentrates on model hyperparameters rather than data-handling choices.

Why not just use 5-fold cross-validation and trust the result? Ordinary cross-validation cannot detect leakage that its own fold construction creates. If patches from the same patient fall in different folds, validation scores are inflated, and WILDS shows that validation on data like the training hospitals hides a drop from about 93% to about 70% on new hospitals. The leakage-guard ablation measures how often cross-validation-driven search picks leaky options when grouping is left free.

Why not just release code? Code fixes one pipeline instance. It does not say which choices the result is fragile to, and it was not available for the analyzed Camelyon methods. The field-importance analysis gives exactly that fragility information.

Decisive Checks

Three results would settle the core claims. First, in the controlled tabular setting, variance attribution should concentrate on a few fields, with split grouping and preprocessing scope expected among them. Hiding those fields should cap recovery fraction well below 1 even under generous search budgets, while hiding the other fields should not. Second, leak selection rate should be high when grouping is free and should rise at $n=500$ relative to the full data, mirroring the overtuning paper's finding that overtuning worsens at small sample sizes. Third, on Camelyon, recovery on held-out hospitals should separate the three reimplementations. We expect Lee's collapse to be partly recoverable by search if it stems from threshold choices, and Liu's lesion-detection loss to resist recovery if it stems from the patch-labeling rule.

If instead model-only HPO recovers most of the gap everywhere, the proposal's premise fails. That too is a publishable correction to the reproducibility literature.