General Loss Function for Knowledge Distillation
The general loss function for knowledge distillation, often written as for simplicity, measures the discrepancy between a teacher and student model for a given input . The function is formally expressed as , where is the probability distribution of the pre-trained teacher model, and is the probability distribution of the student model with parameters . The training objective is to minimize this loss, thereby teaching the student to replicate the teacher's behavior.

0
1
Tags
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Ch.3 Prompting - Foundations of Large Language Models
Related
KL Divergence Loss for Knowledge Distillation
Cross-Entropy Loss for Knowledge Distillation
A large, complex language model is used to generate target probabilities for training a smaller, more efficient model. For the input sentence 'The cat sat on the ___', the large model could produce different probability distributions for the next word. Which of the following distributions, representing , would provide the most informative and nuanced training signal for the smaller model?
Value of the Teacher's Probability Distribution
In a knowledge distillation process for a machine translation task, a large 'teacher' model translates the sentence 'Je suis content' from French to English. Instead of just outputting 'I am happy', the teacher model produces a full probability distribution over the entire English vocabulary for the next words. Which statement best analyzes the significance of this probability distribution () for training the smaller 'student' model?
General Loss Function for Knowledge Distillation
Loss Function for Conditional Probability Distributions (Loss(\\text{Pr}^t(\\cdot|\\cdot), \\text{Pr}_\\theta^s(\\cdot|\\cdot), \\mathbf{x}))
A machine learning team is developing a compact, efficient language model, which we'll call model 's'. The model's behavior is governed by a set of tunable weights, denoted by θ. For a given task, the model receives a simplified context input, c', and a latent variable, z, and then generates a probability distribution over all possible outputs. Which of the following expressions correctly represents this model's output probability distribution?
In the expression , which describes a model's output probability distribution, match each symbol to its correct description.
Applying the Student Model Probability Notation
General Loss Function for Knowledge Distillation
Loss Function for Conditional Probability Distributions (Loss(\\text{Pr}^t(\\cdot|\\cdot), \\text{Pr}_\\theta^s(\\cdot|\\cdot), \\mathbf{x}))
Learn After
Deconstructing the Knowledge Transfer Loss Function
An engineer is training a compact 'student' model to replicate the behavior of a larger 'teacher' model. The training process aims to minimize a loss function that measures the difference between the output probability distributions of the two models for any given input. If the loss value remains high throughout the training, what is the most direct conclusion?
Analyzing the Components of a Model Mimicry Loss Function
Objective Function for Student Model Training via Knowledge Distillation