Back to results

Queens University

Detect, Explain, Ground: A Sustainable Pipeline for Robust Large Language Model–Powered Agents

Abstract

dc:description.abstract

Large language models (LLMs) enable fluent dialogue but still suffer from critical breakdowns, such as incoherence, irrelevance, or factual inaccuracies (hallucinations). This thesis develops a sustainable, three-stage pipeline to detect, manage, and ground LLM-powered agents, enhancing their robustness and reliability. First, to establish a baseline for self-monitoring, we evaluate general-purpose LLMs on DBDC5, demonstrating that models like GPT-4 can surpass specialized detectors. While effective, relying on such large models for continuous monitoring is computationally unsustainable. Building on this finding, we propose a novel "monitor-explain-escalate" architecture. In this system, a lightweight detector provides real-time analysis and escalates high-risk conversational turns to a stronger model, preserving quality while significantly reducing costs. Finally, to address the core issue of factual accuracy that underlies many breakdowns, we introduce a Hierarchical Lexical Graph to improve evidence retrieval for multi-hop question answering. Across five datasets, this graph-augmented retrieval method achieves a 23.1% relative improvement in recall and correctness over baseline RAG systems. Together, these contributions advance the development of reliable, interpretable, and resource-efficient LLM agents by establishing a comprehensive framework that manages conversational flow, operationalizes low-carbon management, and grounds multi-document reasoning in verifiable evidence.

Degree

thesis:*
Department dc:contributor.department
Electrical and Computer Engineering
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ghassel, Abdellah
Advisor dc:contributor.supervisor
  • Zhu, Xiaodan

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • Attribution-ShareAlike 4.0 International
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1974/35343
OAI identifier oai:identifier
oai:queensu.scholaris.ca:1974/35343

Chain of custody

source
Harvested from
Queens University
Base URL
qspace.library.queensu.ca/server/oai/request
Last updated
2026-07-27
Source record
OAI-PMH GetRecord
citation

Ghassel, Abdellah. Detect, Explain, Ground: A Sustainable Pipeline for Robust Large Language Model–Powered Agents. 2025. https://hdl.handle.net/1974/35343