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

推理扩展与推理:LLM问题求解的计算最优性实证分析

Inference Scaling vs Reasoning: An Empirical Analysis of Compute-Optimal LLM Problem-Solving

New York University(纽约大学)

Marwan AbdElhameed, Pavly Halim

AI总结:

本文通过在GSM8K数据集上实证分析Quiet-STaR与REBASE的整合,揭示了LLM中推理增强与计算效率优化之间的根本冲突,指出了设计新型架构以弥合竞争目标的必要性。

摘要:

大型语言模型(LLMs)的近期进展主要集中在最大化准确率和推理能力上,往往忽略了关键的计算效率考量。尽管这种方法带来了显著的准确率提升,但也导致一些方法因计算开销和延迟限制而无法在实际部署中应用。本文通过分析两种截然不同的方法的整合,探讨了推理增强与计算效率之间的潜在协同作用:Quiet-STaR(自教推理器)和REBASE(奖励平衡搜索)。通过在GSM8K数据集上使用Mistral-7B模型进行全面的实证分析,我们证明,尽管每种方法在其主要目标上都表现出色——Quiet-STaR尽管计算成本高(554.66秒运行时间,12.73T FLOPs),但实现了更高的准确率(32.03%);而REBASE在保持与基线相当的准确率(10.94%)的同时,提供了卓越的效率(8.47秒运行时间,2.35T FLOPs)——但它们的整合揭示了在协调推理深度与计算效率方面的根本挑战。这种组合方法出乎意料地导致性能下降(9.38%准确率,143.66秒运行时间),突显了关于LLM中推理增强与效率优化之间复杂相互作用的关键见解。我们的发现表明,需要专门设计的新型架构和算法来弥合这些竞争目标之间的差距,同时为未来在计算高效推理方法方面的研究提供了具体方向。

英文摘要:

Recent advances in large language models (LLMs) have predominantly focused on maximizing accuracy and reasoning capabilities, often overlooking crucial computational efficiency considerations. While this approach has yielded impressive accuracy improvements, it has led to methods that may be impractical for real-world deployment due to computational overhead and latency constraints. This paper investigates the potential synergy between reasoning enhancement and computational efficiency by analyzing the integration of two contrasting approaches: Quiet-STaR (Self-Taught Reasoner) and REBASE (REward BAlanced SEarch). Through comprehensive empirical analysis using the Mistral-7B model on the GSM8K dataset, we demonstrate that while each method excels in its primary objective-Quiet-STaR achieving superior accuracy (32.03%) despite high computational cost (554.66s runtime, 12.73T FLOPs), and REBASE providing exceptional efficiency (8.47s runtime, 2.35T FLOPs) while maintaining baseline-comparable accuracy (10.94%)-their integration reveals fundamental challenges in reconciling reasoning depth with computational efficiency. The combined approach unexpectedly results in degraded performance (9.38% accuracy, 143.66s runtime), highlighting critical insights about the complex interplay between reasoning enhancement and efficiency optimization in LLMs. Our findings illuminate the need for novel architectures and algorithms specifically designed to bridge the gap between these competing objectives, while providing concrete directions for future research in compute-efficient reasoning methods.

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

↑