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

共识博弈:通过均衡搜索进行语言模型生成

The Consensus Game: Language Model Generation via Equilibrium Search

MIT(麻省理工学院);MIT-IBM AI Lab(麻省理工学院-IBM人工智能实验室)

Athul Paul Jacob, Yikang Shen, Gabriele Farina, Jacob Andreas

AI总结:

本文提出一种无需训练的博弈论解码方法,通过将语言模型生成视为共识博弈并寻找均衡,显著提升多种任务的性能,使小模型超越大模型。

摘要:

当应用于问答和其他文本生成任务时,语言模型(LMs)可以通过生成方式(从其输出分布中采样答案)或判别方式(使用它们对一组候选输出进行评分或排序)进行查询。这些过程有时会产生非常不同的预测。我们如何调和互不兼容的评分过程以获得连贯的LM预测?我们引入了一种新的、无需训练的、博弈论的语言模型解码程序。我们的方法将语言模型解码视为一个正则化的不完美信息序贯信号博弈——我们称之为共识博弈——其中生成器试图使用自然语言句子向判别器传达一个抽象的 correctness 参数。我们开发了寻找该博弈近似均衡的计算程序,从而产生一种我们称之为均衡排序的解码算法。应用于大量任务(包括阅读理解、常识推理、数学问题求解和对话),均衡排序持续地、有时显著地优于现有的LM解码程序——在多个基准上,我们观察到将均衡排序应用于LLaMA-7B的性能优于更大的LLaMA-65B和PaLM-540B模型。这些结果凸显了博弈论工具在解决LM中真实性和一致性基本挑战方面的前景。

英文摘要:

When applied to question answering and other text generation tasks, language models (LMs) may be queried generatively (by sampling answers from their output distribution) or discriminatively (by using them to score or rank a set of candidate outputs). These procedures sometimes yield very different predictions. How do we reconcile mutually incompatible scoring procedures to obtain coherent LM predictions? We introduce a new, a training-free, game-theoretic procedure for language model decoding. Our approach casts language model decoding as a regularized imperfect-information sequential signaling game - which we term the CONSENSUS GAME - in which a GENERATOR seeks to communicate an abstract correctness parameter using natural language sentences to a DISCRIMINATOR. We develop computational procedures for finding approximate equilibria of this game, resulting in a decoding algorithm we call EQUILIBRIUM-RANKING. Applied to a large number of tasks (including reading comprehension, commonsense reasoning, mathematical problem-solving, and dialog), EQUILIBRIUM-RANKING consistently, and sometimes substantially, improves performance over existing LM decoding procedures - on multiple benchmarks, we observe that applying EQUILIBRIUM-RANKING to LLaMA-7B outperforms the much larger LLaMA-65B and PaLM-540B models. These results highlight the promise of game-theoretic tools for addressing fundamental challenges of truthfulness and consistency in LMs.

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

↑