Live Session
Tuesday Posters
Late Breaking Results
KGGLM: A Generative Language Model for Generalizable Knowledge Graph Representation in Recommendation
Giacomo Balloccu (University of Cagliari), Ludovico Boratto (University of Cagliari), Gianni Fenu (University of Cagliari), Mirko Marras (University of Cagliari) and Alessandro Soccol (University of Cagliari)
Abstract
Current recommendation methods based on knowledge graphs rely on entity and relation representations for severalsteps along the pipeline, with knowledge completion and path reasoning being the most influential. Despite their similarities, the most effective representation methods for these steps differ, leading to inefficiencies, limited representativeness, and reduced interpretability. In this paper, we introduce KGGLM, a decoder-only Transformer modeldesigned to learn generalizable knowledge representations to support recommendation. The model is trained on genericpaths sampled from the knowledge graph to capture foundational patterns, and then fine-tuned on paths specific of the downstream step (knowledge completion and path reasoning in our case). Experiments on ML1M and LFM1M show that KGGLM beats twenty-two baselines in effectiveness under both knowledge completion and recommendation. Source code: https://anonymous.4open.science/r/ukgclm.