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

OpenAI o1 模型推理模式的比较研究

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

M-A-P;University of Manchester(曼彻斯特大学);OpenO1 Team(OpenO1团队);University of Chinese Academy of Sciences(中国科学院大学);Zhejiang University(浙江大学);Abaka AI
Siwei Wu, Zhongyuan Peng, Xinrun Du, Tuney Zheng, Minghao Liu, Jialong Wu, Jiachen Ma, Yizhi Li, Jian Yang, Wangchunshu Zhou, Qunshu Lin, Junbo Zhao, Zhaoxiang … 展开作者

Siwei Wu, Zhongyuan Peng, Xinrun Du, Tuney Zheng, Minghao Liu, Jialong Wu, Jiachen Ma, Yizhi Li, Jian Yang, Wangchunshu Zhou, Qunshu Lin, Junbo Zhao, Zhaoxiang Zhang, Wenhao Huang, Ge Zhang, Chenghua Lin, J. H. Liu

AI总结:

本文通过将 OpenAI o1 与多种测试时计算方法在数学、编程和常识推理基准上进行比较,揭示了 o1 的六种推理模式,并分析了不同推理策略的性能边界与机制差异。

摘要:

让大语言模型(LLMs)能够处理更广泛的复杂任务(如编程、数学)已经引起了许多研究者的极大关注。随着 LLM 的持续演进,仅仅增加模型参数数量所带来的性能提升逐渐递减,并且计算成本高昂。近期,OpenAI 的 o1 模型表明,推理策略(即测试时计算方法)也能够显著增强 LLM 的推理能力。然而,这些方法背后的机制仍未得到探索。在我们的工作中,为了研究 o1 的推理模式,我们以 OpenAI 的 GPT-4o 作为主干模型,在三个领域(即数学、编程、常识推理)的通用推理基准上,将 o1 与现有的测试时计算方法(BoN、逐步 BoN、Agent Workflow 和 Self-Refine)进行比较。具体而言,首先,我们的实验表明,o1 模型在大多数数据集上取得了最佳性能。其次,对于搜索多样化响应的方法(如 BoN),我们发现奖励模型的能力和搜索空间都限制了这些方法的上界。第三,对于将问题分解为多个子问题的方法,由于领域特定的系统提示能够规划出更好的推理过程,Agent Workflow 取得了比逐步 BoN 更好的性能。第四,值得一提的是,我们总结了 o1 的六种推理模式,并在若干推理基准上提供了详细分析。

英文摘要:

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.

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

↑