arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.00154cs.SEcs.AI
收藏

o1-Coder:面向编程的 o1 复现

o1-Coder: an o1 Replication for Coding

School of Computer Science and Technology(计算机科学与技术学院);Beijing Jiaotong University(北京交通大学)

Yuxiang Zhang, Shangxi Wu, Yuqi Yang, Jiangming Shu, Jinlin Xiao, Chao Kong, Jitao Sang

AI总结:

本文提出 O1-CODER,通过结合 RL、MCTS、TCG 与两阶段伪代码到代码的迭代微调,复现面向编程任务的 o1 式 System-2 推理模型,并开源代码、数据和模型。

摘要:

本技术报告介绍了 O1-CODER,这是一项复现 OpenAI o1 模型的尝试,重点聚焦于编程任务。该模型集成了强化学习(RL)与蒙特卡洛树搜索(MCTS),以增强模型的 System-2 思维能力。该框架包括:训练一个用于标准化代码测试的测试用例生成器(TCG),使用 MCTS 生成带有推理过程的代码数据,并迭代微调策略模型,使其首先生成伪代码,随后生成完整代码。报告还探讨了在真实应用中部署类 o1 模型的机遇与挑战,建议向 System-2 范式转型,并强调构建世界模型的迫切性。最新的模型进展与实验结果将在后续版本中报告。所有源代码、整理后的数据集以及派生模型均在 https://github.com/ADaM-BJTU/O1-CODER 公开。

英文摘要:

The technical report introduces O1-CODER, an attempt to replicate OpenAI's o1 model with a focus on coding tasks. It integrates reinforcement learning (RL) and Monte Carlo Tree Search (MCTS) to enhance the model's System-2 thinking capabilities. The framework includes training a Test Case Generator (TCG) for standardized code testing, using MCTS to generate code data with reasoning processes, and iteratively fine-tuning the policy model to initially produce pseudocode and then generate the full code. The report also addresses the opportunities and challenges in deploying o1-like models in real-world applications, suggesting transitioning to the System-2 paradigm and highlighting the imperative for world model construction. Updated model progress and experimental results will be reported in subsequent versions. All source code, curated datasets, as well as the derived models are disclosed at https://github.com/ADaM-BJTU/O1-CODER .

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

↑