Concept-based Explanations for Retrieval-Augmented Large Language Models

dc.contributor.advisorSzlichta, Jarek
dc.contributor.authorLing, Katherine Cheuk Ying
dc.date.accessioned2026-11-06T16:05:46Z
dc.date.available2026-11-06T16:05:46Z
dc.date.copyright2026-08-04
dc.date.issued2026-11-06
dc.date.updated2026-11-06T16:05:46Z
dc.degree.disciplineComputer Science
dc.degree.levelMaster's
dc.degree.nameMSc - Master of Science
dc.description.abstractLarge language models (LLMs) with retrieval-augmented generation (RAG) capabilities respond differently to open-ended questions depending on the user's intent and the interpretation of retrieved sources. However, existing explainable AI techniques for these systems focus on explaining the LLM's outputs by attributing its answer to the sources retrieved using RAG rather than to these underlying signals. We present CORAL, a framework that organizes the answer space as a lattice of concepts representing different intents and interpretations. CORAL provides users a structured space to both generate counterfactual explanations and explore how changes in intent and interpretation shape the LLM's output. While an exhaustive method populates the entire lattice to find counterfactuals, we propose pruning strategies based on LLM-aided concept selection, entropy-guided rank aggregation, and graph-of-thoughts reasoning to reduce the number of LLM calls. Finally, we evaluate the effectiveness of our pruning strategies and the quality of our explanations through quantitative and qualitative experiments.
dc.identifier.urihttps://hdl.handle.net/10315/44249
dc.languageen
dc.rightsAuthor owns copyright, except where explicitly noted. Please contact the author directly with licensing requests.
dc.subjectComputer science
dc.titleConcept-based Explanations for Retrieval-Augmented Large Language Models
dc.typeElectronic Thesis or Dissertation

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Ling_Katherine_Cheuk_Ying_2026_MSc.pdf
Size:
3.16 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.87 KB
Format:
Plain Text
Description:
Loading...
Thumbnail Image
Name:
YorkU_ETDlicense.txt
Size:
3.39 KB
Format:
Plain Text
Description: