LLM Distillation: An Important Piece for Agentic AI in Production
medium.com·15h
💬Prompt Engineering
Preview
Report Post

White-Box VS Black-Box distillation

White-box distillation

(classic — but less common for frontier teacher LLMs)

We control the teacher LLM weights and can access intermediate states and logits. This enables the original “soft targets” style distillation — and optionally layer or attention matching.

This is common when the teacher is an open LLM and we distill one open model into another.

Black-box distillation

(modern production — more common in today’s times)

Here — our teacher is a proprietary LLM endpoint — and we only receive text responses. Distillation here becomes a data generation pipeline. We create set of prompts -> make the teacher generate outputs -> filter and validate -> then train the student via supervised fine-tuning on the outputs generate…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help