2024-11-26 · 专家 · 数据科学 · 机器学习 · 自然语言处理

O1 Replication Journey -- Part 2: Surpassing O1-preview through Simple Distillation, Big Progress or Bitter Lesson?

该论文通过简单蒸馏技术,从OpenAI的O1模型中提取知识,结合监督微调,在复杂数学推理任务上取得了优于O1-preview的性能,并探讨了O1蒸馏模型在幻觉、安全性和开放域问答等任务上的泛化能力。

更新于 2024-11-26。作者:Zhen Huang、Haoyang Zou、Xuefeng Li、Yixiu Liu、Yuxiang Zheng、Ethan Chern、Shijie Xia、Yiwei Qin、Weizhe Yuan、Pengfei Liu。

中文摘要

本文对目前复制 OpenAI 的 O1 模型能力的方法进行了批判性分析,特别关注了知识蒸馏技术在广泛应用但往往不公开的使用。虽然我们之前的工作探讨了复制 O1 的基本技术路径,但这项研究揭示了从 O1 的 API 简单蒸馏,结合监督微调,如何在复杂的数学推理任务上实现优越性能。通过大量实验,我们表明,在仅对数万个样本进行 O1 蒸馏的基模型上进行微调,在技术复杂性极低的情况下,其表现优于 O1 预览在美邀请数学竞赛(AIME)上的表现。此外,我们的研究不仅限于数学推理,还探索了 O1 蒸馏模型在多样化任务上的泛化能力:幻觉、安全性和开放域问答。值得注意的是,尽管我们的模型仅在数学问题解决数据上训练,但在微调后,它们在开放性问题上的泛化能力很强,且对奉承现象的敏感性显著降低。我们特意公布这一发现,以促进人工智能研究中的透明度,并挑战该领域当前掩盖技术主张的趋势。我们的工作包括:(1)对蒸馏过程及其有效性的详细技术阐述,(2)一个全面的基准框架,用于评估和分类基于技术透明度和可重复性的 O1 复制尝试,(3)对过度依赖蒸馏方法的局限性和潜在风险的批判性讨论。我们的分析最终得出一个关键的教训:虽然追求更强大的 AI 系统很重要,但基于第一性原理思考的研究者培养是至关重要的。

英文摘要

This paper presents a critical examination of current approaches to replicating OpenAI's O1 model capabilities, with particular focus on the widespread but often undisclosed use of knowledge distillation techniques. While our previous work explored the fundamental technical path to O1 replication, this study reveals how simple distillation from O1's API, combined with supervised fine-tuning, can achieve superior performance on complex mathematical reasoning tasks. Through extensive experiments, we show that a base model fine-tuned on simply tens of thousands of samples O1-distilled long-thought chains outperforms O1-preview on the American Invitational Mathematics Examination (AIME) with minimal technical complexity. Moreover, our investigation extends beyond mathematical reasoning to explore the generalization capabilities of O1-distilled models across diverse tasks: hallucination, safety and open-domain QA. Notably, despite training only on mathematical problem-solving data, our models demonstrated strong generalization to open-ended QA tasks and became significantly less susceptible to sycophancy after fine-tuning. We deliberately make this finding public to promote transparency in AI research and to challenge the current trend of obscured technical claims in the field. Our work includes: (1) A detailed technical exposition of the distillation process and its effectiveness, (2) A comprehensive benchmark framework for evaluating and categorizing O1 replication attempts based on their technical transparency and reproducibility, (3) A critical discussion of the limitations and potential risks of over-relying on distillation approaches, our analysis culminates in a crucial bitter lesson: while the pursuit of more capable AI systems is important, the development of researchers grounded in first-principles thinking is paramount.

解读

一句话总结

该论文通过简单蒸馏技术,从OpenAI的O1模型中提取知识,结合监督微调,在复杂数学推理任务上取得了优于O1-preview的性能,并探讨了O1蒸馏模型在幻觉、安全性和开放域问答等任务上的泛化能力。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:OpenAI的O1模型在复杂推理任务上展现出卓越的能力,但复现其性能的研究往往缺乏透明度,且过度依赖知识蒸馏技术。 • 现有方案不足:当前复现O1模型的研究存在方法不透明、过度依赖蒸馏技术、缺乏创新等问题,导致技术发展受限。 • 研究目标:提出一种基于简单蒸馏和监督微调的方法复现O1模型,并探讨其泛化能力,同时强调技术透明度和创新的重要性。

问题2:论文的核心创新点是什么?

• 技术创新:提出了一种基于简单蒸馏和监督微调的方法,通过从O1模型中提取知识来提升模型在数学推理任务上的性能。 • 方法改进:设计了详细的蒸馏过程,并提出了一个综合性的基准框架来评估和分类O1复现尝试。 • 优势:该方法在保持技术透明度的同时,实现了性能提升,并有助于推动AI研究的长期发展。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在AIME和MATH500基准测试中,与O1-preview相比,通过简单蒸馏和监督微调得到的模型在数学推理任务上取得了更好的性能。 • 性能提升:在AIME2024基准上,蒸馏模型的准确率达到了87.2%,而O1-preview的准确率为85.5%。 • 对比结果:与O1-mini模型相比,蒸馏模型在AIME2024和MATH500基准上取得了更高的准确率。

问题4:这个研究的实际应用价值是什么?

• 应用场景:该方法可用于提升AI模型在数学推理、开放域问答等领域的性能。 • 实施建议:在应用该方法时,应注重技术透明度和创新,避免过度依赖蒸馏技术。 • 局限与展望:该研究为AI研究提供了新的思路和方法,但仍需进一步探索其在其他领域的应用和改进。

来源