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

微调小型语言模型以协调大型语言模型提升复杂推理能力

Small Language Models Fine-tuned to Coordinate Larger Language Models improve Complex Reasoning

IIT Delhi(印度德里理工学院);IIT Bombay(印度孟买理工学院);DYSL-AI

Gurusha Juneja, Subhabrata Dutta, Soumen Chakrabarti, Sunny Manchanda, Tanmoy Chakraborty

AI总结:

本文提出DaSLaM框架,用微调的小型语言模型作为分解生成器,以策略梯度优化引导黑盒求解器逐步处理子问题,实现求解器无关的复杂推理,使较小模型性能媲美甚至超越GPT-4。

摘要:

被提示生成思维链(CoT)的大型语言模型(LLMs)展现出令人印象深刻的推理能力。近期针对解决复杂多步推理问题的提示分解尝试,依赖于LLM同时分解并解决问题的能力。一个显著缺点是,基础LLM通常无法用于微调,使得适应性调整在计算上难以承受。我们认为(并证明)问题分解与解答生成是两种不同的能力,更适合在独立模块中分别处理,而非由一个单体LLM完成。我们提出DaSLaM,它使用一个分解生成器将复杂问题分解为需要更少推理步骤的子问题,这些子问题由一个求解器来回答。我们使用一个相对较小(13B参数)的语言模型作为分解生成器,并通过策略梯度优化对其进行训练,使其与求解器LM(视为黑盒)交互并引导其逐步处理子问题,从而使我们的方法具有求解器无关性。在多个不同推理数据集上的评估表明,使用我们的方法,一个1750亿参数的语言模型(text-davinci-003)能够取得与其数量级更大的后继者GPT-4相比具有竞争力甚至更好的性能。此外,我们表明DaSLaM不受求解器能力随规模变化的限制;例如,不同规模的求解器LM在我们的求解器无关分解技术下均获得了显著的性能提升。详尽的消融研究证明,与仅基于提示的极其庞大的分解器LLM相比,我们的模块化微调技术具有优越性。

英文摘要:

Large Language Models (LLMs) prompted to generate chain-of-thought (CoT) exhibit impressive reasoning capabilities. Recent attempts at prompt decomposition toward solving complex, multi-step reasoning problems depend on the ability of the LLM to simultaneously decompose and solve the problem. A significant disadvantage is that foundational LLMs are typically not available for fine-tuning, making adaptation computationally prohibitive. We believe (and demonstrate) that problem decomposition and solution generation are distinct capabilites, better addressed in separate modules, than by one monolithic LLM. We introduce DaSLaM, which uses a decomposition generator to decompose complex problems into subproblems that require fewer reasoning steps. These subproblems are answered by a solver. We use a relatively small (13B parameters) LM as the decomposition generator, which we train using policy gradient optimization to interact with a solver LM (regarded as black-box) and guide it through subproblems, thereby rendering our method solver-agnostic. Evaluation on multiple different reasoning datasets reveal that with our method, a 175 billion parameter LM (text-davinci-003) can produce competitive or even better performance, compared to its orders-of-magnitude larger successor, GPT-4. Additionally, we show that DaSLaM is not limited by the solver's capabilities as a function of scale; e.g., solver LMs with diverse sizes give significant performance improvement with our solver-agnostic decomposition technique. Exhaustive ablation studies evince the superiority of our modular finetuning technique over exorbitantly large decomposer LLMs, based on prompting alone.

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

↑