Why do soft probabilities from an ensemble provide a richer training signal to a student model than hard labels?

Quick Overview

Asks why a student model learns more from an ensemble's soft probabilities than from one-hot labels in knowledge distillation. It tests reasoning about class similarity, information per example, target noise and calibration, and the role of the softmax temperature.

Why do soft probabilities from an ensemble provide a richer training signal to a student model than hard labels?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why do soft probabilities from an ensemble provide a richer training signal to a student model than hard labels? The setting is knowledge distillation: an ensemble of trained teachers produces class probabilities for each training input, and a smaller student is trained to match them. ```hint Wrong classes Look at what a one-hot target says about the classes that are not correct, and what a teacher's probabilities say about them. ``` ```hint Averaging Consider what averaging several models does to the errors in any one model's predictions. ``` ### What a Strong Answer Covers - The information soft targets carry about how similar each wrong class is to the right one - How much more a full distribution constrains the student than a single class index - How per-example teacher confidence treats ambiguous or mislabeled inputs - Why an ensemble gives better targets than a single teacher - The role of temperature and how cross-entropy to soft targets behaves at the logits ### Follow-up Questions - Why is the soft-target loss usually multiplied by $T^2$? - How would you combine the soft-target loss with the usual hard-label loss? - When could distilling from an ensemble make the student worse? - Should the ensemble members be averaged in probability space or in logit space before distillation?

Overview: Asks why a student model learns more from an ensemble's soft probabilities than from one-hot labels in knowledge distillation. It tests reasoning about class similarity, information per example, target noise and calibration, and the role of the softmax temperature.

PracHub logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Why do soft probabilities from an ensemble provide a richer training signal to a student model than hard labels?

The setting is knowledge distillation: an ensemble of trained teachers produces class probabilities for each training input, and a smaller student is trained to match them.

What a Strong Answer Covers Guidance

  • The information soft targets carry about how similar each wrong class is to the right one
  • How much more a full distribution constrains the student than a single class index
  • How per-example teacher confidence treats ambiguous or mislabeled inputs
  • Why an ensemble gives better targets than a single teacher
  • The role of temperature and how cross-entropy to soft targets behaves at the logits

Follow-up Questions Guidance

  • Why is the soft-target loss usually multiplied by T2T^2 ?
  • How would you combine the soft-target loss with the usual hard-label loss?
  • When could distilling from an ensemble make the student worse?
  • Should the ensemble members be averaged in probability space or in logit space before distillation?