BalanceRAG: 为级联检索增强生成进行联合风险校准
BalanceRAG: Joint Risk Calibration for Cascaded Retrieval-Augmented Generation
AI总结:
本文提出BalanceRAG,一种用于级联检索增强生成的联合风险校准方法,通过在二维晶格上确定安全操作点,实现风险自适应的阈值校准,从而在控制系统级错误率的同时保留更多示例,并扩展到多风险校准。
摘要:
大型语言模型(LLMs)可通过检索增强生成(RAG)提高事实性,但在模型单独回答可靠时,将RAG应用于每个查询是不必要的。这促使了级联RAG:每个查询首先由LLM单独分支处理,如果主分支不确定则升级到RAG回退,当两个分支都不足够可信时则放弃。然而,逐级校准此类级联可能过于保守,因为最终的效用取决于LLM单独和RAG的联合不确定性阈值。在本文中,我们开发了BalanceRAG,以在目标风险水平下认证阈值对。给定两个分支的不确定性分数,BalanceRAG将每个阈值对框架为二维晶格上的一个操作点,并通过顺序图形测试确定安全操作点。这使得风险自适应的阈值校准成为可能,从而在控制接受点的系统级错误率的同时保留更多示例。此外,BalanceRAG扩展到多风险校准,允许检索使用与基于选择的条件风险一起被限制。在三个开放领域问答(QA)基准上的实验表明,BalanceRAG满足规定的风险水平,保留了更高的覆盖率和更多的接受正确示例,并且比始终开启RAG减少了不必要的检索调用。
英文摘要:
Large language models (LLMs) can enhance factuality via retrieval-augmented generation (RAG), but applying RAG to every query is unnecessary when the model-only answer is reliable. This motivates cascaded RAG: each query is first handled by an LLM-only branch, escalated to a RAG fallback only if the primary branch is uncertain, and abstained from when neither branch is sufficiently trustworthy. However, calibrating such cascades stage by stage may be conservative, since the final utility depends on joint uncertainty thresholding of LLM-only and RAG. In this work, we develop BalanceRAG to certify threshold pairs at a target risk level. Given uncertainty scores from the two branches, BalanceRAG frames each threshold pair as an operating point on a two-dimensional lattice and identifies safe operating points using sequential graphical testing. This enables risk-adaptive threshold calibration, controlling the system-level error rate among accepted points, while retaining more examples. Furthermore, BalanceRAG extends to multi-risk calibration, allowing retrieval usage to be bounded together with the selection-conditioned risk. Experiments on three open-domain question answering (QA) benchmarks across multiple LLM backbones demonstrate that BalanceRAG meets prescribed risk levels, preserves higher coverage and more accepted correct examples, and reduces unnecessary retrieval calls compared with always-on RAG.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。