CITATION — REFERENCE ENTRY

Leakage and the Reproducibility Crisis in ML-based Science — arXiv

Revision 2367f6b3-c9b1-41f2-a9ad-fee1ae1af890 · 11/27/2026, 6:17:30 PM UTC
Key
kapoor2022-leakage
Authors
Kapoor, Sayash; Narayanan, Arvind
Issued
2022-7-14
Type
article
Container
arXiv
Raw CSL JSON
{
  "URL": "https://arxiv.org/abs/2207.07048",
  "note": "Quotes are from arXiv v1 (14 July 2022). A revised version was published as 'Leakage and the reproducibility crisis in machine-learning-based science', Patterns 4(9), 2023, with some figures changed.",
  "type": "article",
  "title": "Leakage and the Reproducibility Crisis in ML-based Science",
  "author": [
    {
      "given": "Sayash",
      "family": "Kapoor"
    },
    {
      "given": "Arvind",
      "family": "Narayanan"
    }
  ],
  "issued": {
    "date-parts": [
      [
        2022,
        7,
        14
      ]
    ]
  },
  "number": "2207.07048",
  "accessed": {
    "date-parts": [
      [
        2026,
        11,
        27
      ]
    ]
  },
  "container-title": "arXiv"
}

Claims

  1. Kapoor and Narayanan define data leakage as a spurious relationship between the independent variables and the target that arises as an artifact of how data were collected, sampled or pre-processed. Since that relationship is absent from the distribution about which claims are made, leakage usually inflates estimates of a model's performance.
    "Data leakage is a spurious relationship between the independent variables and the target variable that arises as an artifact of the data collection, sampling, or pre-processing strategy. Since the spurious relationship won’t be present in the distribution about which scientific claims are made, leakage usually leads to inflated estimates of model performance."
    Locator: section: 2.1 Data leakage causes irreproducible results · Quote language: en
  2. In a survey of research fields that adopted machine learning, Kapoor and Narayanan found errors in 17 fields affecting 329 papers, in some cases leading to wildly overoptimistic conclusions, and set out a taxonomy of eight types of leakage. They proposed 'model info sheets' for reporting scientific claims based on ML models. In a reproducibility study of civil war prediction, every paper claiming that complex ML models outperformed logistic regression failed to reproduce because of leakage, and none of the errors could have been caught by reading the papers.
    "through a survey of literature in research communities that adopted ML methods, we find 17 fields where errors have been found, collectively affecting 329 papers and in some cases leading to wildly overoptimistic conclusions. Based on our survey, we present a finegrained taxonomy of 8 types of leakage that range from textbook errors to open research problems. ... we propose model info sheets for reporting scientific claims based on ML models that would address all types of leakage identified in our survey. ... We find that all papers claiming the superior performance of complex ML models compared to LR models fail to reproduce due to data leakage, and complex ML models don’t perform substantively better than decades-old LR models. While none of these errors could have been caught by reading the papers, model info sheets would enable the detection of leakage in each case."
    Locator: Abstract · Quote language: en
  3. Kapoor and Narayanan's taxonomy includes: no separate test set; pre-processing, such as imputation or oversampling, done on the whole dataset; feature selection on the whole dataset; duplicates in the dataset; features that are proxies for the outcome; temporal leakage, where the test set contains data from before the training set; non-independence between training and test samples, in the extreme case samples from the same people or units, unless the claim concerns a distribution with the same dependence structure; and sampling bias in the test set.
    "[L1.1] No test set. Using the same dataset for training as well as testing the model is a text-book example of overfitting, which leads to overoptimisic performance estimates (Kuhn & Johnson, 2013). ... [L1.2] Pre-processing on training and test set. Using the entire dataset for any pre-processing steps such as imputation or over/under sampling. ... [L1.3] Feature selection on training and test set. Feature selection on the entire dataset results in using information about which feature performs well on the test set to make a decision about which features should be included in the model. ... [L1.4] Duplicates in datasets. ... One instance when this can happen is if a feature is a proxy for the outcome variable (Kaufman et al., 2012). ... [L3.1] Temporal leakage. When an ML model is used to make predictions about a future outcome of interest, the test set should not contain any data from a date before the training set. ... [L3.2] Nonindependence between train and test samples. Nonindependence between train and test samples constitutes leakage, unless the scientific claim is about a distribution that has the same dependence structure. In the extreme (but unfortunately common) case, train and test samples come from the same people or units. ... [L3.3] Sampling bias in test distribution. Sampling bias in the choice of test dataset can lead to data leakage."
    Locator: section: 2.4 A taxonomy of data leakage · Quote language: en
Available in