Knowledge distillation a survey

From curiositech/windags-skills · View interactive version

Knowledge distillation a survey is an AI agent skill from the GitHub repository curiositech/windags-skills. Choose what kind of knowledge to transfer between teacher and student models: response, feature, or relational, and decide among offline, online, self, or cross-modal distillation schemes. Best for distillation strategy selection, capacity-gap diagnosis, and transfer planning. Activate on "knowledge

How to use this skill

Skill file

Knowledge Distillation: A Survey

Use this skill when the hard question is not "should we distill?" but "what kind of knowledge is worth transferring, through which scheme, across what capacity gap?"

When to Use

NOT for Boundaries

This skill is not the primary fit for:

Core Mental Models

Knowledge Has Multiple Transferable Forms

The survey's central move is to stop treating "knowledge" as one blob. Teachers can transfer:

Capacity Gap Is A Structural Constraint

Distillation fails when the student cannot represent the thing you are trying to teach. Large teacher advantage can become a liability if the transferred representation is too compressed, too entangled, or too alien for the student.

Transfer Scheme Encodes A Coordination Philosophy

These are different assumptions about where valid knowledge lives and how it changes.

Cross-Modal Success Exposes The Essential

If the transfer survives a modality jump, the knowledge is probably abstract and portable rather than tied to surface form. Cross-modal wins are a clue about what the teacher actually knows.

Distillation Often Transfers Learning Strategy, Not Just Answers

Good teachers encode geometry, uncertainty structure, and regularization habits. Students can inherit better ways of generalizing, not merely a compressed lookup table.

Decision Points

See the richer visual inventory in diagrams/INDEX.md.

flowchart TD
  A[Distillation question] --> B{What must survive?}
  B -->|Final decision behavior| C[Prefer response-based transfer]
  B -->|Internal abstraction| D[Prefer feature-based transfer]
  B -->|Similarity or structure| E[Prefer relation-based transfer]
  C --> F{Teacher-student gap manageable?}
  D --> F
  E --> F
  F -->|No| G[Use teacher assistants or progressive transfer]
  F -->|Yes| H{Where does valid knowledge live?}
  H -->|Stable expert| I[Offline distillation]
  H -->|Peers co-learning| J[Online distillation]
  H -->|Within the model| K[Self-distillation]
  H -->|Across modalities| L[Cross-modal alignment]
  I --> M[Validate stratified performance]
  J --> M
  K --> M
  L --> M

1. Decide What Kind Of Knowledge Matters

2. Decide Whether The Gap Needs Scaffolding

3. Decide How Dynamic The Learning Setting Is

4. Decide Whether Cross-Modal Transfer Is Worth The Cost

Failure Modes

Worked Examples

Example 1: On-Device Moderation Model

Example 2: RGB To Depth Transfer For Robotics

Quality Gates

References And Visuals

Shibboleths

Surface understanding says "distillation is just compressing a big model into a small one."

Deeper understanding says:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.