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

面向多步推理的小语言模型的专门化

Specializing Smaller Language Models towards Multi-Step Reasoning

University of Edinburgh(爱丁堡大学);Allen Institute for AI(艾伦人工智能研究所)

Yao Fu, Hao Peng, Litu Ou, Ashish Sabharwal, Tushar Khot

摘要:

大语言模型(LLM)在只有Few-Shot思想链提示的复杂推理中表现出色的惊人能力被认为只出现在非常大规模的模型中(1000亿+参数)。我们发现,事实上,这种能力可以从GPT-3.5($\ge$ 175 B)到T5变体($\le$ 11 B)。我们提出了模型专业化,专门的模型的能力,对目标任务。假设是大型模型(通常被视为大于100 B)具有强大的建模能力,但分布在大范围的任务上。小型模型(通常被视为小于10 B)的模型容量有限,但如果我们将其容量集中在特定的目标任务上,模型可以实现相当好的性能改进。我们使用多步数学推理作为我们的测试平台,因为它是一种非常典型的涌现能力。我们展示了模型能力的两个重要方面:(1)。在语言模型的多维能力之间存在非常复杂的平衡/权衡;(2).通过付出通用能力下降的代价,我们可以明显地提升小于10 B的模型的缩放曲线,使其具有专门的多步数学推理能力。我们进一步给出了更好的推广,包括调整数据格式,启动模型检查点,和一个新的模型选择方法的重要设计选择的全面讨论。我们希望我们的实践和发现可以作为一个重要的尝试,在新的研究范式LLM设置专门的较小的模型。

英文摘要:

The surprising ability of Large Language Models (LLMs) to perform well on complex reasoning with only few-shot chain-of-thought prompts is believed to emerge only in very large-scale models (100+ billion parameters). We show that such abilities can, in fact, be distilled down from GPT-3.5 ($\ge$ 175B) to T5 variants ($\le$ 11B). We propose model specialization, to specialize the model's ability towards a target task. The hypothesis is that large models (commonly viewed as larger than 100B) have strong modeling power, but are spread on a large spectrum of tasks. Small models (commonly viewed as smaller than 10B) have limited model capacity, but if we concentrate their capacity on a specific target task, the model can achieve a decent improved performance. We use multi-step math reasoning as our testbed because it is a very typical emergent ability. We show two important aspects of model abilities: (1). there exists a very complex balance/ tradeoff between language models' multi-dimensional abilities; (2). by paying the price of decreased generic ability, we can clearly lift up the scaling curve of models smaller than 10B towards a specialized multi-step math reasoning ability. We further give comprehensive discussions about important design choices for better generalization, including the tuning data format, the start model checkpoint, and a new model selection method. We hope our practice and discoveries can serve as an important attempt towards specialized smaller models in the new research paradigm set by LLMs.

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

↑