小模型靠推理胜过大模型,做判断比生成更在行
When Reasoning Beats Scale: A 1.5B Reasoning Model Outranks 13B LLMs as Discriminator
- 用思维链输出提取软分,精细排序文本转SQL候选答案
- 15亿参数推理模型比130亿参数非推理模型高3.7%执行准确率
- 适合构建智能代理中的判断环节,尤其在资源受限场景
具备推理能力的大语言模型为规划框架中的候选评估提供了新路径,但其与传统非推理模型的相对表现仍缺乏研究。本文在文本转SQL任务中,将蒸馏后的15亿参数推理模型DeepSeek-R1-1.5B与多个先进非推理模型对比,引入一种从思维链输出中提取软分的新方法,实现候选答案的细粒度排序。结果表明,该模型在F1指标上比CodeLlama-7B高出87%,鉴别准确率高3.7%,执行准确率也优于CodeLlama-13B达3.7%,尽管参数量远少于后者。同时发现,仅增加上下文或计算资源无法突破推理模型的逻辑上限。此外,推理模型生成能力弱于非推理模型,做判断比生成更擅长。研究揭示了推理模型在智能体系统中作为判别器的巨大潜力,远超其生成角色。
原文摘要 · Abstract (English)
Large Language Models (LLM) with reasoning capabilities offer a promising path for improving candidate evaluation in planning frameworks, but their relative performance against traditional non-reasoning models remains largely underexplored. In this study, we benchmark a distilled 1.5B parameter reasoning model (DeepSeek-R1) against several state-of-the-art non-reasoning LLMs within a generator-discriminator LLM planning framework for the text-to-SQL task. For this, we introduce a novel method for extracting soft scores from the chain-of-thought (CoT) outputs from reasoning that enables fine-grained ranking of candidates. Our central hypothesis is that reasoning models are more effective discriminators than non-reasoning LLMs. Our results show that distilled DeepSeek-R1-1.5B achieves up to $87\%$ higher F1 and $3.7\%$ better discrimination accuracy than CodeLlama-7B, as well as $3.7\%$ higher execution accuracy than CodeLlama-13B, despite having significantly fewer parameters. Furthermore, we find that there is a limit to the logical capabilities of reasoning models, and only providing more context or allowing more compute budget for reasoning is not enough to improve their discrimination performance. Finally, we demonstrate that, unlike non-reasoning LLMs, reasoning models find generation more challenging than discrimination and may underperform as generators compared to smaller non-reasoning LLMs. Our work highlights the potential of reasoning models as discriminators in agentic frameworks, far outweighing their capabilities as generators, offering insights into their optimal role within LLM planning infrastructures.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。