PersonaAgent with GraphRAG: Community-Aware Knowledge Graphs for Personalized LLM
By: Siqi Liang, Yudi Zhang, Yue Guo
Potential Business Impact:
AI learns your style to give better answers.
We propose a novel framework for persona-based language model system, motivated by the need for personalized AI agents that adapt to individual user preferences. In our approach, the agent embodies the user's "persona" (e.g. user profile or taste) and is powered by a large language model (LLM). To enable the agent to leverage rich contextual information, we introduce a Knowledge-Graph-enhanced Retrieval-Augmented Generation (Graph RAG) mechanism that constructs an LLM-derived graph index of relevant documents and summarizes communities of related information. Our framework generates personalized prompts by combining: (1) a summary of the user's historical behaviors and preferences extracted from the knowledge graph, and (2) relevant global interaction patterns identified through graph-based community detection. This dynamic prompt engineering approach allows the agent to maintain consistent persona-aligned behaviors while benefiting from collective knowledge. On the LaMP benchmark, our method improves news categorization F1 by 11.1%, movie tagging F1 by 56.1%, and reduces product rating MAE by 10.4% over prior methods. Our code is available at https://anonymous.4open.science/r/PersonaAgentwGraphRAG-DE6F
Similar Papers
Personalizing Large Language Models using Retrieval Augmented Generation and Knowledge Graph
Computation and Language
Helps chatbots give better answers using your personal info.
PersonaAgent: When Large Language Model Agents Meet Personalization at Test Time
Artificial Intelligence
Makes AI understand and act like you.
PersonaMem-v2: Towards Personalized Intelligence via Learning Implicit User Personas and Agentic Memory
Computation and Language
AI learns to remember and understand you better.