Training Data
Also known as: Training set, Training dataset
The collection of examples from which a machine learning model learns its parameters, shaping both what the model can do and the biases it carries.
Training data is the material a machine learning model learns from. For a spam filter it might be emails labeled as spam or not; for an image classifier, photos tagged with their contents; for a large language model, often trillions of tokens of text gathered from the web, books, code and other sources. Data is usually divided into a training set used to fit parameters, a validation set used to tune choices during development and a test set held back to estimate real-world performance.
Collecting good data is often harder than designing the model. Benchmark datasets such as ImageNet, assembled with large-scale crowdsourced labeling, helped drive progress in computer vision, and web crawls such as those published by Common Crawl supply much of the raw text for language models. Raw data is typically filtered for quality, deduplicated and cleaned of some personal information before use. Human annotators, often low-paid contractors, label examples and rate model outputs, a largely hidden layer of labor behind many AI systems.
Because models reflect their data, gaps and skews in training data become gaps and skews in behavior, a major source of algorithmic bias. Data also raises legal and ethical questions: in 2023 and later years, authors, artists, news organizations and others brought lawsuits over the use of copyrighted works to train generative models, and privacy regulators examined the scraping of personal data. Documentation practices such as datasheets for datasets aim to record where data came from and how it was processed, so users can judge whether a model suits a given purpose.
Key points
- Training, validation and test splits separate learning from tuning and from honest final evaluation.
- Large language models are trained on very large text collections drawn largely from the public web.
- Skewed or unrepresentative training data is a major cause of biased model behavior.
- The use of copyrighted and personal data for training has prompted lawsuits and regulatory scrutiny.
Related entries
Artificially generated data that mimics the statistical properties of real data, used to train and test models when real data is scarce or sensitive.
Common Crawl
Nonprofit organization that crawls the web and publishes a free, open archive of web page data used widely in research and AI training.
ImageNet
Large database of labeled photographs organized by WordNet categories, whose recognition challenge helped launch the deep learning boom.
Data Poisoning
Attack that corrupts a machine learning model by inserting manipulated examples into its training data, degrading it or planting hidden behaviors.
Algorithmic Bias
Systematic errors in automated systems that produce unfair outcomes, such as favoring or disadvantaging people based on race, gender or other traits.
Failure mode in which a model learns noise and quirks of its training data so closely that it performs poorly on data it has not seen.
LAION
German nonprofit that builds open datasets and models for machine learning research, best known for the LAION-5B image-text dataset.
Degradation in which generative models trained on data produced by earlier models gradually lose diversity and accuracy over successive generations.
Featured in guides
Referenced by
Other entries that discuss or point to Training Data.