Generative recommenders increasingly emit semantic IDs (SIDs): each item is a short sequence of hierarchical discrete codes from a residual quantizer, decoded autoregressively. Before spending scarce A/B-test, a team may decide offline which decoder or reranking variants are worth testing - a job for off-policy evaluation (OPE). We ask a simple question: can the model's own SID tree serve as the action abstraction for that OPE? Our answer has three parts. (i) Under the near-argmax logging real recommenders use, per-item OPE is hopeless - as item-level effective sample size is usually small on production logs - but marginalizing items to code-prefix clusters restores estimable support and cuts error. (ii) This gain is thanks to coarsening, not to the hierarchy specifically; but the SID tree is what makes coarsening feasible in a generative system - each cluster's mass is exactly and cheaply returned by the decoder, whereas flat clustering requires enumerating item/leaf masses that a code-only decoder does not directly expose. (iii) Resolution depth is the operative knob - coarser under scarce support - and a conditional bias bound links the coarsening bias to the quantizer's worst-case reconstruction residual and the target-logging divergence.
Figures & tables
Table 1. RQ2, KuaiRand, leakage-free ( ∣A∣=7339 , M=5000 ; hier at the oracle-selected level). (a) Estimator comparison. (b) SID tree vs. flat k -means at matched cluster counts (metadata, OffCEMhieract ), each row refitted under 10 shared clustering seeds; Δ is the paired tree − flat difference.
M
estimator
Kendall τ
top-3 hit
1000
SNIPSitem
0.08±0.03
10%
1000
SNIPShier
0.13±0.03
12%
5000
SNIPSitem
0.15±0.03
6%
5000
SNIPShier
0.18±0.02
14%
Table 2. RQ2 (selection). Ranking 16 candidate variants off one log against the oracle ranking (level 3, pre-specified). For realistic cross-cluster variants, SNIPShier ranks better than SNIPSitem , more so under scarce support.
Figure 1. RQ3. KuaiRand RMSE by code level (coarse → fine), metadata source, two support regimes ( 200 seeds, 95% bootstrap bands). Under scarce support (left) an intermediate level is best; with more data (right) the optimum moves finer.
M
SNIPSitem
SLOPE (deployable)
oracle-selected
1000
0.251
0.133
0.105
5000
0.155
0.109
0.086
10000
0.160
0.102
0.084
Table 3. RQ3. KuaiRand support sweep, leakage-free, content-metadata codes ( ∣A∣=7339 , 200 seeds; RMSE). oracle is SNIPShier at the oracle-selected level (an upper bound); SLOPE selects that level from logged data alone - applied to MIPShier , whose per-level standard errors the rule needs - and is therefore deployable. SLOPE beats SNIPSitem at every M , capturing 67 - 81% of the available gain. The M=5000 row is Table 1(a) ’s configuration; 0.086 vs. 0.087 is the independent run’s seed draw.
source
Residual K-Means
RQ-VAE
Δ (paired)
metadata
0.087 [.075,.098]
0.084 [.078,.089]
−0.003 [ − .016, + .010]
semantic
0.097 [.096,.098]
0.096 [.094,.097]
−0.001 [ − .003, + .001]
collaborative
0.131 [.127,.134]
0.131 [.130,.131]
+0.000 [ − .003, + .004]
fused
0.119 [.116,.125]
0.115 [.114,.116]
−0.004 [ − .010, − .001]
Table 4. RQ4. Quantizer ablation (KuaiRand, leakage-free, M=5000 , 100 simulation seeds per fit), oracle-selected-level OffCEMhieract RMSE. Each cell is refitted under 10 independent quantizer seeds; the interval is over those seeds , so it covers variability in the fitted tree and not only in the evaluation. Δ is the paired RQ-VAE −k -means difference (both fitted under the same seed). Source separates the sources by up to 0.047 ; every tokenizer difference except fused contains zero.
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
α
med. π0(a)
>0.9
level
med. pcode
ESS/ n
3
0.036
5.7%
1 (coarse)
0.365
0.300
4
0.096
9.8%
2
0.125
0.191
6
0.145
16.4%
3 (fine)
0.089
0.167
Appendix
Table 5. RQ1/RQ2 production diagnostics. Left: served-item propensity concentration by logging exponent α (item ESS/ n≈0.003 at α=4 ). Right: coarsening lifts greedy-target ESS ( n=29 k).
M
∣A∣/M
SNIPSitem
OffCEMhieract
1000
21.0
0.114
0.110
2000
10.5
0.089
0.080
5000
4.2
0.055
0.052
10000
2.1
0.036
0.036
Appendix
Table 6. RQ6. Amazon Reviews (Musical Instruments, metadata codes, 80 seeds; OffCEMhieract at the oracle-selected level). The support-dependent pattern replicates.
Semantic IDs (SIDs) are now a central component of generative recommendation. Current SID-based systems assign three roles to the same token sequence. Shared prefixes are intended to organize related items, the complete SID identifies an individual item, and each generated token narrows the items that can still be returned. We systematically investigate SIDs from item encoding and SID construction to autoregressive generation and final recommendation. We examine how SID construction changes item representations and how those changes affect generation. Across three Amazon domains and eight SID constructions, SID neighborhoods recover only 32.2% of the encoder's ten nearest neighbors on average. Alternative item descriptions still retrieve the corresponding item first in 99.57% of controlled cases, yet change 38.4% of exact SIDs. These results show that SIDs retain broad organization but lose much of the encoder's fine local structure, while their exact tokens are not determined by item meaning alone. This loss becomes consequential during generation. After the final semantic token, TIGER retains only 29.9% of held-out targets that were plausible recommendations before SID filtering. Motivated by these findings, we propose Item-Supported Decoding (ISD), a lightweight inference-time method that allows a user-specific item ranking to support corresponding SID prefixes before beam search discards them. The same ranking then orders the generated items. ISD requires no additional parameters or retraining of the SID constructor or decoder. We empirically show that ISD improves NDCG@10 over the corresponding SID backbone in every evaluated setting, with relative gains of up to 31.2%. Our results show that SIDs provide useful coarse item organization, but their fine boundaries should not alone determine which items remain available during generation.
Junting Wang, Xinrui He, Yunzhe Li +1
University of Illinois Urbana-Champaign Urbana, Illinois, USA
Semantic IDs (SIDs) encode each catalog item as a short token sequence, enabling generative recommenders to predict the next item autoregressively. Reasoning-enhanced variants, an increasingly common extension, first generate a textual trace and then decode a next-item SID by beam search. Such recommenders are commonly trained with group-relative policy optimization under an exact-match SID reward, which is sparse in large catalogs. Two failure modes follow. When all rollouts in a group miss the target, the group yields zero advantage and no learning signal. Rollouts sharing the same SID reward receive identical advantages, however much their traces differ. In both cases the reward reflects only the decoded SID, never the reasoning that produced it. This creates a credit-assignment gap. We address this gap with retrieval-grounded query attribution. Each trace is structured into a history summary, a set of interest hypotheses, and a final SID. A frozen retriever executes every hypothesis as a catalog query, so that each hypothesis becomes independently verifiable rather than judged only through the final SID. A rollout is rewarded when any of its queries retrieves the target within the \mbox{top-K}, and per-query hit indicators localize that reward to individual hypotheses. Credit is thus assigned at the span level: only hypotheses that individually hit receive positive retrieval advantage, while the retrieval channel never updates the final SID span. Rollouts that share a SID reward can therefore receive different updates. Across experiments on three Amazon Reviews datasets, this yields consistent improvements in SID recommendation. On Video Games, an oracle analysis further reveals the potential of interest-conditioned SID decoding: selecting the target-relevant query among generated interests improves both recall and ranking.
Mengdan Zhu, Yufan Zhao, Yao Zhao +5
Emory University Atlanta, GA, USA · Microsoft Redmond, WA, USA · Cornell University Ithaca, NY, USA
Semantic-ID-based generative recommendation casts retrieval and ranking as autoregressive generation over hierarchical item identifiers. A common recipe is SFT followed by GRPO, yet vanilla GRPO is poorly matched to this tree-structured task. Under the frozen SFT checkpoint, the exact target is absent from the first 16 candidates of the 50-beam constrained ranking for many prompts, and in harder cases none of these candidates enters the target SID branch. This prompt-level diagnostic motivates a training concern: when on-policy GRPO groups are similarly target-missing, item-level rewards may produce weak or degenerate reward variation even if some candidates follow part of the target path. We propose Difficulty-Aware Semantic-ID Optimization (DASO), a tree-aware post-training method that addresses this failure mode as an online rollout-allocation problem. Instead of using fixed difficulty buckets or uniformly injecting ground-truth completions, DASO profiles each current rollout group by prefix-match depth, locates the bottleneck SID levels where candidates leave the target path, and reallocates a bounded portion of the group to prefix-guided completions while retaining raw rollouts for contrast. A SID-prefix reward provides graded credit, while an auxiliary SFT anchor mitigates regression on examples already solved by the SFT checkpoint. On the public benchmarks, DASO improves over MiniOneRec-style GRPO on 11 of 12 metrics and achieves the best result on 9 of 12 metrics; it also improves most level-wise recall metrics on the internal recommendation task.