← Back to article

Equation 6 · Comparing the Main Approaches to Training Data and Synthetic Data

What does this equation mean?

Ldistill=(1−λ) LCE(y, σ(zs))+λ T2 DKL(σ(zt/T) ∥ σ(zs/T))\mathcal{L}_{\mathrm{distill}} = (1-\lambda)\,\mathcal{L}_{\mathrm{CE}}(y,\, \sigma(z_s)) + \lambda\, T^2 \, D_{\mathrm{KL}}\big(\sigma(z_t/T) \,\|\, \sigma(z_s/T)\big)

Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.

This equation states an equality: the expressions on both sides have the same value under the article’s assumptions. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.

Read it piece by piece

Ldistill\mathcal{L}_{\mathrm{distill}}

Symbol L_distill

LdL_distill is part of the quantity the equation computes from the expression on the right.

Understand this part →

λ\lambda

Symbol λ

λ is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

LCE\mathcal{L}_{\mathrm{CE}}

Symbol L_CE

LCL_CE is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

yy

Symbol y

y is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

σ\sigma

Symbol σ

σ is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

zsz_s

Symbol z_s

zsz_s is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

T2T^2

Symbol T^2

The square of T: multiply T by itself.

Understand this part →

DKLD_{\mathrm{KL}}

Symbol D_KL

DKD_KL is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

ztz_t

Symbol z_t

the writing.

Understand this part →

TT

Symbol T

T is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

=

=

The expressions on both sides represent the same quantity under the stated assumptions.

Understand this part →

See an illustrated explanation →
addition

addition

Add the term after the plus sign to the term or group before it.

Understand this part →

subscript

subscript

The lower label selects a particular version, component, or indexed member of the quantity. For example, x₀ and xₜ can be values at different positions.

Understand this part →

superscript

superscript

A raised number can be a power. When it is a label or bound, it selects a case or the upper limit of a sum; the formula’s structure distinguishes these uses.

Understand this part →

See an illustrated explanation →

How to interpret it

Read it with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

Distillation is the oldest of the five and the easiest to state precisely. A student model is trained not on hard labels but on a teacher’s softened output distribution, on the reasoning that the relative probabilities the teacher assigns to wrong answers carry information a one-hot label discards entirely [ 1 ] . Where logits are unavailable — the ordinary case when the teacher is a closed API — the same idea is applied at one remove: the teacher’s sampled text stands in for its distribution, and the student is trained on that text directly. Writing ztz_t and zsz_s for teacher and student logits, σ\sigma for the softmax, y for the hard label, and T for a softening temperature, the canonical…
Read the full surrounding passage
Distillation is the oldest of the five and the easiest to state precisely. A student model is trained not on hard labels but on a teacher’s softened output distribution, on the reasoning that the relative probabilities the teacher assigns to wrong answers carry information a one-hot label discards entirely [ 1 ] . Where logits are unavailable — the ordinary case when the teacher is a closed API — the same idea is applied at one remove: the teacher’s sampled text stands in for its distribution, and the student is trained on that text directly. Writing ztz_t and zsz_s for teacher and student logits, σ\sigma for the softmax, y for the hard label, and T for a softening temperature, the canonical objective blends the two signals: Ldistill=(1−λ) LCE(y, σ(zs))+λ T2 DKL(σ(zt/T) ∥ σ(zs/T))\mathcal{L}_{\mathrm{distill}} = (1-\lambda)\,\mathcal{L}_{\mathrm{CE}}(y,\, \sigma(z_s)) + \lambda\, T^2 \, D_{\mathrm{KL}}\big(\sigma(z_t/T) \,\|\, \sigma(z_s/T)\big). The point of writing it out is the structure it exposes, not the arithmetic: the teacher term is fixed throughout training, so nothing the student produces ever feeds back into it. There is no loop to compound and no possibility of the drift that shows up when a model is fitted repeatedly to its own unfiltered output.

Read the equation in its article →

Sources cited in the surrounding passage

These citations give research context. Read each source to check which claims it supports.

Return to Comparing the Main Approaches to Training Data and Synthetic Data

See this formula across 1 published context →

Browse the mathematical compendium →