Abstract
Recommender systems leveraging generative models often generate item identifiers directly, rather than ranking catalog items by a recommendation score. Recent work extends beyond pure sequential interaction signals by incorporating item content and structured relationships among items, with two distinct directions emerging. Semantic IDs (SIDs) enrich item representations by replacing opaque, randomly initialized embeddings with hierarchically quantized discrete codes derived from item content. Knowledge-graph (KG) path reasoning instead generates entity-relation paths that ground recommendations in structured relationships between items, attributes, and external entities, thereby enriching the relational context. These two lines have complementary limitations: SID-based models lack relational grounding, while KG-based generative recommenders still represent items as arbitrary, opaque tokens tied to large embedding tables, limiting parameter sharing and generalization. We propose SPRIG, a generative recommender that integrates content-derived SIDs into KG path reasoning. SPRIG is trained on information-rich KG paths that terminate in items represented as discrete, content-derived tokens, combining the advantages of both approaches. We evaluate SPRIG on movie and music recommendation datasets against baselines spanning sequential language models, KG-augmented methods, and SID-based approaches. Our results show that SPRIG achieves competitive performance over prior generative models while using fewer parameters and a lower compute cost. Code: https://github.com/justinhangoebl/semantic-id-knowledge-graph-recommender
Keywords
Subject
Publication details
- DOI
- 10.1145/3799682.3839870
- Journal
- Not available
- Open access
- Green open access
Cite this article
APA 7
Hangoebl, J., Moscati, M., Melchiorre, A. B., Nawaz, S., & Schedl, M. (2026). SPRIG: Semantic-ID-enhanced Paths for Knowledge Graph-based Generative Recommendation. https://doi.org/10.1145/3799682.3839870
MLA 9
Hangoebl, Justin, et al. "SPRIG: Semantic-ID-enhanced Paths for Knowledge Graph-based Generative Recommendation." https://doi.org/10.1145/3799682.3839870.
Chicago (author–date)
Hangoebl, Justin, Marta Moscati, Alessandro B. Melchiorre, Shah Nawaz, and Markus Schedl. 2026. "SPRIG: Semantic-ID-enhanced Paths for Knowledge Graph-based Generative Recommendation." https://doi.org/10.1145/3799682.3839870.
Harvard
Hangoebl, J., Moscati, M., Melchiorre, A. B., Nawaz, S. and Schedl, M. (2026) 'SPRIG: Semantic-ID-enhanced Paths for Knowledge Graph-based Generative Recommendation', doi:10.1145/3799682.3839870.
Vancouver
Hangoebl J, Moscati M, Melchiorre AB, Nawaz S, Schedl M. SPRIG: Semantic-ID-enhanced Paths for Knowledge Graph-based Generative Recommendation. doi:10.1145/3799682.3839870
IEEE
J. Hangoebl, M. Moscati, A. B. Melchiorre, S. Nawaz, and M. Schedl, "SPRIG: Semantic-ID-enhanced Paths for Knowledge Graph-based Generative Recommendation," doi: 10.1145/3799682.3839870.