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

Atlas:基于检索增强语言模型的少样本学习

Atlas: Few-shot Learning with Retrieval Augmented Language Models

Meta AI Research(Meta人工智能研究院);ENS, PSL University(巴黎高等师范学院,巴黎文理研究大学);Inria(法国国家信息与自动化研究所);University College London(伦敦大学学院)

Gautier Izacard, Patrick Lewis, Maria Lomeli, Lucas Hosseini, Fabio Petroni, Timo Schick, Jane Dwivedi-Yu, Armand Joulin, Sebastian Riedel, Edouard Grave

摘要:

大语言模型在广泛的任务中显示出令人印象深刻的Few-Shot结果。然而,当知识对于这样的结果是关键时,如对于诸如问答和事实检查的任务的情况,似乎需要大量参数计数来存储知识。已知检索增强模型在知识密集型任务中表现出色,而不需要那么多参数,但尚不清楚它们是否适用于Few-Shot设置。在这项工作中,我们提出了阿特拉斯,一个精心设计的和预先训练的检索增强语言模型,能够学习知识密集型的任务,很少的训练样本。我们对广泛的任务进行评估,包括MMLU,KILT和NaturalQuestions,并研究文档索引内容的影响,表明它可以很容易地更新。值得注意的是,Atlas仅使用64个示例就在自然问题上达到了42%以上的准确率,尽管参数少了50倍,但仍比540B参数模型高出3%。

英文摘要:

Large language models have shown impressive few-shot results on a wide range of tasks. However, when knowledge is key for such results, as is the case for tasks such as question answering and fact checking, massive parameter counts to store knowledge seem to be needed. Retrieval augmented models are known to excel at knowledge intensive tasks without the need for as many parameters, but it is unclear whether they work in few-shot settings. In this work we present Atlas, a carefully designed and pre-trained retrieval augmented language model able to learn knowledge intensive tasks with very few training examples. We perform evaluations on a wide range of tasks, including MMLU, KILT and NaturalQuestions, and study the impact of the content of the document index, showing that it can easily be updated. Notably, Atlas reaches over 42% accuracy on Natural Questions using only 64 examples, outperforming a 540B parameters model by 3% despite having 50x fewer parameters.

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

↑