A data scientist trains a churn model using a customer field that receives a value after cancellation. The model performs well during evaluation, but the team cannot access that field when predicting future cancellations.
Data leakage in machine learning is a problem in which information from evaluation records or information that would be unavailable at prediction time reaches a model during training, allowing the model to achieve evaluation scores that overstate its ability to make correct predictions on genuinely unseen examples.
How does data leakage happen in machine learning?
Teams can introduce leakage when they include features that depend on the outcome a model needs to predict. A churn model, for example, should not learn from a field that reveals whether a customer has already cancelled when the intended task is to predict future cancellations. CUBIG’s October 2026 UCI Shill Bidding experiment shows a second route: training and evaluation records that share auctions and bidders.
Leakage can also occur when training and evaluation datasets share information about the same examples or entities. A team needs to consider whether its train-test split reflects the conditions under which the model will make predictions.
Kapoor and Narayanan identified leakage-related reproducibility issues in at least 294 papers across 17 fields through a survey of prior reviews in their 2023 Patterns paper. In their examination of civil war prediction, complex machine learning models did not perform substantively better than older logistic regression models after Kapoor and Narayanan corrected the leakage errors.
How is ML data leakage different from a data breach?
Machine learning researchers use data leakage to describe information reaching a model when the intended evaluation or prediction conditions should exclude that information. Sensitive information does not need to leave an organization for leakage to occur during training.
Organizations discussing AI data leakage or data exfiltration generally examine whether sensitive information reaches unauthorized parties or leaves an approved environment. Those problems concern different risks from an inflated machine learning evaluation score.
How can teams check for data leakage?
Teams should examine when each feature becomes available, which entities appear across dataset splits and whether any data preparation step uses information from evaluation records. Kapoor and Narayanan propose model info sheets that researchers fill out to test for each type of leakage.
CUBIG identified a limitation in its October 2026 UCI Shill Bidding experiment. Training and evaluation records shared auctions and bidders, and identifier-derived features remained in the data. CUBIG therefore did not claim that the observed F1 gain would hold on unseen auctions.
Teams should apply the same reasoning to generated training records. A generator can carry information from evaluation records into new examples if the team fails to separate its datasets before generation.
Engineers can follow CUBIG’s guide to evaluating synthetic datasets before training to examine that separation. The team should limit its performance claims to the prediction conditions that its evaluation actually represents.