Nanyang Technological University
Advancing knowledge-augmented reasoning and safety towards reliable large language models
Abstract
dc:description.abstractIn recent years, large language models (LLMs) have exhibited exceptional abilities in producing coherent and human-like text, capturing a wide range of linguistic patterns. Scaling the parameters of LLMs into the billions has significantly increased their versatility and adaptability, allowing them to handle new tasks with minimal or no additional fine-tuning. This advancement has opened up new possibilities for their applications in various domains. However, LLMs are fundamentally probabilistic models, which leads to unavoidable challenges in their reliability. LLMs often hallucinate facts, falter on tasks that require complex reasoning, and sometimes exhibit undesirable behavioural traits. This thesis explores a range of innovative methods and frameworks aimed at addressing these challenges, with the goal of creating artificial intelligence (AI) systems that not only are capable of leveraging knowledge to solve complex reasoning tasks, but also uphold human values. To mitigate hallucinations and strengthen reasoning capability, this thesis first advances the field of knowledge-augmented reasoning. Knowledge is often distributed across diverse sources and appears in varied formats. To harness heterogeneous knowledge, we propose the Chain-of-Knowledge (CoK) framework. CoK leverages unstructured text, knowledge graphs, and tabular data into a progressively revised Chain-of-Thought, thereby improving factual consistency in open-domain question answering. Recognising that successful problem solving also requires strategic control over retrieval, Critic-Guided Planning with Retrieval Augmentation (CR-Planner) couples a generative model with lightweight critic networks that decide when, how, and what to retrieve and that evaluate intermediate solutions; this architecture delivers substantial gains on tasks combining intensive knowledge access with complex reasoning, such as competitive programming, theorem proving, and complex domain retrieval. Furthermore, another significant source of hallucination for LLMs lies in temporal reasoning. Current LLMs frequently misinterpret dates and numerical ordering. Our proposed TempLogic mitigates this weakness by distilling time-relevant context, extracting structured event-date tuples and executing a logic interpreter, thereby producing consistent, temporally accurate answers. Finally, Parallel In-Context Learning (ParaICL) extends the knowledge-augmentation theme to demonstration-based information. Treating few-shot examples as task-specific micro-knowledge, ParaICL clusters demonstrations by semantic similarity, processes each cluster within a manageable context window, and then aggregates the partial probability distributions. This design lets the model draw on all available external examples without breaching token limits and consistently lifts accuracy on reasoning benchmarks. Improving LLMs' reasoning capabilities is only half of the reliability equation; the same system must also behave safely when interacting with users. Conventional safety checks concentrate on overtly toxic sentences and often miss deeper behavioural tendencies. To fill that gap, we design a psychological-safety framework that probes LLMs with validated personality and well-being inventories. The analysis uncovers elevated dark-triad traits in several state-of-the-art LLMs, prompting a lightweight preference-based fine-tuning procedure that significantly attenuates those traits. This behavioural audit and mitigation highlight the need for safety evaluations that extend beyond surface-level toxicity to systemic patterns of model behaviour. In summary, this thesis addresses the dual challenge of enhancing the reasoning capabilities and safety of LLMs. While LLMs demonstrate remarkable text generation abilities, they suffer from hallucinations, reasoning failures, and undesirable behavioral traits. The research contributes novel frameworks for knowledge-augmented reasoning, including CoK for integrating heterogeneous knowledge sources, CR-Planner for strategic retrieval control, TempLogic for temporal reasoning accuracy, and ParaICL for demonstration-based reasoning. Beyond reasoning improvements, the work introduces a psychological-safety framework that identifies and mitigates problematic behavioral patterns in LLMs through personality-based evaluations and preference-based fine-tuning. Together, these contributions advance the development of AI systems that are both intellectually capable and behaviorally trustworthy, addressing fundamental reliability concerns in LLMs.
Degree
thesis:*- College dc:contributor.school
- College of Computing and Data Science
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Li, Xingxuan
- Advisors dc:contributor.supervisor
-
- Sourav S Bhowmick
- Joty Shafiq Rayhan
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/201501