Search arXiv⌕ Search

arXiv · 2611.40349

Does Positional Encoding Matter for Semantic ID-based Generative Recommendation?

Abstract

Semantic IDs have emerged as an effective representation for generative recommendation, where each item is represented by multiple discrete codes. These codes are typically serialized along the user interaction sequence into a flattened token sequence for generative modeling. However, such a formulation couples two structurally different sources of positional variation: the sequential order of user interactions and the hierarchical order induced by residual quantization. We argue that these two structures should be modeled on their respective positional axes. Based on this insight, we propose SimPos, a simple structure-aware positional modeling method that replaces the Transformer backbone's positional encoding with separate interaction-level and residual-level attention biases, requiring no additional learnable parameters. Experiments on four real-world recommendation datasets with different backbones and residual tokenizers show that SimPos consistently outperforms existing positional encoding methods, with relative gains of up to +24.88% in Recall@5. These results indicate that positional encoding matters in semantic ID-based generative recommendation, and that directly inheriting it from the Transformer backbone is suboptimal. Our code and data are available at https://github.com/KevinC2015/SimPos.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Yuqing Liu, Huiyuan Chen, Jingru Cheng, Geo Zhang, Philip S. Yu. 2026-11-30. Does Positional Encoding Matter for Semantic ID-based Generative Recommendation?. https://searcharxiv.org/abs/2611.40349

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Ontology Interoperability: A Comprehensive Framework for Industry-Scale Applications

Different ontologies with conflicting and overlapping concepts cause havoc in the design, develop, and deploy phases of ontology-driven applications. In this work, we propose a comprehensive ontology interoperability framework for industrial-scale ontology-driven applications. The framework employs three state-of-the-art semantic techniques in different phases of the ontology engineering (OE) life cycle: ontology design patterns (ODPs) in the design phase, ontology matching and versioning (OM\&OV) in the develop phase, and ontology validation (OVA) in the deploy phase, to achieve better ontology interoperability.

cs.IR↗

Understanding the Core: Generative Temporal-Hierarchical Behavior Modeling for Recommendation

Industrial recommender systems observe abundant user behaviors, but the core behavior, the deepest interaction in the hierarchy and typically the strongest observable signal for the primary recommendation objective, is sparse. Core-behavior-only next-token prediction yields sequences too short for effective interest modeling, whereas incorporating exposure and engagement behaviors enriches temporal evidence but can dilute this objective. The central challenge is therefore to exploit dense behavioral trajectories while prioritizing the core behavior. We view such histories as temporal-hierarchical: user interest evolves over time, while behaviors at different engagement depths play unequal roles. We propose GAMER, a decoder-only framework for generative pretraining over temporal-hierarchical behavior sequences. GAMER consolidates each local user-item behavior chain into its deepest observed state, termed a consolidated chain state, and serializes these states chronologically to preserve temporal coverage and engagement depth. Its Temporal-Hierarchical Attention (T-Hier Attention) conditions causal sequence modeling on behavior depth. The resulting pretrained backbone supports Core-Behavior Item Retrieval, Behavior-Conditioned Item Generation, and User Response Prediction. We further construct ShortVideoAD, a short-video advertising benchmark with sessionized histories, an explicit behavior hierarchy, and semantic item identifiers. Experiments on ShortVideoAD and public datasets demonstrate the effectiveness and transferability of GAMER. On ShortVideoAD core-behavior item retrieval with semantic IDs, GAMER achieves relative gains of 22.13% in HR@10 and 33.73% in NDCG@10 over MBGen, the strongest baseline. The same pretrained checkpoint also benefits Behavior-Conditioned Item Generation and CVR prediction.

cs.IR↗

Semantic Tokens Beat IDs in Large Ranking Models: A Scaling Law Perspective

Recent studies on scaling up ranking models have achieved substantial improvement for recommendation systems and search engines. However, most large-scale ranking systems rely on item and query IDs, where each item or query is treated as an independent categorical symbol and mapped to a learned embedding. As items and queries rapidly appear and disappear, these embeddings become difficult to train and maintain. This instability impedes effective learning of neural network parameters and limits the scalability of ranking models. In this paper, we show that semantic tokens possess greater scaling potential compared to item and query IDs. Our proposed framework TRM improves the token generation and application pipeline, leading to a 72% reduction in sparse storage while achieving a 0.85% increase in AUC. Extensive experiments further show that TRM consistently outperforms state-of-the-art models as model capacity scales.Finally, TRM has been successfully deployed on large-scale personalized search engines, yielding a 0.26% improvement in user active days and a 0.75% reduction in change query ratio through an A/B test. We present the first complete replacement of both item and query IDs with semantic tokens in large-scale ranking scenarios, demonstrating superior scalability.

cs.IR↗