mlsanityData to 7 Oct 2026

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

arXiv 2502.20545 ↗First posted 27 Feb 2025cs.LGcited by 5

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  3. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
  4. 2022Large Language Models Encode Clinical Knowledgecited by 1,807
  5. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  6. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
  7. 2023Instruction Tuning for Large Language Models: A Surveycited by 617
  8. 2023Large Language Models as Tool Makerscited by 293
  9. 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 225
  10. 2024From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Modelscited by 136
  11. 2025T1: Advancing Language Model Reasoning through Reinforcement Learning and Inference Scalingcited by 77
  12. 2017DSOS and SDSOS Optimization: More Tractable Alternatives to Sum of Squares and Semidefinite Optimizationcited by 19
8 more
  1. 2016Sparse-BSOS: a bounded degree SOS hierarchy for large scale polynomial optimization with sparsitycited by 8
  2. 2020On the complexity of finding a local minimizer of a quadratic function over a polytopecited by 7
  3. 2015A bounded degree SOS hierarchy for polynomial optimizationcited by 5
  4. 2014Sparsity-Exploiting Moment-Based Relaxations of the Optimal Power Flow Problemcited by 3
  5. 2023Higher-Order Newton Methods with Polynomial Work per Iterationcited by 3
  6. 2021Sums of Separable and Quadratic Polynomialscited by 2
  7. 2018Sparse sum-of-squares (SOS) optimization: A bridge between DSOS/SDSOS and SOS optimization for sparse polynomialscited by 1
  8. 2024Convex Ternary Quartics Are SOS-Convexcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Large Language Model for Science: A Study on P vs. NP
  2. 2026Learning to Coordinate Symbolic Tools: LLM Agents for Verified Sum-of-Squares Certificates
  3. 2025Nondeterministic Polynomial-time Problem Challenge: An Ever-Scaling Reasoning Benchmark for LLMs
  4. 2025Evaluating Frontier LLMs on PhD-Level Mathematical Reasoning: A Benchmark on a Textbook in Theoretical Computer Science about Randomized Algorithms
  5. 2026The CompMath-MCQ Dataset: Are LLMs Ready for Higher-Level Math?
  6. 2026From LLM-Generated Conjectures to Lean Formalizations: Automated Polynomial Inequality Proving via Sum-of-Squares Certificates
  7. 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models
  8. 2025An Investigation of Robustness of LLMs in Mathematical Reasoning: Benchmarking with Mathematically-Equivalent Transformation of Advanced Mathematical Problems