T1: Tool-integrated Self-verification for Test-time Compute Scaling in Small Language Models
该论文提出了一种名为“工具集成自验证”(T1)的方法,通过将小语言模型(sLMs)的自验证任务委托给外部工具,如代码解释器,从而提高sLMs在测试时缩放中的性能。
更新于 2025-04-09。作者:Minki Kang、Jongwon Jeong、Jaewoong Cho。
中文摘要
近期的研究表明,测试时计算缩放能有效提升小型语言模型(sLMs)的性能。然而,以往的研究主要考察了在附加更大模型作为验证器的情况下进行测试时计算缩放,而对sLMs的自我验证研究相对较少。在本研究中,我们探讨了sLMs在测试时缩放下是否能够可靠地自我验证其输出。我们发现,即使有来自更大验证器的知识蒸馏,sLMs在需要记忆的任务,如数值计算和事实核查中,仍然难以完成验证任务。为了解决这一局限性,我们提出了工具集成自我验证(T1),它将记忆密集型验证步骤委托给外部工具,例如代码解释器。我们的理论分析表明,工具集成降低了记忆需求并提高了测试时缩放性能。在MATH基准测试上的实验表明,使用T1,Llama-3.2 1B模型在测试时缩放下的表现优于显著更大的Llama-3.1 8B模型。此外,T1在数学(MATH500)和多领域知识密集型任务(MMLU-Pro)上都表现出良好的泛化能力。我们的发现突出了工具集成在显著提高sLMs自我验证能力方面的潜力。
英文摘要
Recent studies have demonstrated that test-time compute scaling effectively improves the performance of small language models (sLMs). However, prior research has mainly examined test-time compute scaling with an additional larger model as a verifier, leaving self-verification by sLMs underexplored. In this work, we investigate whether sLMs can reliably self-verify their outputs under test-time scaling. We find that even with knowledge distillation from larger verifiers, sLMs struggle with verification tasks requiring memorization, such as numerical calculations and fact-checking. To address this limitation, we propose Tool-integrated self-verification (T1), which delegates memorization-heavy verification steps to external tools, such as a code interpreter. Our theoretical analysis shows that tool integration reduces memorization demands and improves test-time scaling performance. Experiments on the MATH benchmark demonstrate that, with T1, a Llama-3.2 1B model under test-time scaling outperforms the significantly larger Llama-3.1 8B model. Moreover, T1 generalizes effectively to both mathematical (MATH500) and multi-domain knowledge-intensive tasks (MMLU-Pro). Our findings highlight the potential of tool integration to substantially improve the self-verification abilities of sLMs.
解读
一句话总结
该论文提出了一种名为“工具集成自验证”(T1)的方法,通过将小语言模型(sLMs)的自验证任务委托给外部工具,如代码解释器,从而提高sLMs在测试时缩放中的性能。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:小语言模型在处理高复杂度任务时存在局限性,测试时缩放可以增强sLMs的性能,但其自验证能力不足。
- 现有方案不足:现有方法依赖于大型验证器,这与sLMs的效率优势相矛盾,且sLMs自身难以可靠地自验证其输出。
- 研究目标:研究sLMs在测试时缩放中能否可靠地自验证其输出,并提出一种工具集成自验证的方法来提高sLMs的性能。
问题2:论文的核心创新点是什么?
- 技术创新:提出工具集成自验证(T1)方法,将记忆密集型验证步骤委托给外部工具。
- 方法改进:利用工具使用作为推理过程中的额外缩放维度,降低sLMs的内存需求。
- 优势:提高sLMs在测试时缩放中的自验证能力,无需增加模型大小。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在MATH基准测试中,使用T1的Llama-3.2 1B模型在测试时缩放中优于更大的Llama-3.1 8B模型。
- 性能提升:T1在数学(MATH500)和多领域知识密集型任务(MMLU-Pro)上实现了显著的性能提升。
- 对比结果:与基线方法相比,T1在多个基准测试中实现了显著的性能改进。
问题4:这个研究的实际应用价值是什么?
- 应用场景:数学问题求解、知识密集型任务、代码生成等。
- 实施建议:利用外部工具进行自验证,提高sLMs的可靠性和效率。
- 局限与展望:T1目前仅作为拒绝过滤器,未来可集成工具推理以提高正确性保证。此外,T1可以扩展到其他测试时缩放策略,如逐步搜索和长推理链。