AI engineering glossary · LLM training alignment

What is soft labels?

Soft labels (also called Soft targets): Target probability distributions over classes or tokens, as opposed to a single correct answer. In distillation the teacher's soft labels reveal how similar wrong answers are, giving the student richer information than one-hot labels.

Level: intermediateTopic: LLM training alignment

Soft labels: an example

Teacher gives 'cat' 0.85, 'lynx' 0.10, 'dog' 0.05, so the student learns that a lynx is closer to a cat than a dog is.

Related terms

More LLM training alignment terms

Where you learn it

Soft labels is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.