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

迈向小型语言模型的推理能力

Towards Reasoning Ability of Small Language Models

Department of Computer Science, Virginia Tech, USA(弗吉尼亚理工大学计算机科学系);Department of Physics, Clarendon Laboratory, University of Oxford, UK(牛津大学物理系,克伦德尔实验室);NVIDIA Corporation(英伟达公司)

Gaurav Srivastava, Shuxiang Cao, Xuan Wang

AI总结:

本文提出 ThinkSLM 基准,系统评估72个小型语言模型在17项推理任务上的表现,揭示训练、数据与压缩方式对推理能力的关键影响。

摘要:

推理长期以来被视为大型语言模型(LLM)的一种涌现属性。然而,近期研究对这一假设提出挑战,表明小型语言模型(SLM)也能取得具有竞争力的推理性能。本文介绍 ThinkSLM,这是首个系统性评估和研究 SLM 推理能力的大规模基准,这些模型要么从零开始训练,要么通过量化、剪枝和蒸馏从 LLM 派生。我们首先建立可靠的评估标准,将可用方法和 LLM 评判器与我们的人工评估进行比较。随后,我们呈现一项研究,在17个推理基准上评估来自六大模型家族的72个多样化 SLM。为确保评估稳健,我们将所有实验重复三次。研究发现表明:1)SLM 的推理能力受到训练方法和数据质量的强烈影响,而非仅由模型规模决定;2)量化能够保留推理能力,而剪枝会显著破坏该能力;3)较大模型在对抗扰动和中间推理方面始终表现出更高鲁棒性,但某些较小模型能够接近甚至超过较大模型的性能。我们的发现挑战了“扩展是获得强推理能力唯一途径”的假设。相反,我们预见未来可以通过结构化训练或训练后压缩开发出具备强推理能力的 SLM。ThinkSLM 排行榜公开发布于:https://ctrl-gaurav.github.io/thinkslm.github.io/

英文摘要:

Reasoning has long been viewed as an emergent property of large language models (LLMs). However, recent studies challenge this assumption, showing that small language models (SLMs) can also achieve competitive reasoning performance. This paper introduces ThinkSLM, the first extensive benchmark to systematically evaluate and study the reasoning abilities of SLMs trained from scratch or derived from LLMs through quantization, pruning, and distillation. We first establish a reliable evaluation criterion comparing available methods and LLM judges against our human evaluations. Then we present a study evaluating 72 diverse SLMs from six major model families across 17 reasoning benchmarks. We repeat all our experiments three times to ensure a robust assessment. Our findings show that: 1) reasoning ability in SLMs is strongly influenced by training methods and data quality rather than solely model scale; 2) quantization preserves reasoning capability, while pruning significantly disrupts it; 3) larger models consistently exhibit higher robustness against adversarial perturbations and intermediate reasoning, but certain smaller models closely match or exceed the larger models' performance. Our findings challenge the assumption that scaling is the only way to achieve strong reasoning. Instead, we foresee a future where SLMs with strong reasoning capabilities can be developed through structured training or post-training compression. Our ThinkSLM Leaderboard is publicly available at: https://ctrl-gaurav.github.io/thinkslm.github.io/

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

↑