English

TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Prediction

Computation and Language 2024-04-09 v2 Artificial Intelligence

Abstract

When applied to open-domain question answering, large language models (LLMs) frequently generate incorrect responses based on made-up facts, which are called hallucinations\textit{hallucinations}. Retrieval augmented generation (RAG) is a promising strategy to avoid hallucinations, but it does not provide guarantees on its correctness. To address this challenge, we propose the Trustworthy Retrieval Augmented Question Answering, or TRAQ\textit{TRAQ}, which provides the first end-to-end statistical correctness guarantee for RAG. TRAQ uses conformal prediction, a statistical technique for constructing prediction sets that are guaranteed to contain the semantically correct response with high probability. Additionally, TRAQ leverages Bayesian optimization to minimize the size of the constructed sets. In an extensive experimental evaluation, we demonstrate that TRAQ provides the desired correctness guarantee while reducing prediction set size by 16.2% on average compared to an ablation. The implementation is available at \href\href{https://github.com/shuoli90/TRAQ.git}{TRAQ}.

Keywords

Cite

@article{arxiv.2307.04642,
  title  = {TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Prediction},
  author = {Shuo Li and Sangdon Park and Insup Lee and Osbert Bastani},
  journal= {arXiv preprint arXiv:2307.04642},
  year   = {2024}
}

Comments

23 pages, 17 figures, 2024 Annual Conference of the North American Chapter of the Association for Computational Linguistics

R2 v1 2026-06-28T11:26:06.897Z