arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.15667cs.CLcs.AIcs.LG
收藏

RAC:利用检索增强实现高效的大语言模型事实性校正

RAC: Efficient LLM Factuality Correction with Retrieval Augmentation

University of California, Santa Cruz(加州大学圣克鲁兹分校)

Changmao Li, Jeffrey Flanigan

AI总结:

本文提出检索增强校正(RAC)方法,通过将大语言模型输出分解为原子事实并进行细粒度验证与校正,在不微调的情况下以低延迟提升事实性,实验显示最高提升30%。

摘要:

大语言模型(LLMs)在广泛的自然语言处理(NLP)任务中展现出令人印象深刻的结果,但它们常常会产生事实上不正确的输出。本文介绍了一种简单但有效的低延迟后校正方法,检索增强校正(Retrieval Augmented Correction,RAC),旨在提升大语言模型的事实性能,而无需进行额外的微调。我们的方法具有通用性,可与任何经过指令微调的大语言模型配合使用,并且与先前的方法相比显著降低了延迟。RAC 将大语言模型的输出分解为原子事实,并利用检索到的内容执行细粒度的验证与校正过程,以验证和纠正大语言模型生成的输出。我们的大量实验表明,在两个流行的事实性评估数据集上,RAC 相较于最先进的基线方法实现了高达 30% 的改进,验证了其在不同大语言模型中无论是否集成检索增强生成(Retrieval-Augmented Generation,RAG)的情况下均具有有效性和鲁棒性。

英文摘要:

Large Language Models (LLMs) exhibit impressive results across a wide range of natural language processing (NLP) tasks, yet they can often produce factually incorrect outputs. This paper introduces a simple but effective low-latency post-correction method, \textbf{Retrieval Augmented Correction (RAC)}, aimed at enhancing the factual performance of LLMs without requiring additional fine-tuning. Our method is general and can be used with any instruction-tuned LLM, and has greatly reduced latency compared to prior approaches. RAC decomposes the LLM's output into atomic facts and applies a fine-grained verification and correction process with retrieved content to verify and correct the LLM-generated output. Our extensive experiments show that RAC yields up to 30\% improvements over state-of-the-art baselines across two popular factuality evaluation datasets, validating its efficacy and robustness in both with and without the integration of Retrieval-Augmented Generation (RAG) across different LLMs.\footnote{Our code is at \url{https://github.com/jlab-nlp/Retrieval-Augmented-Correction}}

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

↑