Search arXiv⌕ Search

arXiv · 2612.01761

BASIS: Bridging Hard and Soft Semantic IDs for Graph-based Recommendation

Abstract

Knowledge graphs (KGs) enrich recommender systems with explicit item semantics, but their effectiveness depends on the coverage and distribution of item-side relational evidence. In real-world KGs, some items have rich semantic neighborhoods, whereas others receive few or no informative relations. Existing knowledge-aware recommenders improve the encoding of observed graph structures, but remain constrained by the relations available in the original KG. Content-based Semantic IDs (SIDs) provide catalog-wide discrete representations, yet content-only quantization is not guaranteed to preserve KG-induced item relations. BASIS is a KG-guided hierarchical SID framework that treats the observed KG as a relational teacher and transfers the learned semantics to graph-based recommendation through a frozen--adaptive dual interface. BASIS first learns residual semantic codes from item content, while shared-entity consistency and graph-level alignment organize the discrete space according to KG evidence. It then converts selected hard codes into typed item-to-code edges and initializes the corresponding code entities with pretrained codebook vectors, which remain frozen as stable semantic anchors. In parallel, a differentiable SoftSID pathway adapts a separate codebook copy to recommendation supervision and injects the resulting semantic representation as a residual item feature. Experiments on MIND-F, Alibaba-iFashion-small, and KGRec-Sound with multiple knowledge-aware recommendation backbones show that BASIS consistently improves all three native backbones. The gains are most pronounced on MIND-F, where item-side KG coverage is sparse, and remain significant on Alibaba and KGRec-Sound under denser KG regimes.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Yang Cao, Wei Zhang. 2026-12-01. BASIS: Bridging Hard and Soft Semantic IDs for Graph-based Recommendation. https://searcharxiv.org/abs/2612.01761

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↗