arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.05364cs.LGcs.AIcs.CL
收藏

大型语言模型程序

Large Language Model Programs

The Swiss AI Lab IDSIA, SUPSI & USI(瑞士人工智能实验室IDSIA,瑞士南部应用科学与艺术大学 & 意大利语区瑞士大学);Meta AI;King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)

Imanol Schlag, Sainbayar Sukhbaatar, Asli Celikyilmaz, Wen-tau Yih, Jason Weston, Jürgen Schmidhuber, Xian Li

AI总结:

本文提出将大型语言模型嵌入算法或程序以扩展其能力,在证据支持的问答任务中无需微调即比思维链基线提升6.4%,并分析了该方法的优劣。

摘要:

近年来,大型预训练语言模型(LLMs)已展现出遵循指令并从少量示例中执行新任务的能力。通过这类上下文示例对LLM进行参数化的可能性,以远低于微调的成本拓宽了其能力范围。我们延伸这一思路,提出了一种方法,通过将LLM嵌入算法或程序中,进一步扩展其能力。为展示这种方法的好处,我们给出了一个证据支持的问答的说明性示例。通过更具算法性的方法,我们在无需任何微调的情况下,相较于思维链基线获得了6.4%的提升。此外,我们强调了从这一视角出发的近期工作,并讨论了与标准方法相比的优缺点。

英文摘要:

In recent years, large pre-trained language models (LLMs) have demonstrated the ability to follow instructions and perform novel tasks from a few examples. The possibility to parameterise an LLM through such in-context examples widens their capability at a much lower cost than finetuning. We extend this line of reasoning and present a method which further expands the capabilities of an LLM by embedding it within an algorithm or program. To demonstrate the benefits of this approach, we present an illustrative example of evidence-supported question-answering. We obtain a 6.4\% improvement over the chain of thought baseline through a more algorithmic approach without any finetuning. Furthermore, we highlight recent work from this perspective and discuss the advantages and disadvantages in comparison to the standard approaches.

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

↑