arXiv:2610.06590cs.IROct 2026

Manuscript Offprint

arXiv:2610.06590

SPRIG: Semantic-ID-enhanced Paths for Knowledge Graph-based Generative Recommendation

Justin Hangoebl, Marta Moscati, Alessandro B. Melchiorre, Shah Nawaz, Markus Schedl

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Justin Hangöbl

hangoebl.j@gmail.com

Institute of Computational Perception,

Johannes Kepler University

Linz, Austria

Marta Moscati

marta.moscati@jku.at

Institute of Computational Perception,

Johannes Kepler University

Linz, Austria

Albatross AI

Linz, Austria

Alessandro B. Melchiorre

alessandro.b.mel@gmail.com

Criteo AI Lab

Paris, France

Shah Nawaz

shah.nawaz@jku.at

Institute of Computational Perception,

Johannes Kepler University

Linz, Austria

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. Knowledgegraph (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/semanticid-knowledge-graph-recommender

Markus Schedl

markus.schedl@jku.at

Institute of Computational Perception,

Johannes Kepler University

Linz, Austria

Human-centered AI Group, AI Lab,

Linz Institute of Technology

Linz, Austria

CCS Concepts

• Information systems → Collaborative filtering; Personalization; Recommender systems; Multimedia and multimodal retrieval.