arXiv:2410.13639cs.CL2024-10被引 87

对比分析OpenAI o1模型的推理模式,揭示其超越其他方法的机制。

A Comparative Study on Reasoning Patterns of OpenAI's o1 Model

  • 以GPT-4o为基底,对比o1与多种测试时计算方法的推理表现。
  • o1在数学、编码、常识推理任务中多数数据集上表现最优。
  • 发现搜索多样性响应受限于奖励模型能力和搜索空间边界。

提升大语言模型处理复杂任务(如编程、数学)的能力受到广泛关注。随着模型演进,单纯增加参数量带来的性能提升逐渐减弱且计算成本高昂。近期,OpenAI的o1模型表明,推理策略(即测试时计算方法)也能显著增强大模型的推理能力,但其内在机制仍不明确。本文以GPT-4o为基底,在数学、编程、常识推理三个领域的一般推理基准上,对比o1与现有测试时计算方法(BoN、Step-wise BoN、Agent Workflow、Self-Refine)。实验显示,o1在多数数据集上表现最佳;对于搜索多样化响应的方法,发现奖励模型能力与搜索空间共同限制了其上限;对于分步求解的方法,由于领域特定的系统提示,Agent Workflow优于Step-wise BoN。此外,我们总结出o1的六种推理模式,并对多个基准进行了详细分析。

原文摘要 · Abstract (English)

Enabling Large Language Models (LLMs) to handle a wider range of complex tasks (e.g., coding, math) has drawn great attention from many researchers. As LLMs continue to evolve, merely increasing the number of model parameters yields diminishing performance improvements and heavy computational costs. Recently, OpenAI's o1 model has shown that inference strategies (i.e., Test-time Compute methods) can also significantly enhance the reasoning capabilities of LLMs. However, the mechanisms behind these methods are still unexplored. In our work, to investigate the reasoning patterns of o1, we compare o1 with existing Test-time Compute methods (BoN, Step-wise BoN, Agent Workflow, and Self-Refine) by using OpenAI's GPT-4o as a backbone on general reasoning benchmarks in three domains (i.e., math, coding, commonsense reasoning). Specifically, first, our experiments show that the o1 model has achieved the best performance on most datasets. Second, as for the methods of searching diverse responses (e.g., BoN), we find the reward models' capability and the search space both limit the upper boundary of these methods. Third, as for the methods that break the problem into many sub-problems, the Agent Workflow has achieved better performance than Step-wise BoN due to the domain-specific system prompt for planning better reasoning processes. Fourth, it is worth mentioning that we have summarized six reasoning patterns of o1, and provided a detailed analysis on several reasoning benchmarks.

推理机制大模型O1模型测试时计算

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