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

自评估提升大语言模型的选择性生成能力

Self-Evaluation Improves Selective Generation in Large Language Models

Google DeepMind(谷歌DeepMind);Google Research(谷歌研究院)

Jie Ren, Yao Zhao, Tu Vu, Peter J. Liu, Balaji Lakshminarayanan

AI总结:

针对大语言模型生成质量评估难题,将开放式生成重构为token级预测任务,提出带不确定性表达选项的自评估评分方法,经TruthfulQA、TL;DR基准及PaLM-2、GPT-3实验验证,该方法可提升准确率且与生成质量相关性更优。

摘要:

大语言模型(LLM)的安全部署可受益于一种可靠的生成内容评估方法,用以判断何时应弃权(不执行)或进行选择性生成。尽管困惑度等基于似然的指标被广泛使用,但近期研究表明,将LLM给出的序列级概率估计作为生成质量的可靠指标存在局限性。与之相对,LLM在token级展现出良好的校准能力,尤其是在选择题中选择正确答案或评估真假陈述方面。本研究将开放式生成任务重构为token级预测任务,利用LLM在token级的优异校准能力。我们指示LLM对其答案进行自评估,采用多路比较或逐点评估方法,并可选择加入“以上都不对”选项以明确表达模型的不确定性。我们对一系列基于自评估的评分方法进行了基准测试,并使用TruthfulQA和TL;DR评估了它们在选择性生成中的性能。通过PaLM-2和GPT-3的实验,我们证明基于自评估的评分不仅提升了准确率,还与生成内容的整体质量具有更好的相关性。

英文摘要:

Safe deployment of large language models (LLMs) may benefit from a reliable method for assessing their generated content to determine when to abstain or to selectively generate. While likelihood-based metrics such as perplexity are widely employed, recent research has demonstrated the limitations of using sequence-level probability estimates given by LLMs as reliable indicators of generation quality. Conversely, LLMs have demonstrated strong calibration at the token level, particularly when it comes to choosing correct answers in multiple-choice questions or evaluating true/false statements. In this work, we reformulate open-ended generation tasks into token-level prediction tasks, and leverage LLMs' superior calibration at the token level. We instruct an LLM to self-evaluate its answers, employing either a multi-way comparison or a point-wise evaluation approach, with the option to include a ``None of the above'' option to express the model's uncertainty explicitly. We benchmark a range of scoring methods based on self-evaluation and evaluate their performance in selective generation using TruthfulQA and TL;DR. Through experiments with PaLM-2 and GPT-3, we demonstrate that self-evaluation based scores not only improve accuracy, but also correlate better with the overall quality of generated content.

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

↑