arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.12607cs.CLcs.AIcs.LG
收藏

通过语言模型的组合微调学习执行复杂任务

Learning to Perform Complex Tasks through Compositional Fine-Tuning of Language Models

Northwestern University(西北大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所)

Victor S. Bursztyn, David Demeter, Doug Downey, Larry Birnbaum

摘要:

如何有效地编码组合任务结构一直是人工智能的核心挑战。最近的思维链提示已经表明,非常大的神经语言模型(LM),明确地展示涉及在一个目标任务的推理步骤可能会提高性能的端到端的学习,专注于目标任务。然而,由于思维链提示依赖于庞大的预先训练的LM,因此其具有显著的局限性。在这项工作中,我们提出了成分微调(CFT):明确分解成组件任务的目标任务的基础上的方法,然后微调较小的LM的课程,这样的组件任务。我们将CFT应用于两个领域的推荐任务,世界旅行和当地餐饮,以及先前研究的推理任务(体育理解)。我们表明,即使在相同的数据量下,CFT也优于端到端学习,并且随着更多的组件任务通过微调建模,CFT的性能会不断提高。与思维链提示相比,CFT使用仅7.4%大小的LM执行至少一样好,并且还适用于在预训练期间数据不可用的任务域。

英文摘要:

How to usefully encode compositional task structure has long been a core challenge in AI. Recent work in chain of thought prompting has shown that for very large neural language models (LMs), explicitly demonstrating the inferential steps involved in a target task may improve performance over end-to-end learning that focuses on the target task alone. However, chain of thought prompting has significant limitations due to its dependency on huge pretrained LMs. In this work, we present compositional fine-tuning (CFT): an approach based on explicitly decomposing a target task into component tasks, and then fine-tuning smaller LMs on a curriculum of such component tasks. We apply CFT to recommendation tasks in two domains, world travel and local dining, as well as a previously studied inferential task (sports understanding). We show that CFT outperforms end-to-end learning even with equal amounts of data, and gets consistently better as more component tasks are modeled via fine-tuning. Compared with chain of thought prompting, CFT performs at least as well using LMs only 7.4% of the size, and is moreover applicable to task domains for which data are not available during pretraining.

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

↑