PersonalAI: A Systematic Comparison of Knowledge Graph Storage and Retrieval Approaches for Personalized LLM agents

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Menschikov, Mikhail, Evseev, Dmitry, Dochkina, Victoria, Kostoev, Ruslan, Perepechkin, Ilia, Anokhin, Petr, Semenov, Nikita, Burnaev, Evgeny
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908955862630400
author Menschikov, Mikhail
Evseev, Dmitry
Dochkina, Victoria
Kostoev, Ruslan
Perepechkin, Ilia
Anokhin, Petr
Semenov, Nikita
Burnaev, Evgeny
author_facet Menschikov, Mikhail
Evseev, Dmitry
Dochkina, Victoria
Kostoev, Ruslan
Perepechkin, Ilia
Anokhin, Petr
Semenov, Nikita
Burnaev, Evgeny
contents Personalizing language models by effectively incorporating user interaction history remains a central challenge in the development of adaptive AI systems. While large language models (LLMs), combined with Retrieval-Augmented Generation (RAG), have improved factual accuracy, they often lack structured memory and fail to scale in complex, long-term interactions. To address this, we propose a flexible external memory framework based on a knowledge graph that is constructed and updated automatically by the LLM. Building upon the AriGraph architecture, we introduce a novel hybrid graph design that supports both standard edges and two types of hyper-edges, enabling rich and dynamic semantic and temporal representations. Our framework also supports diverse retrieval mechanisms, including A*, WaterCircles traversal, beam search, and hybrid methods, making it adaptable to different datasets and LLM capacities. We evaluate our system on TriviaQA, HotpotQA, DiaASQ benchmarks and demonstrate that different memory and retrieval configurations yield optimal performance depending on the task. Additionally, we extend the DiaASQ benchmark with temporal annotations and internally contradictory statements, showing that our system remains robust and effective in managing temporal dependencies and context-aware reasoning
format Preprint
id arxiv_https___arxiv_org_abs_2506_17001
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PersonalAI: A Systematic Comparison of Knowledge Graph Storage and Retrieval Approaches for Personalized LLM agents
Menschikov, Mikhail
Evseev, Dmitry
Dochkina, Victoria
Kostoev, Ruslan
Perepechkin, Ilia
Anokhin, Petr
Semenov, Nikita
Burnaev, Evgeny
Computation and Language
Information Retrieval
Personalizing language models by effectively incorporating user interaction history remains a central challenge in the development of adaptive AI systems. While large language models (LLMs), combined with Retrieval-Augmented Generation (RAG), have improved factual accuracy, they often lack structured memory and fail to scale in complex, long-term interactions. To address this, we propose a flexible external memory framework based on a knowledge graph that is constructed and updated automatically by the LLM. Building upon the AriGraph architecture, we introduce a novel hybrid graph design that supports both standard edges and two types of hyper-edges, enabling rich and dynamic semantic and temporal representations. Our framework also supports diverse retrieval mechanisms, including A*, WaterCircles traversal, beam search, and hybrid methods, making it adaptable to different datasets and LLM capacities. We evaluate our system on TriviaQA, HotpotQA, DiaASQ benchmarks and demonstrate that different memory and retrieval configurations yield optimal performance depending on the task. Additionally, we extend the DiaASQ benchmark with temporal annotations and internally contradictory statements, showing that our system remains robust and effective in managing temporal dependencies and context-aware reasoning
title PersonalAI: A Systematic Comparison of Knowledge Graph Storage and Retrieval Approaches for Personalized LLM agents
topic Computation and Language
Information Retrieval
url https://arxiv.org/abs/2506.17001