Guiding the coarse levels of semantic IDs makes the fine levels learnable
Abstract
Generative retrieval represents each item by a short Semantic ID and casts recommendation as autoregressive generation of that sequence. Because the tokenizer is trained independently to reconstruct an item embedding, its codes are aligned with neither the downstream LLM nor the end task. Nearly every SID system therefore spends extra effort to bridge this gap--alignment corpora, reasoning/RL, or per-token encoders to make codes legible, or learned tokenizer supervision to make them task-aware--yet the recovered meaning is content-derived and may not be the meaning the task needs. We introduce Guided SID, which instead makes the levels that matter most meaningful by construction: we force the coarse RQ-VAE levels to encode a predefined categorical attribute--chosen to be text-grounded (hence legible to the LLM) and task-relevant--by deterministic supervised index assignment (overriding nearest-neighbor selection with the attribute label) while keeping the codebooks learnable (they still receive reconstruction gradients). A trie-merge construction maps any high-cardinality or set-valued attribute onto the fixed code budget while keeping merged buckets semantically coherent. Guiding costs nothing intrinsically: collision and reconstruction match or beat the vanilla baseline despite pinning the coarse level. In a matched end-to-end A/B differing only in the SID encoding, the guided retriever improves recall@k at every list length we measure (1.36x at k=1, 1.39x at k=10), raises mean reciprocal rank from 0.0260 to 0.0355, and predicts the pre-defined attribute 4.2x more often.
Create a lesson
Metadata
- Categories
- cs.IR, cs.CL, cs.LG
Related papers
Structure Diffusion Quantization: Learning Stable Coarse-to-Fine Semantic IDs for Generative Recommendation
Shared title terminologycs.IRCong Xu, Zihan Liao, Lingxiao Wei et al.
Intent-guided Semantic Regularization for LLM-enhanced Sequential Recommendation
Shared title terminologycs.IRHye-young Kim, Seongmin Park, Jongwuk Lee
MulCLIP: A Multi-level Alignment Framework for Enhancing Fine-grained Long-context CLIP
Shared title terminologycs.IRChau Truong, Hieu Ta Quang, Zhenzhen Liu et al.
Learning from What You Retrieve: Online RL Fine-Tuning for Semantic Retrieval
Shared title terminologycs.IRShaowei Wei, Chong Huang, Songtao Fang et al.
BASIS: Bridging Hard and Soft Semantic IDs for Graph-based Recommendation
Shared title terminologycs.IRYang Cao, Wei Zhang
Semantic IDs Are Interfaces: Stability-Constrained Evolution for Continual Generative Recommendation
Shared title terminologycs.IRJinfeng Xu, Zheyu Chen, Ziyue Peng et al.