Reasoning over Semantic IDs Enhances Generative Recommendation

Yingzhi He, Yan Sun, Junfei Tan, Yuxin Chen, Xiaoyu Kong, Chunxu Shen, Xiang Wang, An Zhang, Tat-Seng ChuaarXiv 2026

TL;DR

SIDReasoner is a novel framework that enables Large Language Models (LLMs) to perform explicit reasoning for generative recommendation. By first "grounding" abstract item identifiers (Semantic IDs) in natural language using a teacher-synthesized corpus and then refining reasoning paths via outcome-driven reinforcement learning (GRPO), the model achieves state-of-the-art accuracy while providing interpretable explanations for its suggestions.

What Problem Does This Paper Address?

Generative recommendation is a rising paradigm where LLMs treat recommendation as a sequence generation task. Instead of just scoring items, the model generates a sequence of tokens representing an item. To do this efficiently, researchers use Semantic IDs (SIDs)—compact, discrete codes (like <a3><b7><c5>) obtained by quantizing item embeddings.

However, two major hurdles remain:

  1. Semantic Gap: To a pre-trained LLM, <a3> is a meaningless token. The model lacks the "world knowledge" to know that <a3> might represent a "Nintendo Wii" or a "Role-Playing Game."
  2. Reasoning Scarcity: While LLMs are great at reasoning in natural language (Chain-of-Thought), they struggle to reason over abstract SIDs. Furthermore, high-quality "reasoning traces" that explain why a user might like a specific item are expensive and difficult to collect at scale.

Methods

The authors propose SIDReasoner, a two-stage framework designed to elicit reasoning without requiring massive amounts of human-annotated explanations.

Figure 1: Illustration of the overall framework of our proposed SIDReasoner.

Stage 1: Enriched SID-Language Alignment

To bridge the semantic gap, the authors use a strong teacher model (GPT-4o-mini) to synthesize an Enriched Pre-training Corpus. This corpus interleaves SIDs with rich textual descriptions and simulated user reasoning. The model undergoes multi-task fine-tuning (predicting titles from SIDs and vice versa) to ensure the LLM understands exactly what each SID represents in the real world.

Stage 2: Reinforced Reasoning Enhancement

Once the model understands the SIDs, it needs to learn how to use them for recommendation. Instead of relying on fixed labels, the authors use Group Relative Policy Optimization (GRPO).

  • The model generates multiple "reasoning paths" (e.g., "The user likes RPGs, so they might like...") followed by a predicted SID.
  • It receives a reward based on the outcome: did it predict the correct item? Is the generated SID sequence valid?
  • This allows the model to self-explore and reinforce the reasoning trajectories that lead to the most accurate recommendations.

Datasets

The framework was evaluated on three real-world datasets from the Amazon platform, filtered to ensure users and items had at least five interactions:

  • Games: Rich in semantic information (titles, genres).
  • Office: Standard office product metadata.
  • Industrial: More niche, technical items where general LLM world knowledge might be thinner.
Table 1: The statistics of recommendation datasets.

Key Insights and Ideas

  • Alignment is the Foundation: The authors found that simply asking an LLM to reason over SIDs fails. Explicitly grounding the SIDs in language before starting the reasoning training is a mandatory prerequisite.
  • Reasoning Enables Generalization: One of the most striking findings is that reasoning helps the model generalize across domains. A model trained to reason on "Games" and "Office" data performed better on "Industrial" items than models without reasoning, suggesting it learned a transferable logic of recommendation.
  • Efficiency over Length: During reinforcement learning, the model actually learned to make its reasoning traces shorter and more targeted. It discarded redundant teacher-generated fluff in favor of decision-relevant information.
  • The "Best-of-N" Indicator: The authors used "Best-of-N" sampling (generating $N$ paths and picking the best) to show that as $N$ increases, the model's potential performance skyrockets, proving that the model can find the right answer if given enough "thinking" attempts.
Figure 4: Ablation performance of different alignment strate- gies with Best-of-𝑁reasoning selection.

Key Results

SIDReasoner consistently outperformed both traditional discriminative models (like SASRec) and existing generative recommenders (like TIGER and LCRec).

Table 2: Performance comparison over different baseline methods. R is shorts for Recall, N is short for NDCG.
  • Accuracy: On the Games dataset, SIDReasoner achieved a Recall@10 of 0.1031, a significant jump over the non-reasoning TIGER (0.0763).
  • Cross-Domain: As shown in Figure 3, reinforcement learning (RL) on a single domain consistently improved performance on out-of-domain datasets, proving the reasoning capability is not just memorizing item distributions.
Figure 3: Performance comparison on cross-domain recom- mendation setting.

Limitations and Future Work

  • Domain Knowledge Dependence: The gains were smaller on the "Industrial" dataset. This suggests that if the underlying LLM doesn't have enough world knowledge about a specific niche, the reasoning becomes less effective.
  • Computational Overhead: Generating reasoning traces at inference time is slower than one-shot ID prediction. Future work may need to look at "distilling" this reasoning back into faster models.
  • Scaling: The current study used a 1.7B parameter backbone (Qwen3). The authors noted that testing with larger models (e.g., 7B or 32B) might unlock even more sophisticated reasoning but requires more computational resources.

Summary updated

BibTeX
@misc{he2026reasoning,
  author = {Yingzhi He and Yan Sun and Junfei Tan and Yuxin Chen and Xiaoyu Kong and Chunxu Shen and Xiang Wang and An Zhang and Tat-Seng Chua},
  title = {{Reasoning over Semantic IDs Enhances Generative Recommendation}},
  year = {2026},
  eprint = {2603.23183},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.23183},
}
Figure