arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.04642cs.CLcs.AI
收藏

TRAQ:通过保形预测实现可信检索增强问答

TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Prediction

University of Pennsylvania(宾夕法尼亚大学);Pohang University of Science and Technology(浦项科技大学)

Shuo Li, Sangdon Park, Insup Lee, Osbert Bastani

AI总结:

本文提出TRAQ框架,利用保形预测为检索增强问答提供端到端统计正确性保证,并通过贝叶斯优化缩小预测集,实验显示集合平均减小16.2%。

摘要:

在应用于开放域问答时,大语言模型(LLM)经常基于捏造的事实生成不正确的回答,这些回答被称为“幻觉”。检索增强生成(RAG)是一种避免幻觉的有前景策略,但它无法提供正确性保证。为应对这一挑战,我们提出了可信检索增强问答(Trustworthy Retrieval Augmented Question Answering,简称TRAQ),它为RAG提供了首个端到端的统计正确性保证。TRAQ使用保形预测这一统计技术来构建预测集,保证该集合以高概率包含语义正确的回答。此外,TRAQ利用贝叶斯优化来最小化所构建集合的大小。在大量实验评估中,我们证明TRAQ能够提供预期的正确性保证,同时与消融实验相比,预测集大小平均减少16.2%。实现代码可在TRAQ获取:https://github.com/shuoli90/TRAQ.git。

英文摘要:

When applied to open-domain question answering, large language models (LLMs) frequently generate incorrect responses based on made-up facts, which are called $\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 $\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{https://github.com/shuoli90/TRAQ.git}{TRAQ}$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑