AIDive
Back to glossary

What is Data Leakage

GlossaryMachine Learning

An error occurs when training or testing a model includes information that is not available in real use.

Definition

Data Leakage is an error when information that is not available in real-world use is introduced into model training or testing. Simply put, this concept helps train models, compare approaches, and reduce the risk of errors on new data. In practice, it helps to understand what capabilities the tool actually has, what data it will need, and what limitations are worth checking before implementation.

Example

The churn forecast model accidentally receives a sign that appears after the client leaves and shows unrealistically high quality.

Why it matters

Data leakage makes metrics misleading and can lead to post-launch failure. This helps you choose AI tools not by big promises, but by how they work in a real problem.

How it works

First, the problem is translated into data and metrics, then the model is trained, tested on a separate sample, and compared with alternatives. In the case of the term “Training Data Leakage,” it is important to look at the data, quality criteria, and application conditions separately.

Where it is used

  • Used in training, testing and tuning models, in automatic selection of parameters, forecasting, classification and recommendation systems.

Limitations

The main limitation is the dependence on data, metrics and verification conditions. A good result on a test does not always mean reliable performance in a real product.