Log inStart free
LESSON 36.02 · 5 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW

Sequence-level and feature distillation

A small net learns from a teacher's answers, shares or hidden values.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 2 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 36.02 · DISTILLATION BAY9 REAL · ANSWERS · 9 POINTS
01
Stage 1 of 5 · Distillation data
The distillation data is the set of inputs the teacher reads. Here it is 9 real points with true labels.
Explain it simply

On the left you see the points the teacher reads. This set is the distillation data. These points are real, and each one has a true label, but the student does not use those labels.

The plane shows 9 real points shaped by class. A flow chart shows data, teacher, three targets and student.

data points (circle 0, square 1, triangle 2; plain dot: no label)nets, map Aanswers, shares, hidden values, guessesloss, wrong guessestrue class borders, the answer, mapped values
−3−30033x₁x₂distillation data9 real points, shaped by true classthe flow of distillationdistillation data: 9 real points3 per class, true labels keptteacher: 16 hidden units99 parameters, trained, frozenstudent: 4 hidden units27 parameters, learns from the targetsanswers1 class eachsoft targets3 shares eachfeatures16 values each−3−30033x₁x₂distillation data9 real points, shaped by true classthe flow of distillationdistillation data: 9 real points3 per class, true labels keptteacher: 16 hidden units99 parameters, trained, frozenstudent: 4 hidden units27 parameters, learns from the targetsanswers1 class eachsoft targets3 shares eachfeatures16 values each
Toy: 36.01's teacher 2-16-3 and student 2-4-3; 9 or 72 real points, or 120 synthetic ones
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
D={x1,…,xN}\sy{x}{data}{D} = \{\sy{x}{data}{x_1}, \dots, \sy{x}{data}{x_N}\}
N=9N = 9

The distillation data is a set of N input points.

Common mix-ups

MYTHDistillation needs the original labelled training data.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01With 9 real points, which target trains the best student?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 2 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.