Personalizing Large Language Models using Retrieval Augmented Generation and Knowledge Graph

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Prahlad, Deeksha, Lee, Chanhee, Kim, Dongha, Kim, Hokeun
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918021382012928
author Prahlad, Deeksha
Lee, Chanhee
Kim, Dongha
Kim, Hokeun
author_facet Prahlad, Deeksha
Lee, Chanhee
Kim, Dongha
Kim, Hokeun
contents The advent of large language models (LLMs) has allowed numerous applications, including the generation of queried responses, to be leveraged in chatbots and other conversational assistants. Being trained on a plethora of data, LLMs often undergo high levels of over-fitting, resulting in the generation of extra and incorrect data, thus causing hallucinations in output generation. One of the root causes of such problems is the lack of timely, factual, and personalized information fed to the LLM. In this paper, we propose an approach to address these problems by introducing retrieval augmented generation (RAG) using knowledge graphs (KGs) to assist the LLM in personalized response generation tailored to the users. KGs have the advantage of storing continuously updated factual information in a structured way. While our KGs can be used for a variety of frequently updated personal data, such as calendar, contact, and location data, we focus on calendar data in this paper. Our experimental results show that our approach works significantly better in understanding personal information and generating accurate responses compared to the baseline LLMs using personal data as text inputs, with a moderate reduction in response time.
format Preprint
id arxiv_https___arxiv_org_abs_2505_09945
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Personalizing Large Language Models using Retrieval Augmented Generation and Knowledge Graph
Prahlad, Deeksha
Lee, Chanhee
Kim, Dongha
Kim, Hokeun
Computation and Language
Artificial Intelligence
Machine Learning
The advent of large language models (LLMs) has allowed numerous applications, including the generation of queried responses, to be leveraged in chatbots and other conversational assistants. Being trained on a plethora of data, LLMs often undergo high levels of over-fitting, resulting in the generation of extra and incorrect data, thus causing hallucinations in output generation. One of the root causes of such problems is the lack of timely, factual, and personalized information fed to the LLM. In this paper, we propose an approach to address these problems by introducing retrieval augmented generation (RAG) using knowledge graphs (KGs) to assist the LLM in personalized response generation tailored to the users. KGs have the advantage of storing continuously updated factual information in a structured way. While our KGs can be used for a variety of frequently updated personal data, such as calendar, contact, and location data, we focus on calendar data in this paper. Our experimental results show that our approach works significantly better in understanding personal information and generating accurate responses compared to the baseline LLMs using personal data as text inputs, with a moderate reduction in response time.
title Personalizing Large Language Models using Retrieval Augmented Generation and Knowledge Graph
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2505.09945