Back to search

University of Washington

SCALES: Dual Information-Theoretic Approaches to Mitigating and Quantifying Prompt Injections in RAG Pipelines

Abstract

dc:description.abstract

Large language models deployed within Retrieval-Augmented Generation (RAG) systems are vulnerable to indirect prompt injection, where adversarial instructions embedded in retrieved documents cause the model to override its intended behaviour, exfiltrate confidential context, or execute unauthorised actions. This thesis makes two complementary contributions to securing RAG pipelines. The first is SCALES (Semantic Cascade Architecture for Leakage and Exploitation Security), a modality-aware three-layer defense cascade combining a DeBERTa-based pre-retrieval classifier, a KL-divergence semantic boundary chunker, and an IT-MOC LoRA adapter regularised with Jensen-Shannon Divergence. Evaluated on a 425-sample benchmark spanning explicit text injections, LLM-generated semantic attacks, gradient optimised adaptive attacks, and cross-modal decomposition attacks, SCALES achieves a judge-verified Attack Success Rate of 6.5\% and a Benign Pass Rate of 95.33\%. The second contribution is an information-theoretic evaluation framework that quantifies data leakage severity beyond binary attack success, combining four complementary metrics, lexical, semantic, algorithmic, and distributional similarity, into a Combined Leakage Index validated against LLM-judge harm scores. Per-source decomposition reveals that SCALES suppresses leakage by 99\% on adaptive attacks focused on data leakage demonstrating a level of diagnostic granularity unavailable to single-metric evaluation.

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ankita Maria John, -
Advisor dc:contributor.advisor
  • Thamilarasu, Geethapriya

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • none
Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1773/57746

Chain of custody

source
Harvested from
University of Washington
Base URL
digital.lib.washington.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Ankita Maria John, -. SCALES: Dual Information-Theoretic Approaches to Mitigating and Quantifying Prompt Injections in RAG Pipelines. 2026. https://hdl.handle.net/1773/57746