Paper deep dive
WASD: Wasserstein-based Knowledge Distillation for Large Language Models
Byeonghu Na, Donghyeok Shin, Yeongmin Kim, Mina Kang, Il-Chul Moon
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 90%
Last extracted: 10/13/2026, 4:10:57 AM
Summary
The paper introduces WASD (Wasserstein-based Knowledge Distillation), a method for distilling large language models (LLMs) that incorporates token-level semantic information. Unlike traditional methods using KL or JS divergences which rely solely on probability values, WASD uses the Sinkhorn divergence with a cost matrix derived from token embeddings. This approach aligns teacher and student distributions based on semantic similarity, improving performance on instruction following, mathematical reasoning, and code generation tasks without adding extra network components.
Entities (10)
Relation Signals (9)
WASD → uses → Sinkhorn Divergence
confidence 95% · To ensure computational tractability, we adopt the Sinkhorn divergence and derive a gradient-equivalent objective...
Sinkhorn Divergence → derivedfrom → Wasserstein distance
confidence 93% · To address this issue, we adopt the Sinkhorn divergence, which removes this bias through self-similarity correction while retaining the computational advantages of entropy-regularized optimal transport
WASD → targets → Large Language Models
confidence 92% · We propose Wasserstein-based knowledge distillation (WASD) for LLMs...
WASD → developedby → KAIST
confidence 90% · Byeonghu Na Affiliation: KAIST... Mina Kang Affiliation: KAIST... Il-Chul Moon Affiliation: KAIST
WASD → improves → distillation performance
confidence 90% · Experiments across multiple LLM families and scales show that WASD consistently improves distillation performance on diverse tasks...
WASD → evaluatedon → Qwen2.5
confidence 85% · Experiments across multiple LLM families, including Qwen2.5...
WASD → evaluatedon → Gemma
confidence 85% · Experiments across multiple LLM families, including Gemma...
WASD → evaluatedon → GPT-2
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Autoregressive large language models (LLMs) have rapidly advanced in capability, but their increasing scale comes with substantial computational and memory costs at inference time. Knowledge distillation (KD) offers a practical solution by transferring knowledge from a large teacher model to a smaller student model via alignment of discrete probability distributions. However, existing KD methods for LLMs primarily rely on divergences that evaluate discrepancies through probability values at each vocabulary index, without explicitly leveraging token-level semantic information. We propose Wasserstein-based knowledge distillation (WASD) for LLMs, which incorporates token-level semantic information via the Wasserstein-based distance with a cost matrix derived from token embeddings. To ensure computational tractability, we adopt the Sinkhorn divergence and derive a gradient-equivalent objective that can be efficiently optimized without introducing additional networks. Experiments across multiple LLM families and scales show that WASD consistently improves distillation performance on diverse tasks, including instruction following, mathematical reasoning, and code generation. Our results highlight the importance of semantic information encoded in the token space for effective distribution alignment in LLM distillation. The implementation is publicly available at this https URL .
Tags
Links
- Source: https://arxiv.org/abs/2610.07706v1
- Canonical: https://arxiv.org/abs/2610.07706v1
Trouble viewing inline? Open PDF directly →
Full Text
126,605 characters extracted from source content.
Expand or collapse full text
WASD: Wasserstein-based Knowledge Distillation for Large Language Models Byeonghu Na Affiliation: KAIST Email: byeonghu.na@kaist.ac.kr Donghyeok Shin Affiliation: KAIST Email: tlsehdgur0@kaist.ac.kr Yeongmin Kim Affiliation: KAIST Email: alsdudrla10@kaist.ac.kr Mina Kang Affiliation: KAIST Email: kasong13@kaist.ac.kr Il-Chul Moon Affiliation: KAIST Email: icmoon@kaist.ac.kr Affiliation: summary.ai Abstract Autoregressive large language models (LLMs) have rapidly advanced in capability, but their increasing scale comes with substantial computational and memory costs at inference time. Knowledge distillation (KD) offers a practical solution by transferring knowledge from a large teacher model to a smaller student model via alignment of discrete probability distributions. However, existing KD methods for LLMs primarily rely on divergences that evaluate discrepancies through probability values at each vocabulary index, without explicitly leveraging token-level semantic information. We propose Wasserstein-based knowledge distillation (WASD) for LLMs, which incorporates token-level semantic information via the Wasserstein-based distance with a cost matrix derived from token embeddings. To ensure computational tractability, we adopt the Sinkhorn divergence and derive a gradient-equivalent objective that can be efficiently optimized without introducing additional networks. Experiments across multiple LLM families and scales show that WASD consistently improves distillation performance on diverse tasks, including instruction following, mathematical reasoning, and code generation. Our results highlight the importance of semantic information encoded in the token space for effective distribution alignment in LLM distillation. The implementation is publicly available at https://github.com/aailab-kaist/WASD. (a) Loss contours of various divergences on the probability simplex (b) Quality-diversity trade-off Figure 1: Motivation for Wasserstein-based distillation (WASD). (a) Loss contours on the probability simplex for a toy next-token prediction task (“What do you sit on in the living room?”) with candidates sofa, couch, apple, where we visualize divergence between fixed teacher and varying student distributions. Unlike other divergences, Sinkhorn divergence used in WASD reflects semantic relationships between tokens. (b) Quality-diversity trade-off (ROUGE-L vs. Self-BLEU) on five instruction-following benchmarks for GPT-2 (1.5B → 0.1B), varying the decoding temperature. 1 Introduction Autoregressive large language models (LLMs) have demonstrated remarkable capabilities and are now widely used across a broad range of applications [29, 30, 57, 58]. This success has been largely driven by scaling model size and training data, but it also incurs substantial inference costs in terms of computation and memory [26, 31]. Such costs pose significant challenges for practical deployment, particularly in latency-sensitive or resource-constrained settings [2, 71]. Therefore, a central problem is how to preserve the performance of large models while reducing their size. Knowledge distillation (KD) offers a promising solution by transferring knowledge from a large teacher model to a smaller student model [25]. In LLMs, this process can be formulated as aligning the per-token discrete probability distributions of the teacher and the student. From this perspective, a key design choice is the divergence used to compare these distributions. Most existing approaches rely on f-divergences and their smoothed variants [1, 24, 35, 34, 54, 64], since they can be computed directly from the probability values of the two distributions. However, these divergences are computed from probability values assigned to vocabulary indices, without explicitly using the semantic information carried by tokens. To illustrate this limitation, we consider a simple toy next-token prediction task. Given a prompt such as “What do you sit on in the living room?”, we examine distributions over tokens including sofa, couch, apple and visualize the resulting loss landscapes under different divergences. As shown in Fig. 1(a), commonly used divergences are determined by the probability assignments to vocabulary indices and do not distinguish tokens with similar meanings, such as sofa and couch. As a result, changing the teacher distribution alters the loss surface according to probability values, rather than the meaning of the corresponding tokens. To address this limitation, we propose Wasserstein-based knowledge distillation (WASD), which incorporates token-level semantic information through a transport-based discrepancy. Specifically, we define a transport cost from token embeddings and adopt a Wasserstein-based Sinkhorn divergence to align teacher and student distributions. As illustrated in Fig. 1(a), the resulting loss landscape assigns lower cost to probability shifts between tokens with similar meaning while penalizing shifts toward unrelated tokens. This semantic-aware alignment encourages the student model to preserve meaningful alternatives during training. Empirically, this leads to improved trade-offs between output quality and diversity compared to other divergences, as shown in Fig. 1(b). Wasserstein-based objectives provide desirable properties but require solving an optimal transport problem. Moreover, entropy regularization makes transport computation tractable but can shift the optimum away from the teacher distribution, which is undesirable for knowledge distillation. To address these issues, we adopt the debiased Sinkhorn divergence and derive a computationally tractable optimization procedure that uses dual potentials computed via matrix scaling iterations, without introducing additional neural networks or requiring backpropagation through the transport solver. Extensive experiments across multiple LLM families, including GPT-2 [48], OpenLLaMA2 [58], Gemma [57], and Qwen2.5 [29], and across different model scales demonstrate that WASD consistently improves distillation performance on diverse tasks, such as instruction following, mathematical reasoning, and code generation. These results suggest the semantic information encoded in the token space is an important ingredient for effective knowledge transfer in LLM distillation. 2 Preliminaries Table 1: Divergences used in LLM distillation. “Token info” indicates whether the objective uses token information beyond probability values. For Sinkhorn, the dual potentials ϕi∗ _i^* encode semantic information through token-embedding costs, and sgsg denotes the stop-gradient operator. Divergence Token info Distillation objective KL (Hinton et al., 2015) ✗ ∑ip(i)logp(i)q(i) _ip(i) p(i)q_ θ(i) Reverse KL (RKL) (Gu et al., 2024) ✗ ∑iq(i)logq(i)p(i) _iq_ θ(i) q_ θ(i)p(i) TV (Wen et al., 2023) ✗ ∑i|q(i)−p(i)| _i|q_ θ(i)-p(i)| Generalized JS (GJS) (Agarwal et al., 2024) ✗ ∑i[λp(i)logp(i)λp(i)+(1−λ)q(i)+(1−λ)q(i)logq(i)λp(i)+(1−λ)q(i)] _i[λ p(i) p(i)λ p(i)+(1-λ)q_ θ(i)+(1-λ)q_ θ(i) q_ θ(i)λ p(i)+(1-λ)q_ θ(i)] Skew KL (SKL) (Ko et al., 2024) ✗ ∑ip(i)logp(i)λp(i)+(1−λ)q(i) _ip(i) p(i)λ p(i)+(1-λ)q_ θ(i) Skew RKL (SRKL) (Ko et al., 2024) ✗ ∑i(λp(i)+(1−λ)q(i))logλp(i)+(1−λ)q(i)p(i) _i(λ p(i)+(1-λ)q_ θ(i)) λ p(i)+(1-λ)q_ θ(i)p(i) α-β (Wang et al., 2025) ✗ ∑i−1αβ[p(i)αq(i)β−α+βp(i)α+β−βα+βq(i)α+β] _i- 1αβ[p(i)^αq_ θ(i)^β- α+βp(i)^α+β- βα+βq_ θ(i)^α+β] Sinkhorn (ours) ✓ ∑isg(ϕi∗(p,q)−ϕi∗(q,q))q(i) _isg( _i^*(p,q_ θ)- _i^*(q_ θ,q_ θ))q_ θ(i) 2.1 Knowledge distillation for large language models We consider knowledge distillation (KD) for autoregressive large language models (LLMs), where the goal is to transfer knowledge from a large teacher model p(|)p(y|x) to a smaller student model q(|)q_ θ(y|x). Here, x denotes the input prompt, y is the output response, and θ is the parameters of the student model. The output =(y1,…,yL)y=(y_1,…,y_L) is a token sequence with length L, where each token yl∈y_l belongs to a fixed vocabulary V. Following prior work [32, 35, 53], we assume that the teacher and student share the same vocabulary. Autoregressive LLMs factorize the conditional distribution as q(|)=∏l=1Lq(yl|,<l)q_ θ(y|x)= _l=1^Lq_ θ(y_l|x,y_<l), where <l=(y1,…,yl−1)y_<l=(y_1,...,y_l-1). Thus, the model predicts a next-token distribution at each decoding step. Under this formulation, KD can be viewed as aligning the student’s next-token distribution with that of the teacher. This leads to the following general objective: min(,)∼[∑l=1LD(p(yl|,<l),q(yl|,<l))], _ θE_(x,y) [ _l=1^LD (p(y_l|x,y_<l),q_ θ(y_l|x,y_<l) ) ], (1) where D(⋅,⋅)D(·,·) denotes a divergence between distributions. The dataset D consists of input-output pairs and can be constructed from predefined datasets [25] or model-generated samples [1, 35, 39]. The choice of divergence D is a central design component in KD for LLMs, as it determines how the student aligns with the teacher distribution. Table 1 summarizes commonly used divergences in prior work. Most existing methods adopt divergences computed from probability values at corresponding vocabulary indices, including KL divergence [25, 33], reverse KL (RKL) divergence [24], f-divergence [64], generalized Jensen-Shannon (GJS) divergence [1], adaptive KL divergence [65], and α-β-divergence [61]. These divergences are widely used because they are tractable to compute from the probability values of the two distributions. Despite these advantages, such divergences do not explicitly leverage token-level semantic information [46]. In addition, token distributions in LLMs are highly sparse, with many near-zero probabilities, which can lead to numerical instability for divergences that depend on density ratios [35, 53]. To mitigate such instability, recent works have proposed alternative strategies, such as introducing an assistant distribution [35, 34, 53, 54] or aligning logits instead of probabilities [32]. While these approaches improve optimization stability, they still rely on index-wise comparisons and do not explicitly use semantic information encoded in the token space. 2.2 Wasserstein distance and Sinkhorn divergence These limitations motivate alternative discrepancy measures for LLM distillation. The Wasserstein distance compares probability distributions by measuring the cost of transporting probability mass across the underlying space. Formally, for discrete distributions p and q_ θ, it is defined as DW(p,q):=min∈U(p,q)⟨,⟩, D_W (p,q_ θ ):= _ P∈ U(p,q_ θ) P, C , (2) where U(p,q)U(p,q_ θ) denotes the set of valid transport plans whose marginals match p and q_ θ, and C is a cost matrix specifying pairwise transport costs. This formulation compares distributions through a transport plan whose cost can reflect information encoded in the support. In practice, directly computing the Wasserstein distance is computationally expensive in large-scale settings. A common approach is to introduce entropy regularization, which enables efficient computation through iterative matrix scaling methods [20, 19, 47, 59]. However, entropy regularization introduces a bias such that the transport cost between identical distributions is no longer zero. To address this issue, we adopt the Sinkhorn divergence, which removes this bias through self-similarity correction while retaining the computational advantages of entropy-regularized optimal transport [22]. Sinkhorn divergences have been studied in generative modeling and distribution alignment due to their scalability and favorable optimal transport properties [21, 22, 52]. In the context of LLM distillation, such transport-based discrepancies provide a principled way to incorporate relationships within the vocabulary. Building on this perspective, we introduce a Sinkhorn-based distillation objective for autoregressive LLMs, whose detailed formulations and derivations are presented in Section 3.1. Wasserstein distance in knowledge distillation Wasserstein-based distances have been used in KD to transfer structured knowledge. Earlier works mainly target representations or features [6, 8, 41]. Recent methods use Wasserstein-based distillation losses: SinKD [17] aligns sample-level geometry, and WKD [43] exploits class interrelations tailored for vision models. They have also been used for cross-tokenizer LLM distillation [7, 18, 60], which addresses vocabulary mismatch or heterogeneous alignment and is complementary to our shared-vocabulary setting. Outside KD, WPR [46] uses token-embedding geometry for Wasserstein-based policy regularization in preference learning. WASD builds on this geometric perspective for autoregressive teacher-student distribution matching and adopts a debiased Sinkhorn divergence to address the entropic bias of regularized transport. A detailed comparison with WPR and discussion of other related work are provided in Appendix B. 3 Method 3.1 From Wasserstein distance to Sinkhorn divergence for LLM distillation Incorporating token-level semantic information via Wasserstein distance We instantiate the general distillation objective in Eq. 1 using the Wasserstein distance DWD_W in Eq. 2 to incorporate token-space information into the distillation objective. In particular, the cost matrix C, which encodes pairwise distances between tokens, allows the transport cost to depend on information encoded in token embeddings. In practice, we construct C using distances between the teacher model’s token embeddings (e.g., cosine or Euclidean distance), in line with the goal of transferring knowledge from the teacher to the student. We compute this cost matrix once and keep it fixed throughout training. Entropy-regularized Wasserstein distance A key challenge is that computing the exact Wasserstein distance requires solving a large-scale linear optimization problem, which becomes computationally intractable as the support size increases [36]. To alleviate this issue, a common approach is to regularize the transport problem with an entropy term, resulting in the entropy-regularized Wasserstein distance [20]: ℒW~ϵ():=(,)∼[∑l=1LD~Wϵ(p(yl|,<l),q(yl|,<l))], _ W^ε( θ):=E_(x,y) [ _l=1^L D_W^ε (p(y_l|x,y_<l),q_ θ(y_l|x,y_<l) ) ], (3) where D~Wϵ(p(yl|,<l),q(yl|,<l)):=min(l)∈Ul(p,q)⟨(l),⟩−ϵℋ((l)). D_W^ε (p(y_l|x,y_<l),q_ θ(y_l|x,y_<l) ):= _ P^(l)∈ U_l(p,q_ θ) \ P^(l), C - ( P^(l)) \. (4) Here, Ul(p,q):=(l)∈ℝ+d×d|(l)d=q(⋅|,<l),(l)⊤d=p(⋅|,<l)U_l(p,q_ θ):= \ P^(l) _+^d× d| P^(l) 1_d=q_ θ(·|x,y_<l), P^(l) 1_d=p(·|x,y_<l) \ denotes the set of valid transport plans, ∈ℝ+d×d C _+^d× d is the cost matrix, d is the vocabulary size, and ϵε is an entropy regularization hyperparameter. The entropy term is defined as ℋ():=−∑i=1d∑j=1dPij(logPij−1)H( P):=- _i=1^d _j=1^dP_ij( P_ij-1), which corresponds to the Shannon entropy up to an additive constant. For notational simplicity, we omit the dependence of (l) P^(l) on (,<l)(x,y_<l). Figure 2: Loss contour of entropy-regularized Wasserstein distance. Bias induced by entropy regularization By introducing entropy regularization, the resulting objective can be computed efficiently using the Sinkhorn-Knopp algorithm [55]. However, this regularization introduces an entropic bias: for a fixed teacher distribution p, the regularized transport objective is not generally minimized at q=pq_ θ=p. Consequently, minimizing the objective in Eq. 3 does not guarantee that the student distribution q_ θ matches the teacher distribution p, which is the central goal of knowledge distillation. As illustrated in Figure 2 on the toy example introduced in Section 1, the optimal solution of the entropy-regularized Wasserstein objective deviates from the teacher distribution, highlighting the bias introduced by entropy regularization. Sinkhorn divergence for proper distillation To address this limitation, we adopt the Sinkhorn divergence [21, 22], defined as ℒSϵ():=(,)∼[∑l=1LDSϵ(p(yl|,<l),q(yl|,<l))], _S^ε( θ):=E_(x,y) [ _l=1^LD_S^ε (p(y_l|x,y_<l),q_ θ(y_l|x,y_<l) ) ], (5) where DSϵ(p,q):=D~Wϵ(p,q)−12D~Wϵ(q,q)−12D~Wϵ(p,p). D_S^ε(p,q_ θ):= D_W^ε(p,q_ θ)- 12 D_W^ε(q_ θ,q_ θ)- 12 D_W^ε(p,p). (6) Under suitable conditions on the transport cost, the Sinkhorn divergence in Eq. 6 is nonnegative and equals zero if and only if p=qp=q_ θ. Then, its unique minimizer over student distributions is the teacher distribution, making Eq. 5 a proper distillation objective. The entropy regularization parameter ϵε interpolates between different regimes: as ϵ→0ε→ 0, DSϵD_S^ε recovers the Wasserstein distance DWD_W; while as ϵ→∞ε→∞, it approaches a kernel-based discrepancy, recovering the squared Maximum Mean Discrepancy (MMD) for suitable choices of the cost matrix [21]. 3.2 WASD: Wasserstein-based knowledge distillation for LLMs We derive a tractable optimization procedure for the Sinkhorn distillation objective in Eq. 5, which can be directly optimized with standard gradient-based methods, without introducing additional model components. Since the Sinkhorn divergence DSϵD_S^ε is defined in terms of entropy-regularized Wasserstein distances, we begin by reformulating the entropy-regularized Wasserstein distance D~Wϵ D_W^ε to obtain a tractable distillation formulation. We consider the dual formulation of the entropy-regularized optimal transport problem in Eq. 4. The corresponding dual problem can be written as follows [20, 46]: max∑i=1dϕ,ϕiq(yl=i|,<l)+∑j=1dψjp(yl=j|,<l)−∑i=1d∑j=1dϵexp(1ϵ(ϕi+ψj−Cij)), _ φ, ψ _i=1^d _iq_ θ(y_l=i|x,y_<l)+ _j=1^d _jp(y_l=j|x,y_<l)- _i=1^d _j=1^dε \! ( 1ε( _i+ _j-C_ij) ), (7) where ϕ=ϕii=1d φ=\ _i\_i=1^d and =ψjj=1d ψ=\ _j\_j=1^d are dual variables associated with the marginal constraints in UlU_l, ensuring that the row and column sums of (l) P^(l) match q_ θ and p, respectively. These variables depend on (,<l)(x,y_<l), which we omit for notational simplicity. By strong duality, the optimal primal and dual solutions admit the following form [19]: there exist scaling vectors ,∈ℝ+du,v ^d_+ such that (l)∗=diag()exp(−/ϵ)diag(),ϕ∗=ϵlog()+td,∗=ϵlog()−td, P^(l)^*=diag(u) (- C/ε)diag(v), φ^*=ε (u)+t1_d, ψ^*=ε (v)-t1_d, (8) for t∈ℝt . Here, exp and log are applied element-wise. The dual solutions are unique up to an additive constant. This indeterminacy does not affect the dual objective, since both marginals have unit mass and the shifts cancel. Substituting the optimal solution into the dual objective in Eq. 7 yields the following equivalent expression for the entropy-regularized Wasserstein distance. Lemma 1. Let ϕ∗(p,q)(,<l) φ^*(p,q_ θ)(x,y_<l) and ∗(p,q)(,<l) ψ^*(p,q_ θ)(x,y_<l) denote the optimal dual variables of the entropic optimal transport problem corresponding to D~Wϵ(p,q) D_W^ε(p,q_ θ). Then, D~Wϵ(pCLOSE D_W^ε(p OPEN(yl|,<l),q(yl|,<l)) (y_l|x,y_<l),q_ θ(y_l|x,y_<l)) (9) =∑i=1dϕi∗(p,q)(,<l)q(yl=i|,<l)+∑j=1dψj∗(p,q)(,<l)p(yl=j|,<l)−ϵ. = _i=1^d _i^*(p,q_ θ)(x,y_<l)q_ θ(y_l=i|x,y_<l)+ _j=1^d _j^*(p,q_ θ)(x,y_<l)p(y_l=j|x,y_<l)-ε. The proof is provided in Section A.1. The optimal dual variables depend implicitly on θ through q_ θ. However, the envelope theorem [44] allows us to compute the gradient of the optimal transport value without differentiating through these variables, as formalized below. Proposition 2. Let ϕ∗(p,q)(,<l) φ^*(p,q_ θ)(x,y_<l) denote the optimal dual variables associated with the student marginal. Then, the gradient of the entropy-regularized Wasserstein distance can be expressed as ∇D~Wϵ(p(yl|,<l),q(yl|,<l))=∑i=1dϕi∗(p,q)(,<l)∇q(yl=i|,<l). _ θ D_W^ε(p(y_l|x,y_<l),q_ θ(y_l|x,y_<l))= _i=1^d _i^*(p,q_ θ)(x,y_<l) _ θq_ θ(y_l=i|x,y_<l). (10) The proof is provided in Section A.2. Proposition 2 shows that the gradient of the entropy-regularized Wasserstein distance can be expressed as a weighted sum of student probability gradients, with weights given by the optimal dual variables. This allows gradient-based optimization without differentiating through the transport solver. We now extend this formulation to the Sinkhorn distillation objective in Eq. 5. The self-transport terms in Eq. 6 can be treated analogously using Lemmas 1 and 2, leading to the following result. Theorem 3. Let ϕ∗(p,q)(,<l) φ^*(p,q_ θ)(x,y_<l) and ϕ∗(q,q)(,<l) φ^*(q_ θ,q_ θ)(x,y_<l) denote the optimal dual variables corresponding to D~Wϵ(p,q) D_W^ε(p,q_ θ) and D~Wϵ(q,q) D_W^ε(q_ θ,q_ θ), respectively. Define ℒWASDϵ():=(,)∼[∑l=1L∑i=1dsg(ϕi∗(p,q)(,<l)−ϕi∗(q,q)(,<l))q(yl=i|,<l)], _WASD^ε( θ):=E_(x,y) [ _l=1^L _i=1^dsg ( _i^*(p,q_ θ)(x,y_<l)- _i^*(q_ θ,q_ θ)(x,y_<l) )q_ θ(y_l=i|x,y_<l) ], (11) where sgsg denotes the stop-gradient operator. Then, under the stop-gradient convention, the gradient of ℒWASDϵ()L_ WASD^ε( θ) coincides with that of the Sinkhorn objective ℒSϵ()L_S^ε( θ), i.e., ∇ℒWASDϵ()=∇ℒSϵ() _ θL_ WASD^ε( θ)= _ θL_S^ε( θ). The result follows by differentiating the three terms in Eq. 6. By Proposition 2, the first term yields a student probability gradient weighted by ϕ∗(p,q) φ^*(p,q_ θ), and the third term is independent of θ. The second term involves the entropy-regularized Wasserstein distance between q_ θ and itself. Assuming a symmetric cost matrix, the optimal dual variables in this self-transport problem can be chosen equal, i.e., ϕ∗(q,q)=∗(q,q) φ^*(q_ θ,q_ θ)= ψ^*(q_ θ,q_ θ), allowing its gradient to be expressed using only ϕ∗(q,q) φ^*(q_ θ,q_ θ). Combining these contributions gives a gradient weighted by the difference between cross-transport and student self-transport potentials. Applying stop-gradient to these weights gives the loss in Eq. 11, whose gradient coincides with that of the Sinkhorn objective. The full proof is in Section A.3. We refer to the objective ℒWASDϵ()L_WASD^ε( θ) in Eq. 11 as the WASserstein-based Distillation (WASD) objective. By Theorem 3, WASD can be interpreted as a weighted sum over q_ θ, where weights are given by the difference between the optimal dual variables ϕ∗(p,q)(,<l) φ^*(p,q_ θ)(x,y_<l) and ϕ∗(q,q)(,<l) φ^*(q_ θ,q_ θ)(x,y_<l), treated as constants during backpropagation. These dual variables can be efficiently computed via the Sinkhorn-Knopp algorithm (see Algorithm 1) and a fixed-point iteration (see Algorithm 2), respectively. To improve computational efficiency, we follow Na et al. [46] to construct a sparse kernel by retaining each token’s k nearest non-self neighbors in the embedding space, symmetrizing the support, and adding self-loops. Although the matrix scaling iterations in Algorithms 1 and 2 introduce additional computational overhead, WASD avoids differentiation through them, as established in Theorem 3. Algorithm 1 Sinkhorn-Knopp algorithm for ϕ∗(p,q) φ^*(p,q_ θ) 0: Teacher distribution p(⋅|,<l)p(·|x,y_<l), student distribution q(⋅|,<l)q_ θ(·|x,y_<l), cost matrix C, regularization hyperparameter ϵε 1: ←du 1_d, ←dv 1_d, ←exp(−/ϵ) K← (- C/ε) 2: while not converged do 3: ←q(⋅|,<l)./()u← q_ θ(·|x,y_<l)~./~( Kv) 4: ←p(⋅|,<l)./(⊤)v← p(·|x,y_<l)~./~( K u) 5: end while 6: ϕ∗(p,q)←ϵlog φ^*(p,q_ θ)←ε 6: Dual variable ϕ∗(p,q) φ^*(p,q_ θ) Algorithm 2 Fixed-point iteration for ϕ∗(q,q) φ^*(q_ θ,q_ θ) 0: Student distribution q(⋅|,<l)q_ θ(·|x,y_<l), cost matrix C, regularization hyperparameter ϵε 1: ←du 1_d, ←exp(−/ϵ) K← (- C/ε) 2: while not converged do 3: ←q(⋅|,<l)./()u← q_ θ(·|x,y_<l)~./~( Ku) 4: end while 5: ϕ∗(q,q)←ϵlog φ^*(q_ θ,q_ θ)←ε 5: Dual variable ϕ∗(q,q) φ^*(q_ θ,q_ θ) Gradient update of WASD We compare the gradient update of WASD with that of KL-based distillation. For a fixed context (,<l)(x,y_<l), using ∇q=q∇logq _ θq_ θ=q_ θ _ θ q_ θ, the Sinkhorn gradient implemented by WASD in Theorem 3 can be written as ∇DSϵ(CLOSE _ θD_S^ε( OPENp(yl|,<l),q(yl|,<l)) p(y_l|x,y_<l),q_ θ(y_l|x,y_<l)) (12) =∑i=1dq(yl=i|,<l)(ϕi∗(p,q)(,<l)−ϕi∗(q,q)(,<l))∇logq(yl=i|,<l). = _i=1^dq_ θ(y_l=i|x,y_<l) ( _i^*(p,q_ θ)(x,y_<l)- _i^*(q_ θ,q_ θ)(x,y_<l) ) _ θ q_ θ(y_l=i|x,y_<l). The gradient is an expectation under the student distribution of log-likelihood gradients weighted by the difference of dual potentials. For comparison, the gradient of the forward KL objective is ∇DKL(p(yl|,<lCLOSECLOSE _ θD_KL(p(y_l|x,y_<l ),q(yl|,<l))=−∑i=1dp(yl=i|,<l)∇logq(yl=i|,<l), ),q_ θ(y_l|x,y_<l))=- _i=1^dp(y_l=i|x,y_<l) _ θ q_ θ(y_l=i|x,y_<l), (13) which weights the negative log-likelihood gradient directly by the teacher probability at each vocabulary index. In contrast, WASD weights the log-likelihood gradient by the student probability multiplied by the difference ϕi∗(p,q)−ϕi∗(q,q) _i^*(p,q_ θ)- _i^*(q_ θ,q_ θ). These potentials depend on the token embedding cost matrix, allowing token geometry to influence the update. Consequently, while KL determines its weights from index-wise probability values, WASD additionally incorporates semantic relationships between tokens through the transport problem. Table 2: ROUGE-L scores on five general instruction-following benchmarks for GPT-2 XL (1.5B) → GPT-2 Base (0.1B), varying divergences. All results are obtained using our implementation, where all methods share identical teacher and student initialization. Performance is averaged over five evaluation seeds. Bold and underline indicate the best and second-best performance, respectively. Method Dolly Eval Self Inst Vicuna Super NI UnNI Avg. (↑ ) GPT-2 XL (Teacher) 26.93 ± 0.60 14.77 ± 0.38 16.43 ± 0.28 27.19 ± 0.47 31.43 ± 0.12 23.35 KL [25] 23.33 ± 0.36 10.43 ± 0.23 15.34 ± 0.27 17.42 ± 0.14 19.34 ± 0.07 17.17 RKL [24] 24.62 ± 0.27 11.31 ± 0.28 15.97 ± 0.28 21.42 ± 0.30 23.82 ± 0.14 19.43 Sym-KL 23.32 ± 0.37 10.81 ± 0.27 15.41 ± 0.56 20.12 ± 0.23 21.23 ± 0.09 18.18 Jeffrey 22.84 ± 0.53 10.84 ± 0.24 15.30 ± 0.22 20.57 ± 0.37 22.66 ± 0.13 18.44 TV [64] 24.08 ± 0.41 10.83 ± 0.25 14.68 ± 0.43 25.57 ± 0.22 27.51 ± 0.09 20.53 GJS [1] 24.64 ± 0.40 11.64 ± 0.37 14.96 ± 0.42 24.31 ± 0.09 26.09 ± 0.12 20.33 SKL [35] 24.51 ± 0.37 12.00 ± 0.18 15.00 ± 0.23 20.26 ± 0.19 22.83 ± 0.04 18.92 SRKL [35] 24.68 ± 0.19 12.60 ± 0.24 15.15 ± 0.54 22.39 ± 0.19 24.26 ± 0.11 19.81 α-β [61] 24.05 ± 0.18 10.88 ± 0.31 15.87 ± 0.23 19.31 ± 0.21 21.50 ± 0.11 18.32 CSD [32] 25.06 ± 0.17 12.75 ± 0.26 16.42 ± 0.39 25.86 ± 0.31 27.19 ± 0.13 21.46 WASD (ours) 25.60 ± 0.34 12.88 ± 0.36 15.98 ± 0.40 28.63 ± 0.17 29.27 ± 0.09 22.47 4 Experiments We evaluate WASD on general instruction-following and task-specific distillation tasks, including summarization, translation, mathematical reasoning, and code generation. Experimental setups follow prior work [32, 53], and details are provided in each subsection and Appendix C. Table 3: ROUGE-L scores on five general instruction-following benchmarks for GPT-2 and OpenLLaMA2. Bold and underline indicate the best and second-best performance, respectively. Method Dolly Eval Self Inst Vicuna Super NI UnNI Avg. (↑ ) GPT-2 XL (Teacher) 26.93 ± 0.60 14.77 ± 0.38 16.43 ± 0.28 27.19 ± 0.47 31.43 ± 0.12 23.35 GPT-2 XL (1.5B) → GPT-2 Base (0.1B) GKD [1] 23.86 ± 0.22 11.21 ± 0.42 14.63 ± 0.19 19.43 ± 0.17 22.28 ± 0.12 18.28 TAID [54] 25.44 ± 0.42 12.55 ± 0.11 16.65 ± 0.32 24.45 ± 0.20 26.70 ± 0.09 21.16 DistiLLM (SKL) [35] 25.39 ± 0.43 12.42 ± 0.25 16.21 ± 0.33 25.13 ± 0.22 26.94 ± 0.18 21.22 DistiLLM (SRKL) [35] 25.10 ± 0.30 12.01 ± 0.26 17.40 ± 0.28 25.39 ± 0.21 26.40 ± 0.10 21.26 ABKD [61] 26.15 ± 0.25 12.56 ± 0.48 17.24 ± 0.60 27.07 ± 0.16 29.03 ± 0.13 22.41 CSD [32] 25.91 ± 0.52 12.97 ± 0.19 16.80 ± 0.57 26.90 ± 0.16 28.51 ± 0.06 22.22 AMiD [53] 26.39 ± 0.40 14.18 ± 0.17 16.81 ± 0.25 29.11 ± 0.16 30.78 ± 0.13 23.46 WASD (ours) 27.07 ± 0.22 14.34 ± 0.49 17.25 ± 0.37 29.60 ± 0.22 31.86 ± 0.08 24.02 GPT-2 XL (1.5B) → GPT-2 Medium (0.3B) GKD [1] 25.31 ± 0.43 12.16 ± 0.57 15.26 ± 0.34 26.00 ± 0.20 27.58 ± 0.09 21.26 TAID [54] 26.97 ± 0.18 14.63 ± 0.42 17.58 ± 0.26 26.75 ± 0.30 31.01 ± 0.08 23.39 DistiLLM (SKL) [35] 25.94 ± 0.31 14.27 ± 0.43 16.60 ± 0.47 25.42 ± 0.24 30.12 ± 0.11 22.47 DistiLLM (SRKL) [35] 26.97 ± 0.32 13.93 ± 0.37 17.02 ± 0.21 26.72 ± 0.20 29.43 ± 0.08 22.81 ABKD [61] 27.18 ± 0.30 14.12 ± 0.27 17.28 ± 0.26 26.87 ± 0.32 31.14 ± 0.04 23.32 CSD [32] 27.15 ± 0.46 15.19 ± 0.36 17.56 ± 0.39 27.92 ± 0.23 33.12 ± 0.09 24.19 AMiD [53] 27.82 ± 0.25 14.84 ± 0.33 16.55 ± 0.38 30.30 ± 0.17 34.17 ± 0.06 24.74 WASD (ours) 28.37 ± 0.14 15.45 ± 0.41 18.41 ± 0.28 30.24 ± 0.19 35.06 ± 0.03 25.51 OpenLLaMA2-7B (Teacher) 27.44 ± 0.38 18.47 ± 0.83 17.95 ± 0.30 31.06 ± 0.11 32.44 ± 0.11 25.47 OpenLLaMA2-7B → OpenLLaMA2-3B GKD [1] 29.36 ± 0.20 20.73 ± 0.23 20.81 ± 0.18 38.22 ± 0.22 37.25 ± 0.14 29.27 TAID [54] 26.27 ± 0.48 18.10 ± 0.66 18.05 ± 0.35 31.58 ± 0.15 30.10 ± 0.11 24.82 DistiLLM (SKL) [35] 28.48 ± 0.44 20.76 ± 0.39 19.48 ± 0.51 35.44 ± 0.24 34.54 ± 0.16 27.74 DistiLLM (SRKL) [35] 28.55 ± 0.39 19.71 ± 0.52 19.94 ± 0.34 35.38 ± 0.25 36.02 ± 0.18 27.92 ABKD [61] 29.04 ± 0.26 20.26 ± 0.32 20.77 ± 0.33 37.07 ± 0.41 36.55 ± 0.15 28.74 CSD [32] 29.08 ± 0.24 20.27 ± 0.37 20.26 ± 0.21 36.96 ± 0.10 35.92 ± 0.11 28.50 AMiD [53] 30.21 ± 0.34 20.65 ± 0.31 20.51 ± 0.26 37.49 ± 0.13 37.61 ± 0.09 29.30 WASD (ours) 29.83 ± 0.25 20.33 ± 0.54 21.34 ± 0.29 38.83 ± 0.17 37.74 ± 0.09 29.61 4.1 General instruction-following experiments Setup For general instruction-following experiments, we follow the experimental protocols of previous work [32, 35, 53]. For GPT-2 and OpenLLaMA2, we use databricks-dolly-15k [14] as the distillation dataset and OpenWebText [23] as the pretraining dataset. In the divergence comparison experiment in Table 2, we exclude the pretraining dataset for direct comparison. We evaluate WASD on three model families: GPT-2 [48], OpenLLaMA2 [58], and Qwen2.5 [29]. For GPT-2, we employ GPT-2 XL (1.5B) as the teacher and GPT-2 Base (0.1B) and Medium (0.3B) as students. For OpenLLaMA2, we use OpenLLaMA2-7B as the teacher and OpenLLaMA2-3B as the student, trained with LoRA [28]. For Qwen2.5, we use Qwen2.5-7B-Instruct as the teacher and Qwen2.5-1.5B-Instruct as the student, following the distillation setups of previous work [32, 34]. We compare WASD against baselines using different divergence objectives. Baseline details are provided in Section C.1. For GPT-2 and OpenLLaMA2, we evaluate on five instruction-following datasets: (1) the Dolly evaluation dataset, (2) Self-Instruct [62], (3) Vicuna [11], (4) Super-Natural Instructions (Super NI) [63], and (5) Unnatural Instructions (UnNI) [27]. We report ROUGE-L [40] to measure generation quality through similarity to reference text and Self-BLEU [70] to measure generation diversity. For Qwen2.5, we evaluate on AlpacaEval [38], Evol-Instruct [66], and UltraFeedback [16], reporting win rates against reference responses using GPT-4o-mini as the judge. Comparison to other divergences We first conduct a divergence-level comparison to examine whether the proposed Wasserstein-based objective itself provides a better distillation signal. In this comparison, we do not use an additional pretraining loss, SFT initialization for the student, or on-policy techniques. Table 2 shows that WASD achieves the best average performance among the compared divergences, demonstrating the effectiveness of the proposed divergence. We further analyze the quality-diversity trade-off by varying the decoding temperature. In Fig. 1(b), WASD consistently forms a favorable frontier over existing baselines, indicating that WASD preserves generation quality even with increased diversity. This behavior is likely due to the token-embedding transport cost used in WASD: by assigning lower costs to tokens with similar meanings, WASD can preserve generation quality even when decoding is encouraged to produce more diverse outputs. Compatibility with recent distillation frameworks We evaluate whether this benefit remains when combined with recent distillation methods. Following the setup of AMiD [53], we additionally incorporate the assistant distribution proposed in AMiD and compare WASD against recent baselines under the same training framework. As shown in Table 3, WASD consistently achieves the best average performance across different GPT-2 student scales and the larger OpenLLaMA2-7B teacher setting. These results suggest that the token-embedding cost structure in WASD contributes additional improvements beyond those achieved by recent assistant-distribution-based distillation methods. (a) (b) Figure 3: ROUGE-L during training on Dolly Eval. Figure 3 illustrates the training dynamics of WASD. Fig. 3(a) shows test performance across training epochs, where WASD consistently maintains higher performance than competing methods throughout most of training. Since WASD additionally requires matrix scaling to compute the dual variables ϕ φ, it requires approximately twice the training time and 20% more training GPU memory than the compared baselines in our experiments, with no additional inference-time overhead. To compare performance under the same time budget, we extend the training epochs of the competing baselines and report performance against wall-clock time in Fig. 3(b). Even under this setting, WASD continues to outperform competing methods at the same training time. These results show that faster convergence can offset the additional per-epoch cost when targeting a given performance level. LLM-based evaluation We additionally use LLM-based judgments to assess response quality beyond ROUGE-L, which primarily measures lexical overlap with reference answers. For GPT-2, we follow the GPT-4 feedback protocol of prior distillation studies [24, 32, 35] under the same experimental setting as Table 3. GPT-4 assigns a score from 1 to 10 to each model response and reference answer, and we report the ratio of total model-response score to the total reference-answer score as a percentage. As shown in Section 4.1, WASD outperforms ABKD, CSD, and AMiD on all three benchmarks. These results suggest that incorporating token-level semantic information may improve response quality as assessed by GPT-4 feedback, which can account for semantic similarity between generated responses and reference answers. For Qwen2.5, we combine the DistiLLM-2 training framework with the AMiD assistant distribution and the forward KL objective, denoting this baseline as AMiD. WASD replaces the forward KL term with the proposed Sinkhorn divergence objective while keeping the remaining training configuration unchanged. Section 4.1 shows that WASD achieves higher win rates than AMiD across all three benchmarks under GPT-4o-mini evaluation. These results further support the effectiveness of the proposed objective for instruction-following distillation between Qwen2.5 models. Method Dolly Eval Self Inst Vicuna ABKD [61] 36.09 20.30 24.67 CSD [32] 35.32 19.91 22.40 AMiD [53] 36.35 18.87 22.00 WASD (ours) 37.84 20.90 25.07 Table 4: GPT-4 feedback scores for GPT-2 XL (1.5B) → GPT-2 Base (0.1B), reported as percentages of reference-answer scores. Method AlpacaEval Evol-Instruct UltraFeedback Teacher 95.31 94.50 84.16 Student 71.80 58.03 45.06 AMiD [53] 89.29 83.94 72.81 WASD (ours) 90.04 85.32 73.21 Table 5: Instruction-following win rates (%) against reference responses for Qwen2.5-7B-Instruct → Qwen2.5-1.5B-Instruct, using GPT-4o-mini. Transport cost Avg. ROUGE-L (↑ ) AMiD [53] 23.36 ± 0.07 Uniform cost 22.08 ± 0.07 Permuted cost 23.47 ± 0.26 Semantic cost (WASD) 23.94 ± 0.15 Table 6: Effect of the transport cost on distillation performance for GPT-2 XL (1.5B) → GPT-2 Base (0.1B). Avg. ROUGE-L denotes the average over five instruction-following benchmarks. Results are averaged over three training seeds. (a) Performance of the entropy-regularized Wasserstein distance. (b) Sensitivity analysis of hyperparameter ϵε. Figure 4: Ablation studies of WASD. Ablation studies We first examine whether the gains of WASD depend on meaningful token geometry through a controlled transport-cost ablation. We follow the GPT-2 XL (1.5B) to Base (0.1B) setup in Table 3, but average results over three training seeds, which accounts for the differences from the reported values. We compare three cost matrices while keeping all other training settings fixed: a uniform cost that assigns a constant transport cost, a permuted cost that randomly reassigns token relations, and a semantic cost based on cosine distances between teacher token embeddings. The permuted cost retains Sinkhorn transport while removing meaningful token correspondence, whereas the uniform cost removes graded token geometry. As shown in 5, the semantic cost achieves the highest average ROUGE-L. Permuting token relations reduces performance to a level comparable to AMiD, while the uniform cost performs below the baseline. These results suggest that meaningful token geometry contributes to the gains of WASD, rather than generic smoothing alone. We next analyze the effect of correcting entropic bias. As discussed in Section 3.1, entropy-regularized Wasserstein distance introduces an entropic bias, which Sinkhorn divergence mitigates by subtracting the self-similarity terms. To examine this effect, we evaluate entropy-regularized Wasserstein distance under the GPT-2 distillation setup in Table 3, and we report average ROUGE-L scores in Fig. 5(a). Although entropy-regularized Wasserstein distance still outperforms the strongest baseline, AMiD, likely due to its token-embedding transport cost, it underperforms WASD. This result suggests that correcting entropic bias helps better utilize semantically informed transport costs in distillation. We also conduct a sensitivity analysis on the entropy regularization hyperparameter ϵε under the setting of Table 2, with results in Fig. 5(b). When ϵε is sufficiently small, WASD consistently outperforms the strongest baseline, CSD. However, performance gradually decreases as ϵε increases. This behavior is consistent with the transport kernel =exp(−/ϵ) K= (- C/ε) becoming less sensitive to differences in the transport cost matrix C, weakening the influence of the token-embedding cost structure. The toy visualization in Figure 6 of Appendix D shows that the loss landscape becomes flatter as ϵε increases, suggesting reduced sensitivity to deviations from the teacher distribution in this example. 4.2 Task-specific experiments Setup Following previous work [34, 53, 67], we utilize diverse task-specific distillation datasets: Flores-200 [15] for translation, DialogSum [10] for summarization, GSM8k [13] for arithmetic reasoning, and WizardCoder [42] for code generation. We employ the supervised fine-tuned Gemma-7B-IT [57] as the teacher and Gemma-2B-IT as the student. For the code generation task, we use Qwen2.5-Coder-7B-Instruct [29] as the teacher and Qwen2.5-Coder-1.5B-Instruct as the student. We evaluate on the test dataset for each task, using HumanEval [9] and MBPP [4] for code generation. We report COMET [50] for translation, ROUGE-L for summarization, accuracy for arithmetic reasoning, and pass@1 for code generation. Results As shown in Sections 4.2 and 4.2, WASD consistently improves performance on translation, summarization, arithmetic reasoning, and code generation benchmarks across different model series and task domains. These results demonstrate that incorporating token-level semantic information provides robust benefits even in large-scale and specialized distillation settings. In the current implementation, we construct the cost matrix using the token embedding space of the teacher model, which is the same as in the task-agnostic distillation setting. However, the flexibility of the Wasserstein formulation allows the cost matrix to capture richer structures beyond general token semantics. In particular, incorporating task-specific or domain knowledge into the cost matrix may further improve distillation performance, which we leave for future work. Translation Summarization Arithmetic Method COMET (↑ ) ROUGE-L (↑ ) Accuracy (↑ ) Teacher 79.33 36.05 55.04 Student 44.39 11.70 0.00 CSD [32] 73.71 34.88 23.12 AMiD [53] 73.70 35.09 24.49 WASD (ours) 74.53 35.15 24.87 Table 7: Task-specific distillation results on translation, summarization, and arithmetic reasoning for fine-tuned Gemma-7B-IT → Gemma-2B-IT. Method HumanEval MBPP Avg. (↑ ) Teacher 91.5 82.3 86.9 Student 69.5 68.8 69.2 DistiLLM-2 [34] 72.6 72.5 72.6 CSD [32] 73.2 73.0 73.1 AMiD [53] 73.8 74.3 74.1 WASD (ours) 74.4 75.4 74.9 Table 8: Distillation results on code generation for Qwen2.5-Coder-Instruct 7B → 1.5B, evaluated with pass@1. 5 Conclusion We propose WASD, a Wasserstein-based knowledge distillation method for large language models (LLMs) that incorporates token-level semantic information through a transport-based formulation. By adopting the Sinkhorn divergence and deriving an efficient objective based on optimal transport dual variables, WASD enables practical semantic-aware distillation without additional networks or backpropagation through the transport solver. Experiments across multiple model families and tasks show that WASD consistently improves distillation performance over existing distillation methods, particularly in quality-diversity trade-offs. These results highlight the importance of token-level information encoded in the vocabulary space for effective knowledge transfer in LLM distillation and suggest promising future directions for semantic-aware distribution alignment. Acknowledgments and Disclosure of Funding This work was supported by the InnoCORE program of the Ministry of Science and ICT (N10260008) (10%). This work was supported by the IITP (Institute of Information & Communications Technology Planning & Evaluation)-ITRC (Information Technology Research Center) grant funded by the Korea government (Ministry of Science and ICT) (IITP-2026-RS-2024-00437268) (45%). This research was supported by AI Technology Development for Commonsense Extraction, Reasoning, and Inference from Heterogeneous Data (IITP) funded by the Ministry of Science and ICT (RS-2022-I220077) (45%). References [1] R. Agarwal, N. Vieillard, Y. Zhou, P. Stanczyk, S. R. Garea, M. Geist, and O. Bachem (2024) On-policy distillation of language models: learning from self-generated mistakes. In The Twelfth International Conference on Learning Representations, Cited by: §C.1, §1, §2.1, §2.1, Table 1, Table 2, Table 3, Table 3, Table 3. [2] K. Alizadeh, S. I. Mirzadeh, D. Belenko, S. Khatamifard, M. Cho, C. C. Del Mundo, M. Rastegari, and M. Farajtabar (2024) Llm in a flash: efficient large language model inference with limited memory. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), p. 12562–12584. Cited by: §1. [3] M. Arjovsky, S. Chintala, and L. Bottou (2017) Wasserstein generative adversarial networks. In International conference on machine learning, p. 214–223. Cited by: §B.1. [4] J. Austin, A. Odena, M. Nye, M. Bosma, H. Michalewski, D. Dohan, E. Jiang, C. Cai, M. Terry, Q. Le, et al. (2021) Program synthesis with large language models. arXiv preprint arXiv:2108.07732. Cited by: §4.2. [5] J. Bai, S. Bai, Y. Chu, Z. Cui, K. Dang, X. Deng, Y. Fan, W. Ge, Y. Han, F. Huang, et al. (2023) Qwen technical report. arXiv preprint arXiv:2309.16609. Cited by: Appendix D. [6] R. Bhardwaj, T. Vaidya, and S. Poria (2022) KNOT: knowledge distillation using optimal transport for solving NLP tasks. In Proceedings of the 29th International Conference on Computational Linguistics, N. Calzolari, C. Huang, H. Kim, J. Pustejovsky, L. Wanner, K. Choi, P. Ryu, H. Chen, L. Donatelli, H. Ji, S. Kurohashi, P. Paggio, N. Xue, S. Kim, Y. Hahm, Z. He, T. K. Lee, E. Santus, F. Bond, and S. Na (Eds.), Gyeongju, Republic of Korea, p. 4801–4820. External Links: Link Cited by: §B.2, §2.2. [7] N. Boizard, K. E. Haddad, C. HUDELOT, and P. Colombo (2025) Towards cross-tokenizer distillation: the universal logit distillation loss for LLMs. Transactions on Machine Learning Research. Note: External Links: ISSN 2835-8856, Link Cited by: §B.2, §2.2. [8] L. Chen, D. Wang, Z. Gan, J. Liu, R. Henao, and L. Carin (2021) Wasserstein contrastive representation distillation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, p. 16296–16305. Cited by: §B.2, §2.2. [9] M. Chen, J. Tworek, H. Jun, Q. Yuan, H. P. D. O. Pinto, J. Kaplan, H. Edwards, Y. Burda, N. Joseph, G. Brockman, et al. (2021) Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374. Cited by: §4.2. [10] Y. Chen, Y. Liu, L. Chen, and Y. Zhang (2021) DialogSum: A real-life scenario dialogue summarization dataset. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, C. Zong, F. Xia, W. Li, and R. Navigli (Eds.), Online, p. 5062–5074. External Links: Link, Document Cited by: Appendix D, §4.2. [11] W. Chiang, Z. Li, Z. Lin, Y. Sheng, Z. Wu, H. Zhang, L. Zheng, S. Zhuang, Y. Zhuang, J. E. Gonzalez, I. Stoica, and E. P. Xing (2023) Vicuna: an open-source chatbot impressing gpt-4 with 90%* chatgpt quality. External Links: Link Cited by: §4.1. [12] A. Cichocki, S. Cruces, and S. Amari (2011) Generalized alpha-beta divergences and their application to robust nonnegative matrix factorization. Entropy 13 (1), p. 134–170. Cited by: §C.1. [13] K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, et al. (2021) Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168. Cited by: §4.2. [14] M. Conover, M. Hayes, A. Mathur, J. Xie, J. Wan, S. Shah, A. Ghodsi, P. Wendell, M. Zaharia, and R. Xin (2023) Free dolly: introducing the world’s first truly open instruction-tuned llm. External Links: Link Cited by: §4.1. [15] M. R. Costa-Jussà, J. Cross, O. Çelebi, M. Elbayad, K. Heafield, K. Heffernan, E. Kalbassi, J. Lam, D. Licht, J. Maillard, et al. (2022) No language left behind: scaling human-centered machine translation. arXiv preprint arXiv:2207.04672. Cited by: §4.2. [16] G. Cui, L. Yuan, N. Ding, G. Yao, B. He, Q. Yue, Y. Ni, G. Xie, R. Xie, Y. Lin, Z. Liu, and M. Sun (2024) ULTRAFEEDBACK: boosting language models with scaled AI feedback. In Forty-first International Conference on Machine Learning, External Links: Link Cited by: §C.2, §4.1. [17] X. Cui, Y. Qin, Y. Gao, E. Zhang, Z. Xu, T. Wu, K. Li, X. Sun, W. Zhou, and H. Li (2024) Sinkhorn distance minimization for knowledge distillation. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), p. 14846–14858. Cited by: §B.2, §2.2. [18] X. Cui, M. Zhu, Y. Qin, L. Xie, W. Zhou, and H. Li (2025) Multi-level optimal transport for universal cross-tokenizer knowledge distillation on language models. In Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence and Thirty-Seventh Conference on Innovative Applications of Artificial Intelligence and Fifteenth Symposium on Educational Advances in Artificial Intelligence, AAAI’25/IAAI’25/EAAI’25. External Links: ISBN 978-1-57735-897-8, Link, Document Cited by: §B.2, §2.2. [19] M. Cuturi and A. Doucet (2014) Fast computation of wasserstein barycenters. In International conference on machine learning, p. 685–693. Cited by: §B.1, §2.2, §3.2. [20] M. Cuturi (2013) Sinkhorn distances: lightspeed computation of optimal transport. In Advances in Neural Information Processing Systems, C.J. Burges, L. Bottou, M. Welling, Z. Ghahramani, and K.Q. Weinberger (Eds.), Vol. 26, p. . Cited by: §B.1, §2.2, §3.1, §3.2. [21] J. Feydy, T. Séjourné, F. Vialard, S. Amari, A. Trouvé, and G. Peyré (2019) Interpolating between optimal transport and mmd using sinkhorn divergences. In The 22nd international conference on artificial intelligence and statistics, p. 2681–2690. Cited by: §B.1, §2.2, §3.1, §3.1. [22] A. Genevay, G. Peyré, and M. Cuturi (2018) Learning generative models with sinkhorn divergences. In International Conference on Artificial Intelligence and Statistics, p. 1608–1617. Cited by: §B.1, §2.2, §3.1. [23] A. Gokaslan and V. Cohen (2019) OpenWebText corpus. Note: http://Skylion007.github.io/OpenWebTextCorpus Cited by: §4.1. [24] Y. Gu, L. Dong, F. Wei, and M. Huang (2024) Minillm: knowledge distillation of large language models. In The twelfth international conference on learning representations, Cited by: §C.2, §1, §2.1, Table 1, Table 2, §4.1. [25] G. Hinton, O. Vinyals, and J. Dean (2015) Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531. Cited by: §1, §2.1, §2.1, Table 1, Table 2. [26] J. Hoffmann, S. Borgeaud, A. Mensch, E. Buchatskaya, T. Cai, E. Rutherford, D. de Las Casas, L. A. Hendricks, J. Welbl, A. Clark, et al. (2022) Training compute-optimal large language models. In Proceedings of the 36th International Conference on Neural Information Processing Systems, p. 30016–30030. Cited by: §1. [27] O. Honovich, T. Scialom, O. Levy, and T. Schick (2023) Unnatural instructions: tuning language models with (almost) no human labor. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), A. Rogers, J. Boyd-Graber, and N. Okazaki (Eds.), Toronto, Canada, p. 14409–14428. External Links: Link, Document Cited by: §4.1. [28] E. J. Hu, yelong shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen (2022) LoRA: low-rank adaptation of large language models. In International Conference on Learning Representations, External Links: Link Cited by: §4.1. [29] B. Hui, J. Yang, Z. Cui, J. Yang, D. Liu, L. Zhang, T. Liu, J. Zhang, B. Yu, K. Lu, et al. (2024) Qwen2. 5-coder technical report. arXiv preprint arXiv:2409.12186. Cited by: §1, §1, §4.1, §4.2. [30] A. Hurst, A. Lerer, A. P. Goucher, A. Perelman, A. Ramesh, A. Clark, A. Ostrow, A. Welihinda, A. Hayes, A. Radford, et al. (2024) Gpt-4o system card. arXiv preprint arXiv:2410.21276. Cited by: §1. [31] J. Kaplan, S. McCandlish, T. Henighan, T. B. Brown, B. Chess, R. Child, S. Gray, A. Radford, J. Wu, and D. Amodei (2020) Scaling laws for neural language models. arXiv preprint arXiv:2001.08361. Cited by: §1. [32] Y. Kim, D. Shin, M. Kang, B. Na, and I. Moon (2026) Distillation of large language models via concrete score matching. In The Fourteenth International Conference on Learning Representations, Cited by: §C.1, §C.2, §C.2, Table 10, Table 9, §2.1, §2.1, Table 2, §4.1, §4.1, Table 3, Table 3, Table 3, Table 4, Table 7, Table 8, §4. [33] Y. Kim and A. M. Rush (2016) Sequence-level knowledge distillation. In Proceedings of the 2016 conference on empirical methods in natural language processing, p. 1317–1327. Cited by: §2.1. [34] J. Ko, T. Chen, S. Kim, T. Ding, L. Liang, I. Zharkov, and S. Yun (2025) DistiLLM-2: a contrastive approach boosts the distillation of LLMs. In Proceedings of the 42nd International Conference on Machine Learning, A. Singh, M. Fazel, D. Hsu, S. Lacoste-Julien, F. Berkenkamp, T. Maharaj, K. Wagstaff, and J. Zhu (Eds.), Proceedings of Machine Learning Research, Vol. 267, p. 31044–31062. External Links: Link Cited by: §C.1, §C.2, §C.2, §1, §2.1, §4.1, §4.2, Table 8. [35] J. Ko, S. Kim, T. Chen, and S. Yun (2024) DistiLLM: towards streamlined distillation for large language models. In Proceedings of the 41st International Conference on Machine Learning, R. Salakhutdinov, Z. Kolter, K. Heller, A. Weller, N. Oliver, J. Scarlett, and F. Berkenkamp (Eds.), Proceedings of Machine Learning Research, Vol. 235, p. 24872–24895. Cited by: §C.1, §C.2, §1, §2.1, §2.1, §2.1, Table 1, Table 1, Table 2, Table 2, §4.1, §4.1, Table 3, Table 3, Table 3, Table 3, Table 3, Table 3. [36] D. Kuhn, P. M. Esfahani, V. A. Nguyen, and S. Shafieezadeh-Abadeh (2019) Wasserstein distributionally robust optimization: theory and applications in machine learning. In Operations research & management science in the age of analytics, p. 130–166. Cited by: §3.1. [37] L. Lee (2001) On the effectiveness of the skew divergence for statistical language analysis. In International workshop on artificial intelligence and statistics, p. 176–183. Cited by: §C.1. [38] X. Li, T. Zhang, Y. Dubois, R. Taori, I. Gulrajani, C. Guestrin, P. Liang, and T. B. Hashimoto (2023) AlpacaEval: an automatic evaluator of instruction-following models. GitHub. Note: https://github.com/tatsu-lab/alpaca_eval Cited by: §C.2, §4.1. [39] A. Lin, J. Wohlwend, H. Chen, and T. Lei (2020) Autoregressive knowledge distillation through imitation learning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), B. Webber, T. Cohn, Y. He, and Y. Liu (Eds.), Online, p. 6121–6133. External Links: Link, Document Cited by: §2.1. [40] C. Lin (2004) ROUGE: a package for automatic evaluation of summaries. In Text Summarization Branches Out, Barcelona, Spain, p. 74–81. External Links: Link Cited by: §4.1. [41] S. Lohit and M. Jones (2022) Model compression using optimal transport. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, p. 2764–2773. Cited by: §B.2, §2.2. [42] Z. Luo, C. Xu, P. Zhao, Q. Sun, X. Geng, W. Hu, C. Tao, J. Ma, Q. Lin, and D. Jiang (2023) Wizardcoder: empowering code large language models with evol-instruct. arXiv preprint arXiv:2306.08568. Cited by: §4.2. [43] J. Lv, H. Yang, and P. Li (2024) Wasserstein distance rivals kullback-leibler divergence for knowledge distillation. Advances in Neural Information Processing Systems 37, p. 65445–65475. Cited by: §B.2, §2.2. [44] P. Milgrom and I. Segal (2002) Envelope theorems for arbitrary choice sets. Econometrica 70 (2), p. 583–601. Cited by: §A.2, §3.2. [45] T. Moskovitz, M. Arbel, F. Huszar, and A. Gretton (2021) Efficient wasserstein natural gradients for reinforcement learning. In International Conference on Learning Representations, Cited by: §B.1. [46] B. Na, H. Na, Y. Kim, S. Jo, H. Bae, M. Kang, and I. Moon (2026) Semantic-aware wasserstein policy regularization for large language model alignment. In The Fourteenth International Conference on Learning Representations, Cited by: §B.1, §C.2, Appendix D, §2.1, §2.2, §3.2, §3.2. [47] G. Peyré M. Cuturi et al. (2019) Computational optimal transport: with applications to data science. Foundations and Trends® in Machine Learning 11 (5-6), p. 355–607. Cited by: §B.1, §2.2. [48] A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, I. Sutskever, et al. (2019) Language models are unsupervised multitask learners. OpenAI blog 1 (8), p. 9. Cited by: §1, §4.1. [49] R. Rafailov, A. Sharma, E. Mitchell, C. D. Manning, S. Ermon, and C. Finn (2023) Direct preference optimization: your language model is secretly a reward model. Advances in Neural Information Processing Systems 36, p. 53728–53741. Cited by: §C.1. [50] R. Rei, J. G. De Souza, D. Alves, C. Zerva, A. C. Farinha, T. Glushkova, A. Lavie, L. Coheur, and A. F. Martins (2022) COMET-22: unbabel-ist 2022 submission for the metrics shared task. In Proceedings of the Seventh Conference on Machine Translation (WMT), p. 578–585. Cited by: §4.2. [51] N. Reimers and I. Gurevych (2019) Sentence-BERT: sentence embeddings using Siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), K. Inui, J. Jiang, V. Ng, and X. Wan (Eds.), Hong Kong, China, p. 3982–3992. External Links: Link, Document Cited by: Appendix D. [52] M. Sanjabi, J. Ba, M. Razaviyayn, and J. D. Lee (2018) On the convergence and robustness of training gans with regularized optimal transport. Advances in Neural Information Processing Systems 31. Cited by: §B.1, §2.2. [53] D. Shin, Y. Kim, S. Jo, B. Na, and I. Moon (2026) AMid: knowledge distillation for LLMs with $α$-mixture assistant distribution. In The Fourteenth International Conference on Learning Representations, Cited by: §C.1, §C.2, Table 10, §2.1, §2.1, §4.1, §4.1, §4.2, Table 3, Table 3, Table 3, Table 4, Table 5, Table 6, Table 7, Table 8, §4. [54] M. Shing, K. Misaki, H. Bao, S. Yokoi, and T. Akiba (2025) TAID: temporally adaptive interpolated distillation for efficient knowledge transfer in language models. In The Thirteenth International Conference on Learning Representations, Cited by: §C.1, §1, §2.1, Table 3, Table 3, Table 3. [55] R. Sinkhorn and P. Knopp (1967) Concerning nonnegative matrices and doubly stochastic matrices. Pacific Journal of Mathematics 21 (2), p. 343–348. Cited by: §3.1. [56] J. Song, N. He, L. Ding, and C. Zhao (2023) Provably convergent policy optimization via metric-aware trust region methods. Transactions on Machine Learning Research. Note: External Links: ISSN 2835-8856 Cited by: §B.1. [57] G. Team, T. Mesnard, C. Hardin, R. Dadashi, S. Bhupatiraju, S. Pathak, L. Sifre, M. Rivière, M. S. Kale, J. Love, et al. (2024) Gemma: open models based on gemini research and technology. arXiv preprint arXiv:2403.08295. Cited by: §1, §1, §4.2. [58] H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale, et al. (2023) Llama 2: open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288. Cited by: §1, §1, §4.1. [59] C. Villani (2008) Optimal transport: old and new. Vol. 338, Springer Science & Business Media. Cited by: §2.2. [60] H. T. Vuong, T. Le, Q. Tran, L. N. Van, and T. Le (2026) MCW-kd: multi-cost wasserstein knowledge distillation for large language models. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40, p. 33332–33340. Cited by: §B.2, §2.2. [61] G. Wang, Z. Yang, Z. Wang, S. Wang, Q. Xu, and Q. Huang (2025) ABKD: pursuing a proper allocation of the probability mass in knowledge distillation via $α$-$β$-divergence. In Forty-second International Conference on Machine Learning, Cited by: §C.1, §C.2, §2.1, Table 1, Table 2, Table 3, Table 3, Table 3, Table 4. [62] Y. Wang, Y. Kordi, S. Mishra, A. Liu, N. A. Smith, D. Khashabi, and H. Hajishirzi (2023) Self-instruct: aligning language models with self-generated instructions. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), A. Rogers, J. Boyd-Graber, and N. Okazaki (Eds.), Toronto, Canada, p. 13484–13508. External Links: Link, Document Cited by: §4.1. [63] Y. Wang, S. Mishra, P. Alipoormolabashi, Y. Kordi, A. Mirzaei, A. Naik, A. Ashok, A. S. Dhanasekaran, A. Arunkumar, D. Stap, E. Pathak, G. Karamanolakis, H. Lai, I. Purohit, I. Mondal, J. Anderson, K. Kuznia, K. Doshi, K. K. Pal, M. Patel, M. Moradshahi, M. Parmar, M. Purohit, N. Varshney, P. R. Kaza, P. Verma, R. S. Puri, R. Karia, S. Doshi, S. K. Sampat, S. Mishra, S. Reddy A, S. Patro, T. Dixit, and X. Shen (2022) Super-NaturalInstructions: generalization via declarative instructions on 1600+ NLP tasks. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, Y. Goldberg, Z. Kozareva, and Y. Zhang (Eds.), Abu Dhabi, United Arab Emirates, p. 5085–5109. External Links: Link, Document Cited by: §4.1. [64] Y. Wen, Z. Li, W. Du, and L. Mou (2023) F-divergence minimization for sequence-level knowledge distillation. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), p. 10817–10834. Cited by: §1, §2.1, Table 1, Table 2. [65] T. Wu, C. Tao, J. Wang, R. Yang, Z. Zhao, and N. Wong (2025) Rethinking kullback-leibler divergence in knowledge distillation for large language models. In Proceedings of the 31st International Conference on Computational Linguistics, p. 5737–5755. Cited by: §2.1. [66] C. Xu, Q. Sun, K. Zheng, X. Geng, P. Zhao, J. Feng, C. Tao, Q. Lin, and D. Jiang (2024) WizardLM: empowering large pre-trained language models to follow complex instructions. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: §C.2, §4.1. [67] W. Xu, R. Han, Z. Wang, L. Le, D. Madeka, L. Li, W. Y. Wang, R. Agarwal, C. Lee, and T. Pfister (2025) Speculative knowledge distillation: bridging the teacher-student gap through interleaved sampling. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §C.2, §4.2. [68] S. Zhang, X. Zhang, Z. Sun, Y. Chen, and J. Xu (2024) Dual-space knowledge distillation for large language models. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Y. Al-Onaizan, M. Bansal, and Y. Chen (Eds.), Miami, Florida, USA, p. 18164–18181. External Links: Link, Document Cited by: Appendix D. [69] X. Zhang, S. Zhang, Y. Liang, F. Meng, Y. Chen, J. Xu, and J. Zhou (2025) A dual-space framework for general knowledge distillation of large language models. arXiv preprint arXiv:2504.11426. Cited by: Appendix D, Table 11, Table 11. [70] Y. Zhu, S. Lu, L. Zheng, J. Guo, W. Zhang, J. Wang, and Y. Yu (2018) Texygen: a benchmarking platform for text generation models. In The 41st international ACM SIGIR conference on research & development in information retrieval, p. 1097–1100. Cited by: §4.1. [71] B. Zitkovich, T. Yu, S. Xu, P. Xu, T. Xiao, F. Xia, J. Wu, P. Wohlhart, S. Welker, A. Wahid, et al. (2023) Rt-2: vision-language-action models transfer web knowledge to robotic control. In Conference on Robot Learning, p. 2165–2183. Cited by: §1. Appendix A Proofs and derivations A.1 Proof of Lemma 1 See 1 Proof. By strong duality, the entropy-regularized Wasserstein distance D~Wϵ(p,q) D_W^ε(p,q_ θ) is equal to the optimal value of the following dual problem: max∑i=1dϕ,ϕiq(yl=i|,<l)+∑j=1dψjp(yl=j|,<l)−∑i=1d∑j=1dϵexp(1ϵ(ϕi+ψj−Cij)). _ φ, ψ _i=1^d _iq_ θ(y_l=i|x,y_<l)+ _j=1^d _jp(y_l=j|x,y_<l)- _i=1^d _j=1^dε ( 1ε( _i+ _j-C_ij) ). (14) Substituting the optimal dual variables ϕ∗(p,q)(,<l) φ^*(p,q_ θ)(x,y_<l) and ∗(p,q)(,<l) ψ^*(p,q_ θ)(x,y_<l) into the dual objective yields D~Wϵ(p(yl|,<l),q(yl|,<l)) D_W^ε(p(y_l|x,y_<l),q_ θ(y_l|x,y_<l)) =∑i=1dϕi∗(p,q)(,<l)q(yl=i|,<l)+∑j=1dψj∗(p,q)(,<l)p(yl=j|,<l) = _i=1^d _i^*(p,q_ θ)(x,y_<l)q_ θ(y_l=i|x,y_<l)+ _j=1^d _j^*(p,q_ θ)(x,y_<l)p(y_l=j|x,y_<l) −∑i=1d∑j=1dϵexp(1ϵ(ϕi∗(p,q)(,<l)+ψj∗(p,q)(,<l)−Cij)). - _i=1^d _j=1^dε ( 1ε( _i^*(p,q_ θ)(x,y_<l)+ _j^*(p,q_ θ)(x,y_<l)-C_ij) ). (15) By the optimality conditions in Eq. 8, the optimal transport plan satisfies Pij(l)∗=exp(1ϵ(ϕi∗(p,q)(,<l)+ψj∗(p,q)(,<l)−Cij)). P_ij^(l)^*= ( 1ε( _i^*(p,q_ θ)(x,y_<l)+ _j^*(p,q_ θ)(x,y_<l)-C_ij) ). (16) Since (l)∗∈Ul(p,q) P^(l)^*∈ U_l(p,q_ θ), its total mass is 11. Therefore, the last term in Eq. 15 equals −ϵ-ε, giving D~Wϵ(p(yl|,<l),q(yl|,<l)) D_W^ε(p(y_l|x,y_<l),q_ θ(y_l|x,y_<l)) = = ∑i=1dϕi∗(p,q)(,<l)q(yl=i|,<l)+∑j=1dψj∗(p,q)(,<l)p(yl=j|,<l)−ϵ. _i=1^d _i^*(p,q_ θ)(x,y_<l)q_ θ(y_l=i|x,y_<l)+ _j=1^d _j^*(p,q_ θ)(x,y_<l)p(y_l=j|x,y_<l)-ε. (17) ∎ A.2 Proof of Proposition 2 See 2 Proof. For a fixed context (,<l)(x,y_<l), assume that ϵ>0ε>0, the cost matrix C is finite and fixed, the teacher distribution is fixed, and both distributions are strictly positive, with q_ θ differentiable in θ. By strong duality, the entropy-regularized Wasserstein distance is equal to the optimal value of the dual problem in Eq. 14. Specifically, define the dual objective as follows: ℒ(,ϕ,):= ( θ, φ, ψ):= ∑i=1dϕiq(yl=i|,<l)+∑j=1dψjp(yl=j|,<l) _i=1^d _iq_ θ(y_l=i|x,y_<l)+ _j=1^d _jp(y_l=j|x,y_<l) −ϵ∑i=1d∑j=1dexp(1ϵ(ϕi+ψj−Cij)). -ε _i=1^d _j=1^d ( 1ε( _i+ _j-C_ij) ). (18) Then, we have D~Wϵ(p(yl|,<l),q(yl|,<l))=maxϕ,ℒ(,ϕ,). D_W^ε(p(y_l|x,y_<l),q_ θ(y_l|x,y_<l))= _ φ, ψL( θ, φ, ψ). (19) Although the optimal dual variables depend implicitly on θ through q_ θ, the envelope theorem [44] allows us to differentiate the optimal value by treating the optimal dual variables as fixed. In particular, only the student marginal term in ℒL depends explicitly on θ. Therefore, ∇D~Wϵ(p(yl|,<l),q(yl|,<l)) _ θ D_W^ε(p(y_l|x,y_<l),q_ θ(y_l|x,y_<l)) =∇ℒ(,ϕ,)|ϕ=ϕ∗(p,q),=∗(p,q) = . _ θL( θ, φ, ψ) |_ φ= φ^*(p,q_ θ), ψ= ψ^*(p,q_ θ) (20) =∑i=1dϕi∗(p,q)(,<l)∇q(yl=i|,<l). = _i=1^dφ_i^*(p,q_ θ)(x,y_<l) _ θq_ θ(y_l=i|x,y_<l). (21) Note that the additive ambiguity of the dual potentials does not affect this gradient, since ∑i=1d∇q(yl=i|,<l)=0 _i=1^d _ θq_ θ(y_l=i|x,y_<l)=0. ∎ A.3 Proof of Theorem 3 See 3 Proof. By definition, the Sinkhorn divergence is DSϵ(p,q):=D~Wϵ(p,q)−12D~Wϵ(q,q)−12D~Wϵ(p,p). D_S^ε(p,q_ θ):= D_W^ε(p,q_ θ)- 12 D_W^ε(q_ θ,q_ θ)- 12 D_W^ε(p,p). (22) We first apply Proposition 2 to the first term D~Wϵ(p,q) D_W^ε(p,q_ θ). This gives ∇D~Wϵ(p(yl|,<l),q(yl|,<l))=∑i=1dϕi∗(p,q)(,<l)∇q(yl=i|,<l). _ θ D_W^ε(p(y_l|x,y_<l),q_ θ(y_l|x,y_<l))= _i=1^d _i^*(p,q_ θ)(x,y_<l) _ θq_ θ(y_l=i|x,y_<l). (23) Next, consider the second term D~Wϵ(q,q) D_W^ε(q_ θ,q_ θ). Applying the same argument as in the proof of Proposition 2, both marginal terms in the dual objective depend explicitly on θ. Therefore, ∇D~Wϵ(q(yl|,<l),q(yl|,<l)) _ θ D_W^ε(q_ θ(y_l|x,y_<l),q_ θ(y_l|x,y_<l)) =∑i=1dϕi∗(q,q)(,<l)∇q(yl=i|,<l)+∑i=1dψi∗(q,q)(,<l)∇q(yl=i|,<l). = _i=1^d _i^*(q_ θ,q_ θ)(x,y_<l) _ θq_ θ(y_l=i|x,y_<l)+ _i=1^d _i^*(q_ θ,q_ θ)(x,y_<l) _ θq_ θ(y_l=i|x,y_<l). (24) In the self-transport case, the two marginals are identical. By symmetry of the cost matrix, the optimal dual variables ϕ∗(q,q) φ^*(q_ θ,q_ θ) and ∗(q,q) ψ^*(q_ θ,q_ θ) can be chosen equal. We take the representative satisfying ϕ∗(q,q)=∗(q,q) φ^*(q_ θ,q_ θ)= ψ^*(q_ θ,q_ θ). Therefore, ∇D~Wϵ(q(yl|,<l),q(yl|,<l))=2∑i=1dϕi∗(q,q)(,<l)∇q(yl=i|,<l). _ θ D_W^ε(q_ θ(y_l|x,y_<l),q_ θ(y_l|x,y_<l))=2 _i=1^d _i^*(q_ θ,q_ θ)(x,y_<l) _ θq_ θ(y_l=i|x,y_<l). (25) Finally, the last term D~Wϵ(p,p) D_W^ε(p,p) does not contain the student distribution and is therefore independent of θ. Combining these gradients with the coefficients in Eq. 22, we have ∇DSϵ(p(yl|,<l)CLOSE _ θD_S^ε(p(y_l|x,y_<l) ,q(yl|,<l)) ,q_ θ(y_l|x,y_<l)) =∑i=1d(ϕi∗(p,q)(,<l)−ϕi∗(q,q)(,<l))∇q(yl=i|,<l). = _i=1^d ( _i^*(p,q_ θ)(x,y_<l)- _i^*(q_ θ,q_ θ)(x,y_<l) ) _ θq_ θ(y_l=i|x,y_<l). (26) Now, we differentiate the WASD loss in Eq. 11. The stop-gradient operator preserves the potential difference in the forward pass and treats it as constant during backpropagation. Under the stop-gradient convention, we obtain ∇ℒWASDϵ() _ θL_WASD^ε( θ) =(,)∼[∑l=1L∑i=1d∇sg(ϕi∗(p,q)(,<l)−ϕi∗(q,q)(,<l))q(yl=i|,<l)] =E_(x,y) [ _l=1^L _i=1^d _ θ \sg\! ( _i^*(p,q_ θ)(x,y_<l)- _i^*(q_ θ,q_ θ)(x,y_<l) )q_ θ(y_l=i|x,y_<l) \ ] (27) =(,)∼[∑l=1L∑i=1dsg(ϕi∗(p,q)(,<l)−ϕi∗(q,q)(,<l))∇q(yl=i|,<l)] =E_(x,y) [ _l=1^L _i=1^dsg\! ( _i^*(p,q_ θ)(x,y_<l)- _i^*(q_ θ,q_ θ)(x,y_<l) ) _ θq_ θ(y_l=i|x,y_<l) ] (28) =(,)∼[∑l=1L∑i=1d(ϕi∗(p,q)(,<l)−ϕi∗(q,q)(,<l))∇q(yl=i|,<l)] =E_(x,y) [ _l=1^L _i=1^d ( _i^*(p,q_ θ)(x,y_<l)- _i^*(q_ θ,q_ θ)(x,y_<l) ) _ θq_ θ(y_l=i|x,y_<l) ] (29) =(,)∼[∑l=1L∇DSϵ(p(yl|,<l),q(yl|,<l))] =E_(x,y) [ _l=1^L _ θD_S^ε (p(y_l|x,y_<l),q_ θ(y_l|x,y_<l) ) ] (30) =∇ℒSϵ(). = _ θL_S^ε( θ). (31) Here, Eq. 28 follows from the stop-gradient rule, Eq. 29 uses that sgsg preserves its input value, and Eq. 30 follows from Eq. 26. ∎ Appendix B Additional discussion on related work B.1 Wasserstein distance and Sinkhorn divergence The Wasserstein distance provides a geometry-aware discrepancy between probability distributions by measuring the minimum cost of transporting probability mass across the underlying space. Its practical use in machine learning has been enabled by entropy-regularized optimal transport and Sinkhorn iterations [20, 19, 47]. Wasserstein-based distances have also been widely adopted across machine learning applications. In generative modeling, WGANs use the Wasserstein distance between the generator and data distributions to improve training stability and mitigate mode collapse [3]. In reinforcement learning, Wasserstein natural gradient methods use the geometry induced by Wasserstein penalties to define efficient policy updates over behavioral distributions [45]. More recently, Wasserstein and Sinkhorn trust-region policy optimization methods have been studied as alternatives to KL-based trust regions, deriving policy updates from Lagrangian duality and exploiting optimal-transport geometry in policy space [56]. Sinkhorn divergence was introduced as a scalable objective for large-scale generative modeling, combining entropy-regularized OT, Sinkhorn fixed-point iterations, self-similarity correction, and GPU-based automatic differentiation, while showing that the regularization parameter interpolates between Wasserstein distance and maximum mean discrepancy (MMD) [22]. Further theoretical analysis established key properties of Sinkhorn divergence, including positivity, convexity, and metrization of convergence in law, providing theoretical support for its use as a statistical discrepancy [21]. Sinkhorn-based objectives have since been extended to various distribution-alignment settings, further demonstrating their applicability beyond generative modeling [52]. Comparison with WPR [46] WPR is closely related to our work in its use of token-space optimal transport. It replaces the KL regularizer in reinforcement learning from human preferences (RLHF) with an entropy-regularized Wasserstein distance over token distributions. WASD builds on WPR’s token-embedding transport costs, nearest-k cost-matrix truncation, and computation of optimal dual potentials through Sinkhorn iterations, extending this framework to teacher-student distribution matching. The two methods differ in the role of the transport objective. WPR uses entropy-regularized Wasserstein distance to regularize a policy against a reference model during reward maximization. In KD, the teacher-student discrepancy serves as the primary training signal and should be minimized when the student distribution matches the teacher distribution. As discussed in Section 3.1, entropic bias can prevent entropy-regularized Wasserstein distance from satisfying this requirement. Therefore, WASD adopts the Sinkhorn divergence, which corrects this bias by subtracting the teacher and student self-transport terms. This difference also leads to distinct optimization procedures. WPR evaluates the cross-transport potential at sampled tokens and incorporates it as a scalar reward penalty during rollout-based RL optimization. WASD directly weights student probabilities over the vocabulary by the difference between teacher-student and student self-transport potentials. The student self-transport potential is computed through fixed-point iterations, and the resulting stop-gradient objective yields the Sinkhorn divergence gradient without backpropagating through the transport solver, as established in Theorem 3. The ablation in Fig. 5(a) compares entropy-regularized Wasserstein distance with Sinkhorn divergence under identical distillation settings, showing the additional benefit of the self-similarity correction. B.2 Wasserstein distance in knowledge distillation Optimal transport (OT) has been explored for knowledge distillation before the recent interest in LLM distillation, mainly for representation- or feature-level transfer. WCoRD [8] leverages both the dual and primal forms of the Wasserstein distance: the dual form is used to construct a global contrastive objective for transferring teacher-student representation knowledge, while the primal form regularizes local mini-batch feature distribution matching. Lohit and Jones [41] similarly formulates model compression as minimizing optimal-transport costs between teacher and student intermediate feature distributions, computing transport costs during student training. In NLP, KNOT [6] applies optimal transport to multi-teacher distillation by minimizing the transport cost between the student’s label distribution and a weighted aggregation of teacher label distributions. These works demonstrate the usefulness of OT for transferring structured knowledge. Several recent works have explored Wasserstein-based distances more directly as distillation discrepancies. SinKD [17] applies the entropy-regularized Wasserstein distance to logit-based distillation and introduces a batch-wise formulation to capture geometric structure across samples, showing improvement over several f-divergence-based objectives on NLP classification benchmarks. However, its transport cost is defined over sample-level geometry, and it does not model semantic relations among vocabulary tokens. In computer vision, WKD [43] uses discrete Wasserstein distance for logit distillation by exploiting category interrelations, and continuous Wasserstein distance for feature distillation by matching Gaussian feature distributions. While conceptually related, WKD targets class-level and feature-level transfer in vision models rather than autoregressive next-token distributions in LLMs. Another line of work uses optimal transport to address cross-tokenizer distillation, where teacher and student vocabularies differ. ULD [7] introduces a Wasserstein-based universal logit distillation loss and derives an efficient closed form under uniform-support and uniform-cost assumptions. MultiLevelOT [18] further combines token-level and sequence-level optimal transport with multiple cost matrices to align cross-tokenizer logit distributions. MCW-KD [60] extends this direction by optimizing multiple Wasserstein costs over hidden states and output distributions. These methods primarily address support mismatch or heterogeneous model alignment, whereas our setting assumes a shared vocabulary and focuses on the semantic geometry within that vocabulary. Therefore, these methods are complementary to our work: they relax the need for a common vocabulary, while WASD studies what can be gained when a common vocabulary is available and its embedding geometry can be used as an informative transport cost. A further distinction lies in the objective and its optimization form of the transport discrepancy. Prior OT-based KD methods typically use the OT solver to evaluate a primal transport cost, such as ⟨,⟩ P, C . For example, SinKD computes an entropy-regularized transport plan and minimizes its transport cost, WKD-L solves an entropy-regularized discrete WD objective, and ULD avoids Sinkhorn iterations through a closed form induced by a uniform-cost assumption. However, entropy-regularized OT introduces a self-similarity bias: the regularized transport cost between identical distributions is not zero, and minimizing this biased objective alone does not necessarily make the student distribution match the teacher distribution. This issue is particularly important for knowledge distillation, where the desired optimum is q=pq_ θ=p. Therefore, WASD adopts the Sinkhorn divergence rather than the entropy-regularized transport cost. WASD further differs in how this objective is optimized. Although WCoRD and MCW-KD also utilize dual formulations, their roles are different: WCoRD uses a Wasserstein dual to build a contrastive representation objective, and MCW-KD uses entropic duality to formulate multi-cost heterogeneous alignment. In contrast, WASD derives a dual-potential weighted next-token objective whose stop-gradient formulation yields the gradient of the Sinkhorn divergence. The effective token weights are given by the excess optimal dual potentials, and the envelope theorem justifies computing gradients without differentiating through the Sinkhorn or fixed-point iterations. Thus, WASD differs from prior OT-based KD in the choice of token-embedding transport cost as well as in exposing the Sinkhorn divergence value gradient as a practical LLM distillation objective. Appendix C Additional experimental settings C.1 Baselines GKD [1] employs the generalized Jensen-Shannon divergence with the distillation dataset and student-generated outputs. TAID [54] proposes an adaptive assistant distribution based on the reverse KL divergence. DistiLLM [35] uses a skew KL divergence [37] and a skew reverse KL divergence to address optimization instability. DistiLLM-2 [34] proposes a contrastive distillation framework motivated by direct preference optimization [49]. ABKD [61] employs α-β-divergence [12] to improve the balance of probability mass allocation. CSD [32] uses discrete score matching to align teacher-student relative logit differences, avoiding softmax-induced smoothing. AMiD [53] proposes a unified and generalized framework for assistant distributions and optimization in assistant-based distillation methods. C.2 Training and evaluation details All training experiments were conducted using a single NVIDIA RTX PRO 6000 GPU, while evaluation was performed on a single NVIDIA RTX 3090 GPU. Unless otherwise specified, the cost matrix for WASD was constructed using pairwise distances between the teacher model’s token embeddings. We primarily employed cosine distance as the transport cost metric, while L2 distance was used for task-specific distillation experiments. As mentioned in the main text, we adopted the nearest-k truncation strategy proposed by Na et al. [46] for efficient computation, storing only the costs corresponding to the k nearest neighbors and using sparse matrix multiplication. We set k=8k=8 for most experiments, except for Qwen2.5, where we used k=2k=2 to improve training efficiency. Unless otherwise specified in ablation studies, the entropy regularization hyperparameter was fixed to ϵ=0.001ε=0.001, and both Sinkhorn and fixed-point iterations were run for 10 steps. The learning rate followed the default settings of each codebase: 1×10−41× 10^-4 for GPT-2 and OpenLLaMA2 instruction-following experiments, 1×10−51× 10^-5 for Gemma, and 5×10−55× 10^-5 for Qwen. Inspired by the temperature scaling strategy used in CSD [32], we additionally applied temperature scaling to the student model during training to control output diversity, typically using a temperature of 2. Without this scaling, WASD often produces more diverse outputs than the baselines at the default decoding temperature, potentially reducing ROUGE-L scores. Adjusting the decoding temperature can improve the quality-diversity trade-off, as shown in Figs. 1(b) and 8. The GPT-2 and OpenLLaMA2 general instruction-following experiments were conducted based on the implementation of AMiD [53].11 1 https://github.com/aailab-kaist/AMiD This implementation largely follows the codebases of MiniLLM [24],22 2 https://github.com/microsoft/LMOps/blob/main/minillm DistiLLM [35],33 3 https://github.com/jongwooko/distillm and ABKD [61],44 4 https://github.com/ghwang-s/abkd and we adopted the baseline settings provided in these implementations. Each setup was trained for 20 epochs, with checkpoints saved after every epoch. Final results were obtained from the checkpoint achieving the best validation ROUGE-L score. Consistent with previous studies [32, 53], we evaluated each model using five evaluation seeds (10, 20, 30, 40, 50) and report the mean and standard deviation across these evaluations. For the GPT-4 feedback evaluation in Section 4.1, we followed prior distillation studies [24, 32, 35]: GPT-4 assigns a score from 1 to 10 to each model response and reference answer, and we report the total model-response score divided by the total reference-answer score, multiplied by 100. For Qwen2.5 instruction-following distillation, we used the DistiLLM-2 codebase and followed the setups of DistiLLM-2 and CSD [32, 34], distilling Qwen2.5-7B-Instruct into Qwen2.5-1.5B-Instruct. We evaluated on AlpacaEval [38], Evol-Instruct [66], and UltraFeedback [16] using GPT-4o-mini as the judge and report win rates against reference responses. For the controlled cost-matrix ablation in 5, we followed the GPT-2 XL (1.5B) to Base (0.1B) setup in Table 3, varying only the transport cost. The semantic cost uses cosine distances between teacher token embeddings, the permuted cost randomly reassigns token relations, and the uniform cost assigns a constant transport cost. These results are averaged over three training seeds, distinct from the evaluation seeds used above. The Gemma-based task-specific distillation experiments followed the setup of Xu et al. [67].55 5 https://github.com/google-research/google-research/tree/master/speculative_kd Teacher supervised fine-tuning was conducted on the full datasets for 3 epochs for summarization and arithmetic reasoning and 10 epochs for translation. Validation was performed every 16 optimization steps, and the model checkpoint achieving the best validation performance was selected. Across all teacher training experiments, we used a batch size of 128 and a learning rate of 1×10−51× 10^-5. For KD, all baseline methods and our approach used the same checkpoint and were trained using approximately 1K samples per task. Summarization and arithmetic reasoning were distilled for 3 epochs, whereas translation was distilled for 10 epochs. Checkpoints were saved every 25 steps, and evaluation was performed using the checkpoint with the best validation loss. The code generation experiments with Qwen2.5 followed the experimental setup of DistiLLM-2 [34].66 6 https://github.com/jongwooko/distillm-2 All methods were trained for one epoch using a fixed batch size of 32. Appendix D Additional experimental results Figure 5: Loss contours of various divergences on the probability simplex for a toy next-token prediction task with different teacher distributions, extending the visualization in Fig. 1(a). Figure 6: Loss contours of Sinkhorn divergence on the probability simplex under different entropy regularization hyperparameters ϵε, where the value of ϵε is indicated in parentheses in each subplot title. Figure 7: Quality-diversity trade-off (ROUGE-L vs. Self-BLEU) on five instruction-following benchmarks for GPT-2 (1.5B → 0.1B), varying the decoding temperature, using the models reported in Table 3. Figure 8: Sensitivity analysis of the neighborhood size k for GPT-2-1.5B → GPT-2-0.1B. We report ROUGE-L across five instruction-following benchmarks over three training seeds. Table 9: Ablation study of WASD on five general instruction-following benchmarks for GPT-2 XL (1.5B) → GPT-2 Base (0.1B) under the same experimental setup as Table 2. Method Avg. ROUGE-L (↑ ) GPT-2 XL (Teacher) 23.35 CSD [32] 21.46 WASD Default settings 22.47 Cost change (cos → L2) 22.45 Increased truncation k (8 → 16) 22.45 Loss contours of divergence variants Figure 5 presents an extended version of Fig. 1(a), visualizing loss contours on the probability simplex for a toy next-token prediction task under various divergence formulations. Across all divergences except Sinkhorn divergence, the loss landscape is primarily determined by probability assignments to vocabulary indices rather than token semantic information. Consequently, semantically similar tokens such as sofa and couch are treated as entirely distinct categories. As the teacher distribution changes, the loss contours shift according to assigned probability values instead of reflecting token semantics. This behavior consistently appears across all divergence formulations except Sinkhorn divergence. Effect of entropy regularization in Sinkhorn divergence Figure 6 visualizes the loss contours of the Sinkhorn divergence on the probability simplex under different entropy regularization hyperparameters ϵε. As ϵε increases, the landscape becomes progressively flatter, indicating that the transport kernel becomes less sensitive to semantic differences between tokens. This behavior aligns with the performance trend observed in Fig. 5(b) of the main manuscript, where excessively large entropy regularization leads to degraded performance. Quality-diversity trade-off with recent baselines Figure 8 illustrates the quality-diversity trade-off obtained by varying the decoding temperature on five instruction-following benchmarks, using the models reported in Table 3. WASD consistently forms a favorable frontier compared to existing baselines, achieving higher ROUGE-L scores across different diversity regimes. These results suggest that the semantic-aware transport objective of WASD enables the model to preserve generation quality even under decoding settings that encourage more diverse outputs. Sensitivity analysis of the neighborhood size k Following WPR [46], k denotes the number of retained non-self nearest neighbors. Then, the graph is symmetrized and augmented with zero-cost self-loops, so its effective degree may exceed k. We conduct a sensitivity analysis over k∈2,4,8,16,32,64k∈\2,4,8,16,32,64\ for GPT-2 1.5B-to-0.1B distillation using three training seeds, under the same experimental setup as Table 3. As shown in Figure 8, performance does not improve monotonically with k: the highest mean ROUGE-L is achieved at k=8k=8, while smaller neighborhoods remain competitive. Larger neighborhoods provide no consistent improvement, suggesting that including more distant token relations is not necessarily beneficial for distillation. These results support the use of small neighborhoods for efficient distillation while retaining cross-token semantic transport beyond the index-wise matching of KL divergence. Ablation study on WASD Table 9 presents an ablation study on several design choices of WASD. Replacing cosine distance with L2 distance as the transport cost yields comparable performance while still consistently outperforming the strongest baseline, CSD. Similarly, increasing the truncation parameter from k=8k=8 to k=16k=16 produces nearly identical results, suggesting that sparse transport with a relatively small number of nearest neighbors is sufficient for effective distillation. Table 10: Repeated task-specific distillation experiments under the same settings as Section 4.2. Results are reported as mean ± standard deviation over three training seeds. Translation Summarization Arithmetic Method COMET (↑ ) ROUGE-L (↑ ) Accuracy (↑ ) CSD [32] 73.70 ± 0.08 34.75 ± 0.30 23.38 ± 0.57 AMiD [53] 73.78 ± 0.14 34.65 ± 0.39 24.31 ± 0.96 WASD (ours) 74.40 ± 0.31 34.96 ± 0.18 24.62 ± 0.25 Table 11: Cross-family distillation from Qwen1.5-1.8B to GPT-2-0.1B within the DSKDv2 framework [69]. We report ROUGE-L with greedy decoding after three training epochs. Method Dolly Eval Self Inst Vicuna Super NI UnNI Average DSKDv2 (FKL) 23.58 12.11 14.26 26.64 25.76 20.47 + WASD-S 24.68 12.55 16.09 25.09 26.34 20.95 + WASD-S+T 24.80 12.74 16.33 26.32 26.39 21.31 Table 12: Diversity and semantic coherence on Dolly Eval at different decoding temperatures. Distinct-2 Semantic coherence (↑ ) Temperature T AMiD WASD AMiD WASD 0.7 0.262 0.270 0.879 0.890 1.0 0.309 0.312 0.850 0.866 1.3 0.357 0.359 0.823 0.844 1.5 0.390 0.388 0.807 0.827 Table 13: Top next-token probabilities at a shared DialogSum context with the prefix “Sarah is upset because she couldn’t”. Model Top next tokens and probabilities Teacher speak (0.19), express (0.19), share (0.19), get (0.19), voice (0.03) WASD get (0.36), express (0.25), convince (0.16), share (0.07), finish (0.03) AMiD get (0.63), express (0.15), convince (0.14), share (0.02), make (0.01) Repeated training results We repeat the translation, summarization, and arithmetic reasoning experiments in Section 4.2 with three training seeds to examine robustness to training variation. As shown in Table 10, WASD achieves the highest mean performance on all three tasks. For translation, WASD improves over AMiD in all three seeds, with a statistically significant difference under a paired t-test (p=0.048p=0.048). Although the gains on the other tasks are small, the repeated-seed results show a consistent trend across the three task-specific settings. Cross-model-family distillation To examine applicability beyond a single model family, we integrate WASD into DSKD [68], a cross-family distillation framework for models with different vocabularies and tokenizers, using the updated DSKDv2 codebase [69]. DSKD uses cross-model projectors to express teacher and student predictions in each other’s output spaces, enabling distribution matching between models with different architectures and tokenizers. We instantiate the DSKDv2 baseline with forward KL (FKL) divergence, using Qwen1.5-1.8B [5] as the teacher and GPT-2-0.1B as the student. WASD-S replaces the FKL-based distribution-matching term only in the student output space, whereas WASD-S+T replaces the corresponding terms in both the student and teacher output spaces. All other components remain unchanged. In each space, WASD uses a transport cost matrix constructed from the corresponding token-embedding geometry. We use the Dolly split and evaluation benchmarks adopted by DSKD. As a controlled proof of concept, we train all compared methods for three epochs under identical optimization settings and evaluate using greedy decoding. As shown in Table 11, WASD-S improves average ROUGE-L from 20.47 to 20.95, while WASD-S+T further increases it to 21.31. WASD-S+T improves over the baseline on four of the five datasets and outperforms WASD-S on all five datasets. These results suggest that WASD can be extended to cross-family distillation through an existing cross-model projection and alignment framework. They also suggest that teacher and student vocabulary geometries provide complementary transport-based supervision. Semantic coherence and token-level analysis We examine coherence at the response level and probability allocation at the token level. For each Dolly evaluation prompt, we sample eight responses at decoding temperatures T∈0.7,1.0,1.3,1.5T∈\0.7,1.0,1.3,1.5\. We measure lexical diversity using Distinct-2 and semantic coherence using the mean pairwise cosine similarity between response embeddings from the external sentence encoder all-MiniLM-L6-v2 [51]. We compare WASD against AMiD under the same assistant-distribution framework in the GPT-2 1.5B-to-0.1B setting. As shown in Table 12, the two methods achieve nearly identical Distinct-2, while WASD achieves higher coherence at every temperature. The differences are statistically significant under paired Wilcoxon signed-rank tests (p<0.01p<0.01) and generally increase as sampling diversity grows. Therefore, at comparable lexical diversity, WASD produces varied responses that remain more semantically coherent according to this metric. At the token level, we inspect the learned next-token distributions at a shared DialogSum [10] context where the teacher supports several plausible continuations. Table 13 shows the top next-token probabilities given the prefix “Sarah is upset because she couldn’t”. Although both students greedily select get, WASD assigns more probability to the teacher-supported alternatives express and share, whereas AMiD concentrates more probability on get. This example illustrates that WASD can retain a broader set of semantically related continuations supported by the teacher. Appendix E Limitations The proposed method introduces additional computational overhead compared to standard divergence-based distillation objectives due to the Sinkhorn iterations required for solving the entropy-regularized optimal transport problem. In our experiments, WASD requires approximately twice the training time than conventional baselines and increases training GPU memory usage by approximately 20%. Although the proposed formulation remains practically feasible for large-scale LLM distillation, improving the efficiency of Sinkhorn-based optimization remains an important direction for future work. In particular, incorporating recent advances in fast or memory-efficient Sinkhorn algorithms may further improve the practicality of semantic-aware distillation. Another limitation is the construction of the transport cost matrix. In this work, we use distances derived from the teacher model’s token embedding space as a generic measure of semantic similarity. While this simple design already provides consistent improvements, it may not fully capture task-specific or domain-specific token information. Designing more expressive or adaptive cost matrices is a promising direction for future research. Appendix F Broader impacts This work aims to improve the efficiency of large language models through knowledge distillation, which may help reduce the computational and energy costs associated with deploying increasingly large models. More efficient distillation can improve accessibility of LLM technologies in resource-constrained environments and lower the environmental impact of inference. At the same time, advances in LLM distillation may also contribute to the wider deployment of powerful language models, which can amplify existing societal risks associated with LLMs, including misinformation generation, biased outputs, harmful content generation, and misuse in automated systems. Since the proposed method improves the ability of smaller models to imitate stronger teacher models, these risks may become more accessible at lower computational cost. Therefore, we encourage future research on responsible deployment, safety alignment, and monitoring mechanisms alongside advances in efficient LLM compression. NeurIPS Paper Checklist 1. Claims Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? Answer: [Yes] Justification: The abstract and introduction clearly describe the main contribution of the paper. Guidelines: • The answer [N/A] means that the abstract and introduction do not include the claims made in the paper. • The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers. • The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings. • It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper. 2. Limitations Question: Does the paper discuss the limitations of the work performed by the authors? Answer: [Yes] Justification: Limitations such as computational overhead from Sinkhorn iterations have been discussed in Section 4 and Appendix E. Guidelines: • The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper. • The authors are encouraged to create a separate “Limitations” section in their paper. • The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be. • The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated. • The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon. • The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size. • If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness. • While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations. 3. Theory assumptions and proofs Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof? Answer: [Yes] Justification: The paper provides formal statements and proofs for the main theoretical results in Section 3, with detailed derivations in Appendix A. Guidelines: • The answer [N/A] means that the paper does not include theoretical results. • All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced. • All assumptions should be clearly stated or referenced in the statement of any theorems. • The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition. • Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material. • Theorems and Lemmas that the proof relies upon should be properly referenced. 4. Experimental result reproducibility Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)? Answer: [Yes] Justification: The experimental settings, baselines, evaluation metrics, and protocols are described in Section 4 and Appendix C. Guidelines: • The answer [N/A] means that the paper does not include experiments. • If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not. • If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable. • Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general. releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed. • While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example (a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm. (b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully. (c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset). (d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results. 5. Open access to data and code Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material? Answer: [Yes] Justification: The paper indicates that the implementation is publicly available and provides sufficient experimental details in Appendix C. All datasets and pretrained models used in the experiments are publicly available and appropriately cited. Guidelines: • The answer [N/A] means that paper does not include experiments requiring code. • Please see the NeurIPS code and data submission guidelines (https://neurips.c/public/guides/CodeSubmissionPolicy) for more details. • While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark). • The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.c/public/guides/CodeSubmissionPolicy) for more details. • The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc. • The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why. • At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable). • Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted. 6. Experimental setting/details Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results? Answer: [Yes] Justification: All experimental setups, hyperparameters, datasets, and evaluation metrics are detailed in Section 4 and Appendix C. Guidelines: • The answer [N/A] means that the paper does not include experiments. • The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them. • The full details can be provided either with the code, in appendix, or as supplemental material. 7. Experiment statistical significance Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments? Answer: [Yes] Justification: Experimental results are reported with standard deviations across five evaluation seeds in Tables 2 and 3. Guidelines: • The answer [N/A] means that the paper does not include experiments. • The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper. • The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions). • The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.) • The assumptions made should be given (e.g., Normally distributed errors). • It should be clear whether the error bar is the standard deviation or the standard error of the mean. • It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified. • For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates). • If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text. 8. Experiments compute resources Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments? Answer: [Yes] Justification: Details about computational resources are provided in Appendix C. Guidelines: • The answer [N/A] means that the paper does not include experiments. • The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage. • The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute. • The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper). 9. Code of ethics Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.c/public/EthicsGuidelines? Answer: [Yes] Justification: The research complies with the NeurIPS Code of Ethics. Guidelines: • The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics. • If the authors answer [No] , they should explain the special circumstances that require a deviation from the Code of Ethics. • The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction). 10. Broader impacts Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed? Answer: [Yes] Justification: Potential societal impacts are discussed in Appendix F. Guidelines: • The answer [N/A] means that there is no societal impact of the work performed. • If the authors answer [N/A] or [No] , they should explain why their work has no societal impact or why the paper does not address societal impact. • Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations. • The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster. • The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology. • If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML). 11. Safeguards Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)? Answer: [N/A] Justification: The paper does not release new large-scale pretrained models or datasets that pose significant misuse risks. Guidelines: • The answer [N/A] means that the paper poses no such risks. • Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters. • Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images. • We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort. 12. Licenses for existing assets Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected? Answer: [Yes] Justification: We cite the code and datasets in Section 4 and the appendix. Guidelines: • The answer [N/A] means that the paper does not use existing assets. • The authors should cite the original paper that produced the code package or dataset. • The authors should state which version of the asset is used and, if possible, include a URL. • The name of the license (e.g., C-BY 4.0) should be included for each asset. • For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided. • If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset. • For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided. • If this information is not available online, the authors are encouraged to reach out to the asset’s creators. 13. New assets Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets? Answer: [Yes] Justification: The code is publicly available at https://github.com/aailab-kaist/WASD. Guidelines: • The answer [N/A] means that the paper does not release new assets. • Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc. • The paper should discuss whether and how consent was obtained from people whose asset is used. • At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file. 14. Crowdsourcing and research with human subjects Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)? Answer: [N/A] Justification: The paper does not involve crowdsourcing or experiments with human participants. Guidelines: • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects. • Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper. • According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector. 15. Institutional review board (IRB) approvals or equivalent for research with human subjects Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained? Answer: [N/A] Justification: The paper does not involve human subjects research requiring IRB approval. Guidelines: • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects. • Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper. • We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution. • For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review. 16. Declaration of LLM usage Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required. Answer: [Yes] Justification: We use GPT-4 and GPT-4o-mini as LLM judges to evaluate generated responses. The evaluation protocols and results are described in Sections 4.1 and C.2. Guidelines: • The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components. • Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.