Live data from Hacker News

Gemini Distillation Service

docs.cloud.google.com

1–10 of 12 posts

Re: Gemini Distillation Service

#7
post #5

Fine-tuning and distillation used to mean two different things. Now not so much anymore, I see.

Can you explain the difference?

Distillation originally meant matching the distribution of the student model to the teacher model using something like a KL divergence.

When you instead fine-tune the student on the samples from the teacher, which is what people mean by distillation today, you are in effect doing a monte-carlo version of the same thing. While in theory this is higher variance, given modern setups where the student and teacher are both large and are RLd heavily (leading to a sharp teacher distribution), and given that you typically use lots and lots of samples, it ends up OK.

Post reply on HN