- Rating
- 4
- Clarity
- 2
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes a Knowledge Distillation technique for LLM via optimal transport (OT). The motivation of the paper is that the authors observe that existing methods often leverage divergences (such as KL, Reverse KL, or Generalized JS) as the metric/loss that compares discrete probability masses strictly index-by-index across the vocabulary, which ignores the semantic geometry between candidate tokens. To this end, this paper incorporates semantic space geometry into distribution alignment, where they propose to use Wasserstein distance for knowledge distillation. Specifically, the framework applies Sinkhorn divergence (entropic-regularized OT) defined over a pre-computed transport cost matrix from a static tokenizer (e.g., cosine distance in the teacher's embedding space). To further reduce the computational cost, the authors adopt the nearest-k truncation strategy for each token during transport cost computing. Experiments on different LLM fmailies, such as GPT-2, OpenLLaMA-2, Gemma show some improvement on different tasks.
Strengths and weaknesses
Strengths
- This paper is well-structured; the presentation is very clear, and the paper is technically sound.
- To my knowledge, treating the Sinkhorn dual potentials as constant weights during the backward pass is practical and adopted in some works, but I like the authors' use of the Envelope Theorem to justify it.
- The results suggest that the method pushes the Pareto frontier of the Output Quality vs. Generation Diversity.
Weakness
-
If I understand the literature correctly, the core idea used in this paper (entropic optimal OT over token distributions, token-embedding cosine distances as transport cost, frozen scalar updates for backward propagation) is pretty similar to WPR [43]. It seems the only difference is the distance either between reference/policy models or between teacher/student models.
-
My other concern is about how efficiently and precisely to approximate the WD, especially since this is one application in LLM. While conventional divergences used in LLM KD (e.g., KL divergence) can be approximated via statistically sound, unbiased Monte Carlo estimators over a sampled subset of tokens, the Sinkhorn optimization seems to need much more computation and relies on global marginal constraints via iterative matrix scaling. I noted in Appendix C.2 that the authors admit to using extreme sparse truncation (k=2) on the cost matrix C to "improve training efficiency". However, the authors did not provide any justification, error bounds or an unbiasedness statement. I feel that somehow it relates to mini-batch OT, but the k seems too small to me (small k may even ignore the context information).
-
Also, there seems to be a dilemma between the choice of k and the approximation quality. At k=2, a candidate token is permitted to transport probability mass to only one single semantic neighbor (aside from itself). Consequently, the global Wasserstein manifold is likely to collapse into a trivial bi-token localized projection.
Questions
- Basically, this paper needs more clarification about 1. Novelty against WPR [43] 2. Estimation of OT 3. More discussion about sparse truncation.
- Additionally, i am just curious: how can this be applied if the student and teacher models come from different families?
- Another concern is about the construction of the transport matrix. If I understand correctly, the embeddings only come from the teacher model, but student embeddings should be updated during training. Can the authors discuss this?
Limitations
Yes. The authors have some discussion on the sparse truncation, but I expect at least some discussion on estimator bias and manifold collapse.
Paper formatting concerns
NONE
Final justification
The authors addressed my concerns, and now I believe this paper is good to be accepted.
We sincerely thank the reviewer for the careful reading and constructive feedback. We appreciate the positive assessment of the technical soundness, derivation, and quality-diversity results. Below, we address each concern.
We do not claim token-space Wasserstein geometry itself as a novel contribution of WASD. WASD inherits from WPR: (i) token-embedding transport costs, (ii) nearest-k cost matrix truncation, and (iii) the use of optimal dual potentials computed through Sinkhorn iterations. We cite WPR in Section 3.2 (line 156) and explicitly credit its nearest-k truncation (line 188), but agree that the distinction between inherited and WASD-specific components should be clearer.
WASD addresses the distinct requirements that arise when optimal transport is used as the primary teacher-student distribution-matching objective for knowledge distillation (KD), rather than as a policy regularizer.
1) Objective: policy regularization vs. a proper distillation divergence
WPR uses entropy-regularized Wasserstein distance as a regularization term in an RLHF reward-maximization objective. Since it is traded off against an external reward, the regularizer itself is not required to attain its minimum at the reference policy.
In KD, however, the teacher-student discrepancy is primary training signal and should be minimized at qθ=p. As discussed in the “Bias induced by entropy regularization” paragraph of Section 3.1 and illustrated in Figure 2, the entropy-regularized transport cost does not generally satisfy this requirement because of entropic bias. Therefore, WASD optimizes the debiased Sinkhorn divergence in Eqs. (5)-(6) in the main paper, which subtracts the teacher and student self-transport terms and is minimized at qθ=p. Thus, WASD is not obtained by simply substituting WPR’s reference/policy with teacher/student.
2) Optimization procedure: sampled reward penalty vs. cross-minus-self distribution matching
WPR defines the entropy-regularized transport problem between the learned and reference policies. During rollout-based optimization, WPR evaluates the cross-transport potential at each sampled token and uses it as a scalar reward penalty optimized through an RL algorithm.
WASD instead directly optimizes the teacher-student distribution-matching objective derived in Theorem 2 and Eq. (10). For every vocabulary token, the student probability is weighted by the difference between the cross-transport and student self-transport potentials. The resulting loss is optimized directly by gradient descent, as established in Proposition 3. In particular, the student self-transport potential ϕ∗(qθ,qθ), computed through the fixed-point iteration in Algorithm 2, has no counterpart in WPR.
Thus, WPR uses sampled cross-transport potentials as scalar reward regularization, whereas WASD uses cross- and self-transport potentials over the vocabulary as direct weights in a distillation objective.
3) Technical contributions
Relative to WPR, WASD contributes: (i) identifying why entropic transport bias is problematic for a KD objective; (ii) deriving the cross-minus-self Sinkhorn-distillation formulation in Theorem 2; (iii) deriving the student self-potential computation in Algorithm 2; and (iv) establishing the corresponding gradient in Proposition 3.
4) Empirical evidence
Figure 4a evaluates the closest WPR-style transfer to KD: entropy-regularized Wasserstein distance without the student self-transport correction (labeled as Ent-Reg-Wass.). Under identical settings, this variant achieves average ROUGE-L scores of 23.89/24.87, whereas WASD achieves 24.02/25.51 for the GPT-2 0.1B/0.3B students. This demonstrates the benefit of token-space transport geometry while isolating the additional benefit of the Sinkhorn self-similarity correction required for distillation.
We will revise the manuscript to move the WPR comparison from Appendix B.1 into the main text, explicitly distinguish inherited components from WASD-specific contributions, and narrow the novelty claim accordingly.
[Sparsity of the Sinkhorn kernel]
We would first like to clarify that, as specified in Appendix C.2, we use k=8 by default in all experiments, except for the Qwen2.5 code-distillation experiment in Table 5, where k=2 is used.
The construction is motivated by the Sinkhorn kernel K=exp(−C/ϵ): under the small entropy-regularization hyperparameter ϵ, distant token pairs receive exponentially small weights. To quantify the aggregate kernel mass removed by this sparsification, we define the coverage of each token as the fraction of its total off-diagonal kernel mass assigned to its k nearest non-self neighbors. For the GPT-2 1.5B teacher at ϵ=10−3, 99.6% of tokens retain at least 1−10−6 of their total off-diagonal mass with k=8. Thus, for these tokens, all removed entries together account for less than 10−6 of the dense off-diagonal kernel mass.
[Table: Kernel-mass coverage under nearest-k sparsification]
[Sensitivity to k]
We conduct a sensitivity analysis over k∈{2,4,8,16,32,64} for GPT-2 1.5B-to-0.1B distillation over three training seeds.
[Table: Sensitivity to neighborhood size k]
Performance does not improve monotonically with k, and k=2 does not cause substantial degradation. Increasing k beyond the effective kernel neighborhood mainly adds weak, distant relations without a consistent downstream benefit. Thus, nearest-k truncation may offer benefits beyond reducing training time by concentrating the training signal on cross-token relations that are more relevant to the semantic geometry, while filtering out numerous weak relations with little observable benefit for distillation.
[Preservation of the distillation target]
After sparsification, WASD exactly optimizes the Sinkhorn divergence induced by the fixed sparse cost. The transport geometry and divergence value may change, but Theorem 2 and Proposition 3 still hold, and the intended KD target remains the teacher distribution.
Following WPR, k denotes the number of retained non-self nearest neighbors. The graph is then symmetrized and augmented with zero-cost self-loops, so its effective degree may exceed k. Although smaller k localizes the transport support, the kernel-coverage analysis in W2 shows that sparse neighborhoods largely reflect sparsity already present in the dense kernel. The k-sweep also shows no evidence of manifold collapse: small k performs comparably to larger neighborhoods, while very large k provides no consistent gain. Additionally, even under sparsification, WASD retains cross-token semantic transport beyond the index-wise matching of KL divergence.
We provide the full setup and analysis in our response to W1 of Reviewer hCYr; here, we retain the main setup and results.
We integrate WASD into DSKD (Zhang et al., 2024), a cross-family distillation framework, using the updated DSKDv2 codebase (Zhang et al., 2025). DSKD projects teacher and student predictions into each other’s output spaces. We replace its forward KL (FKL) matching terms with WASD in the student space alone (WASD-S) or in both spaces (WASD-S+T). We consider Qwen1.5-1.8B as the teacher and GPT-2-0.1B as the student. As a compute-matched proof of concept, all methods are trained for three epochs under identical settings on the Dolly split.
[Table: Cross-family distillation performance measured by ROUGE-L]
WASD-S improves the average ROUGE-L from 20.47 to 20.95, while WASD-S+T further increases it to 21.31. These results provide evidence that WASD can be extended to cross-family distillation through an existing cross-model projection and alignment framework.
(Zhang et al., 2024) Dual-Space Knowledge Distillation for Large Language Models, EMNLP 2024.
(Zhang et al., 2025) A Dual-Space Framework for General Knowledge Distillation of Large Language Models, 2025.
We intentionally use teacher embeddings to define a fixed semantic geometry for distillation. The cost matrix is not intended to track the student’s evolving representation; rather, it specifies the token relations that the student is expected to inherit from the teacher.
The student embeddings remain fully trainable. Constructing C from the current student embeddings would make both the prediction and evaluation geometry change during training and require repeated construction of a large-vocabulary cost matrix. Therefore, we compute the teacher-based cost matrix once and keep it fixed.
A controlled cost-matrix ablation further supports the role of meaningful fixed geometry, as detailed in our response to W4 of Reviewer UpL3. In summary, the our semantic cost achieves 23.94 ROUGE-L, compared with 23.47 for permuted token relations and 22.08 for a uniform cost; the AMiD baseline achieves 23.36. Thus, retaining Sinkhorn transport without semantic correspondence provides no improvement over AMiD.