SoS1: O1 and R1-Like Reasoning LLMs are Sum-of-Square Solvers
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 20 of its 50 references that are in the map. First posted on arXiv 27 Feb 2025.
Builds on
20 of 50 references.
References · 20
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2023Large Language Models as Tool Makerscited by 293
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 225
- 2024From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Modelscited by 136
- 2025T1: Advancing Language Model Reasoning through Reinforcement Learning and Inference Scalingcited by 77
- 2017DSOS and SDSOS Optimization: More Tractable Alternatives to Sum of Squares and Semidefinite Optimizationcited by 19
8 more
- 2016Sparse-BSOS: a bounded degree SOS hierarchy for large scale polynomial optimization with sparsitycited by 8
- 2020On the complexity of finding a local minimizer of a quadratic function over a polytopecited by 7
- 2015A bounded degree SOS hierarchy for polynomial optimizationcited by 5
- 2014Sparsity-Exploiting Moment-Based Relaxations of the Optimal Power Flow Problemcited by 3
- 2023Higher-Order Newton Methods with Polynomial Work per Iterationcited by 3
- 2021Sums of Separable and Quadratic Polynomialscited by 2
- 2018Sparse sum-of-squares (SOS) optimization: A bridge between DSOS/SDSOS and SOS optimization for sparse polynomialscited by 1
- 2024Convex Ternary Quartics Are SOS-Convexcited by 1
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2025GridRoute: A Benchmark for LLM-Based Route Planning with Cardinal Movement in Grid Environmentscited by 4
- 2025Rethinking the Unsolvable: When In-Context Search Meets Test-Time Scalingcited by 2
- 2025Neural Sum-of-Squares: Certifying the Nonnegativity of Polynomials with Transformerscited by 2
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2025Neural Sum-of-Squares: Certifying the Nonnegativity of Polynomials with Transformers15 Oct 2025
- 2025GridRoute: A Benchmark for LLM-Based Route Planning with Cardinal Movement in Grid Environments30 May 2025
- 2025Rethinking the Unsolvable: When In-Context Search Meets Test-Time Scaling28 May 2025
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models12 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2023Large Language Model for Science: A Study on P vs. NP
- 2026Learning to Coordinate Symbolic Tools: LLM Agents for Verified Sum-of-Squares Certificates
- 2025Nondeterministic Polynomial-time Problem Challenge: An Ever-Scaling Reasoning Benchmark for LLMs
- 2025Evaluating Frontier LLMs on PhD-Level Mathematical Reasoning: A Benchmark on a Textbook in Theoretical Computer Science about Randomized Algorithms
- 2026The CompMath-MCQ Dataset: Are LLMs Ready for Higher-Level Math?
- 2026From LLM-Generated Conjectures to Lean Formalizations: Automated Polynomial Inequality Proving via Sum-of-Squares Certificates
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models
- 2025An Investigation of Robustness of LLMs in Mathematical Reasoning: Benchmarking with Mathematically-Equivalent Transformation of Advanced Mathematical Problems