Data Distribution
A data distribution describes how examples and labels are generated. A dataset is a finite sample, but machine learning claims are usually about the distribution the sample represents.
For supervised learning, the population risk is:
where is the data-generating distribution.
The empirical dataset approximates this distribution:
Training and Deployment
The core generalization question is whether training and deployment distributions match:
If they differ, validation performance may not estimate deployment behavior.
What Defines a Distribution
- Input source and collection process.
- Inclusion and exclusion criteria.
- Label generation protocol.
- Measurement noise and censoring.
- Time, location, instrument, batch, species, target, or task context.
- Missing data and unobserved negative examples.
Factorization
A supervised distribution can be factorized as:
or, when metadata matters:
where may include source, time, assay, domain, user, device, scaffold, family, or other grouping context. Distribution shift can affect any part of this factorization.
Split Distributions
Train, validation, test, and deployment distributions should be named:
Validation estimates are useful only if supports the model-selection decision, while test estimates matter only if matches the claimed generalization target.
Failure Modes
- The dataset is treated as IID even though examples share groups or sources.
- The test set has a different label prevalence than deployment.
- Source-specific artifacts dominate the input distribution.
- Missing labels are mistaken for true negatives.
- The model is evaluated on a curated distribution but deployed on raw data.
Checks
- What population should the dataset represent?
- What examples are systematically absent?
- Are labels sampled from the same protocol across splits?
- Does the test distribution match the intended claim?
- Are multiple data sources pooled without source-aware evaluation?
- Are train, validation, test, and deployment distributions described separately?
- Is the shift in , , metadata, or label availability?
- Are subgroup distributions reported for important domains or sources?