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

可验证性设计:使语言模型引用预训练数据中的原文

Verifiable by Design: Aligning Language Models to Quote from Pre-Training Data

Johns Hopkins University(约翰斯·霍普金斯大学)

Jingyu Zhang, Marc Marone, Tianjian Li, Benjamin Van Durme, Daniel Khashabi

AI总结:

本文提出Quote-Tuning方法,通过快速成员推断函数设计奖励函数,使语言模型在生成时引用预训练数据中的原文,显著提高引用率并保持质量,增强可验证性与可信度。

摘要:

为了信任大型语言模型(LLMs)的流畅生成,人类必须能够对照可信的外部来源验证其正确性。近期的工作,如通过检索文档或事后溯源提供引用,增强了可验证性,但对其正确性不提供任何保证。为解决这些局限,我们以不同的理念应对可验证性目标:通过开发能够从预训练数据中的可信来源逐字引用的模型,使验证过程变得微不足道。我们提出Quote-Tuning,证明了将模型对齐以进行引用的可行性。Quote-Tuning的核心是一个快速的成员推断函数,能高效地对照可信语料库验证文本。我们利用这一工具设计了一个奖励函数来量化模型响应中的引用,并策划了用于偏好学习的数据集。实验表明,Quote-Tuning在保持响应质量的同时,将高质量文档的逐字引用相对基础模型显著提高了高达130%。Quote-Tuning适用于不同任务,能泛化到域外数据和多样化的模型家族,并为真实性提供了额外益处。我们的方法不仅作为一种简便的增强引用的手段,还通过更好的可验证性为提高LLM可信度开辟了途径。

英文摘要:

To trust the fluent generations of large language models (LLMs), humans must be able to verify their correctness against trusted, external sources. Recent efforts, such as providing citations via retrieved documents or post-hoc provenance, enhance verifiability but provide no guarantees on their correctness. To address these limitations, we tackle the verifiability goal with a different philosophy: trivializing the verification process by developing models that quote verbatim statements from trusted sources in their pre-training data. We propose Quote-Tuning, which demonstrates the feasibility of aligning models to quote. The core of Quote-Tuning is a fast membership inference function that efficiently verifies text against trusted corpora. We leverage this tool to design a reward function to quantify quotes in model responses, and curate datasets for preference learning. Experiments show that Quote-Tuning significantly increases verbatim quotes from high-quality documents by up to 130% relative to base models while maintaining response quality. Quote-Tuning is applicable in different tasks, generalizes to out-of-domain data and diverse model families, and provides additional benefits to truthfulness. Our method not only serves as a hassle-free method to increase quoting but also opens up avenues for improving LLM trustworthiness through better verifiability.

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

↑