Back to search

University of Alberta

Assessing and Improving Factual Answers from Knowledge Graphs and Language Models

Abstract

dc:description.abstract

This thesis investigates the assessment and enhancement of factual reliability in knowledge graphs and language models, two pivotal resources in artificial intelligence (AI) applications that require accurate delivery of information. Recognizing both scenarios where external authoritative factual knowledge information is available and where it is not, we propose extrinsic and intrinsic methods to assess and improve the factual reliability of these AI systems by leveraging external knowledge sources and signals from the models themselves. First, as knowledge graphs are widely used for both factual question answering and for evaluating the factuality of language models, we identify and mitigate substantial entity typing errors in widely used knowledge graphs, introducing an active error detection algorithm that improves knowledge graph usability in question answering and factuality benchmarking. Open-ended question answering, which is often based on knowledge graphs, is the most common evaluation task for assessing language models' factual knowledge. We propose an entailment-based framework that provides nuanced scoring based on semantic inference, closely aligning with human judgment. To avoid the potential bias in the formulation of question answering tasks, we develop a novel probing technique to evaluate word associations in language models, that enables asymmetric, human-like measurements of latent commonsense and lexical knowledge. When external ground truths are unavailable or insufficient for evaluating factuality, we develop intrinsic methods that rely solely on signals provided by the models themselves. When multiple responses are available from multiple language models, we introduce a Bayesian crowdsourcing approach that effectively aggregates the outputs and provides a preference ranking over the outputs based on their uncertainty. In addition, we recognize that being out-of-distribution (OOD) is an indicator of potential factual errors in language models, which we examine through a case study on digital humanities texts, and we propose syntactic simplification as a method to adapt complex, domain-specific texts to similar distributions as the training data, as a potential way to improve model performance on OOD data. This work contributes a comprehensive framework for assessing and improving the factual consistency of AI systems, bridging reliable external knowledge sources and unreliable internal signals to support more accurate and trustworthy responses. The findings provide practical recommendations for applying knowledge graphs and language models in high-stakes domains and outline future directions to enhance factual accuracy in next-generation AI systems.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
Doctoral
Grantor
University of Alberta
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yao, Peiran
Advisor dc:contributor.advisor
  • Barbosa, Denilson (Computing Science)

Subjects

dc:subject × 5

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/81725

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

Yao, Peiran. Assessing and Improving Factual Answers from Knowledge Graphs and Language Models. Doctoral thesis, University of Alberta, 2025. https://doi.org/10.7939/81725