Illustration
Upgrade now
Illustration
Upgrade now

Training Data

Summary:
Training Data

What is training data?

Training data is the set of examples an AI model learns from. For a music recommender, it might be millions of past listening sessions. For a photo app, it's images tagged with what they show. For a large language model, it's huge amounts of text. Google's machine learning glossary calls this the training set, the part of the data used to train a model.

During training, the model adjusts itself until its guesses fit these examples. After that, it applies the patterns it found to new input it has never seen. The amount of data behind everyday features can be enormous. Spotify said in 2021 that its systems log about half a trillion events a day, such as searches, listens, and likes.

How does training data shape what a model can do?

A model can only reflect the patterns in its examples. When data is collected only up to a certain date, the model knows little about anything after it. That date is called its knowledge cutoff. When an input looks unlike most of the examples, the model is working outside its experience, and results get worse.

A 2020 study in PNAS showed how much this matters. It tested speech recognition from 5 large tech companies and found an average of about 35 wrong words in every 100 for Black speakers, compared with 19 for white speakers. The researchers traced the gap to the systems' underlying models and recommended more diverse training data as the fix.

Training data also needs to resemble real use. Google's Machine Learning Crash Course names training data that doesn't represent real-life data as a main cause of overfitting. In that case, a model looks accurate in testing, then makes poor predictions once real people start using it.

How does bias get into training data?

Bias in data means the examples don't fairly represent the people a product serves. Google's glossary calls one form of it coverage bias: the people in the dataset don't match the people the model makes predictions about. Another form, historical bias, appears when past decisions in the data were unfair, so the model learns and repeats them.

A 2018 study called Gender Shades found that 2 widely used face datasets were mostly lighter-skinned faces, 79.6% in one and 86.2% in the other. Tested on a more balanced set of faces, 3 commercial gender classifiers misjudged darker-skinned women up to 34.7% of the time, and lighter-skinned men at most 0.8%. Asking who is in the data, and who is missing, is one of the most useful questions a product team can raise.

How does training data differ from the data people give a product?

Training data shapes the model before release. The data people produce while using a product, such as their searches, listens, and skips, is input that the finished model reads. Nielsen Norman Group notes that machine learning doesn't necessarily learn from people's interactions, and in most products the learning happens during training.

The line can blur, though. Some products ask whether people's conversations may be used to train future models. Clear settings and plain explanations let people decide whether their data becomes someone's training data.

The AI Fundamentals for UX course covers how training data shapes what AI features can and can't do.

Frequently Asked Questions

Can AI products use people's conversations as training data?
What happens when a model learns its training data too well?
Who prepares training data?
Avatars

Join 500,000+ product professionals leveling up with Uxcel

Interactive learning built for busy professionals. Advance your UX design or product management career in just 5 minutes a day.
Icon

Over 60 courses

Icon

Recognized certificates

Icon

Career paths & more

Company logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logo
Stars

Successfully transforming people’s careers & lives

4.8/5
Avatars

10,000+ verified public & course reviews

Photo

With Uxcel, I've gained so much confidence talking with clients.

Blake Feldman
Product Designer · 15+ years in design
Photo

Uxcel helped me level up from a junior to a senior designer

Chieri Wada
UX/UI Designer · 8+ years in design
Photo

Uxcel really helped me during my career change.

Ryan Blackwell
UX Designer & Writer · 5+ years in design
Photo

Uxcel is in my browser favorites, I use it for a ton of stuff.

Matt Salik
UX designer · 20+ years in design
Photo

Love the certifications, love the price. Thumbs up Uxcel.

Phil Campbell
Information Architect · 1 year in design