Jev-GR: Autoregressive Semantic ID Prediction with a Decision LLM to Improve Generative Recommendation

Jev-GR improves autoregressive semantic ID prediction for generative recommendation via branch-position-averaged loss and depth-specific projections.
This article introduces Jev-GR, an autoregressive semantic ID (SID) prediction method for generative recommendation. It notes that users sharing an SID prefix may have different intents, and only prefixes with competing subsequent symbols provide valid ranking signal; uniform loss across all prefixes dilutes key decision points. Jev-GR uses a Qwen backbone with an OpenJev-initialized adapter, depth-specific projections, branch-position-averaged loss, and beam search, achieving Recall@20 of 0.0893 and 0.0453 on two Amazon datasets, beating the strongest baselines.
Generative recommendation is becoming an active direction in the recommender systems field. Unlike traditional discriminative models, these methods treat recommendation as a sequence generation problem, leveraging the strong pattern-capturing ability of large language models (LLMs) together with item descriptions and user interaction history to predict, symbol by symbol, the item a user is likely to choose next. A recent study titled "Jev-GR: Autoregressive Semantic ID Prediction with a Decision LLM for Generative Recommendation" proposes improvements targeting key pain points in semantic ID prediction.

The Core Challenge of Semantic ID Prediction
Generative recommenders typically retrieve items by predicting Semantic Identifiers (SIDs). An SID maps each item to a symbol sequence, and the model must predict these symbols one by one from left to right. This autoregressive approach introduces a structural problem: users who reach the same SID prefix face the same set of legal subsequent symbols in the catalog, but their historical behaviors may point to different subtrees.
In other words, sharing a prefix does not mean sharing user intent. An item's full path provides a valid ranking signal only at those prefixes where competing subsequent symbols exist. If the model computes loss uniformly across all prefixes, it dilutes the weight of the truly discriminative decision points, leading to reduced learning efficiency.
A Semantic Identifier (SID) is a type of encoding that maps discrete items to compact symbol sequences, typically generated by content-based clustering or quantization methods—for example, hierarchical clustering of item text descriptions or collaborative signals (such as RQ-VAE or hierarchical k-means)—so that each item corresponds to a path from root to leaf. The tree structure of SIDs naturally brings prefix sharing: items under the same subtree share the same prefix symbols, and the model only needs to make a choice at branch points. Unlike traditional recommendation, which treats each item as an independent category, SIDs allow the model to generalize to unseen items—as long as their symbol sequences can be composed from learned prefixes and transition patterns—thereby mitigating cold-start and long-tail problems.
Jev-GR's Method Design
Jev-GR's overall approach is to use a shared prefix state, paired with depth-specific projection layers, to score each decision point. Specifically, the model feeds the user's historical SIDs, the corresponding item descriptions, and the current prefix into an encoder built on a Qwen backbone with an OpenJev-initialized adapter.
The key innovation is depth-specific projection: SID symbols at different depths use different output projections, scoring legal next symbols from the same shared prefix state. This avoids interference from mixing symbol spaces across different levels.
During training, Jev-GR uses supervised fine-tuning (SFT), but with an important adjustment to the loss function—the loss for each target is averaged over its branch positions, rather than normalized over the full SID length. This directly addresses the aforementioned challenge: only positions with competing continuations should contribute ranking signal. During inference, the model uses beam search to rank unseen items by the cumulative log-probability of their paths.
Beam search is a constrained approximate decoding strategy: at each generation step, it retains only the k candidate paths with the highest cumulative log-probability (k being the beam width), rather than exhaustively enumerating all possible symbol combinations. For SID prediction, the model starts from the root node and expands layer by layer, scoring legal child symbols at each layer based on the current prefix state, and finally ranks candidate items by the cumulative log-probability of the full path. Compared with greedy decoding, beam search can explore multiple competing paths under controlled computational cost, avoiding overall ranking bias caused by a single-step decision error early on, making it a common inference technique in generative retrieval.
The "adapter" in the OpenJev-initialized adapter refers to a small trainable module (such as a low-rank projection or bottleneck layer) inserted into a pretrained backbone network. Its role is to adapt the representations of a general-purpose language model to a downstream task with a small number of parameters while keeping most of the backbone parameters frozen. Jev-GR uses the initialization weights provided by OpenJev to start these adapters, giving the model a certain domain prior at the beginning of fine-tuning rather than starting from random initialization. In the ablation experiments, freezing the adapter led to performance degradation, which precisely shows that the general knowledge of the backbone alone is insufficient to capture the symbol transition patterns in recommendation scenarios; the adapter needs to remain trainable to absorb task-specific signals.
Experimental Results and Ablation Analysis
The study was evaluated on two datasets: Amazon Industrial and Scientific, and Tools and Home Improvement (5-core). Jev-GR achieved Recall@20 of 0.0893 and 0.0453, respectively, while the strongest baselines on each dataset were 0.0721 and 0.0349. Clear improvements were achieved on both datasets.
The ablation experiments further validated the effectiveness of the design choices. When the adapter was frozen, or when the loss was normalized over the full SID length, Recall and NDCG decreased on both datasets. This shows that both the trainability of the OpenJev adapter and the branch-position-averaged loss strategy are necessary for model performance.
Implications for Generative Recommendation
The value of Jev-GR lies not only in the numerical improvements, but also in highlighting a detail that is easily overlooked in generative recommendation: the supervision signal for autoregressive decoding should focus on positions that are truly decision-relevant. This idea shares common ground with some training techniques in language models, but in the recommendation scenario, the tree structure of the item catalog makes the definition of branch positions more explicit.
Another direction worth noting is the adapter initialization strategy. OpenJev initialization combined with a trainable adapter—with performance dropping when frozen—indicates that pretrained knowledge needs moderate adjustment for the recommendation task. How to efficiently adapt to downstream tasks while preserving the backbone model's capabilities remains a question worth exploring.
Overall, Jev-GR provides a clearly structured and empirically solid improvement for semantic ID prediction, and its core idea—weighting the loss by branch position—has reference value for any generative recommendation system that adopts autoregressive SID prediction.
One-line Summary
Jev-GR improves autoregressive semantic ID prediction for generative recommendation through branch-position-averaged loss and depth-specific projections.
Paragraph Summary
This article introduces Jev-GR, an autoregressive semantic ID (SID) prediction method for generative recommendation. It points out that users under the same SID prefix may have different intents, and only prefixes with competing subsequent symbols provide valid ranking signal; computing loss uniformly across all prefixes dilutes the weight of key decision points. Jev-GR uses a Qwen backbone with an OpenJev-initialized adapter, scores symbols at each layer from a shared prefix state via depth-specific projections, averages loss over branch positions during training, and uses beam search during inference. On two Amazon datasets, Recall@20 reaches 0.0893 and 0.0453, outperforming the strongest baselines, and ablation experiments confirm the necessity of adapter trainability and the branch-averaged loss strategy.
Related articles

Jensen Huang Testifies Before Congress: Key Takeaways on Chip Export Controls
NVIDIA CEO Jensen Huang faces questioning from the U.S. House Foreign Affairs Committee on AI chip export controls, commercial interests, and national security.

Tencent WorkBuddy in Practice: Building an AI Automated Testing Workbench with SKILL Capabilities
Based on Bilibili creator Baili Yang's sharing, this article analyzes how Tencent WorkBuddy AI agent desktop workbench can be used for automated testing: the shift from AI-assisted to AI-led, the relationship among large models, agents, and SKILL capabilities, zero-configuration installation and permission control, and practical ideas for building a personal AI automated testing workbench.

Adding Authentication to Remix SaaS Apps: A Practical Guide to WorkOS AuthKit
Based on the official WorkOS AuthKit guide, this article covers the full approach to integrating authentication in Remix or React Router SaaS apps, including session management, protected routes, multi-tenant organizations, enterprise SSO, and SCIM sync, and analyzes its engineering value for SaaS teams.