A large teacher model has been trained, and a small student is now being trained to reproduce its outputs. For one training photo, which really is a cat, the teacher outputs:
| cat | dog | car | |
|---|---|---|---|
| teacher |
Two students, partway through training, output this on the same photo:
| cat | dog | car | |
|---|---|---|---|
| student P | |||
| student Q |
Each student is graded with categorical cross-entropy, written for a general target :
where is the student's probability for class . Two targets are on offer:
Write for how much worse student Q scores than student P under a given target.
How much larger is under soft targets than under the hard label?
Use natural logarithms and round to 2 decimal places.