arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.05115cs.CLcs.LG
收藏

开放域问答中基于Few-Shot提示的互联网增强语言模型

Internet-augmented language models through few-shot prompting for open-domain question answering

DeepMind(深度思维)

Angeliki Lazaridou, Elena Gribovskaya, Wojciech Stokowiec, Nikolai Grigorev

摘要:

在这项工作中,我们的目标是利用大规模语言模型(LSLM)的独特的Few-Shot能力,以克服他们的一些挑战,接地到事实和最新的信息。受半参数语言模型(LM)的启发,基于外部检索到的证据,我们使用Few-Shot提示学习条件LM从网络返回的信息使用谷歌搜索,一个广泛的和不断更新的知识来源。我们的方法不涉及微调或学习额外的参数,从而使其适用于任何LM,因此提供了一个强大的基线。事实上,我们发现,在网络上的LM条件超过性能类似的,甚至更大的,在开放域的问答模型大小的闭卷模型。最后,我们发现,通过使用多个检索到的证据来生成多个答案,然后通过使用相同LM生成的分数的重新排序阶段来增加模型的推理时间计算,可以获得更好的性能,并降低较小的Few-Shot LM的性能。总而言之,我们的研究结果表明,减缓对最大模型的竞争可能是有益的,而是将注意力转移到寻找更有效的方法来使用模型上,包括但不限于更好的提示或增加推理时间计算。

英文摘要:

In this work, we aim to capitalize on the unique few-shot capabilities of large-scale language models (LSLMs) to overcome some of their challenges with respect to grounding to factual and up-to-date information. Motivated by semi-parametric language models (LMs), which ground their decisions in external retrieved evidence, we use few-shot prompting to learn to condition LMs on information returned from the web using Google Search, a broad and constantly updated knowledge source. Our approach does not involve fine-tuning or learning additional parameters, thus making it applicable to any LM, offering therefore a strong baseline. Indeed, we find that LMs conditioned on the web surpass performance of closed-book models of similar, or even larger, model sizes in open-domain question answering. Finally, we find that increasing the inference-time compute of models, achieved via using multiple retrieved evidences to generate multiple answers followed by a reranking stage that uses scores generated by the same LMs, leads to better performance and alleviates lower performance of smaller few-shot LMs. All in all, our findings suggest that it might be beneficial to slow down the race towards the biggest model and instead shift attention towards finding more effective ways to use models, including but not limited to, better prompting or increasing inference-time compute.

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

↑