2025-03-03 · 专家 · 数据科学 · 机器学习 · 自然语言处理

SoS1: O1 and R1-Like Reasoning LLMs are Sum-of-Square Solvers

这篇论文通过构建SoS-1K数据集和专家设计的推理指令,展示了大型语言模型在解决多项式非负性问题上的潜力,并通过微调模型显著提高了准确率。

更新于 2025-03-03。作者:Kechen Li、Wenqi Zhu、Coralia Cartis、Tianbo Ji、Shiwei Liu。

中文摘要

大型语言模型(LLMs)在众多任务上已达到人类水平的专业能力,但它们进行严格数学问题解决的能力仍是一个未解的挑战。在本研究中,我们探讨了一个既基本又计算上难以处理的问题:确定给定的多元多项式是否非负。这个问题与希尔伯特第十七问题密切相关,在全球多项式优化中扮演着关键角色,并在多个领域有应用。首先,我们介绍了SoS-1K,这是一个精心挑选的包含大约1,000个多项式的数据集,以及基于五个逐步增加挑战性的标准设计的专家推理指令。评估了多个最先进的LLMs后,我们发现,在没有结构化指导的情况下,所有模型的表现仅略高于随机猜测基准的50%。然而,高质量的推理指令显著提高了准确性,将性能提升至81%。此外,我们的7B模型SoS-7B,在SoS-1K上仅训练了4小时,在准确性上超过了671B的DeepSeek-V3和GPT-4o-mini,同时分别只需字母所需计算时间的1.8%和5%。我们的发现突显了LLMs在推动数学推理边界和解决NP难问题方面的潜力。

英文摘要

Large Language Models (LLMs) have achieved human-level proficiency across diverse tasks, but their ability to perform rigorous mathematical problem solving remains an open challenge. In this work, we investigate a fundamental yet computationally intractable problem: determining whether a given multivariate polynomial is nonnegative. This problem, closely related to Hilbert's Seventeenth Problem, plays a crucial role in global polynomial optimization and has applications in various fields. First, we introduce SoS-1K, a meticulously curated dataset of approximately 1,000 polynomials, along with expert-designed reasoning instructions based on five progressively challenging criteria. Evaluating multiple state-of-the-art LLMs, we find that without structured guidance, all models perform only slightly above the random guess baseline 50%. However, high-quality reasoning instructions significantly improve accuracy, boosting performance up to 81%. Furthermore, our 7B model, SoS-7B, fine-tuned on SoS-1K for just 4 hours, outperforms the 671B DeepSeek-V3 and GPT-4o-mini in accuracy while only requiring 1.8% and 5% of the computation time needed for letters, respectively. Our findings highlight the potential of LLMs to push the boundaries of mathematical reasoning and tackle NP-hard problems.

解读

一句话总结

这篇论文通过构建SoS-1K数据集和专家设计的推理指令,展示了大型语言模型在解决多项式非负性问题上的潜力,并通过微调模型显著提高了准确率。

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

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

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

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

来源