CaLM:对比大、小语言模型以验证扎根式生成
CaLM: Contrasting Large and Small Language Models to Verify Grounded Generation
AI总结:
针对现有扎根式生成方法易出错的问题,提出CaLM框架,用小语言模型验证大模型输出并迭代优化差异回复,无需微调即可在三个开放域问答数据集上实现1.5%-7%的绝对性能提升。
摘要:
扎根式生成旨在赋予语言模型(LMs)通过准确引用可验证来源,生成更可信、更可问责回复的能力。然而现有方法无论是向语言模型输入原始材料还是预处理材料,都仍容易出错。为解决这一问题,我们提出了新型验证框架CaLM。CaLM基于这样的洞见:可靠的扎根式回复应当与仅从其引用来源推导的信息保持一致。该框架利用对参数记忆依赖更少、擅长根据查询处理相关信息的小型语言模型,来验证大型语言模型的输出。若大语言模型的回复与仅依赖引用文档的小语言模型输出高度一致,则通过验证;存在差异的回复会通过反馈循环被迭代优化。在三个开放域问答数据集上的实验表明,该方法在无需任何模型微调的情况下,绝对平均性能提升了1.5%至7%。
英文摘要:
Grounded generation aims to equip language models (LMs) with the ability to produce more credible and accountable responses by accurately citing verifiable sources. However, existing methods, by either feeding LMs with raw or preprocessed materials, remain prone to errors. To address this, we introduce CaLM, a novel verification framework. CaLM leverages the insight that a robust grounded response should be consistent with information derived solely from its cited sources. Our framework empowers smaller LMs, which rely less on parametric memory and excel at processing relevant information given a query, to validate the output of larger LMs. Larger LM responses that closely align with the smaller LMs' output, which relies exclusively on cited documents, are verified. Responses showing discrepancies are iteratively refined through a feedback loop. Experiments on three open-domain question-answering datasets demonstrate significant performance gains of 1.5% to 7% absolute average without any required model fine-tuning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。