本文へ移動
cccskills
無料GitHub で公開

knowledge-distillation-a-survey

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 distillation", "teacher-student", "soft labels", "feature distillation", "online distillation", or "cross-modal transfer". NOT for generic compression checklists or unrelated training work.

インストール方法を見る

含まれるファイル(14)

  • SKILL.md9.6 KB
  • _book_identity.json2.6 KB
  • _raw_response.md95.9 KB
  • CHANGELOG.md638 B
  • diagrams/01_flowchart_knowledge_distillation_decisio.md1.7 KB
  • diagrams/02_quadrantChart_knowledge_transfer_mechanism_s.md515 B
  • diagrams/03_mindmap_knowledge_dimensions_&_transfe.md1.6 KB
  • diagrams/INDEX.md483 B
  • references/capacity-gap-and-progressive-learning.md12.3 KB
  • references/cross-modal-and-domain-knowledge-transfer.md16.8 KB
  • references/failure-modes-in-knowledge-transfer.md17.1 KB
  • references/knowledge-types-for-intelligent-decomposition.md11.6 KB
  • references/online-distillation-and-collaborative-learning.md15.5 KB
  • references/self-distillation-and-internal-refinement.md17.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

  • You need to choose among response-based, feature-based, or relation-based transfer.
  • A strong teacher exists, but the student keeps underperforming and you suspect a capacity-gap or representation mismatch.
  • You are deciding between offline, online, self-distillation, or cross-modal transfer.
  • The team wants to reuse knowledge across modalities, domains, or resolutions and needs to know what is essential versus incidental.
  • You need a high-level distillation doctrine before designing the specific training stack.

NOT for Boundaries

This skill is not the primary fit for:

  • Generic model compression checklists that never ask what knowledge is being transferred.
  • Architecture tuning problems without a teacher-student or representation-transfer question.
  • Deployment economics, cascade routing, or threshold setting once the transfer strategy is already chosen.
  • Prompt-only optimization or ordinary supervised fine-tuning with no distillation mechanism.

Core Mental Models

Knowledge Has Multiple Transferable Forms

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

  • Response knowledge through logits, soft labels, and calibrated predictions.
  • Feature knowledge through intermediate representations and abstractions.
  • Relational knowledge through geometry, similarity, and structure across examples or layers.

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

  • Offline distillation assumes the expert is already stable.
  • Online distillation assumes peers or ensembles should co-evolve.
  • Self-distillation assumes the model contains useful internal views worth aligning.

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

  • Use response transfer when task identity stays mostly stable and the student mainly needs better decision boundaries.
  • Use feature transfer when abstraction quality matters more than exact output mimicry.
  • Use relation transfer when preserving geometry, ranking, or similarity is the real objective.

2. Decide Whether The Gap Needs Scaffolding

  • Small or medium gaps can often learn directly from the teacher.
  • Large gaps usually need teacher assistants, progressive stages, or a redesigned student.
  • If the student does worse than training from scratch, assume structural mismatch before blaming implementation.

3. Decide How Dynamic The Learning Setting Is

  • Stable expert, stable task: offline is simplest.
  • Evolving team, ensemble, or non-stationary task: online learning may be more faithful.
  • No external teacher but useful internal hierarchy: self-distillation becomes viable.

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

  • Use it when you need robustness across representations or want to discover what is modality-independent.
  • Skip it when the downstream task only cares about narrow surface-form fidelity.

Failure Modes

  • Biggest teacher wins fallacy: the teacher is so far ahead that the student copies confidence without understanding.
  • Uniform-transfer mistake: every layer and output is treated as equally valuable.
  • Scheme mismatch: offline transfer is chosen even though the environment or ensemble is evolving.
  • False success: average accuracy looks fine while minority classes or rare cases degrade badly.
  • Translation blind spot: the team copies teacher representations that the student architecture cannot express.

Worked Examples

Example 1: On-Device Moderation Model

  • Goal: compress a large multilingual moderation model into a mobile student.
  • Decision: response-based transfer for label behavior, then feature matching only on the layers that encode toxic-context abstraction.
  • Risk: the smallest student cannot represent multilingual nuance.
  • Adjustment: introduce a teacher assistant rather than pushing the full expert directly into the tiny model.

Example 2: RGB To Depth Transfer For Robotics

  • Goal: preserve scene understanding across modalities.
  • Decision: relation-based and feature-based transfer matter more than pure logits because the representation changed.
  • Success criterion: the student's geometry and ranking of scene structure remain reliable, not just class predictions.

Quality Gates

  • The chosen knowledge type matches the real downstream objective.
  • Teacher-student capacity gap has been evaluated explicitly.
  • Transfer scheme matches whether knowledge is stable, collaborative, or internal.
  • Validation is stratified by difficulty, rarity, or domain slice rather than relying on one headline metric.
  • The team can explain why this knowledge is essential enough to transfer instead of relearn.

References And Visuals

Shibboleths

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

Deeper understanding says:

  • "The first question is what form of knowledge the student actually needs."
  • "A larger teacher can be worse if the student cannot represent what is being taught."
  • "Online, offline, and self-distillation are different assumptions about where good knowledge lives."
  • "Cross-modal transfer is a test of what is essential, not just a deployment trick."

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Use for insight, reframing, contradiction, impasse, and anomaly-driven problem solving when execution effort no longer helps. NOT for routine optimization, error correction, or well-specified tasks with known solution paths.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Apply normative BDI reasoning to agents that must detect norms, choose which commitments to internalize, and resolve conflicts by comparing consequences. Use when obligations, prohibitions, or policies collide in autonomous systems. NOT for simple fixed-priority rules, pure constraint satisfaction, or domains where no real normative conflict exists.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

curiositech のスキルをすべて見る

このスキルの問題を報告する