acceptodds
Published as a conference paper at NeurIPS 2026

Towards Precise Knowledge Distillation for Large Language Models via Knowledge Probing

Jiajun Liu, Yao He, Wenjun Ke, Peng Wang, Ziyu Shang, Guozheng Li, Zijie Xu

Abstract

Knowledge distillation (KD) has become a widely adopted approach for compressing large language models (LLMs). Existing distillation paradigms for LLMs can be broadly categorized into black-box and white-box approaches. Black-box methods typically transfer the chains of thought (CoTs) generated by teacher models to student models, yet they fail to convey the intrinsic knowledge embedded within teacher models. White-box methods aim to alleviate this limitation by leveraging internal representations from teacher models. However, they still face two major challenges. First, it is difficult to identify which knowledge is essential for distillation in student models. Second, it is challenging to transfer this key knowledge from teacher models accurately. To tackle these challenges, we propose KPD, a novel Knowledge Probing-based white-box Distillation framework for LLMs, which is designed to precisely distill the knowledge that the student model lacks and can be incorporated into diverse distillation approaches. Specifically, to identify critical knowledge gaps in student models, we introduce an uncertainty-based probing method that extracts tokens prone to student errors as critical knowledge. To locate the corresponding knowledge in the teacher model, we utilize cumulative gradient calculation to probe where such knowledge is stored and then distill the target layers. Extensive experiments across multiple datasets demonstrate that KPD boosts traditional distillation methods by 0.34%-4.56% in Rouge-L scores. Further ablations show that probing both the student and teacher yields more precise distillation. Our code is available at https://anonymous.4open.science/r/KPD-CA0D.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_N8kqOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes KPD, a knowledge-probing-based white-box distillation framework for LLMs. The method first uses student-side uncertainty to select key tokens where the student is least confident, treating them as possible knowledge gaps. It then uses teacher-side integrated gradients to locate teacher layers that are relevant to these key tokens, and finally distills the selected teacher intermediate representations into the corresponding student layers. The authors apply KPD as a plug-in to multiple KD baselines and evaluate it on instruction-following, domain-specific, and reasoning/code benchmarks.

Strengths and weaknesses

Strengths:

  1. The paper studies an important problem. Existing white-box KD methods often align all tokens or fixed layers, without explicitly considering what knowledge should be distilled and where it should be extracted from the teacher.
  2. The overall design is coherent. Student uncertainty is used to decide what to distill, and teacher attribution is used to decide where to distill from, forming a clear probing-based distillation pipeline.
  3. The experiments are fairly comprehensive. The authors evaluate KPD across multiple teacher-student pairs, model families, datasets, and KD baselines, and show fairly consistent improvements. The ablation studies are also useful.

Weaknesses:

  1. The interpretation of high-uncertainty tokens as “knowledge gaps” may be too strong. Low probability on the ground-truth token can also result from tokenization, style mismatch, ambiguity, exposure bias, or training instability.
  2. The top-k selection is still heuristic. The paper only studies k1 from 1 to 5 and k2 from 1 to 4, which seems limited for long-form generation where many more tokens may reflect student weaknesses. An adaptive or percentage-based strategy may be more appropriate.
  3. Teacher-side probing relies on integrated gradients and activated-neuron counts, but it is unclear whether the selected layers truly store the relevant knowledge or are simply gradient-sensitive for the current token prediction.
Questions
  1. How does KPD perform when selecting more than 5 uncertain tokens? In particular, for long-form generation tasks, is a fixed top-5 strategy sufficient? Would an adaptive threshold or length-normalized selection strategy be more appropriate?
  2. Can the authors compare the isometric layer mapping with a learned mapping or validation-selected mapping strategy, especially for heterogeneous teacher-student architectures?
Limitations

The main limitations are discussed in the weaknesses above.

Paper formatting concerns

No major formatting concerns observed.

Final justification

The authors have addressed my concerns with additional experiments and clarifications, including token selection analysis, long-form evaluation, and layer mapping comparisons. The responses strengthen the empirical support of KPD, and I maintain my borderline accept rating.

1 comment

We sincerely thank the reviewer for the careful, constructive, and encouraging assessment and for recognizing KPD's importance, coherent design, and comprehensive evaluation. We address each point below.


W1: Interpreting high-uncertainty tokens as “knowledge gaps”

We agree that low reference-token probability does not definitively indicate missing factual or semantic knowledge; it may also reflect tokenization, style, ambiguity, exposure bias, or optimization noise. In KPD, ut=1−q(yt∣y<t,x)u_t=1-q(y_t\mid y_{<t},x) is a target-aware prediction-difficulty score identifying supervised positions where the student is least confident and most likely to benefit from teacher guidance.

Theoretically, Appendix D.1 shows that 1−q(yt∣y<t,x)1-q(y_t\mid y_{<t},x) lower-bounds token-level NLL, equals the NLL-gradient magnitude for the target logit, and maximizes a lower bound on selected-token loss under a fixed budget. Thus, it need only provide an effective routing signal for difficult, loss-relevant positions, not identify semantic knowledge in every case.

Empirically, meaningful uncertainty criteria consistently outperform random token selection, and the target-aware probability score performs best on both model families:

Token-selection criterionLlama3.2-1BQwen2.5-1.5B
Target probability (ours)26.4327.76
Entropy24.3525.63
Margin24.0625.45
Random tokens24.1725.27

The values are Rouge-L on Dolly with IG-based teacher probing. These results support the usefulness of the selected positions as distillation targets, while not implying a unique semantic diagnosis. We will revise the manuscript to use candidate knowledge gaps or student-weak target positions, and explicitly acknowledge the alternative causes listed by the reviewer.


W2: The heuristic top-kk selection

Top-kk imposes a controlled probing budget, rather than assuming that only k1k_1 output tokens are weak. Selected tokens aggregate teacher-layer attribution, while Lhidden\mathcal{L}_{\mathrm{hidden}} is computed over the full sequence after layer selection. Similarly, k2k_2 limits complementary intermediate sources and weakly relevant layers. The existing sensitivity results show a stable “early gain, then saturation” pattern for k1k_1:

Settingk1=1k_1=1k1=2k_1=2k1=3k_1=3k1=4k_1=4k1=5k_1=5
Llama3.2-1B + GKD24.0724.3724.6725.1425.26
Llama3.2-1B + Distillm27.3427.6527.9628.0728.24
Qwen2.5-1.5B + GKD30.3730.3930.4131.4131.54
Qwen2.5-1.5B + Distillm29.6729.6629.6431.4031.61

For k2k_2, Llama3.2-1B + GKD improves from 24.41 (k2=1k_2=1) to 25.26 (k2=3k_2=3), while Distillm changes from 28.24 (k2=3k_2=3) to 28.20 (k2=4k_2=4). Thus, k1=4k_1=4–55 and k2=3k_2=3 balance precision and efficiency. Unlike k1k_1, k2k_2 is independent of output length, and its existing sweep already saturates at k2=3k_2=3 and slightly declines at k2=4k_2=4; therefore, we focus the additional long-form experiment on k1k_1, while larger k2k_2 would mainly add redundant supervision and cost. Adaptive k1k_1 selection is addressed in Q1.


W3: Whether IG-selected layers truly contain relevant knowledge

We appreciate this distinction. IG does not prove a unique physical storage location for the relevant knowledge; our narrower claim is that selected layers provide stronger functional support for student-weak tokens. IG integrates gradients from the baseline to the original activation, and activated-neuron counts aggregate token-conditioned evidence by layer.

We test functional relevance by intervening on teacher-layer sets and measuring the key-token log-probability drop:

Intervention targetAvg. log-probability dropRelative to random
Top-k2k_2 layers selected by KPD0.474.3$\times$
Random layers0.111.0$\times$
Low-activation layers0.161.5$\times$

Intervening on KPD-selected layers causes a substantially larger degradation than intervening on equally many random or low-activation layers. Together with the teacher-probe ablation, where random layer selection reduces average Rouge-L by up to 4.02, this shows that the selected layers are not arbitrary high-gradient layers. We will revise “layers storing the knowledge” to prediction-relevant or functionally relevant teacher layers to avoid overstating localization.

Q1: Performance beyond five tokens and adaptive/length-normalized selection

KPD supports fixed-budget and length-adaptive selection. We use top-5 as a simple, compute-controlled default because gains saturate around k1=4k_1=4–55. Selected tokens only identify globally relevant teacher layers; Lhidden\mathcal{L}_{\mathrm{hidden}} is then computed over the full sequence, so distillation is not restricted to five positions.

We agree that directly evaluating k1>5k_1>5 and an adaptive strategy would strengthen this analysis. We add a compact comparison under Llama3.1-8B →\rightarrow Llama3.2-1B on Dolly with the same KD backbone, which expands the input length from 512 to 2048 to verify the performance on long-form sentences:

Token-selection strategyThe average Rouge-LProbing Time (min)
Fixed top-523.9871
Fixed top-1023.91146
Fixed top-1523.97218
Fixed top-2023.95292
Length-normalized selection strategy24.03216

For the adaptive variant, we use k(y)=min⁡(20,max⁡(5,⌈0.05∣y∣⌉)),k(y)=\min\left(20,\max\left(5,\left\lceil0.05|y|\right\rceil\right)\right), where ∣y∣|y| is the output length and k(y)k(y) the selected-token count. It retains top-5 for short outputs and allows up to 20 tokens for longer outputs. Increasing the fixed budget beyond five yields nearly unchanged performance, with scores ranging from 23.91 to 23.97 compared with 23.98 for top-5, confirming that the benefit of fixed-token selection largely saturates at k1=5k_1=5. Probing time increases approximately linearly with the fixed token budget, from 71 minutes at k1=5k_1=5 to 292 minutes at k1=20k_1=20, while the corresponding Rouge-L gains remain negligible. Therefore, under our long-form setting, fixed top-5 is sufficient to achieve nearly optimal performance, since selecting more fixed tokens does not produce additional gains. In contrast, the length-normalized strategy achieves the best score of 24.03 with 216 minutes of probing, which is lower than the 292 minutes required by fixed top-20 and comparable to fixed top-15. This suggests that adaptively allocating additional probing tokens to longer outputs provides a better effectiveness-efficiency trade-off while avoiding unnecessary probing for shorter outputs. Thus, when output lengths vary substantially, a length-normalized strategy is more appropriate than a fixed budget; an adaptive uncertainty-threshold strategy is also compatible with KPD, but was not required to obtain the observed improvement. We will add these observations in the revision.


Q2: Isometric mapping versus learned or validation-selected mapping

Isometric mapping is a parameter-free relative-depth prior that preserves teacher-student layer order without extra parameters or validation search. We do not claim global optimality; it provides a stable, architecture-agnostic default.

The current controlled comparison already shows that relative-depth preservation is stronger than mapping all selected teacher layers to a fixed shallow or deep region. For Qwen2.5-7B →\rightarrow Qwen2.5-1.5B with SeqKD:

Mapping strategyAvg. Rouge-L
Front-layer mapping27.94
Final-layer mapping28.55
Isometric mapping28.82

We appreciate the suggestion of stronger data-driven mappings. We additionally compare validation-selected mapping and a learned soft mapping in both same-family and heterogeneous settings:

Mapping strategyLlama3.1-8B →\rightarrow Llama3.2-1BLlama2-7B →\rightarrow Qwen2.5-1.5BExtra parameters/search
Isometric mapping23.9827.13None
Validation-selected mapping23.7326.89Validation search
Learned soft mapping23.8926.95Learnable weights

We use the same KD backbone throughout and fix MultiLevelOT for all heterogeneous variants, changing only the layer mapping. The three strategies achieve relatively close performance, indicating that more complex data-driven mappings provide only limited gains in this setting. Nevertheless, isometric mapping consistently obtains the best results while requiring neither validation search nor learnable parameters, making it the simplest and most effective choice among the compared strategies.

Reviewer_v93XOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
2
Quality
3
Significance
3
Read review
Summary

This work addresses the central challenge of improving white-box knowledge distillation for LLMs by deciding both what to distill and where to distill it from. The proposed method, KPD, first identifies target tokens on which the student has low probability under teacher forcing, treating these as student knowledge gaps. It then uses integrated-gradient attribution over teacher FFN neurons to identify teacher layers that contribute strongly to those tokens. Finally, it performs intermediate-layer distillation from the selected teacher layers to proportionally aligned student layers, adding this hidden-layer objective to standard SFT and KD losses.

The claims of the paper are that this probing-based procedure provides more precise knowledge transfer than uniform hidden-layer distillation, and that it can be plugged into many existing KD methods. The authors evaluate KPD across several teacher-student pairs, including Llama and Qwen families, and across general instruction-following, domain-specific medical/legal, and additional reasoning/code benchmarks. The results show consistent improvements over a range of KD baselines, and the ablations suggest that both student-side token probing and teacher-side layer probing contribute to the gains.

Weaknesses

The paper interprets low student probability on reference tokens as evidence of missing knowledge, but this signal may instead reflect generic prediction difficulty arising from rare words, tokenization effects, stylistic differences, or multiple valid continuations. The authors should be careful about claiming this as just missing knowledge and acknowledge these possibilities too.

Strengths and weaknesses

The paper targets an important limitation of standard intermediate KD. Uniformly aligning all tokens or fixed layers is likely suboptimal, especially when student errors are concentrated in a small subset of positions and when teacher knowledge is unevenly distributed across layers. The proposed what and where to distill framing is intuitive and relevant.

The experimental coverage is sufficiently broad. The authors evaluate multiple teacher-student families, several baselines, and include ablations on layer mapping, probing size, number of key tokens, and computational overhead. Averaging over five random seeds is good to see.

Questions

Can the authors should clarify whether the hidden loss is masked or weighted by the selected key tokens. If it is not, they should compare against a genuinely token-targeted hidden loss.

Limitations

yes

Paper formatting concerns

none

Final justification

After checking through the rebuttal and other reviewer comments, I am happy to maintain my original rating.

1 comment

We sincerely thank the reviewer for the positive assessment and the careful, constructive comments. We particularly appreciate the reviewer’s recognition of the importance of deciding both what should guide distillation and where the corresponding teacher supervision should be extracted. Below, we address the two concerns.


W1: Low probability on a reference token may not necessarily indicate missing knowledge

We agree that our current use of “knowledge gap” can be interpreted too strongly. The score ut=1−q(yt∣y<t,x)u_t=1-q(y_t\mid y_{<t},x) should more precisely be viewed as a target-aware prediction-difficulty score, rather than definitive evidence that the student lacks a specific factual or semantic item. A high score may also result from rare words, tokenization effects, stylistic differences, or multiple valid continuations. We sincerely thank the reviewer for highlighting this important distinction.

Theoretically, our intended interpretation is operational: utu_t identifies supervised target positions at which the student assigns insufficient probability to the reference token and is therefore likely to benefit from additional teacher guidance. The supervised objective supports this interpretation. For each target token, −log⁡q(yt∣y<t,x)≥1−q(yt∣y<t,x)-\log q(y_t\mid y_{<t},x)\geq 1-q(y_t\mid y_{<t},x) and the magnitude of the NLL gradient with respect to the target-token logit is

\frac{\partial\mathcal L_{\mathrm{NLL}}} {\partial z_{y_t}} \right|=1-q(y_t\mid y_{<t},x)$$ Therefore, selecting tokens with large $u_t$ prioritizes positions that are both loss-relevant and gradient-relevant. Under a fixed token budget, selecting the largest $u_t$ values also selects the largest terms in this computable lower bound on the token-level NLL. Our claim is thus not that every selected token uniquely represents missing semantic knowledge, but that these positions provide an effective signal for routing additional distillation supervision. Experimentally, this operational usefulness is supported by the existing comparison in **Appendix B.12**: | Token-selection criterion | Llama3.2-1B | Qwen2.5-1.5B | | ----------------------------- | ----------- | ------------ | | **Target probability (ours)** | **26.43** | **27.76** | | Predictive entropy | 24.35 | 25.63 | | Top-1/top-2 margin | 24.06 | 25.45 | | Random positions | 24.17 | 25.27 | The table reports Rouge-L on Dolly using the same IG-based teacher probing. The target-aware criterion outperforms entropy, margin, and random selection by **2.08–2.49 Rouge-L**. Moreover, Figure 6 shows that KPD consistently reduces the uncertainty of the originally selected positions relative to both SFT and vanilla KD across TinyLlama-1.1B, Llama3.2-1B, and Qwen2.5-1.5B. These results do not imply that every difficult token is a semantic knowledge gap; rather, they show that target-aware difficulty is a more effective routing signal than generic uncertainty or arbitrary token selection. We will revise the paper accordingly. We will use more precise terms such as **student-weak target positions**, **target-aware difficulty**, and **potential knowledge gaps**, and explicitly acknowledge rarity, tokenization, stylistic variation, and multiple valid continuations as alternative causes of low target probability. ------ > ## Q1: Whether the hidden loss is masked or weighted by the selected key tokens Thank you for requesting this clarification. In the submitted implementation, $\mathcal L_{\mathrm{hidden}}$ is **neither masked nor weighted by the selected key tokens**. As shown in Equation (11), the hidden loss is computed over all target positions. **The selected key tokens are used to construct the probing set and identify the teacher layers most relevant to student-weak targets; they are not used as a token mask during subsequent intermediate distillation.** Specifically, the current design follows a **sparse-routing, dense-transfer** principle. The selected tokens act as diagnostic anchors that determine which teacher layers should provide intermediate supervision. Once these layers are identified, matching their representations over the complete sequence preserves the contextual information surrounding difficult positions. Since autoregressive hidden states jointly encode the preceding context and its dependencies, restricting the objective to only $k_1$ isolated positions may produce overly sparse gradients and discard useful contextual supervision. Therefore, KPD is more precisely described as **token-conditioned, layer-targeted distillation**, rather than token-exclusive hidden distillation. Existing intervention evidence confirms that token-conditioned routing identifies functionally relevant teacher layers: | Intervention target | Avg. log-probability drop on key tokens | Relative degradation | | ------------------------------------ | --------------------------------------- | -------------------- | | **Top-$k_2$ layers selected by KPD** | **0.47** | **4.3×** | | Random layers | 0.11 | 1.0× | | Low-activation layers | 0.16 | 1.5× | Intervening on the KPD-selected layers causes a substantially larger drop in the teacher probability of key tokens than intervening on random or low-activation layers. Thus, although the final hidden loss is dense over token positions, its teacher-layer supervision is explicitly conditioned on the selected student-weak targets. Moreover, following the reviewer’s valuable suggestion, we additionally compare the current full-sequence objective with two genuinely token-targeted alternatives under Llama3.1-8B $\rightarrow$ Llama3.2-1B. All variants use the same KD backbone, probing-selected teacher layers, training data, and hyperparameters; only the token scope or weighting of $\mathcal L_{\mathrm{hidden}}$ is changed. For the masked variant, the loss is normalized by the number of selected positions to keep the loss scale comparable. | Hidden-loss token scope | Dolly | SelfInst | S-NI | UnNI | Vicuna | Avg. | | ------------------------------- | --------- | --------- | --------- | --------- | --------- | --------- | | **Full sequence (current KPD)** | **26.43** | **16.57** | **30.12** | **29.47** | **17.33** | **23.98** | | Key-token-only mask | 25.20 | 14.47 | 28.27 | 28.02 | 15.03 | 22.20 | | Uncertainty-weighted sequence | 24.87 | 14.67 | 27.90 | 27.50 | 15.18 | 22.02 | The current full-sequence objective achieves the best performance on all five datasets, with an average Rouge-L of **23.98**. It outperforms the key-token-only mask by **1.78 Rouge-L** on average, with gains ranging from **1.23 to 2.30** across datasets. It also exceeds the uncertainty-weighted sequence objective by **1.96 Rouge-L** on average. These results show that the selected key tokens are more effective as **routing anchors for identifying relevant teacher layers** than as exclusive positions for hidden-state supervision. Restricting the loss to only a few selected positions produces overly sparse supervision, while uncertainty weighting may overemphasize difficult tokens and weaken the transfer of surrounding contextual information. In contrast, the current design combines sparse, token-conditioned layer routing with dense contextual transfer, allowing the student to learn both the difficult target positions and their sequence-level dependencies. We will revise Section 3.5 to explicitly state that the submitted hidden objective covers all target positions. We will also replace potentially ambiguous descriptions of “token-targeted hidden distillation” with **token-conditioned teacher-layer selection followed by contextual intermediate distillation**. ------ We again sincerely thank the reviewer for these constructive comments. They help us substantially improve the conceptual precision of “knowledge gaps” and clarify the exact role of selected key tokens in KPD.
Reviewer_sX3wOpenReview ↗
Rating
4
Clarity
3
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper proposes KPD, a white-box distillation framework for LLMs. It first selects high-uncertainty target tokens from the student under teacher forcing, then uses integrated-gradient attribution over teacher FFN neurons to identify teacher layers, and finally adds intermediate-layer distillation between selected teacher layers and depth-aligned student layers. The experiments cover instruction-following, medical/legal MMLU subsets, several model families, and nine KD baselines. The results are broadly positive, but the paper sometimes overstates the “knowledge gap” and “knowledge localization” story, since the method largely turns probing into a global layer-selection signal rather than fully token-specific knowledge transfer.

Strengths and weaknesses

Strengths

  1. The method combines known ideas: uncertainty-based hard-token selection, IG-style knowledge-neuron attribution, intermediate-layer distillation, and proportional layer mapping. The contribution is useful, but it feels more like a well-engineered combination than a clearly new principle.

  2. The “knowledge gap” framing is stronger than what the method proves. The student-side score is basically a target-aware difficulty signal under teacher forcing. It may select rare words, reference-specific phrasing, or ambiguous tokens, not necessarily missing knowledge. The appendix partly clarifies this, but the main framing remains a bit overstated.

  3. Broad experiments, framed as a plug-in. 9 baselines × 3 families × agnostic + specific tasks, with KPD improving almost every cell. This consistency-as-a-plug-in is more convincing than a single cherry-picked SOTA number.

Weaknesses

  1. Novelty is moderate: it reads as a recombination. IG-for-knowledge-neurons is Knowledge Neurons; uncertainty-based token selection overlaps heavily with AD-KD, uncertainty-driven KD, and task-aware layer-wise distillation. The paper never really pins down what is new relative to these close cousins, which weakens the novelty claim.

  2. Probing uses teacher-forced ground-truth prefixes, which may be optimistic. From the A.6 example, the probing prompts feed the ground-truth output prefix to isolate each key token. So both the uncertainty and the IG attribution are computed under gold context, not under the student's own (drifting) generations. The paper doesn't discuss whether this teacher-forcing mismatch inflates how "well-targeted" the selected tokens/layers really are.

  3. A few design choices lack controls / explanation. Excluding the last layer during selection is a heuristic with no ablation of its effect. IG over every FFN neuron in every layer is expensive (offline, but still), yet the comparison to cheaper attribution (grad×act) lives only on a single Dolly split in B.12. And the heterogeneous result leans on MultiLevelOT, so KPD's own contribution there is hard to disentangle.

Questions

See Weeknesses

Limitations

N/A

Paper formatting concerns

N/A

Final justification

After considering the rebuttal and discussion, I maintain my Borderline Accept (4) rating. The authors adequately addressed my technical concerns through additional clarifications and experiments, particularly regarding probing, attribution, computational cost, and heterogeneous settings. My main remaining reservation is the moderate novelty, as KPD largely combines established components. Overall, I believe the technical strengths and consistent empirical gains outweigh this concern, but not enough to justify a stronger accept score.

1 comment

We sincerely thank the reviewer for the careful and constructive assessment. Below, we address the three main concerns.


W1: Moderate novelty relative to existing attribution-, uncertainty-, and layer-selection methods

We agree that KPD adopts established tools, including uncertainty estimation, Integrated Gradients (IG), and intermediate-layer distillation. Our contribution is not the invention of these individual components, but a new student-conditioned pipeline that connects them to jointly determine what knowledge should receive additional supervision and where the corresponding teacher supervision should be extracted. We clarify the differences below:

  • Difference from Knowledge Neurons.

    Knowledge Neurons uses IG to identify FFN neurons for factual interpretation or editing within one model. KPD conditions teacher-side IG on tokens difficult for a specific student, aggregates neuron attributions into layer relevance, and uses the selected layers as intermediate distillation targets. Thus, it turns attribution into a student-conditioned teacher-layer routing mechanism.

  • Difference from AD-KD and uncertainty-guided KD.

    AD-KD uses teacher input-token attribution to reweight output-level supervision, while Uncertainty-Driven KD and Uncertainty-Aware Mixup use module- or sample-level uncertainty for compression or data selection. KPD instead uses student-side token-level difficulty to trigger teacher-layer attribution and targeted intermediate distillation.

  • Difference from task-aware layer-wise distillation.

    Methods such as TED select layers generally informative for a task. KPD selects layers according to their contribution to tokens difficult for the current student, enabling student-specific, token-conditioned layer selection.

Therefore, KPD coordinates: (1) student token difficulty to identify what needs extra supervision; (2) token-conditioned teacher-neuron IG to locate relevant layers; and (3) probed-layer-aware isometric distillation to transfer their representations. Appendices B.9-B.10 show that this coupling outperforms directly adapted alternatives:

MethodStudent token difficultyTeacher IG for layer selectionProbed intermediate distillationAvg. Rouge-L
AD-KDNoNo, input-token attributionNo21.42
Uncertainty-Driven KDNo, module-level uncertaintyNoNo21.65
Uncertainty-Aware MixupNo, sample-level teacher uncertaintyNoNo21.52
KD + TEDNoNoYes, task-selected layers23.13
KD + DSKDNoNoToken and feature spaces23.21
KD + RLKDNoNoNo23.07
KD + KPDYesYesYes23.98

Under Llama3.1-8B →\rightarrow Llama3.2-1B, KPD exceeds attribution and uncertainty adaptations by 2.33-2.56 Rouge-L and TED, DSKD, RLKD by 0.77-0.91. We will clarify that KPD's novelty lies in this coordinated pipeline, not uncertainty or IG individually.


W2: Teacher-forced probing may be optimistic under student-generated contexts

We agree that teacher-forced and free-running contexts differ. KPD uses ground-truth prefixes because probing is an offline supervised routing procedure aligned with teacher-forced SFT and KD. A fixed gold prefix isolates the target and prevents earlier generation errors from changing the token being analyzed. Thus, KPD identifies difficult supervised targets rather than deployment-time epistemic uncertainty.

We directly compare gold-prefix and student-generated-prefix probing under Llama3.1-8B →\rightarrow Llama3.2-1B:

Probing contextDollySelfInstS-NIUnNIVicunaAvg.
Gold prefix26.4316.5730.1229.4717.3323.98
Student-generated prefix25.2714.6928.4327.6215.5422.31

Gold-prefix probing improves all datasets by 1.16-1.88 Rouge-L, averaging +1.67. Gold prefixes provide a clean context, whereas student-generated prefixes may contain earlier errors or stylistic deviations that disrupt token selection and layer attribution.

Also, teacher-forced probing can benefit on-policy distillation methods, such as GKD, which trains on student-generated outputs:

MethodLlama3.2-1B Avg.Qwen2.5-1.5B Avg.
GKD24.6030.71
GKD + KPD25.2631.54

KPD improves GKD by +0.66 and +0.83 Rouge-L, showing that offline teacher-forced routing remains useful when downstream distillation uses student generations. We will add this comparison and clarify KPD's supervised scope.


W3: Heuristic design choices, IG cost, and heterogeneous distillation

We appreciate these concrete suggestions and address them separately below.

1. Last-layer exclusion. The output-level KD loss already uses the final teacher output, and selecting it again may duplicate final-output supervision rather than add complementary intermediate guidance. To directly verify this design choice, we compare excluding and including the final teacher layer:

Design variantDollySelfInstS-NIUnNIVicunaAvg.
Exclude final layer + IG26.4316.5730.1229.4717.3323.98
Include final layer + IG26.4916.5330.1429.4017.2723.96

The variants are comparable, while exclusion gives a slightly better average (23.98 vs. 23.96) and avoids redundant supervision.

2. Attribution choice. IG integrates gradients from the baseline to the original activation, making it less dependent on one local gradient than grad$\times$activation. Existing Dolly results for different attribution methods are:

Attribution methodLlama3.2-1BQwen2.5-1.5B
Integrated Gradients26.4327.76
grad$\times$activation23.5624.86
Attention importance23.6225.92
Random layers23.9625.17

IG exceeds grad$\times$activation by 2.87 and 2.90 Rouge-L, and also outperforms attention and random selection, supporting its more reliable layer attribution.

3. Computational overhead. IG probing is performed once offline, not at each training step. Student uncertainty reuses existing logits, and the hidden objective accesses only the selected k2=3k_2=3 layers. The measured overhead is:

ModelsOne-time probingDistillationRelative overhead
Llama2-7B →\rightarrow TinyLlama-1.1B69.5 min1626 min4.3%
Llama3.1-8B →\rightarrow Llama3.2-1B87.5 min1787 min4.9%
Qwen2.5-7B →\rightarrow Qwen2.5-1.5B105.0 min1976 min5.3%

Thus, IG adds only 4.3%-5.3% one-time overhead while providing stronger layer selection.

4. Heterogeneous setting. MultiLevelOT is fixed for both baseline and KPD variants. It aligns token spaces, while KPD determines what and where to distill. Paired comparisons therefore isolate KPD's contribution:

Llama2-7B →\rightarrow Qwen2.5-1.5BDollySelfInstS-NIUnNIVicunaAvg.
KD + MultiLevelOT22.4117.3436.7931.8620.7125.82
KD + MultiLevelOT + KPD23.7418.4637.3433.4722.6327.13
Distillm + MultiLevelOT28.4122.1839.7437.4120.9329.73
Distillm + MultiLevelOT + KPD29.1523.4740.3138.9321.4230.66

With identical alignment, KPD improves KD by +1.31 and Distillm by +0.93 average Rouge-L. We will make this control explicit.


Additional Explanation: Interpretation of “knowledge gaps”

We agree that ut=1−q(yt∣y<t,x)u_t=1-q(y_t\mid y_{<t},x) is a target-aware prediction-difficulty score, not definitive evidence of a missing factual or semantic item. High values may also reflect rarity, tokenization, style, or multiple valid continuations. Likewise, probed layers are functionally relevant to student-weak targets, not unique knowledge-storage locations. We will use student-weak target positions and prediction-relevant teacher layers, treating “knowledge gap” only as operational shorthand.

Comments on the paper

1 comment
Meta-review

This paper proposes KPD, a knowledge probing-based distillation framework for LLMs that identifies student knowledge gaps through uncertainty probing and locates corresponding teacher knowledge through attribution-based layer probing. Reviewers appreciated the clear motivation, coherent framework, theoretical grounding, and broad evaluation.

However, several aspects require further clarification. In particular, the authors are encouraged to better define and interpret “knowledge” in the proposed framework, and provide further analysis of whether the probing strategy can reliably identify missing knowledge in student models and whether the distillation process effectively fills these knowledge gaps. In addition, the choices of top-k token/layer selection strategies and the computational overhead require further analysis. For example, it would be helpful to provide more details about the top-k selection strategy across different context lengths.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.