KL divergence
A directional measure of how far one probability distribution is from another, used to compare, distill, and monitor decision heads.
- Category
- Evaluation & Training
- Also known as
- Kullback-Leibler divergence, Relative entropy
- Related terms
- 5
- Directory entries
- 7
- Docs
- docs.typesafe.ai
- Added
- 2026-10-12
Definition
KL divergence measures the extra cost of encoding samples from one distribution using another, and it is asymmetric: the divergence from A to B is not the divergence from B to A. In training it drives distillation, where the student matches the teacher's softened distribution rather than only the hard labels.
It shows up in evaluation as a way to compare two models' output distributions on the same states, and in monitoring as a drift signal when today's distribution moves away from the reference. Zero means identical; larger means more unlike.
Related terms
Definitions that connect to this one.
From the Jev directory
1 more matching entry in the full directory.
From the Jev community
Posts from builders shipping with Jev right now.