atlas

Research map / Large language models / Retrieval and knowledge

DDK: Distilling Domain Knowledge for Efficient Large Language Models

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Knowledge-augmented question answering · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DDK, a white-box LLM distillation framework that dynamically reweights domain sampling in the distillation dataset according to teacher-student perplexity gaps per domain, with smooth factor updates.

Problem

Knowledge distillation for LLMs treats all data domains uniformly, ignoring that the student-teacher performance gap differs across domains, so well-matched domains get over-attention while lagging domains get too little.

Approach

Compute a per-domain discrepancy factor from the ratio of student to teacher validation perplexity, use it to set domain sampling probabilities during distillation, and smooth the factor across intervals with a history-weighted exponential update to stabilize training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply DDK instead of KDQwen-1.5 1.8B · Qwen-1.5 benchmarksAvg.: 52.87 -> 55.41Helped
Apply DDK instead of MiniLLMTinyLLaMA 1.1B · LLaMA benchmarksAvg.: 26.37 -> 29.32Helped
Apply DDK instead of KDStarCoder 3B · CrossCodeEvalEM: 34.6 -> 37.6Helped
Set distillation weight γ to 0, 0.1, 0.3, or 0.5 rather than 0.2 (ablation)DDK with Qwen-1.5 1.8B · MMLU validationscore: 45.57; 44.43; 43.44; 44.72; 43.72Hurt
Vary distillation temperature from T=1.0 to T=0.1, 0.2, 0.5, or 2.0 (ablation)DDK with Qwen-1.5 1.8B · Qwen-1.5 validation benchmarksAVG (%): 56.87; 56.96; 57.36; 57.46; 57.12No clear effect
Remove factor smooth updating (ablation)DDK with Qwen-1.5 1.8B · MMLU validationscore: 45.57 -> 43.80Hurt
Use equal sampling across domains instead of domain-guided sampling (ablation)DDK with Qwen-1.5 1.8B · MMLU validationscore: 45.57 -> 44.75Hurt
Set distillation interval K to 50, 100, 500, 1,500, or 2,000 rather than 1,000 (ablation)DDK with Qwen-1.5 1.8B · Qwen-1.5 validation benchmarksAVG (%): 54.54; 55.68; 56.94; 57.46; 56.51; 55.57Hurt
Increase training tokens from 5B to 15B (ablation)DDK with Qwen-1.5 1.8B · Qwen-1.5 validation benchmarksAVG (%): 55.07 -> 57.48Helped
Apply DDK instead of TEDQwen-1.5 1.8B · Qwen-1.5 few-shot benchmarks (5-shot)Avg.: 57.48 -> 60.36Helped

Surprising findings

Limitations

Experimental setup

Datasets: RedPajama Chinese Books Chinese CommonCrawl OpenWebMath The Stack V2

Benchmarks: C-Eval MMLU RACE C3 WinoGrande GSM8K CommonsenseQA ARC-E ARC-C HumanEval MBPP CrossCodeEval

Metrics: accuracy average accuracy exact match edit similarity perplexity

Baselines: CPT CPT & DoReMi KD TED MiniLLM

Builds on: DoReMi MiniLLM TED Knowledge distillation (Hinton et al.)

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy