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

通过解题引导微调增强小型语言模型的推理能力

Enhancing the Reasoning Capabilities of Small Language Models via Solution Guidance Fine-Tuning

School of Software Engineering(软件工程学院);Beijing Jiaotong University(北京交通大学)

Jing Bi, Yuting Wu, Weiwei Xing, Zhenjie Wei

AI总结:

针对小型语言模型现有思维链微调依赖大量数据、低资源场景效果受限的问题,提出解题引导策略与即插即用的解题引导微调范式,仅需少量数据即可显著提升小模型推理性能与资源受限环境下的实用性。

摘要:

大语言模型(LLMs)已在广泛任务中展现出卓越性能。提示工程与微调技术的进步进一步提升了其应对复杂推理挑战的能力。然而,这些高级能力通常仅为参数规模超过1000亿的模型所具备。尽管研究人员已针对参数规模低于100亿的小型模型探索了思维链(Chain-of-Thought, CoT)微调方法,但这类方法通常依赖大量CoT训练数据,可能会引入不一致性,且在低数据场景下效果受限。为克服这些局限,本文提出了一种新型推理策略Solution Guidance(SG,解题引导),以及一种即插即用的训练范式Solution-Guidance Fine-Tuning(SGFT,解题引导微调),用于增强小型语言模型的推理能力。SG聚焦于语义与逻辑层面的问题理解与分解,而非具体计算,可有效提升小型语言模型(SLMs)的泛化与推理能力。仅需少量SG训练数据,SGFT即可微调SLM以生成准确的解题引导,随后这些引导可作为提示灵活输入任意SLM,使其直接生成正确答案。实验结果表明,本文方法显著提升了SLMs在各类推理任务上的性能,增强了其在资源受限环境下的实用性与效率。

英文摘要:

Large language models (LLMs) have demonstrated remarkable performance across a wide range of tasks. Advances in prompt engineering and fine-tuning techniques have further enhanced their ability to address complex reasoning challenges. However, these advanced capabilities are often exclusive to models exceeding 100 billion parameters. Although Chain-of-Thought (CoT) fine-tuning methods have been explored for smaller models (under 10 billion parameters), they typically depend on extensive CoT training data, which can introduce inconsistencies and limit effectiveness in low-data settings. To overcome these limitations, this paper introduce a new reasoning strategy Solution Guidance (SG) and a plug-and-play training paradigm Solution-Guidance Fine-Tuning (SGFT) for enhancing the reasoning capabilities of small language models. SG focuses on problem understanding and decomposition at the semantic and logical levels, rather than specific computations, which can effectively improve the SLMs' generalization and reasoning abilities. With only a small amount of SG training data, SGFT can fine-tune a SLM to produce accurate problem-solving guidances, which can then be flexibly fed to any SLM as prompts, enabling it to generate correct answers directly. Experimental results demonstrate that our method significantly improves the performance of SLMs on various reasoning tasks, enhancing both their practicality and efficiency within resource-constrained environments.

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

↑