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
NeurIPS 2026
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 integrated-gradient-based attribution 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.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
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.
Final justification
The rebuttal and subsequent discussion have substantially addressed my concerns. I appreciate the authors’ efforts to provide clearer interpretations of the probing signals, together with additional experiments on probing reliability, token/layer selection, long-context behavior, computational overhead, and heterogeneous distillation. The reviewers also generally maintained positive assessments. To further strengthen the work, it would be helpful to more clearly articulate the methodological novelty relative to closely related approaches.
Read meta-review
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.
Final justification
The rebuttal and subsequent discussion have substantially addressed my concerns. I appreciate the authors’ efforts to provide clearer interpretations of the probing signals, together with additional experiments on probing reliability, token/layer selection, long-context behavior, computational overhead, and heterogeneous distillation. The reviewers also generally maintained positive assessments. To further strengthen the work, it would be helpful to more clearly articulate the methodological novelty relative to closely related approaches.
5 comments
Response to the Area Chair (PART II)
2. Whether the probing strategy reliably identifies useful student positions and teacher layers
The AC’s second concern combines two related reviewer questions. On the student side, Reviewers v93X and N8kq questioned whether low target probability reliably identifies meaningful weaknesses rather than generic prediction difficulty. Reviewer sX3w additionally questioned whether teacher-forced gold prefixes make the resulting token and layer selection overly optimistic. On the teacher side, Reviewers sX3w and N8kq asked whether IG-selected layers are genuinely relevant to the target predictions or merely gradient-sensitive.
(a) Student-side token probing
We first compare the target-aware score with alternative token-selection criteria while retaining the same IG-based teacher probing:
| 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 values are Rouge-L scores on Dolly. The target-aware criterion outperforms entropy, margin, and random selection by 2.08–2.49 Rouge-L. These results do not prove that every selected token represents missing semantic knowledge, but they show that the selected positions provide a substantially more effective routing signal than generic uncertainty or arbitrary token selection. Furthermore, to address Reviewer sX3w’s teacher-forcing concern, we directly compare gold-prefix probing with student-generated-prefix probing under Llama3.1-8B Llama3.2-1B:
| Probing context | Dolly | SelfInst | S-NI | UnNI | Vicuna | Avg. |
|---|---|---|---|---|---|---|
| Gold prefix | 26.43 | 16.57 | 30.12 | 29.47 | 17.33 | 23.98 |
| Student-generated prefix | 25.27 | 14.69 | 28.43 | 27.62 | 15.54 | 22.31 |
Gold-prefix probing performs better on all five datasets, with gains of 1.16–1.88 Rouge-L and an average improvement of 1.67. A fixed gold prefix isolates the target being analyzed, whereas a student-generated prefix may contain earlier prediction errors or stylistic deviations that perturb both token selection and subsequent teacher attribution. We therefore clarify that KPD is an offline supervised routing procedure aligned with teacher-forced SFT and KD, rather than a measure of deployment-time epistemic uncertainty. Its purpose is to identify difficult supervised targets under a controlled context.
(b) Teacher-side layer probing
To address the further concern shared by Reviewers sX3w and N8kq, we test whether the IG-selected layers provide functional support for the key-token predictions. We intervene on equally sized teacher-layer sets and measure the resulting decrease in key-token log-probability:
| Intervention target | Avg. log-probability drop | Relative to random |
|---|---|---|
| Top- layers selected by KPD | 0.47 | 4.3$\times$ |
| Random layers | 0.11 | 1.0$\times$ |
| Low-activation layers | 0.16 | 1.5$\times$ |
Intervening on the KPD-selected layers causes a substantially larger degradation than intervening on random or low-activation layers. This is also consistent with the teacher-probe ablation: replacing the selected layers with random layers reduces average Rouge-L by as much as 4.02. We additionally compare IG with cheaper or heuristic attribution alternatives:
| Attribution method | Llama3.2-1B | Qwen2.5-1.5B |
|---|---|---|
| Integrated Gradients | 26.43 | 27.76 |
| grad$\times$activation | 23.56 | 24.86 |
| Attention importance | 23.62 | 25.92 |
| Random layers | 23.96 | 25.17 |
IG improves over grad$\times$activation by 2.87 and 2.90 Rouge-L, respectively, and also outperforms attention-based and random layer selection. Together, these results support the narrower claim that the selected layers are functionally relevant to the selected targets, without asserting unique semantic localization.
Response to the Area Chair (PART III)
3. Whether distillation effectively alleviates the identified weaknesses
The AC’s third concern intersects particularly with Reviewer v93X’s question about whether the selected key tokens actually determine the positions used in the hidden loss. Reviewer sX3w also observed that the probing procedure ultimately produces a global layer-selection signal rather than fully token-specific hidden transfer.
We clarify that the submitted is neither masked nor weighted by the selected key tokens. The selected tokens are diagnostic anchors used to determine which teacher layers should provide intermediate supervision. Once these layers are selected, the hidden loss is computed over the full sequence. KPD therefore follows a sparse-routing, dense-transfer principle:
- sparse student-weak positions determine the teacher-layer route;
- dense sequence-level intermediate supervision transfers the selected layers’ contextual representations.
Following Reviewer v93X’s suggestion, we directly compare the submitted full-sequence objective with genuinely token-targeted alternatives:
| 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 |
All variants use the same KD backbone, probing-selected teacher layers, training data, and hyperparameters; only the token scope or weighting of is changed. The current full-sequence objective outperforms the key-token-only mask by 1.78 Rouge-L on average, with gains of 1.23–2.30 across the five datasets. It also exceeds the uncertainty-weighted objective by 1.96 Rouge-L on average.
Restricting the hidden loss to only a few selected positions produces overly sparse supervision, while strongly weighting difficult positions can weaken the transfer of surrounding contextual dependencies. We therefore do not claim that KPD performs token-exclusive representation matching. More precisely, it performs token-conditioned teacher-layer selection followed by contextual intermediate distillation. We operationalize “filling the knowledge gaps” through two measurable outcomes:
- the originally selected student-weak positions become easier for the student to predict; and
- the resulting student improves on independent downstream evaluations.
The uncertainty analysis in Figure 6 shows that KPD consistently reduces the target-aware difficulty of the original key-token positions across TinyLlama-1.1B, Llama3.2-1B, and Qwen2.5-1.5B. During training, KD augmented with KPD also converges to lower final uncertainty than both SFT and vanilla KD. At the same time, KPD consistently improves nine KD backbones across three teacher-student families, general instruction-following datasets, medical/legal tasks, and reasoning/code benchmarks. Thus, the improvement is not limited to reducing the diagnostic score on the probing examples; it transfers to held-out downstream performance. The clarification and token-scope control requested by Reviewer v93X therefore provide additional evidence for the current sparse-routing, dense-transfer design rather than a token-exclusive hidden objective.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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:
- 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.
- 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.
- 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:
- 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.
- 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.
- 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
- 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?
- 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.
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.
Formatting concerns
No major formatting concerns observed.
5 comments
Rebuttal
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, 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 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 criterion | Llama3.2-1B | Qwen2.5-1.5B |
|---|---|---|
| Target probability (ours) | 26.43 | 27.76 |
| Entropy | 24.35 | 25.63 |
| Margin | 24.06 | 25.45 |
| Random tokens | 24.17 | 25.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- selection
Top- imposes a controlled probing budget, rather than assuming that only output tokens are weak. Selected tokens aggregate teacher-layer attribution, while is computed over the full sequence after layer selection. Similarly, limits complementary intermediate sources and weakly relevant layers. The existing sensitivity results show a stable “early gain, then saturation” pattern for :
| Setting | |||||
|---|---|---|---|---|---|
| Llama3.2-1B + GKD | 24.07 | 24.37 | 24.67 | 25.14 | 25.26 |
| Llama3.2-1B + Distillm | 27.34 | 27.65 | 27.96 | 28.07 | 28.24 |
| Qwen2.5-1.5B + GKD | 30.37 | 30.39 | 30.41 | 31.41 | 31.54 |
| Qwen2.5-1.5B + Distillm | 29.67 | 29.66 | 29.64 | 31.40 | 31.61 |
For , Llama3.2-1B + GKD improves from 24.41 () to 25.26 (), while Distillm changes from 28.24 () to 28.20 (). Thus, – and balance precision and efficiency. Unlike , is independent of output length, and its existing sweep already saturates at and slightly declines at ; therefore, we focus the additional long-form experiment on , while larger would mainly add redundant supervision and cost. Adaptive 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 target | Avg. log-probability drop | Relative to random |
|---|---|---|
| Top- layers selected by KPD | 0.47 | 4.3$\times$ |
| Random layers | 0.11 | 1.0$\times$ |
| Low-activation layers | 0.16 | 1.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 –. Selected tokens only identify globally relevant teacher layers; is then computed over the full sequence, so distillation is not restricted to five positions.
We agree that directly evaluating and an adaptive strategy would strengthen this analysis. We add a compact comparison under Llama3.1-8B 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 strategy | The average Rouge-L | Probing Time (min) |
|---|---|---|
| Fixed top-5 | 23.98 | 71 |
| Fixed top-10 | 23.91 | 146 |
| Fixed top-15 | 23.97 | 218 |
| Fixed top-20 | 23.95 | 292 |
| Length-normalized selection strategy | 24.03 | 216 |
For the adaptive variant, we use
where is the output length and 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 . Probing time increases approximately linearly with the fixed token budget, from 71 minutes at to 292 minutes at , 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 Qwen2.5-1.5B with SeqKD:
| Mapping strategy | Avg. Rouge-L |
|---|---|
| Front-layer mapping | 27.94 |
| Final-layer mapping | 28.55 |
| Isometric mapping | 28.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 strategy | Llama3.1-8B Llama3.2-1B | Llama2-7B Qwen2.5-1.5B | Extra parameters/search |
|---|---|---|---|
| Isometric mapping | 23.98 | 27.13 | None |
| Validation-selected mapping | 23.73 | 26.89 | Validation search |
| Learned soft mapping | 23.89 | 26.95 | Learnable 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.
Looking forward to further feedback
Dear Reviewer N8kq,
Thank you again for your valuable comments and suggestions, which are very helpful to us. We have posted responses to the proposed concerns.
We understand that this is quite a busy period, so we would sincerely appreciate it if you could take some time to return further feedback on whether our responses resolve your concerns. If you have any additional concerns, we will do our best to address them.
Best,
The Authors
Dear Reviewer N8kq,
As the discussion period is nearing its conclusion, we kindly ask if you could review our response to ensure it addresses your concerns. Your feedback is greatly appreciated.
Thank you for your time!
Best,
Authors
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
Final justification
After checking through the rebuttal and other reviewer comments, I am happy to maintain my original rating.
Formatting concerns
none
5 comments
Rebuttal
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
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: 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,
and the magnitude of the NLL gradient with respect to the target-token logit is
Therefore, selecting tokens with large prioritizes positions that are both loss-relevant and gradient-relevant. Under a fixed token budget, selecting the largest 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, 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 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- 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 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 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.
Looking forward to further feedback
Dear Reviewer v93X,
Thank you again for your valuable comments and suggestions, which are very helpful to us. We have posted responses to the proposed concerns.
We understand that this is quite a busy period, so we would sincerely appreciate it if you could take some time to return further feedback on whether our responses resolve your concerns. If you have any additional concerns, we will do our best to address them.
Best,
The Authors
Dear Reviewer v93X,
As the discussion period is nearing its conclusion, we kindly ask if you could review our response to ensure it addresses your concerns. Your feedback is greatly appreciated.
Thank you for your time!
Best,
Authors
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
-
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.
-
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.
-
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
-
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.
-
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.
-
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
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.
Formatting concerns
N/A
6 comments
Rebuttal
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:
| Method | Student token difficulty | Teacher IG for layer selection | Probed intermediate distillation | Avg. Rouge-L |
|---|---|---|---|---|
| AD-KD | No | No, input-token attribution | No | 21.42 |
| Uncertainty-Driven KD | No, module-level uncertainty | No | No | 21.65 |
| Uncertainty-Aware Mixup | No, sample-level teacher uncertainty | No | No | 21.52 |
| KD + TED | No | No | Yes, task-selected layers | 23.13 |
| KD + DSKD | No | No | Token and feature spaces | 23.21 |
| KD + RLKD | No | No | No | 23.07 |
| KD + KPD | Yes | Yes | Yes | 23.98 |
Under Llama3.1-8B 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 Llama3.2-1B:
| Probing context | Dolly | SelfInst | S-NI | UnNI | Vicuna | Avg. |
|---|---|---|---|---|---|---|
| Gold prefix | 26.43 | 16.57 | 30.12 | 29.47 | 17.33 | 23.98 |
| Student-generated prefix | 25.27 | 14.69 | 28.43 | 27.62 | 15.54 | 22.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:
| Method | Llama3.2-1B Avg. | Qwen2.5-1.5B Avg. |
|---|---|---|
| GKD | 24.60 | 30.71 |
| GKD + KPD | 25.26 | 31.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 variant | Dolly | SelfInst | S-NI | UnNI | Vicuna | Avg. |
|---|---|---|---|---|---|---|
| Exclude final layer + IG | 26.43 | 16.57 | 30.12 | 29.47 | 17.33 | 23.98 |
| Include final layer + IG | 26.49 | 16.53 | 30.14 | 29.40 | 17.27 | 23.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 method | Llama3.2-1B | Qwen2.5-1.5B |
|---|---|---|
| Integrated Gradients | 26.43 | 27.76 |
| grad$\times$activation | 23.56 | 24.86 |
| Attention importance | 23.62 | 25.92 |
| Random layers | 23.96 | 25.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 layers. The measured overhead is:
| Models | One-time probing | Distillation | Relative overhead |
|---|---|---|---|
| Llama2-7B TinyLlama-1.1B | 69.5 min | 1626 min | 4.3% |
| Llama3.1-8B Llama3.2-1B | 87.5 min | 1787 min | 4.9% |
| Qwen2.5-7B Qwen2.5-1.5B | 105.0 min | 1976 min | 5.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 Qwen2.5-1.5B | Dolly | SelfInst | S-NI | UnNI | Vicuna | Avg. |
|---|---|---|---|---|---|---|
| KD + MultiLevelOT | 22.41 | 17.34 | 36.79 | 31.86 | 20.71 | 25.82 |
| KD + MultiLevelOT + KPD | 23.74 | 18.46 | 37.34 | 33.47 | 22.63 | 27.13 |
| Distillm + MultiLevelOT | 28.41 | 22.18 | 39.74 | 37.41 | 20.93 | 29.73 |
| Distillm + MultiLevelOT + KPD | 29.15 | 23.47 | 40.31 | 38.93 | 21.42 | 30.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 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.
Looking forward to further feedback
Dear Reviewer sX3w,
Thank you again for your valuable comments and suggestions, which are very helpful to us. We have posted responses to the proposed concerns.
We understand that this is quite a busy period, so we would sincerely appreciate it if you could take some time to return further feedback on whether our responses resolve your concerns. If you have any additional concerns, we will do our best to address them.
Best,
The Authors
Thank you for the detailed rebuttal and the additional experiments. The authors have adequately addressed my concerns, particularly regarding the attribution comparisons, computational overhead, design choices, and heterogeneous-model setting. I consider my concerns resolved and will maintain my current positive assessment.
Comments on the paper
1 comment
Rebuttal Summary
We sincerely thank all reviewers for their constructive feedback. During the rebuttal period, we explicitly addressed every concern and question through conceptual clarification, controlled experiments, intervention analyses, long-context evaluations, mapping comparisons, and computational-cost measurements.
Below, we summarize the key concerns and our responses.
Reviewer sX3w
- W1: Moderate novelty relative to existing attribution-, uncertainty-, and layer-selection methods
- R: We clarified that KPD’s novelty lies in coupling student-side token difficulty, teacher-side attribution, and intermediate distillation to jointly determine what and where to distill. KPD outperforms attribution/uncertainty adaptations by 2.33–2.56 Rouge-L and recent plug-in baselines by 0.77–0.91.
- W2: Teacher-forced probing may be optimistic under student-generated contexts
- R: We clarified that KPD is an offline supervised routing procedure aligned with SFT and KD. Gold-prefix probing improves average Rouge-L from 22.31 to 23.98, while KPD also improves the on-policy GKD baseline by 0.66/0.83 points.
- W3: Heuristic design choices, IG cost, and heterogeneous distillation
- R: Excluding the final layer performs comparably to including it (23.98 vs. 23.96), while IG clearly outperforms cheaper attribution alternatives. Probing adds only 4.3%–5.3% one-time overhead, and controlled heterogeneous experiments show gains of 1.31 and 0.93 Rouge-L.
- W4: Interpretation of “knowledge gaps”
- R: We refined the terminology to student-weak target positions and prediction-relevant teacher layers. “Knowledge gap” is treated only as operational shorthand, while rarity, tokenization, style, ambiguity, and multiple valid continuations are acknowledged as alternative causes.
Reviewer v93X
- W1: Low probability on a reference token may not necessarily indicate missing knowledge
- R: We clarified that the score measures target-aware prediction difficulty rather than definitive missing semantic knowledge. It outperforms entropy, margin, and random selection by 2.08–2.49 Rouge-L, validating its usefulness as a routing signal.
- Q1: Whether the hidden loss is masked or weighted by the selected key tokens
- R: We clarified that the hidden loss covers the full sequence and is neither masked nor weighted by key tokens. The full-sequence objective achieves 23.98 average Rouge-L, compared with 22.20 for key-token masking and 22.02 for uncertainty weighting, supporting the sparse-routing, dense-transfer design.
Reviewer N8kq
- W1: Interpreting high-uncertainty tokens as “knowledge gaps”
- R: We clarified that uncertainty represents target-aware prediction difficulty rather than a direct semantic diagnosis. Theoretical analysis and alternative-selection experiments support its use for prioritizing difficult, loss-relevant targets.
- W2: The heuristic top- selection
- R: We clarified that top- controls the probing budget rather than the scope of the hidden loss, while controls complementary teacher-layer sources. Existing sweeps show that performance saturates around – and .
- W3: Whether IG-selected layers truly contain relevant knowledge
- R: Intervention and attribution comparisons show that KPD-selected layers provide stronger functional support for the targeted predictions. We therefore describe them as prediction-relevant teacher layers, rather than unique knowledge-storage locations.
- Q1: Performance beyond five tokens and adaptive/length-normalized selection
- R: Under a maximum sequence length of 2048, fixed top-5, top-10, top-15, and top-20 achieve 23.98, 23.91, 23.97, and 23.95, respectively. Length-normalized selection reaches 24.03, while top-5 remains the most efficient default because probing time rises from 71 to 292 minutes as the fixed budget increases.
- Q2: Isometric mapping versus learned or validation-selected mapping
- R: Isometric mapping achieves the best results in both same-family and heterogeneous settings, outperforming validation-selected and learned soft mappings. It also requires no additional parameters or validation search, making it the simplest effective strategy.
Conclusion
Our rebuttal directly and explicitly answered all concerns and questions raised by the three reviewers through clearer terminology, controlled comparisons, additional experiments, reliability analyses, and implementation clarifications.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to the Area Chair (PART I)
We sincerely thank the Area Chair for the careful synthesis of the reviews and for recognizing KPD’s clear motivation, coherent framework, theoretical grounding, and broad evaluation. The issues highlighted in the meta-review closely reflect several common concerns raised by Reviewers sX3w, v93X, and N8kq, particularly regarding the interpretation of “knowledge,” the reliability of student- and teacher-side probing, whether the identified weaknesses are effectively alleviated through distillation, and the choices and costs of top-k probing.
In our reviewer-specific responses, we addressed these issues through more precise terminology, theoretical analysis, and additional controlled experiments. In particular, Reviewer sX3w raised further questions about teacher-forced probing, attribution cost, and several design choices; Reviewer v93X requested clarification and a controlled comparison of the hidden-loss token scope; and Reviewer N8kq requested additional analyses of long-context top-k selection, adaptive token budgets, teacher-layer relevance, and layer mapping. Below, we consolidate the relevant arguments and evidence for the Area Chair.
The AC’s first concern reflects a common issue raised by all three reviewers. Reviewer sX3w noted that the student-side score is more directly a target-aware difficulty signal under teacher forcing than definitive evidence of missing semantic knowledge. Reviewers v93X and N8kq similarly pointed out that low target probability may result from rare words, tokenization, stylistic variation, ambiguity, exposure bias, or multiple valid continuations. Reviewers sX3w and N8kq further cautioned against interpreting the IG-selected layers as unique physical storage locations of knowledge. We agree with this distinction. In KPD,
should be interpreted as a target-aware prediction-difficulty score under the supervised reference context. A high ut indicates that the student assigns insufficient probability to the reference token and that this position is likely to benefit from additional teacher supervision. It does not necessarily establish that the student lacks a discrete factual or semantic item. This operational interpretation is directly related to the supervised objective. For every target token,
and the magnitude of the NLL gradient with respect to the target-token logit is
Therefore, selecting positions with large ut prioritizes targets that are both loss-relevant and gradient-relevant. Under a fixed probing budget, selecting the largest ut values also selects the largest terms in this computable lower bound on token-level NLL. KPD only requires this score to provide an effective routing signal for additional supervision; it does not require every selected token to correspond to a uniquely identifiable semantic knowledge item. Likewise, teacher-side IG does not prove that knowledge is uniquely “stored” in the selected layers. Our intended and more precise interpretation is that these layers are prediction-relevant or functionally relevant teacher layers for the selected student-weak targets.
Accordingly, we will revise the main manuscript to replace overly strong expressions such as “missing knowledge” and “layers storing the knowledge” with student-weak target positions, candidate knowledge gaps, and prediction-relevant teacher layers. We will retain “knowledge gap” only as operational shorthand and explicitly acknowledge the alternative causes identified by the reviewers. These conceptual clarifications directly address the common concern raised by all three reviewers and align the terminology with what the probing signals and experiments can directly establish.