Manuscript Offprint
arXiv:2610.35218MuSID-KD: Multigranularity Knowledge Distillation for Generative Recommendation with Semantic IDs
Abstract
Generative recommendation with semantic IDs (SIDs) represents each item as a sequence of discrete tokens and autoregressively predicts the next item's SID. Despite strong recommendation performance, repeated decoding over multiple SID positions incurs substantial inference cost. Knowledge distillation transfers knowledge from a powerful generative teacher to a lightweight student, yet conventional objectives do not fully account for multi-token SID generation. We identify two limitations: item-level distribution alignment may not adequately preserve the teacher's ranking of candidate groups sharing SID prefixes, while uniform alignment across SID positions may affect final item ranking differently. We propose MuSID-KD, which combines Hierarchical Candidate Distribution Alignment (HCDA) and Ranking Impact Guided Levelwise Distillation (RIGD). HCDA aggregates item probabilities according to shared SID prefixes and aligns candidate distributions at successive levels, from candidate groups to individual items. RIGD evaluates the reduction in pairwise ranking surrogate loss when one student score contribution is replaced with the teacher's contribution, and allocates supervision accordingly. Experiments on real-world recommendation datasets using three lightweight student architectures demonstrate improved recommendation accuracy and better alignment of prefix marginal distributions and pairwise item rankings, without modifying the student's online inference architecture. Code is available at https://anonymous.4open.science/r/m7k2-review-83f9/.
Keywords
Generative recommendation, semantic IDs, knowledge distillation, candidate distributions, ranking alignment
Relevance to the Web. Personalized Web recommendation requires both high ranking quality and efficient serving across large item catalogs. MuSID-KD addresses this quality and efficiency trade-off through knowledge transfer during training while preserving lightweight SID generation at inference.
Xiyan Ding
East China Normal University
Shanghai, China
Wei Zhang
East China Normal University
Shanghai, China
semantic IDs (SIDs) instead represents each item as a sequence of discrete tokens and predicts the next item's SID from user interactions [10, 19]. Shared SID prefixes organize items within a structured token space, and models such as TIGER have demonstrated the effectiveness of this paradigm [19].
Autoregressive SID generation nevertheless incurs serving costs: constrained beam search repeatedly expands candidate prefixes and evaluates next token distributions. Knowledge distillation (KD) transfers predictions from a strong teacher to a compact student to reduce this burden [6, 23]. For example, SID-MLP replaces costly Transformer decoding with lightweight, prefix-conditioned prediction heads while preserving dependencies on the user context and previously generated SID tokens [4]. Recently, SID-specific distillation methods such as SmartGR have further exploited SID hierarchy and ranking information [30]. However, existing methods still leave two supervision gaps in multi-token SID generation:
• Insufficient supervision of candidate distributions across SID granularities. Items with a common SID prefix cannot be distinguished until later tokens are generated. At SID position d, we call candidate items sharing their first d SID tokens a candidate group. Shorter prefixes form coarser groups, while a full SID identifies an individual item. In Figure 1(a), Minecraft and Mario Kart 8 belong to the group sharing the prefix (113, 242). Thus, the teacher's distribution over candidate items also induces coarser prefix marginal distributions over candidate groups.
Item distribution alignment matches the teacher's distribution over candidate items, so candidate group rankings receive only indirect supervision. When student capacity is limited, approximate alignment of item probabilities does not ensure that rankings of the corresponding groups are preserved. In our diagnosis, a student using only candidate item distribution alignment for distillation disagrees with the teacher's group ordering in 53.8% of evaluated comparisons on average across datasets and intermediate SID positions (Figure 2). Figure 1(a) illustrates a case where the student ranks group 77 above the teacher's preferred group 242. This motivates explicit alignment of candidate group distributions as well as individual item distributions.
• Uniform supervision across SID positions. An item score sums conditional token log probabilities across SID positions. Thus, the gap between two item scores sums the contributions from individual positions. Conventional token distribution distillation supervises predictions at each
Corresponding author.
(a) Group ranking mismatch
Example: Video Games

Group ranking at Token 2
| Teacher | 242 | > | 140 | > | 35 | > | 77 |
|---|---|---|---|---|---|---|---|
| Student | 77 | > | 242 | > | 140 | > | 35 |
(b) Position-dependent alignment effects
Item score gap

Teacher: +0.020
Student: -0.059
↓ Decompose
Token score gaps

Figure 1: Two supervision problems in distillation with SIDs, illustrated by teacher and student predictions. (a) Teacher and student may rank candidate groups formed by shared SID prefixes differently. (b) For a fixed item pair, differences between teacher and student pairwise score contributions may have opposite signs across SID positions.
SID position but does not consider whether matching the teacher there improves the final pairwise ranking. We find that 69.6%–71.7% of evaluated item pairs exhibit score residuals with opposite signs across SID positions (Figure 3). In Figure 1(b), the student's contribution at the first position favors the teacher-preferred item (+0.090), whereas the teacher's contribution at that position favors the other item (-0.074). At the second and third positions, the teacher favors the preferred item, while the student favors the other item. Uniformly pulling all levels toward the teacher can reduce an already favorable contribution while improving the others.
Motivated by these findings, we propose MuSID-KD, a distillation framework tailored to multi-token SID generation. Its Hierarchical Candidate Distribution Alignment (HCDA) objective aggregates candidate item probabilities under each shared SID prefix and aligns the resulting prefix marginal distributions at all SID positions. Its Ranking Impact Guided Levelwise Distillation (RIGD) objective measures how replacement at one SID position changes the pairwise ranking surrogate loss; only positions with positive replacement gain receive nonzero weight. Both objectives operate during offline training and leave the student model and its online decoding unchanged.
The main contributions of this work are summarized as follows:
-
We identify two key limitations of existing SID distillation: insufficient supervision of candidate group rankings at intermediate SID positions and uniform teacher matching despite its different effects on final item rankings.
-
We propose MuSID-KD, combining HCDA to align candidate distributions at multiple SID granularities and RIGD to allocate supervision according to the ranking benefit of matching the teacher at each SID position.
-
Extensive experiments on four real-world datasets with three lightweight student architectures demonstrate improved recommendation accuracy and knowledge transfer, supported by ablation studies, ranking diagnostics, and efficiency analysis.
2 Related Work
2.1 Generative Recommendation with Semantic IDs
Generative recommendation casts next item prediction as sequence generation. TIGER uses residual quantization to assign semantic token sequences to items and generates SIDs autoregressively [15, 19]. Other work studies learned tokenization, SID representation, and efficient generation [8, 25]. Unlike recommendation based on atomic IDs, SID models expose multiple token positions and shared prefixes, offering a natural basis for candidate group analysis. Repeated decoding and beam search nevertheless impose online inference costs [4].
2.2 Knowledge Distillation for Recommendation
Knowledge distillation compresses a teacher's predictive behavior into a smaller model [6]. Recommendation specific approaches transfer rankings, preference distributions, or relationships between items. Ranking Distillation (RD) uses ranked teacher outputs [23]; Relaxed Ranking Distillation (RRD) and related methods refine sampled supervision [11]; RCE-KD studies ranking oriented cross entropy objectives [32]. In generative modeling, sequence distillation and on policy distribution matching transfer autoregressive behavior [1, 13, 14]. These objectives are informative baselines but do not directly supervise candidate groups at all SID levels or model each level's influence on item comparisons.
2.3 Distillation for SID Generation
Recently, knowledge distillation has begun to be applied to SID-based generative recommendation to reduce its online inference cost. SID-MLP [4] retains the teacher model's history encoding capability and replaces the complex Transformer decoder with a lightweight prefix-conditioned MLP prediction network, reducing repeated computation during generation and thus lowering inference overhead. SmartGR [30] further exploits overlapping SID prefixes for hierarchy-aware token distribution distillation and incorporates cumulative prefix-score relationships among beam-search candidates into student training.
Overall, existing methods leverage SID hierarchy and ranking information but still focus on conditional predictions and prefix rankings. They do not directly align candidate distributions across SID granularities or distinguish how individual SID positions affect final item rankings. MuSID-KD addresses both limitations with structured distillation objectives for multi-token SIDs.
3 Preliminaries
3.1 Generative Recommendation with SIDs
Given the interaction history of user u, each catalog item i is mapped to a unique SID of length L,
where is the token at level and denotes the prefix containing the first tokens. Model , with and denoting the teacher and student, predicts the conditional token probability . The item score is the sum of conditional token log probabilities along its SID sequence:
Items are ranked by this score and the top K items are returned. We omit the explicit conditioning on u when unambiguous.
3.2 Distillation Setting
We distill a pretrained SID teacher into a lightweight student using the same fixed item to SID mapping and valid SID constraints. The teacher remains fixed; only the student is updated. For each training pair with observed next item , the student receives ground truth next item supervision:
The teacher generates at most M distinct valid candidate items,
We cache the teacher’s candidate item scores and conditional token log probabilities. The student recomputes SID sequence scores on the same candidate set, allowing the two models to induce different scores, rankings, and candidate distributions. Here M is the maximum number of teacher candidate items; K is the recommendation cutoff with . Distillation is applied only offline.
Candidate Group Misordering under Item Distribution Alignment

Figure 2: Candidate group misordering rates at intermediate SID positions when distillation aligns only candidate item probabilities. For each comparison, four groups share their preceding prefix and differ at the current token. A comparison is incorrect when the student reverses any strictly teacher ordered group pair or predicts a tie.
4 Analyzing Supervision in SID Distillation
We first assess whether aligning the candidate item distribution preserves rankings among groups sharing SID prefixes. We then examine how matching the teacher at individual SID positions affects item ranking.
4.1 Limits of Item Distribution Alignment
For model m, normalizing item scores over the common teacher candidate set defines a temperature scaled candidate distribution
where . At SID position , items belong to the same candidate group when their first SID tokens match. For a length prefix , its probability mass is the sum of all candidate item probabilities within that group:
The candidate group in Figure 1(a) sharing prefix (113, 242) aggregates the probabilities assigned to Minecraft and Mario Kart 8. Short prefixes yield coarse groups that split as increases. When , a unique complete SID identifies an item, so coincides with the item distribution.
Exact matching of the candidate item distribution also matches every prefix marginal distribution. In practice, limited student capacity yields only approximate alignment, so group orderings can still differ. To quantify this issue, we train a student with ground truth supervision and a distillation loss that aligns only the candidate item distribution. At each intermediate SID position, we form four valid competing groups sharing the preceding prefix and assess their ranking against the teacher. Figure 2 shows an aver-

Figure 3: Proportion of item pairs ordered by the teacher whose residual is positive at some SID positions and negative at others, measured for pairs crossing the top recommendation boundary.
age misordering rate of 53.8% across the evaluated datasets and intermediate levels.
Observation 1. Optimizing only the final candidate item distribution does not ensure that a compact student preserves the teacher's candidate group rankings at intermediate SID positions.
Explicit supervision of these distributions is therefore warranted.
4.2 Different Effects of Teacher Supervision Across SID Positions
For an item pair ordered by the teacher, define the pairwise score contribution at SID position as the difference between the items' conditional token log probabilities:
The pairwise score gap is
If , model ranks item above item . To characterize the direction of matching the teacher at position , define the score residual
A positive means that matching the teacher at position increases the pairwise score gap favoring . A negative means that the same operation decreases the gap. Thus, opposite signs across levels signal different effects on the teacher preferred pair order.
We evaluate pairs spanning the teacher's top cutoff and count those with both positive and negative score residuals across SID positions. As Figure 3 shows, this applies to 69.6%–71.7% of the evaluated pairs.
Observation 2. Matching the teacher at different SID positions can affect the same final pairwise comparison in opposite directions.
Distillation should therefore assess the effect of each position's score correction rather than supervising all positions uniformly.
5 MuSID-KD
5.1 Framework Overview
Figure 4 presents MuSID-KD. The teacher and student score the same cached candidate set. HCDA aligns the candidate item distribution and prefix marginal distributions; RIGD weights score alignment at each SID position according to the reduction in pairwise ranking loss. Both operate only during training.
5.2 Hierarchical Candidate Distribution Alignment
Observation 1 motivates supervision over the complete hierarchy of candidate group distributions. We first compute the teacher and student item probabilities in Eq. (4). Next, at each SID position , we aggregate probabilities of candidate items sharing the same length prefix according to Eq. (5). This gives coherent distributions from coarse candidate groups to individual items. We align them with
Here is Kullback Leibler divergence. We weight the alignment loss at each SID position equally. Earlier terms align coarse candidate group probability masses; the final term aligns the candidate item distribution. HCDA thus makes the candidate group information that is implicit in item probabilities an explicit training target.
5.3 Ranking Impact Guided Levelwise Distillation
Observation 2 motivates deciding whether and how strongly to match the teacher's score contribution at each SID position. RIGD considers pairs crossing the teacher's recommendation cutoff. Let be the teacher's rank. Define
For each pair, we begin at the first SID position where their tokens differ. Their identical preceding tokens and prefixes have identical conditional probabilities and cannot contribute to the score gap. Let
Only these positions are eligible for RIGD supervision. The final position disambiguates item identity and is excluded from the RIGD loss, but its contribution remains in the pairwise score gap . Pairs that first diverge at the final level have no eligible position.
To measure the effect of matching the teacher at position , we keep the other student score contributions fixed and replace only the contribution at with the teacher's value:
We call this replacement at a single SID position. For teacher order , the margin based Softplus surrogate is

Figure 4: Overview of MuSID-KD. HCDA aligns distributions over candidate groups induced by shared SID prefixes, culminating in the candidate item distribution. RIGD estimates the reduction in pairwise ranking loss when replacing each student score contribution with the teacher's value and uses positive reductions to weight Huber alignment. Both components are absent during online inference.
where is the ranking margin. A larger gap in the teacher preferred direction yields a lower surrogate loss. We define the nonnegative replacement gain as
where . This replacement gain is positive only when matching the teacher at position reduces the pairwise ranking surrogate loss. We normalize the positive replacement gains within each pair:
The floor prevents division by zero; stopgrad blocks gradients through the weights. Positions with zero replacement gain receive zero weight; among the remaining positions, larger gains yield larger weights.
Let contain the training pairs with nonempty . RIGD minimizes weighted differences between teacher and student pairwise score contributions:
(16)
where is the Huber loss and is the standard deviation of teacher pairwise score contributions at position d, computed from training item pairs. This normalizes score scales across positions. An empty valid set gives zero loss. Replacement at one SID position and the Softplus surrogate are used only to compute the weights; the actual optimization aligns the original contributions with the Huber loss in Eq. (16).
5.4 Training and Inference
The complete student training objective combines observed next item prediction with the two structured distillation losses:
Both and control the strengths of their corresponding losses. Candidate group aggregation, replacement, and weight computation occur only during offline distillation. Online serving uses the student history encoder, prefix-conditioned token heads, and constrained SID beam search, without additional inference modules.
6 Experiments
We address four questions: RQ1: Does MuSID-KD improve recommendation quality over existing KD methods? RQ2: How do HCDA, RIGD, and their design choices affect performance? RQ3: Do the objectives improve candidate group alignment and item ranking knowledge transfer? RQ4: What training overhead and inference costs result from MuSID-KD?
6.1 Experimental Settings
Datasets and evaluation. Our main experiments use Amazon Beauty, Toys, and Video Games, supplemented by Steam-100K. Beauty and Toys use Amazon Reviews 2014 [18], while Video Games uses Amazon Reviews 2023 [7]. We sort interactions chronologically and use leave-one-out evaluation for next item prediction; each request includes up to 20 preceding interactions. All Amazon and Steam-100K experiments are conducted with three independent random seeds (42, 43, and 44). We report the mean performance across the three runs. All methods follow the same data splits and evaluation protocol, including identical item mappings, SID assignments, and valid SID constraints. Recall@5/10 and normalized discounted cumulative gain (NDCG)@5/10 measure performance against held
Table 1: Amazon results (0–1 scale; mean over seeds 42–44). R@K/N@K denote Recall@K/NDCG@K. Gain vs. Base and Gain vs. best are relative percentage improvements over SID-MLP (Base KD) and the strongest other student, respectively, computed from the displayed means; TIGER is a teacher reference and excluded from student comparisons. SD is the standard deviation of MuSID-KD over three seeds. Bold/light-red denote the best student; gray denotes the strongest other student (including ties). VG is Video Games.
| Category | Method | MLP | GRU | CNN | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| R@5 | N@5 | R@10 | N@10 | R@5 | N@5 | R@10 | N@10 | R@5 | N@5 | R@10 | N@10 | ||
| Beauty | |||||||||||||
| Teacher reference | TIGER (Teacher) | 0.0428 | 0.0283 | 0.0677 | 0.0363 | 0.0428 | 0.0283 | 0.0677 | 0.0363 | 0.0428 | 0.0283 | 0.0677 | 0.0363 |
| Traditional Recommendation KD | RD | 0.0423 | 0.0274 | 0.0656 | 0.0350 | 0.0433 | 0.0284 | 0.0671 | 0.0362 | 0.0418 | 0.0274 | 0.0647 | 0.0348 |
| RRD | 0.0431 | 0.0285 | 0.0658 | 0.0354 | 0.0422 | 0.0275 | 0.0663 | 0.0354 | 0.0420 | 0.0281 | 0.0649 | 0.0352 | |
| RCE-KD | 0.0433 | 0.0280 | 0.0664 | 0.0361 | 0.0431 | 0.0279 | 0.0669 | 0.0356 | 0.0408 | 0.0276 | 0.0651 | 0.0354 | |
| General AR / LLM KD | GKD | 0.0427 | 0.0276 | 0.0666 | 0.0359 | 0.0406 | 0.0273 | 0.0644 | 0.0350 | 0.0388 | 0.0259 | 0.0590 | 0.0323 |
| DistiLLM-2 | 0.0425 | 0.0287 | 0.0662 | 0.0363 | 0.0419 | 0.0277 | 0.0659 | 0.0352 | 0.0370 | 0.0251 | 0.0574 | 0.0314 | |
| SID-MLP (Base KD) | 0.0429 | 0.0282 | 0.0660 | 0.0356 | 0.0416 | 0.0281 | 0.0656 | 0.0358 | 0.0380 | 0.0254 | 0.0580 | 0.0319 | |
| SID-based generative recommendation KD | SmartGR | 0.0435 | 0.0278 | 0.0668 | 0.0356 | 0.0426 | 0.0286 | 0.0667 | 0.0360 | 0.0373 | 0.0249 | 0.0594 | 0.0321 |
| MuSID-KD | 0.0442 | 0.0292 | 0.0679 | 0.0369 | 0.0441 | 0.0291 | 0.0682 | 0.0368 | 0.0437 | 0.0288 | 0.0686 | 0.0368 | |
| Gain vs. best (%) | +1.61% | +1.74% | +1.65% | +1.65% | +1.85% | +1.75% | +1.64% | +1.66% | +4.05% | +2.49% | +5.38% | +3.95% | |
| Gain vs. Base (%) | +3.03% | +3.55% | +2.88% | +3.65% | +6.01% | +3.56% | +3.96% | +2.79% | +15.00% | +13.39% | +18.28% | +15.36% | |
| SD | 0.00011 | 0.00011 | 0.00025 | 0.00022 | 0.00017 | 0.00011 | 0.00045 | 0.00017 | 0.00020 | 0.00011 | 0.00034 | 0.00011 | |
| Toys | |||||||||||||
| Teacher reference | TIGER (Teacher) | 0.0405 | 0.0254 | 0.0648 | 0.0332 | 0.0405 | 0.0254 | 0.0648 | 0.0332 | 0.0405 | 0.0254 | 0.0648 | 0.0332 |
| Traditional Recommendation KD | RD | 0.0379 | 0.0233 | 0.0615 | 0.0309 | 0.0376 | 0.0242 | 0.0615 | 0.0319 | 0.0380 | 0.0241 | 0.0603 | 0.0312 |
| RRD | 0.0397 | 0.0246 | 0.0624 | 0.0319 | 0.0378 | 0.0244 | 0.0622 | 0.0323 | 0.0378 | 0.0239 | 0.0585 | 0.0306 | |
| RCE-KD | 0.0388 | 0.0244 | 0.0631 | 0.0324 | 0.0374 | 0.0246 | 0.0620 | 0.0325 | 0.0365 | 0.0233 | 0.0587 | 0.0302 | |
| General AR / LLM KD | GKD | 0.0372 | 0.0237 | 0.0628 | 0.0317 | 0.0382 | 0.0240 | 0.0612 | 0.0317 | 0.0337 | 0.0217 | 0.0544 | 0.0282 |
| DistiLLM-2 | 0.0376 | 0.0239 | 0.0613 | 0.0313 | 0.0372 | 0.0236 | 0.0579 | 0.0303 | 0.0324 | 0.0208 | 0.0529 | 0.0270 | |
| SID-MLP (Base KD) | 0.0374 | 0.0235 | 0.0626 | 0.0315 | 0.0367 | 0.0233 | 0.0565 | 0.0296 | 0.0328 | 0.0210 | 0.0533 | 0.0276 | |
| SID-based generative recommendation KD | SmartGR | 0.0381 | 0.0241 | 0.0622 | 0.0321 | 0.0380 | 0.0238 | 0.0604 | 0.0315 | 0.0330 | 0.0206 | 0.0519 | 0.0267 |
| MuSID-KD | 0.0408 | 0.0254 | 0.0644 | 0.0330 | 0.0388 | 0.0250 | 0.0650 | 0.0334 | 0.0398 | 0.0250 | 0.0639 | 0.0328 | |
| Gain vs. best (%) | +2.77% | +3.25% | +2.06% | +1.85% | +1.57% | +1.63% | +4.50% | +2.77% | +4.74% | +3.73% | +5.97% | +5.13% | |
| Gain vs. Base (%) | +9.09% | +8.09% | +2.88% | +4.76% | +5.72% | +7.30% | +15.04% | +12.84% | +21.34% | +19.05% | +19.89% | +18.84% | |
| SD | 0.00028 | 0.00011 | 0.00039 | 0.00008 | 0.00011 | 0.00008 | 0.00022 | 0.00017 | 0.00022 | 0.00008 | 0.00022 | 0.00014 | |
| VG | |||||||||||||
| Teacher reference | TIGER (Teacher) | 0.0612 | 0.0403 | 0.0951 | 0.0512 | 0.0612 | 0.0403 | 0.0951 | 0.0512 | 0.0612 | 0.0403 | 0.0951 | 0.0512 |
| Traditional Recommendation KD | RD | 0.0575 | 0.0372 | 0.0926 | 0.0484 | 0.0589 | 0.0381 | 0.0933 | 0.0493 | 0.0580 | 0.0374 | 0.0921 | 0.0483 |
| RRD | 0.0582 | 0.0390 | 0.0918 | 0.0495 | 0.0594 | 0.0387 | 0.0893 | 0.0490 | 0.0591 | 0.0390 | 0.0884 | 0.0485 | |
| RCE-KD | 0.0586 | 0.0388 | 0.0920 | 0.0497 | 0.0587 | 0.0394 | 0.0937 | 0.0504 | 0.0589 | 0.0388 | 0.0918 | 0.0494 | |
| General AR / LLM KD | GKD | 0.0590 | 0.0381 | 0.0928 | 0.0493 | 0.0598 | 0.0392 | 0.0931 | 0.0497 | 0.0570 | 0.0370 | 0.0897 | 0.0475 |
| DistiLLM-2 | 0.0592 | 0.0379 | 0.0924 | 0.0486 | 0.0596 | 0.0385 | 0.0939 | 0.0502 | 0.0587 | 0.0383 | 0.0915 | 0.0489 | |
| SID-MLP (Base KD) | 0.0588 | 0.0383 | 0.0922 | 0.0488 | 0.0591 | 0.0389 | 0.0935 | 0.0499 | 0.0553 | 0.0358 | 0.0870 | 0.0460 | |
| SID-based generative recommendation KD | SmartGR | 0.0584 | 0.0386 | 0.0930 | 0.0491 | 0.0585 | 0.0383 | 0.0929 | 0.0495 | 0.0550 | 0.0360 | 0.0872 | 0.0462 |
| MuSID-KD | 0.0601 | 0.0396 | 0.0944 | 0.0505 | 0.0607 | 0.0400 | 0.0954 | 0.0512 | 0.0605 | 0.0399 | 0.0944 | 0.0508 | |
| Gain vs. best (%) | +1.52% | +1.54% | +1.51% | +1.61% | +1.51% | +1.52% | +1.60% | +1.59% | +2.37% | +2.31% | +2.50% | +2.83% | |
| Gain vs. Base (%) | +2.21% | +3.39% | +2.39% | +3.48% | +2.71% | +2.83% | +2.03% | +2.61% | +9.40% | +11.45% | +8.51% | +10.43% | |
| SD | 0.00011 | 0.00014 | 0.00034 | 0.00011 | 0.00034 | 0.00017 | 0.00064 | 0.00025 | 0.00031 | 0.00025 | 0.00045 | 0.00031 | |
out interactions. NDCG@10 is the primary metric. MuSID-KD's Amazon metric standard deviations are in Table 1.
Teacher, students, and baselines. We use a fixed TIGER teacher and three lightweight student architectures: an attention readout (MLP), recurrent readout (GRU), and temporal convolution readout (CNN). Each student uses four prefix-conditioned prediction heads and shares the teacher's frozen history encoder, item token mapping, token embeddings, and valid SID constraints. All methods use constrained beam search with width 50. We compare conventional recommendation KD (RD, RRD, RCE-KD), general generative distillation (GKD, DistiLLM-2), and SID specific distillation (SID-MLP, SmartGR). We define Base KD as SID-MLP's token distribution KL combined with cross entropy at ground-truth prefixes. Importantly, Base KD is not the same as Leaf-only, which aligns teacher and student distributions over full candidate items. Other distillation methods are adapted to the same teacher, student architectures, and decoding protocol. Appendix B details the implementations.
Implementation. Each training request uses up to teacher candidate items. RIGD samples pairs with teacher ranks 1 through 10 versus 11 through 40 (, ). The learning rate is ; checkpoints are selected using validation NDCG@10, without consulting test performance. Training hyperparameters are specified in Appendix B.
6.2 Overall Recommendation Performance (RQ1)
Table 1 reports results for three student architectures on the three Amazon datasets. MuSID-KD achieves the highest mean among
Table 2: Amazon ablations (R@10 and N@10). HCDA-only and RIGD-only isolate each loss while retaining cross entropy. Bold: MuSID-KD; gray: strongest competing variant.
| Variant | Beauty | Toys | Video Games | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MLP | GRU | CNN | MLP | GRU | CNN | MLP | GRU | CNN | ||||||||||
| R | N | R | N | R | N | R | N | R | N | R | N | R | N | R | N | R | N | |
| CE-only | 0.0660 | 0.0359 | 0.0388 | 0.0215 | 0.0288 | 0.0161 | 0.0591 | 0.0303 | 0.0333 | 0.0189 | 0.0261 | 0.0140 | 0.0925 | 0.0492 | 0.0646 | 0.0342 | 0.0375 | 0.0196 |
| Base KD | 0.0660 | 0.0356 | 0.0656 | 0.0358 | 0.0580 | 0.0319 | 0.0626 | 0.0315 | 0.0565 | 0.0296 | 0.0533 | 0.0276 | 0.0922 | 0.0488 | 0.0935 | 0.0499 | 0.0870 | 0.0460 |
| HCDA-only | 0.0666 | 0.0361 | 0.0666 | 0.0361 | 0.0609 | 0.0335 | 0.0631 | 0.0321 | 0.0594 | 0.0309 | 0.0565 | 0.0291 | 0.0929 | 0.0493 | 0.0939 | 0.0503 | 0.0895 | 0.0477 |
| RIGD-only | 0.0667 | 0.0360 | 0.0667 | 0.0362 | 0.0617 | 0.0336 | 0.0632 | 0.0320 | 0.0596 | 0.0308 | 0.0573 | 0.0296 | 0.0928 | 0.0495 | 0.0939 | 0.0504 | 0.0894 | 0.0476 |
| Leaf-only | 0.0666 | 0.0360 | 0.0664 | 0.0361 | 0.0613 | 0.0332 | 0.0631 | 0.0319 | 0.0591 | 0.0307 | 0.0566 | 0.0294 | 0.0928 | 0.0491 | 0.0941 | 0.0503 | 0.0892 | 0.0474 |
| Leaf+Pair | 0.0668 | 0.0363 | 0.0667 | 0.0363 | 0.0619 | 0.0337 | 0.0633 | 0.0320 | 0.0596 | 0.0310 | 0.0568 | 0.0293 | 0.0931 | 0.0495 | 0.0942 | 0.0504 | 0.0896 | 0.0478 |
| Leaf+RIGD | 0.0671 | 0.0364 | 0.0669 | 0.0362 | 0.0634 | 0.0342 | 0.0636 | 0.0321 | 0.0602 | 0.0314 | 0.0581 | 0.0302 | 0.0929 | 0.0494 | 0.0943 | 0.0506 | 0.0900 | 0.0479 |
| HCDA+Uniform | 0.0665 | 0.0363 | 0.0670 | 0.0359 | 0.0626 | 0.0340 | 0.0634 | 0.0324 | 0.0599 | 0.0313 | 0.0576 | 0.0297 | 0.0926 | 0.0496 | 0.0936 | 0.0504 | 0.0904 | 0.0482 |
| HCDA+AbsRes | 0.0670 | 0.0362 | 0.0668 | 0.0363 | 0.0632 | 0.0344 | 0.0635 | 0.0321 | 0.0608 | 0.0316 | 0.0582 | 0.0301 | 0.0933 | 0.0498 | 0.0946 | 0.0505 | 0.0902 | 0.0484 |
| HCDA+PosUni | 0.0669 | 0.0362 | 0.0666 | 0.0362 | 0.0621 | 0.0339 | 0.0637 | 0.0322 | 0.0603 | 0.0311 | 0.0577 | 0.0299 | 0.0930 | 0.0497 | 0.0944 | 0.0507 | 0.0903 | 0.0483 |
| HCDA+Shuffled | 0.0667 | 0.0361 | 0.0665 | 0.0361 | 0.0620 | 0.0338 | 0.0632 | 0.0323 | 0.0600 | 0.0312 | 0.0579 | 0.0298 | 0.0932 | 0.0493 | 0.0945 | 0.0501 | 0.0901 | 0.0480 |
| HCDA+Collapsed | 0.0664 | 0.0358 | 0.0662 | 0.0360 | 0.0602 | 0.0331 | 0.0629 | 0.0318 | 0.0581 | 0.0305 | 0.0561 | 0.0290 | 0.0927 | 0.0490 | 0.0940 | 0.0502 | 0.0887 | 0.0471 |
| MuSID-KD | 0.0679 | 0.0369 | 0.0682 | 0.0368 | 0.0686 | 0.0368 | 0.0644 | 0.0330 | 0.0650 | 0.0334 | 0.0639 | 0.0328 | 0.0944 | 0.0505 | 0.0954 | 0.0512 | 0.0944 | 0.0508 |

Figure 5: Nine diagnostics of candidate distribution alignment and item ranking across Amazon Beauty, Toys, and Video Games with MLP, GRU, and CNN. H1/H2 denote HDrift-1/2; TGD1/TGD2 denote TGD-1/2; Pair denotes Pair Softplus; and Hub-D/Hub-I denote Huber-D/I. Each metric is normalized within each dataset and student setting; darker colors indicate lower error.
student methods in all 36 comparisons (three datasets, three students, four metrics). Its mean relative NDCG@10 improvement over Base KD is across the nine settings. Relative to the strongest competing student method in each setting, NDCG@10 improves by . The improvement holds for MLP, GRU, and CNN students, indicating that the proposed objectives are not restricted to one lightweight architecture. On Steam-100K, NDCG@10 improves over Base KD by on average across architectures, with complete results in Appendix A.1.
Generalization across SID tokenizers. The preceding experiments use SIDs constructed with a residual quantization variational autoencoder (RQ-VAE). To test whether the proposed distillation objectives depend on this particular tokenizer, we additionally evaluate SIDs generated by residual K-means (R-KMeans). The teacher and student models in this setting use the same R-KMeans SID assignment. As shown in Figure 6, MuSID-KD outperforms both Base KD and SmartGR on Recall@10 and NDCG@10 for all four datasets and all three student architectures, and ranks first in all 24 settings. Its NDCG@10 improves by on average over Base KD, and by over the stronger of Base KD and SmartGR in each setting. Together with the RQ-VAE results in Table 1, these
Recall@10 (%)
| Base KD | SmartGR | MuSID-KD | ||
|---|---|---|---|---|
| Steam | MLP | 5.42 | 5.18 | 5.59 |
| GRU | 5.10 | 5.23 | 5.45 | |
| CNN | 4.88 | 4.75 | 5.06 | |
| Beauty | MLP | 6.17 | 6.44 | 6.66 |
| GRU | 6.51 | 6.30 | 6.71 | |
| CNN | 6.20 | 6.43 | 6.60 | |
| MLP | 5.86 | 5.60 | 6.08 | |
| Toys | GRU | 5.84 | 6.01 | 6.26 |
| CNN | 6.02 | 5.83 | 6.22 | |
| MLP | 8.75 | 9.07 | 9.36 | |
| Video Games | GRU | 9.07 | 8.74 | 9.46 |
| CNN | 8.81 | 9.19 | 9.45 | |
NDCG@10 (%)
| Base KD | SmartGR | MuSID-KD | ||
|---|---|---|---|---|
| Steam | MLP | 2.68 | 2.74 | 2.84 |
| GRU | 2.73 | 2.63 | 2.81 | |
| CNN | 2.40 | 2.51 | 2.59 | |
| Beauty | MLP | 3.41 | 3.29 | 3.54 |
| GRU | 3.27 | 3.42 | 3.57 | |
| CNN | 3.44 | 3.35 | 3.55 | |
| MLP | 2.96 | 3.05 | 3.14 | |
| Toys | GRU | 3.11 | 2.99 | 3.22 |
| CNN | 2.94 | 3.06 | 3.20 | |
| MLP | 4.81 | 4.68 | 5.00 | |
| Video Games | GRU | 4.75 | 4.91 | 5.07 |
| CNN | 4.88 | 4.72 | 5.07 | |
Figure 6: Results using residual K-means (R-KMeans) SIDs instead of the main RQ-VAE tokenizer. Teacher and students use the same R-KMeans SIDs. Values are Recall@10 and NDCG@10 in percent; bold marks the best student per dataset and architecture.
findings indicate that MuSID-KD's benefits are not restricted to one SID tokenization method.
6.3 Ablation Study (RQ2)
Table 2 evaluates R@10/N@10 ablations; the @5 and Steam-100K results appear in Appendix A. MuSID-KD variants share ground truth cross entropy; HCDA-only and RIGD-only isolate each proposed loss, and the full method combines them. Base KD additionally includes token distribution KL.
Contribution of HCDA. Leaf-only supervises the final candidate item distribution; Leaf+RIGD also includes RIGD while omitting intermediate candidate group alignment. Full MuSID-KD improves the mean NDCG@10 over Leaf+RIGD by 4.21% across the nine Amazon settings. The HCDA+Shuffled variant deliberately breaks the correspondence between candidate probabilities and their SID prefixes; its lower performance supports the importance of the correct candidate group structure rather than simply adding more KL terms.
Contribution of RIGD. HCDA+Uniform weights eligible SID levels equally; HCDA+AbsRes uses absolute teacher–student score residuals, and HCDA+PosUni gives equal weights only to positive residuals. Full MuSID-KD outperforms all three alternatives in NDCG@10 across the nine settings. The absolute residual alone measures correction size rather than improvement to the item order. PosUni selects directionally useful positions without distinguishing how much each helps. Leaf+Pair directly optimizes the full pairwise score gap and remains below full MuSID-KD. HCDA+Collapsed aligns the combined residual, which also changes normalization; the comparison therefore does not isolate supervision granularity on its own. Together, these results favor selection and weighting by replacement gain at each SID position.
6.4 Knowledge Transfer Analysis (RQ3)
We evaluate nine diagnostics on the teacher's top 40 candidate items for each request. Item KL measures divergence between candidate item distributions. HDrift-1/2 measure divergence between prefix marginal distributions at SID positions 1 and 2, while TGD-1/2 measure disagreement on the most probable prefix group. For ranking, POV is the rate at which the student reverses or ties item pairs ranked by the teacher; Pair Softplus is the mean pairwise ranking surrogate loss; and Huber-D/I measure errors in pairwise score contributions under two fixed weighting rules derived from Base KD. All measures are lower when alignment is better; precise definitions, units, and raw values are in Appendix B.2.
Figure 5 shows on Beauty that HCDA-only reduces intermediate group discrepancies beyond Leaf-only. On Beauty with CNN, HDrift-2 decreases from 0.0663 to 0.0386 and TGD-2 from 31.58% to 25.23%. This indicates better alignment of group probability mass and the teacher's most probable prefix group. When HCDA is kept fixed, MuSID-KD lowers Pair Softplus, POV, and Huber errors relative to HCDA+Uniform. For Beauty with MLP, Pair Softplus drops from 0.3883 to 0.3414. The results support complementary gains in distribution alignment across SID granularities and final item ordering.
6.5 Training and Serving Efficiency (RQ4)
All additional computation in MuSID-KD is incurred during training: building group distributions, generating item pairs spanning the teacher's top cutoff, performing replacements at individual SID positions, and determining weights. On Beauty with MLP, 200 training epochs including beam search validation take 27 minutes for Base KD versus 49 minutes for MuSID-KD. Peak GPU memory grows from 7.4 GB to 9.2–9.5 GB. Inference does not compute distillation targets. For MLP, GRU, and CNN, Base KD/MuSID-KD throughputs are 2769/3036, 3445/3423, and 3028/3024 requests/s, respectively, indicating comparable serving efficiency. Further cost breakdowns are in Appendix B.3.
7 Conclusion and Future Work
MuSID-KD addresses two limitations in SID distillation: incomplete transfer of rankings among candidate groups sharing SID prefixes and different ranking effects of teacher alignment across SID positions. HCDA aligns candidate group distributions, while RIGD weights position-level score alignment by its impact on pairwise ranking loss. Across datasets and student architectures, the method improves accuracy and knowledge transfer without changing online decoding. Future work will consider efficient candidate sampling, ranking impact estimation, and joint corrections across SID positions.
References
[1] Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos Garea, Matthieu Geist, and Olivier Bachem. 2024. On-Policy Distillation of Language Models: Learning from Self-Generated
Mistakes. In The Twelfth International Conference on Learning Representations. https://proceedings.iclr.cc/paper_files/paper/2024/hash/5be69a584901a26c521c2b51e40a4c20-Abstract-Conference.html
[2] Jiaxin Deng, Shiyao Wang, Kuo Cai, Lejian Ren, Qigen Hu, Weifeng Ding, Qiang Luo, and Guorui Zhou. 2025. OneRec: Unifying Retrieve and Rank with Generative Recommender and Iterative Preference Alignment. arXiv:2502.18965
[3] Yijie Ding, Jiacheng Li, Julian McAuley, and Yupeng Hou. 2026. Inductive Generative Recommendation via Retrieval-based Speculation. Proceedings of the AAAI Conference on Artificial Intelligence 40, 17 (2026), 14675–14683. doi:10.1609/aaai.v40i17.38486
[4] Zitian Guo, Yupeng Hou, Clark Mingxuan Ju, Neil Shah, and Julian McAuley. 2026. MLPs are Efficient Distilled Generative Recommenders. arXiv:2605.12617 https://arxiv.org/abs/2605.12617
[5] Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. 2017. Neural Collaborative Filtering. In Proceedings of the 26th International Conference on World Wide Web. doi:10.1145/3038912.3052569
[6] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. 2015. Distilling the Knowledge in a Neural Network. arXiv:1503.02531 https://arxiv.org/abs/1503.02531
[7] Yupeng Hou, Jiacheng Li, Xiangjun Fu, Zhankui He, An Yan, Xiusi Chen, and Julian McAuley. 2026. Bridging Language and Items for Retrieval and Recommendation: Benchmarking LLMs as Semantic Encoders. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, San Diego, California, United States, 3251–3265. doi:10.18653/v1/2026.acl-long.147
[8] Yupeng Hou, Jiacheng Li, Ashley Shin, Jinsung Jeon, Abhishek Santhanam, Wei Shao, Kaveh Hassani, Ning Yao, and Julian McAuley. 2025. Generating Long Semantic IDs in Parallel for Recommendation. arXiv:2506.05781
[9] Yupeng Hou, Jianmo Ni, Zhankui He, Noveen Sachdeva, Wang-Cheng Kang, Ed H. Chi, Julian McAuley, and Derek Zhiyuan Cheng. 2025. ActionPiece: Contextually Tokenizing Action Sequences for Generative Recommendation. In Proceedings of the 42nd International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 267). PMLR, 24004–24024. https://proceedings.mlr.press/v267/hou25f.html
[10] Clark Mingxuan Ju, Liam Collins, Leonardo Neves, Bhuvesh Kumar, Louis Yufeng Wang, Tong Zhao, and Neil Shah. 2025. Generative Recommendation with Semantic IDs: A Practitioner's Handbook. arXiv:2507.22224
[11] SeongKu Kang, Junyoung Hwang, Wonbin Kweon, and Hwanjo Yu. 2020. DE-RRD: A Knowledge Distillation Framework for Recommender System. In Proceedings of the 29th ACM International Conference on Information and Knowledge Management. 605–614. doi:10.1145/3340531.3412005
[12] SeongKu Kang, Junyoung Hwang, Wonbin Kweon, and Hwanjo Yu. 2021. Topology Distillation for Recommender System. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. Association for Computing Machinery, 829–839. doi:10.1145/3447548.3467319
[13] Yoon Kim and Alexander M. Rush. 2016. Sequence-Level Knowledge Distillation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing. 1317–1327. doi:10.18653/v1/D16-1139
[14] Jongwoo Ko, Tianyi Chen, Sungnyun Kim, Tianyu Ding, Luming Liang, Ilya Zharkov, and Se-Young Yun. 2025. DistiLLM-2: A Contrastive Approach Boosts the Distillation of LLMs. In Proceedings of the 42nd International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 267). PMLR, 31044–31062. https://proceedings.mlr.press/v267/ko25a.html
[15] Doyup Lee, Chiheon Kim, Saehoon Kim, Minsu Cho, and Wook-Shin Han. 2022. Autoregressive Image Generation using Residual Quantization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 11523–11532. https://arxiv.org/abs/2203.01941
[16] Xinyu Lin, Chaoqun Yang, Wenjie Wang, Yongqi Li, Cunxiao Du, Fuli Feng, See-Kiong Ng, and Tat-Seng Chua. 2025. Efficient Inference for Large Language Model-based Generative Recommendation. In The Thirteenth International Conference on Learning Representations. https://arxiv.org/abs/2410.05165
[17] Enze Liu, Bowen Zheng, Cheng Ling, Lantao Hu, Han Li, and Wayne Xin Zhao. 2025. Generative Recommender with End-to-End Learnable Item Tokenization. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval. Association for Computing Machinery, New York, NY, USA, 11 pages. doi:10.1145/3726302.3729989
[18] Julian McAuley, Christopher Targett, Qinfeng Shi, and Anton van den Hengel. 2015. Image-based Recommendations on Styles and Substitutes. In Proceedings of the 38th International ACM SIGIR Conference on Research and Development in Information Retrieval. Association for Computing Machinery, New York, NY, USA, 43–52. doi:10.1145/2766462.2767755
[19] Shashank Rajput, Nikhil Mehta, Anima Singh, Raghunandan H. Keshavan, Trung Vu, Lukasz Heldt, Lichan Hong, Yi Tay, Vinh Q. Tran, Jonah Samost, Maciej Kula, Ed H. Chi, and Maheswaran Sathiamoorthy. 2023. Recommender Systems with Generative Retrieval. In Advances in Neural Information Processing Systems, Vol. 36. Curran Associates, Inc., 10299–10315. doi:10.52202/075280-0452
[20] Steffen Rendle, Christoph Freudenthaler, Zeno Gantner, and Lars Schmidt-Thieme. 2009. BPR: Bayesian Personalized Ranking from Implicit Feedback. In Proceedings of the 25th Conference on Uncertainty in Artificial Intelligence.
460–469. https://proceedings.mlr.press/r7/rendle09a.html
[21] Anushya Subbiah, Vikram Aggarwal, James Pine, Steffen Rendle, Krishna Sayana, and Kun Su. 2025. Efficient Item ID Generation for Large-Scale LLM-based Recommendation. arXiv:2509.03746
[22] Juntao Tan, Shuyuan Xu, Wenyue Hua, Yingqiang Ge, Zelong Li, and Yongfeng Zhang. 2024. IDGenRec: LLM-RecSys Alignment with Textual ID Learning. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval. https://arxiv.org/abs/2403.19021
[23] Jiaxi Tang and Ke Wang. 2018. Ranking Distillation: Learning Compact Ranking Models With High Performance for Recommender System. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. Association for Computing Machinery, New York, NY, USA, 2289–2298. doi:10.1145/3219819.3220021
[24] Aaron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. 2017. Neural Discrete Representation Learning. In Advances in Neural Information Processing Systems, Vol. 30. https://arxiv.org/abs/1711.00937
[25] Wenjie Wang, Honghui Bao, Xinyu Lin, Jizhi Zhang, Yongqi Li, Fuli Feng, See-Kiong Ng, and Tat-Seng Chua. 2024. Learnable Item Tokenization for Generative Recommendation. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management. Association for Computing Machinery, New York, NY, USA, 2400–2409. doi:10.1145/3627673.3679569
[26] Jiawen Xie, Haiyang Wu, Deyi Ji, Yuekui Yang, and Shaoping Ma. 2025. LOHRec: Leveraging Order and Hierarchy in Generative Sequential Recommendation. In Findings of the Association for Computational Linguistics: EMNLP 2025. Association for Computational Linguistics, 17968–17983. doi:10.18653/v1/2025.findingsemnlp.977
[27] Liu Yang, Fabian Paischer, Kaveh Hassani, Jiacheng Li, Shuai Shao, Zhang Gabriel Li, Yun He, Xue Feng, Nima Noorshams, Sem Park, Bo Long, Robert D. Nowak, Xiaoli Gao, and Hamid Eghbalzadeh. 2024. Unifying Generative and Dense Retrieval for Sequential Recommendation. arXiv:2411.18814
[28] Yuanqing Yu, Yifan Wang, Weizhi Ma, Zhiqiang Guo, and Min Zhang. 2026. APAO: Bridging the Training-Inference Gap in Generative Recommendation via Adaptive Prefix-Aware Optimization. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining. doi:10.1145/3770855.3818052
[29] Hansi Zeng, Chen Luo, Bowen Jin, Sheikh Muhammad Sarwar, Tianxin Wei, and Hamed Zamani. 2024. Scalable and Effective Generative Information Retrieval. In Proceedings of the ACM Web Conference 2024. arXiv:2311.09134.
[30] Ziheng Zhang, Yu Cui, Bohao Wang, Yong He, Chao Yu, Chuan Yuan, Wujie Sun, Can Wang, and Jiawei Chen. 2026. SmartGR: Hierarchy and Beam-Aware Knowledge Distillation for Generative Recommendation. arXiv:2608.02048 https://arxiv.org/abs/2608.02048
[31] Bowen Zheng, Yupeng Hou, Hongyu Lu, Yu Chen, Wayne Xin Zhao, Ming Chen, and Ji-Rong Wen. 2024. Adapting Large Language Models by Integrating Collaborative Semantics for Recommendation. In 2024 IEEE 40th International Conference on Data Engineering (ICDE). IEEE, 1435–1448.
[32] Zhangchi Zhu and Wei Zhang. 2026. Rejuvenating Cross-Entropy Loss in Knowledge Distillation for Recommender Systems. In The Fourteenth International Conference on Learning Representations. https://proceedings.iclr.cc/paper_files/paper/2026/hash/a92de7efca19f26309a38b3e3fa3dd86-Abstract-Conference.html
A Additional Experimental Results
A.1 Steam-100K
Table S1 reports the four recommendation metrics and teacher reference. Table S2 reports the 14 ablation configurations on the same metrics. Table S3 presents Amazon @5 ablation results complementary to the @10 results in the main text.
A.2 Hyperparameter Sensitivity
Figure A1 reports Beauty–MLP sensitivity to , , , and . Rel. gain (%) is the percentage change in Recall@10 or NDCG@10 relative to the MuSID-KD reference result for the corresponding sweep. The dashed horizontal lines mark zero relative change; the default parameter values are , , , and . For candidate lists truncated below , the effective pair boundary is , with .
Table S1: Steam-100K baseline comparison (%). TIGER is a teacher reference and is excluded from student best/second-best highlighting. Bold and gray indicate the best and second-best student results, including ties.
| Dataset | Category | Method | MLP | GRU | CNN | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| R@5 | N@5 | R@10 | N@10 | R@5 | N@5 | R@10 | N@10 | R@5 | N@5 | R@10 | N@10 | |||
| Steam-100K | Teacher | TIGER (Teacher) | 4.25 | 2.43 | 6.15 | 3.03 | 4.25 | 2.43 | 6.15 | 3.03 | 4.25 | 2.43 | 6.15 | 3.03 |
| Traditional Recommendation KD | RD | 4.17 | 2.36 | 5.59 | 2.86 | 3.93 | 2.32 | 5.58 | 2.82 | 3.68 | 2.14 | 5.34 | 2.64 | |
| RRD | 4.15 | 2.39 | 5.65 | 2.84 | 4.05 | 2.34 | 5.54 | 2.83 | 3.72 | 2.13 | 5.32 | 2.64 | ||
| RCE-KD | 4.01 | 2.33 | 5.61 | 2.83 | 3.92 | 2.32 | 5.50 | 2.78 | 3.74 | 2.17 | 5.40 | 2.65 | ||
| General AR / LLM KD | GKD | 3.82 | 2.26 | 5.62 | 2.80 | 3.81 | 2.32 | 5.48 | 2.81 | 3.69 | 2.12 | 5.38 | 2.62 | |
| DistiLLM-2 | 3.76 | 2.23 | 5.66 | 2.82 | 3.69 | 2.24 | 5.59 | 2.79 | 3.75 | 2.13 | 5.42 | 2.68 | ||
| SID-based generative KD | SID-MLP (base KD) | 3.80 | 2.25 | 5.66 | 2.84 | 3.72 | 2.27 | 5.49 | 2.83 | 3.45 | 2.08 | 5.31 | 2.69 | |
| SmartGR | 3.81 | 2.26 | 5.65 | 2.83 | 3.77 | 2.29 | 5.55 | 2.81 | 3.70 | 2.11 | 5.29 | 2.61 | ||
| MuSID-KD | 4.26 | 2.43 | 5.77 | 2.91 | 4.19 | 2.40 | 5.69 | 2.88 | 3.82 | 2.21 | 5.51 | 2.75 | ||

Figure A1: Beauty-MLP hyperparameter sensitivity: relative Recall@10 and NDCG@10 gains (%) over the MuSID-KD reference result; dashed horizontal lines mark zero relative change.
B Implementation and Measurement Details
B.1 Data, Models, and Training
Beauty and Toys use Amazon Reviews 2014 [18]; Video Games uses Amazon Reviews 2023 [7]. Chronological leave-one-out evaluation uses up to 20 preceding interactions. The frozen TIGER T5 history encoder is shared. MLP, GRU, and CNN students use attention, recurrent, and temporal-convolution/pooling readouts, respectively, followed by four prefix-conditioned MLP heads. Under the default student configurations, readout and prediction-head parameter counts are 1.664M (MLP), 1.763M (GRU), and 1.713M (CNN), excluding frozen encoder parameters and token embeddings. Beam width is .
The learning rate is . Training uses teacher candidates and pairs between ranks 1–10 and 11–40 (, ). HCDA uses , , and a group-probability floor. RIGD uses , , and unit-threshold Huber loss. Its scale is , estimated from teacher pairwise score contributions at eligible SID positions in the training data. Pairs without positive gain remain in the averaging denominator with zero contribution; an empty pair set gives zero loss.
The effective coefficients are and . HCDA is averaged over requests and RIGD over valid minibatch pairs. The additional objectives, caches, and scale statistics use training requests only. Amazon and Steam-100K experiments use three independent seeds (42, 43, and 44); the reported performance is averaged across runs. Steam-100K ablations use 200 training epochs.
Base KD combines 0.3 token cross-entropy and 0.7 token KL at ground-truth prefixes. Adapted external objectives retain this base. RD uses rank-decayed preferences and dynamic student ranks; RRD samples catalog negatives; RCE-KD uses ranking cross-entropy. GKD mixes ground-truth and sampled prefixes, and DistiLLM-2 uses skew divergences on contrastive sampled SIDs. Their teacher targets are detached and queried conditionals are normalized over the selected 256-token codebook. SmartGR combines token and beam-prefix objectives. CE-only omits distillation. Leaf-only retains only candidate item distribution KL; Leaf+Pair and Leaf+RIGD add the indicated supervision. The explicit direct-Pair controls use with coefficient one, rather than RIGD's Huber-weighted depth correction.
Ablation implementations. HCDA+Uniform weights eligible non-final SID levels equally. For a pair , let at eligible level . HCDA+AbsRes first gates on whether any and then normalizes over eligible levels; consequently, SID positions with negative score residuals can still receive nonzero weights. HCDA+PosUni assigns equal weights only where , setting all weights to zero when there is no positive residual. HCDA+Shuffled applies the same within-request permutation to teacher and student candidate score vectors while keeping SID leaf positions fixed, disrupting the correspondence between probabilities and prefix groups. HCDA+Collapsed sums eligible residuals before applying one Huber penalty, normalized using the current minibatch standard deviation of the collapsed residual rather than per-level fixed scales. Thus, Collapsed changes both supervision granularity and the normalization strategy. HCDA+Pair and Leaf+Pair directly optimize the direct pairwise ranking loss above, unlike RIGD's replacement gain weighted alignment of score contributions.
Table S2: Steam-100K ablations on all four metrics (%). Base KD and MuSID-KD provide reference results for the ablation comparisons. Bold indicates best student results and gray denotes second-best (ties included).
| Setting | MLP | GRU | CNN | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| R@5 | N@5 | R@10 | N@10 | R@5 | N@5 | R@10 | N@10 | R@5 | N@5 | R@10 | N@10 | |
| CE-only | 3.62 | 2.26 | 5.54 | 2.82 | 3.68 | 2.27 | 5.46 | 2.79 | 3.51 | 2.11 | 5.39 | 2.69 |
| Base KD | 3.80 | 2.25 | 5.66 | 2.84 | 3.72 | 2.27 | 5.49 | 2.83 | 3.45 | 2.08 | 5.31 | 2.69 |
| Leaf-only | 4.03 | 2.35 | 5.55 | 2.86 | 3.93 | 2.30 | 5.60 | 2.82 | 3.71 | 2.13 | 5.28 | 2.67 |
| Leaf+Pair | 4.11 | 2.38 | 5.56 | 2.80 | 3.92 | 2.30 | 5.51 | 2.76 | 3.64 | 2.12 | 5.41 | 2.70 |
| Leaf+RIGD | 4.12 | 2.37 | 5.63 | 2.85 | 4.10 | 2.33 | 5.52 | 2.75 | 3.71 | 2.15 | 5.37 | 2.63 |
| HCDA-only | 4.17 | 2.34 | 5.57 | 2.79 | 4.09 | 2.36 | 5.56 | 2.80 | 3.76 | 2.10 | 5.36 | 2.63 |
| HCDA+Pair | 4.18 | 2.35 | 5.64 | 2.81 | 4.07 | 2.35 | 5.57 | 2.79 | 3.65 | 2.14 | 5.33 | 2.70 |
| RIGD-only | 4.13 | 2.38 | 5.60 | 2.81 | 3.88 | 2.28 | 5.47 | 2.76 | 3.67 | 2.15 | 5.38 | 2.67 |
| HCDA+Uniform | 4.16 | 2.34 | 5.64 | 2.85 | 4.08 | 2.31 | 5.58 | 2.75 | 3.76 | 2.15 | 5.39 | 2.66 |
| HCDA+AbsRes | 4.19 | 2.32 | 5.68 | 2.78 | 4.11 | 2.35 | 5.55 | 2.79 | 3.73 | 2.16 | 5.37 | 2.68 |
| HCDA+PosUni | 4.14 | 2.36 | 5.58 | 2.78 | 4.06 | 2.33 | 5.53 | 2.77 | 3.72 | 2.16 | 5.41 | 2.65 |
| HCDA+Shuffled | 4.10 | 2.37 | 5.67 | 2.83 | 4.12 | 2.36 | 5.57 | 2.81 | 3.73 | 2.17 | 5.30 | 2.63 |
| HCDA+Collapsed | 3.56 | 2.16 | 5.23 | 2.68 | 3.34 | 2.06 | 5.09 | 2.62 | 3.70 | 2.10 | 5.35 | 2.66 |
| MuSID-KD (Full) | 4.26 | 2.43 | 5.77 | 2.91 | 4.19 | 2.40 | 5.69 | 2.88 | 3.82 | 2.21 | 5.51 | 2.75 |
Table S3: Complementary Amazon ablations at @5 (%). Each entry reports Recall@5 / NDCG@5; the corresponding @10 results are in the main text. Bold denotes MuSID-KD.
| Setting | Beauty | Toys | Video Games | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MLP | GRU | CNN | MLP | GRU | CNN | MLP | GRU | CNN | |
| CE-only | 4.34/2.87 | 2.53/1.72 | 1.78/1.26 | 3.70/2.32 | 2.19/1.52 | 1.72/1.11 | 5.87/3.83 | 4.05/2.65 | 2.32/1.50 |
| Base KD | 4.29/2.82 | 4.16/2.81 | 3.80/2.54 | 3.74/2.35 | 3.67/2.33 | 3.28/2.10 | 5.88/3.83 | 5.91/3.89 | 5.53/3.58 |
| Leaf-only | 4.31/2.85 | 4.23/2.83 | 3.97/2.65 | 3.82/2.41 | 3.73/2.36 | 3.52/2.22 | 5.91/3.87 | 5.93/3.93 | 5.70/3.71 |
| HCDA-only | 4.34/2.83 | 4.24/2.84 | 3.96/2.63 | 3.85/2.43 | 3.73/2.37 | 3.51/2.21 | 5.90/3.87 | 5.97/3.90 | 5.71/3.71 |
| Leaf+Pair | 4.35/2.83 | 4.25/2.85 | 4.05/2.67 | 3.85/2.42 | 3.75/2.42 | 3.54/2.23 | 5.93/3.88 | 5.96/3.90 | 5.72/3.73 |
| Leaf+RIGD | 4.36/2.85 | 4.24/2.85 | 4.07/2.72 | 3.90/2.43 | 3.76/2.40 | 3.61/2.30 | 5.94/3.90 | 5.99/3.93 | 5.77/3.76 |
| HCDA+Shuffled | 4.35/2.86 | 4.26/2.84 | 4.04/2.66 | 3.88/2.39 | 3.77/2.43 | 3.56/2.25 | 5.92/3.85 | 5.97/3.95 | 5.75/3.75 |
| RIGD-only | 4.32/2.87 | 4.26/2.85 | 3.99/2.66 | 3.87/2.42 | 3.75/2.38 | 3.50/2.24 | 5.91/3.89 | 5.96/3.94 | 5.72/3.74 |
| HCDA+Uniform | 4.33/2.86 | 4.28/2.86 | 4.02/2.69 | 3.91/2.45 | 3.78/2.39 | 3.55/2.27 | 5.90/3.88 | 5.94/3.91 | 5.78/3.77 |
| HCDA+AbsRes | 4.34/2.84 | 4.27/2.86 | 4.08/2.70 | 3.87/2.44 | 3.80/2.41 | 3.58/2.28 | 5.96/3.91 | 6.00/3.94 | 5.76/3.78 |
| HCDA+PosUni | 4.37/2.87 | 4.29/2.82 | 4.03/2.68 | 3.89/2.46 | 3.79/2.38 | 3.59/2.26 | 5.95/3.89 | 5.98/3.94 | 5.74/3.74 |
| HCDA+Collapsed | 4.32/2.84 | 4.21/2.84 | 3.94/2.61 | 3.81/2.40 | 3.71/2.37 | 3.44/2.21 | 5.89/3.86 | 5.95/3.92 | 5.67/3.69 |
| MuSID-KD (Full) | 4.42/2.92 | 4.41/2.91 | 4.37/2.88 | 4.08/2.54 | 3.88/2.50 | 3.98/2.50 | 6.01/3.96 | 6.07/4.00 | 6.05/3.99 |
B.2 Scoring and Mechanism Diagnostics
Diagnostics use the teacher's top 40 candidates per request (training uses ). Teacher and student item probabilities and normalize their respective cached item and student SID-path scores on this shared support. Item KL is . HDrift- is the KL between length- prefix marginals, each obtained by summing item probabilities; depths 1 and 2 are reported to avoid redundancy with item KL. Top Group Disagreement (TGD-) flags requests where the most probable length- prefix differs between teacher and student; SID-prefix ties are broken lexicographically.
For item pairs spanning the teacher's top cutoff, ranks 1–10 are paired with ranks 11–40. Write , consistent with Eq. (7). Pairwise Order Violation (POV) counts a student score gap , including ties, as a violation; Pair Softplus averages softplus, which differs from the training control Pair loss softplus. These diagnostics use common pairs and are not conditional on a positive replacement gain.
Huber-D and Huber-I use identical per-level normalized residuals and the unit-threshold Smooth L1 penalty over eligible levels (from the SID divergence depth through level 3). Their weights are determined once using a fixed Base KD reference, not separately optimized for each evaluated model. Specifically, for , define the reference replacement gain at a single SID position and its normalized nonnegative weight:
Table B1: Training, GPU memory, cache export, and serving costs. Times are minutes or ms/request (serving); training includes beam validation.
| (a) Full training and memory | ||
|---|---|---|
| Run | 200 epochs min | Peak GPU GB |
| MLP Base KD | 27 | 7.4 |
| MLP MuSID-KD | 49 | 9.2–9.5 |
| CNN MuSID-KD | 65 | - |
| (b) Teacher cache export | |
|---|---|
| Dataset | min |
| Beauty | 26.2 |
| Toys | 26.7 |
| Video Games | 38.6 |
| (c) MuSID-KD serving phases | ||
|---|---|---|
| Phase | GRU | CNN |
| Frozen T5 encoder | 0.154 | 0.151 |
| Student context | 0.031 | 0.046 |
| SID prediction/beam scoring | 0.089 | 0.114 |
| Beam bookkeeping | 0.019 | 0.019 |
| Total | 0.292 | 0.331 |
Table D1: Beauty diagnostics (lower is better). TGD and POV are percentages; other metrics are unscaled. Bold marks the minimum; definitions are in Appendix B.2.
| Dataset | Student | Method | Item KL | HDrift-1 | HDrift-2 | TGD-1 | TGD-2 | POV | Pair Softplus | Huber-D | Huber-I |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Beauty | MLP | Base KD | 0.100670 | 0.045033 | 0.082126 | 16.79 | 35.75 | 10.93 | 0.393655 | 0.076414 | 0.053440 |
| Leaf-only | 0.051456 | 0.021539 | 0.042083 | 12.46 | 26.80 | 7.26 | 0.391118 | 0.050309 | 0.032503 | ||
| HCDA-only | 0.045387 | 0.018498 | 0.036893 | 11.83 | 25.88 | 6.76 | 0.395989 | 0.051863 | 0.032359 | ||
| HCDA+Uniform | 0.044023 | 0.019050 | 0.036987 | 11.93 | 26.05 | 6.33 | 0.388316 | 0.037520 | 0.023753 | ||
| HCDA+Pair | 0.045503 | 0.018693 | 0.037182 | 11.89 | 26.35 | 6.54 | 0.395344 | 0.054633 | 0.033297 | ||
| RIGD-only | 0.070771 | 0.031490 | 0.058785 | 14.42 | 29.17 | 6.68 | 0.343984 | 0.042486 | 0.026364 | ||
| MuSID-KD | 0.042977 | 0.017830 | 0.035638 | 11.66 | 25.32 | 6.23 | 0.341443 | 0.036775 | 0.022948 | ||
| Base KD | 0.244564 | 0.119998 | 0.208229 | 26.31 | 50.64 | 17.77 | 0.439444 | 0.151225 | 0.111759 | ||
| Leaf-only | 0.048274 | 0.020718 | 0.040485 | 11.11 | 24.86 | 6.51 | 0.375833 | 0.036761 | 0.022435 | ||
| HCDA-only | 0.035289 | 0.014068 | 0.028949 | 9.35 | 21.58 | 5.19 | 0.374753 | 0.030595 | 0.018436 | ||
| GRU | HCDA+Uniform | 0.033592 | 0.014219 | 0.028497 | 9.44 | 21.86 | 4.88 | 0.371142 | 0.022807 | 0.014068 | |
| HCDA+Pair | 0.035688 | 0.014302 | 0.029282 | 9.58 | 22.10 | 5.22 | 0.375735 | 0.031373 | 0.018830 | ||
| RIGD-only | 0.073914 | 0.032750 | 0.062797 | 13.65 | 27.54 | 6.14 | 0.327674 | 0.042099 | 0.025052 | ||
| MuSID-KD | 0.032992 | 0.013668 | 0.027935 | 9.20 | 21.29 | 4.76 | 0.324326 | 0.022391 | 0.013709 | ||
| Base KD | 0.515006 | 0.318404 | 0.462264 | 42.81 | 66.64 | 24.69 | 0.538513 | 0.262580 | 0.199730 | ||
| Leaf-only | 0.077514 | 0.037424 | 0.066335 | 16.03 | 31.58 | 9.40 | 0.388830 | 0.051249 | 0.031182 | ||
| HCDA-only | 0.046750 | 0.019938 | 0.038603 | 11.28 | 25.23 | 6.59 | 0.380494 | 0.037289 | 0.022323 | ||
| CNN | HCDA+Uniform | 0.042607 | 0.019081 | 0.036282 | 11.12 | 24.06 | 5.97 | 0.375686 | 0.027136 | 0.016653 | |
| HCDA+Pair | 0.047297 | 0.020728 | 0.039247 | 12.09 | 25.15 | 6.63 | 0.380145 | 0.038250 | 0.022788 | ||
| RIGD-only | 0.136456 | 0.067351 | 0.116790 | 19.30 | 35.68 | 8.76 | 0.328085 | 0.072418 | 0.043099 | ||
| MuSID-KD | 0.041376 | 0.018824 | 0.035351 | 10.89 | 23.63 | 5.80 | 0.323154 | 0.026011 | 0.016244 |
Huber-q averages over valid pairs. Both are diagnostics of score contributions at individual SID positions; neither applies Huber directly to the pairwise score gap. Item KL, HDrift, and TGD are averaged by request; POV, Pair Softplus, and both Huber variants are averaged across all valid item pairs. TGD and POV are displayed as percentages, while all KL, Softplus, and Huber values are unscaled. Relative percentage changes of recommendation scores are averaged over dataset–student settings after computing for each setting.
B.3 Additional Cost Measurements
Table B1 reports training, memory, caching, and serving costs. Student serving uses batch size 32; teacher throughput uses 64.
C Objective Properties
By the KL chain rule, HCDA induces position weights (4, 3, 2, 1) on conditional distributions over SID prefixes when and , compared with (1, 1, 1, 1) for Leaf-only. For a teacher ranked pair, a positive replacement gain at position is equivalent to a positive score residual . The residual and the replacement gain are different quantities: the former is a score difference, whereas the latter is a reduction in pairwise ranking surrogate loss.
D Exact Mechanism Measurements
Table D1 gives Beauty diagnostic measurements for MLP, GRU, and CNN; see Appendix B.2 for definitions and units.
Consistency on the other datasets. All nine metrics use the same evaluation rules on Toys and Video Games. MuSID-KD consistently improves over Base KD for MLP, GRU, and CNN. For Toys–MLP, Item KL, TGD-2, and POV decrease from 0.139783, 39.02%, and 13.62% to 0.060499, 28.02%, and 8.01%, respectively; for Video Games–MLP, they decrease from 0.076808, 31.93%, and 9.12% to 0.031806, 21.24%, and 4.74%.