Certifying Polynomial Nonnegativity via Sum of Squares

This direction is split into other directions: polynomial non-negativity verification. Its last version stays readable and citable here.

Version 1 of 137 papers40 conceptsfrozen 2026-10-04

Finding the global minimum of a function is a cornerstone of optimization, yet for general multivariate polynomials, this task is notoriously difficult. The core of the problem is a "positivity check": to prove that a value $\gamma$ is a lower bound for a function $f(x)$, we must verify that $f(x) - \gamma \geq 0$ for all possible inputs.

As Bernd Sturmfels and Jean B. Lasserre have noted, verifying the nonnegativity of a polynomial is NP-hard. This computational wall prevents us from directly solving many problems in robotics, control theory, and structural design where safety and stability guarantees are paramount.

The research direction explored across these papers focuses on tractable certificates of nonnegativity—mathematical "proofs" that a function is positive which are easier to find than the global minimum itself.

The Sum of Squares Intuition

The most influential certificate is the Sum of Squares (SOS). The intuition is simple: if you can rewrite a polynomial $p(x)$ as a sum of other squared polynomials, such as $p(x) = \sum q_i(x)^2$, then $p(x)$ is obviously non-negative for all real $x$.

While not every non-negative polynomial can be written as a sum of squares (a classic result from Hilbert), Jean B. Lasserre demonstrated in A sum of squares approximation of nonnegative polynomials that any non-negative polynomial can be approximated by an SOS polynomial. By adding a tiny, high-degree perturbation, we can transform a "hard" nonnegativity problem into a "tractable" algebraic one.

From Algebra to Semidefinite Programming

The breakthrough that made SOS practical was the realization that finding these $q_i(x)$ polynomials is equivalent to solving a Semidefinite Program (SDP).

An SOS polynomial $p(x)$ of degree $2d$ can be represented as a quadratic form: $$p(x) = z(x)^T Q z(x)$$ where $z(x)$ is a vector of all monomials up to degree $d$, and $Q$ is a symmetric, positive semidefinite matrix. Solving for $Q$ is a convex optimization problem, which can be handled efficiently by modern solvers. Toolboxes like SOSTOOLS and SOSOPT by Peter Seiler and colleagues have standardized this process, allowing engineers to certify the stability of nonlinear systems by finding SOS Lyapunov functions.

The Moment-SOS Hierarchy

Jean B. Lasserre formalized this into the Moment-SOS hierarchy (or Lasserre hierarchy). This framework provides a sequence of increasingly tighter SDP relaxations. At each level of the hierarchy, you increase the degree of the SOS certificate. As the degree grows, the solution to the relaxation converges to the true global minimum of the original non-convex problem.

This hierarchy bridges the gap between real algebraic geometry and numerical optimization, as detailed in Lasserre's survey The Moment-SOS hierarchy: Applications and related topics.

Overcoming the Scalability Barrier

Despite their power, standard SOS relaxations struggle to scale. The size of the matrix $Q$ grows combinatorially with the number of variables and the degree of the polynomial. To address this, researchers have developed more efficient alternatives:

  • SDSOS and DSOS: Amir Ali Ahmadi and Anirudha Majumdar introduced DSOS and SDSOS optimization, which replace slow SDPs with faster Linear Programming (LP) and Second-Order Cone Programming (SOCP). These "scaled diagonally dominant" certificates are more restrictive than SOS but significantly faster to compute for large-scale problems.
  • SAGE and SONC: For sparse polynomials, certificates like SAGE (Sums-of-AM/GM-Exponentials) and SONC (Sums of Non-negative Circuit polynomials) offer alternatives that don't rely on the SOS structure. Venkat Chandrasekaran and Riley Murray showed in Newton Polytopes and Relative Entropy Optimization that SAGE certificates can leverage the geometric sparsity of a polynomial's Newton polytope to solve problems that are out of reach for SOS.
  • Symmetry Exploitation: Karin Gatermann demonstrated that if a polynomial has mathematical symmetry, the underlying SDP can be "shattered" into smaller, independent blocks, dramatically reducing the computational cost.

Neural Certificates

The most recent evolution in this field involves augmenting classical solvers with machine learning. In Neural Sum-of-Squares, Nico Pelleriti and Christoph Spiegel use Transformers to predict the "basis" of the SOS certificate.

By using a neural network to guess which monomials are likely to be part of the $q_i(x)$ squares, the algorithm can skip the exhaustive search of the full monomial basis. This hybrid approach maintains the mathematical rigor of SOS (the final certificate is still verified by a classical solver) while achieving speedups of up to 2000×, enabling formal nonnegativity proofs for polynomials with up to 100 variables.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_certifying_polynomial_nonnegativity_via__7ee003db,
  title = {Certifying Polynomial Nonnegativity via Sum of Squares},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/certifying-polynomial-nonnegativity-via-sum-of-squares/rdr_7ee003db1a8347829449a2802a0e9c2f},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_certifying_polynomial_nonnegativity_via__7ee003db_v1,
  title = {Certifying Polynomial Nonnegativity via Sum of Squares},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/certifying-polynomial-nonnegativity-via-sum-of-squares/rdr_7ee003db1a8347829449a2802a0e9c2f/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}