Back to search

University of Alberta

Large Language Models and their ability to utilize Knowledge Graphs for Dialogue Generation

Abstract

dc:description.abstract

Conversational agents are becoming increasingly popular in various applications, from customer service to personal assistants. However, one of the main challenges in developing effective conversational agents is ensuring that they can maintain context and provide relevant responses over extended interactions over time. Researchers have proposed various solutions to address this challenge, including the use of knowledge graphs as a long-term memory mechanism. Knowledge graph-based dialogue generation (KG-DG) is a challenging task requiring models to effectively incorporate external knowledge into conversational responses. While large language models (LLMs) have achieved impressive results across various NLP tasks, their ability to utilize external knowledge in KG-DG remains underexplored. We observe that LLMs often rely on internal knowledge, leading to detachment from provided knowledge graphs, even when they are given a flawlessly retrieved knowledge graph. Throughout this thesis, we first propose a simple yet effective entity anonymization technique to encourage LLMs to better leverage external knowledge. Second, we introduce LLM-KAT, an evaluation procedure for measuring knowledge attachment in generated responses. Our experiments on the OpenDialKG dataset demonstrate that our approach improves LLMs' attachment to external knowledge in the context of dialogue generation, and responses are attached to the knowledge graph more reliably.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Master's
Grantor
University of Alberta
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Sheikhi, Hadi
Advisor dc:contributor.advisor
  • Zaiane, Osmar (Computing Science)

Subjects

dc:subject × 11

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/83959

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Sheikhi, Hadi. Large Language Models and their ability to utilize Knowledge Graphs for Dialogue Generation. Master's thesis, University of Alberta, 2026. https://doi.org/10.7939/83959