atlas

Research map / Label-efficient and robust learning / Knowledge distillation

Few-Shot Knowledge Distillation of LLMs With Counterfactual Explanations

NeurIPS 2025 · Label-efficient and robust learning › Knowledge distillation · approach: Rethinking distillation objectives

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 CoD, which augments few-shot task-aware LLM distillation with LLM-generated counterfactual explanations (flip-validated by the teacher), using half the original samples plus their CFEs, with theoretical motivation via Fisher information and Hausdorff distance.

Problem

Task-aware knowledge distillation of LLMs usually needs large datasets, but in many practical settings only a handful of labeled samples are available; few-shot distillation remains underexplored.

Approach

Pair each few-shot training input with a counterfactual explanation (a minimally perturbed input that flips the teacher's prediction), generated by GPT-4o and validated by the teacher, so the student better matches the teacher's decision boundary; supported by a logistic-regression Fisher information result and a Hausdorff-distance bound.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add counterfactual explanations to LWD trainingDeBERTa-v3-base → DeBERTa-v3-small · IMDB k=8accuracy: 0.760\ts{0.046} -> 0.861\ts{0.017}Helped
Add counterfactual explanations to KD trainingDeBERTa-v3-base → DeBERTa-v3-small · Amazon Polarity k=8accuracy: 0.671\ts{0.046} -> 0.758\ts{0.027}Helped
Add counterfactual explanations to KD or LWD trainingDeBERTa-v3-base → DeBERTa-v3-small · CoLA, all reported k valuesaccuracyHelped
Add counterfactual explanations to distillationDeBERTa-v3-base → DeBERTa-v3-small · IMDB and SST2 k=512accuracyHurt
Remove teacher soft-label supervision (ablation)CoD · Few-shot classification, all shot levelsaccuracyHurt
Replace teacher soft labels with random values (ablation)CoD · Few-shot classificationaccuracyHurt
Vary the CFE-generation prompt template (ablation)CoD · Few-shot classificationaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: SST2 Sentiment140 IMDB CoLA Amazon Polarity Yelp

Benchmarks: SST2 Sentiment140 IMDB CoLA Amazon Polarity Yelp

Metrics: accuracy

Baselines: KD LWD TED

Builds on: knowledge distillation layer-wise distillation TED counterfactual explanations

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