Nanyang Technological University
Retrieval augmented generation for question-answering systems
Abstract
dc:description.abstractTo enhance the factual accuracy and reliability of large language models (LLMs) during the question-answering process, researchers typically employ a framework called Retrieval Augmented Generation. Current RAG methods mainly rely on injecting retrieved documents into the input context of LLMs; this method is called in-context learning (ICL). Although effective, ICL-based RAG suffers from increased computational overhead with longer contexts and a fundamental gap between how external knowledge is presented (in the input) and how internal knowledge is stored (in parameters). Graph-based RAG methods, such as GraphRAG and HiRAG, attempt to improve retrieval quality by leveraging knowledge graph structures but introduce significant complexity in knowledge graph construction, requiring substantial computational resources and time. This dissertation investigates Parametric Retrieval-Augmented Generation (PRAG), a novel approach that leverages Low-Rank Adaptation (LoRA) to incorporate external knowledge directly into the feed-forward network parameters of large language models. It does not require additional context in the input to incorporate retrieved information; its overall architecture is also simpler than GraphRAG, and compared to ICL-based RAG, it generates higher-quality responses with shorter inference time. The PRAG framework is successfully reproduced across three LLM backbones and four benchmark datasets, with results closely matching the original paper. During the reproduction process, a critical bug in LoRA weight loading was identified and ii resolved; the details are documented in the appendix. Moreover, as the primary original contribution, a misinformation injection experiment using augmented test data is designed and conducted to evaluate the robustness of PRAG compared to ICL when exposed to irrelevant or erroneous information. The experimental results on Qwen2.5-1.5B, LLaMA3.2-1B, and LLaMA3-8B demonstrate that PRAG exhibits significantly greater robustness to misinformation: random LoRA adapters produce performance close to the no-information baseline, while random in-context documents cause worse results. These findings provide new insights into the performance analysis of parametric and in-context knowledge injection, and also demonstrate that PRAG performs better than ICL-based RAG in both normal and extreme situations, indicating that PRAG is a more efficient and robust framework.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Zhang, Qianheng
- Advisor dc:contributor.supervisor
-
- Tan Yap Peng
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/214432