Knowledge Graph Enhanced Language Agents for Recommendation
Taicheng Guo, Chaochun Liu, Hai Wang, Varun Mannam, Fang Wang, Xin Chen, Xiangliang Zhang, Chandan K. Reddy
TL;DR
The paper tackles the limitation of language-model–driven recommender simulations that rely on vague user profiles by introducing Knowledge Graph Enhanced Autonomous Language Agents (KGLA). It unifies three modules—Path Extraction, Path Translation, and Path Incorporation—to convert knowledge-graph paths between known users and items into informative, text-based rationales that enrich agent memories and guide both simulation and ranking. Empirical results on CDs, Clothing, and Beauty show large $NDCG@1$ gains over baselines (up to about 95% relative improvements) and demonstrate the method's effectiveness across different LLMs, with stronger performance when combining $2$-hop and $3$-hop KG information. The approach also provides explainable recommendations and is particularly advantageous in low-interaction or cold-start scenarios, offering a pathway toward more interactive and memory-grounded recommender systems.
Abstract
Language agents have recently been used to simulate human behavior and user-item interactions for recommendation systems. However, current language agent simulations do not understand the relationships between users and items, leading to inaccurate user profiles and ineffective recommendations. In this work, we explore the utility of Knowledge Graphs (KGs), which contain extensive and reliable relationships between users and items, for recommendation. Our key insight is that the paths in a KG can capture complex relationships between users and items, eliciting the underlying reasons for user preferences and enriching user profiles. Leveraging this insight, we propose Knowledge Graph Enhanced Language Agents(KGLA), a framework that unifies language agents and KG for recommendation systems. In the simulated recommendation scenario, we position the user and item within the KG and integrate KG paths as natural language descriptions into the simulation. This allows language agents to interact with each other and discover sufficient rationale behind their interactions, making the simulation more accurate and aligned with real-world cases, thus improving recommendation performance. Our experimental results show that KGLA significantly improves recommendation performance (with a 33%-95% boost in NDCG@1 among three widely used benchmarks) compared to the previous best baseline method.
