arXiv:2412.09906cs.CL2024-12被引 19

小模型也能强推理:用少量数据训练出精准解题引导

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

  • 提出解题引导机制,聚焦问题理解而非具体计算
  • 仅需少量数据即可提升小模型推理能力,效果显著
  • 适合资源有限但需可靠推理的场景应用

大语言模型在各类任务中表现卓越,而提示工程与微调技术进一步增强了其解决复杂推理问题的能力。然而,这些能力通常仅限于参数量超过1000亿的模型。尽管已有针对小模型(<100亿参数)的思维链(CoT)微调方法,但普遍依赖大量CoT训练数据,易引入不一致,且在低数据环境下效果受限。本文提出新的推理策略「解题引导」(Solution Guidance, SG)及即插即用的微调范式「解题引导微调」(SGFT),通过在语义和逻辑层面进行问题理解与分解,提升小模型的泛化与推理能力。仅需少量SG训练数据,即可让小模型生成准确的解题引导,再以这些引导作为提示输入任意小模型,使其直接输出正确答案。实验表明,该方法显著提升了小模型在多种推理任务上的表现,增强了其在资源受限环境中的实用性与效率。

原文摘要 · Abstract (English)

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.

小模型推理解题引导微调低数据

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。