Brock University
Atomic Knowledge Effects: A Systematic Study of Knowledge Integration in Commonsense QA
Abstract
dc:description.abstractLarge Language Models (LLMs) exhibit remarkable performance in various natural language tasks but face limitations in accessing dynamic or domain-specific knowledge not seen during pre-training. To address this, recent research explores integrating structured external knowledge from Knowledge Graphs (KGs) into LLMs via in-context learning (ICL). KGs offer factual precision and semantic structure, but integrating them effectively requires careful selection to avoid overwhelming the model with irrelevant or noisy information. In this thesis, we provide a systematic, empirical study of how small, atomic choices in knowledge selection, representation, and injection affect LLM reasoning in multiple-choice commonsense QA. We analyze what knowledge to include, how far to retrieve, how to encode and present it, when to inject it given model confidence, and how models handle noisy or contradictory evidence. Across three chapters, we quantify accuracy gains, belief shifts, and robustness under each choice, isolating simple patterns: relevant, compact, 1-hop paths help most; any irrelevant or contradictory content quickly erodes benefits; moderate bundle sizes and confidence-aware routing provide the best trade-offs; and selective picking outperforms indiscriminate averaging. The outcome is a set of confidence- and compute-conscious recipes for KG-augmented prompting, practical guardrails and defaults that improve reasoning stability and accuracy without retraining, ready to transfer across models and domains.
Degree
thesis:*- Name thesis:degree_name
- M.Sc. Computer Science
- Level thesis:degree_level
- Master
- Discipline thesis:degree_discipline
- Faculty of Mathematics and Science
- Department dc:contributor.department
- Department of Computer Science
- Grantor dc:publisher
- Brock University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Ghanbari, Maryam
- Advisor dc:contributor.advisor
-
- Dividino, Renata
Subjects
dc:subject × 5Rights
dc:rights- Statement dc:rights
-
- Attribution 4.0 International
- Licence dc:rights.uri
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10464/19792