Simplification Methods for Sum-of-Squares Programs

Peter Seiler, Qian Zheng, Gary BalasarXiv 2013 · DOI

Abstract

A sum-of-squares (SOS) is a polynomial that can be expressed as a sum of squares of other polynomials. Determining if a sum-of-squares decomposition exists for a given polynomial is equivalent to a linear matrix inequality (LMI) feasibility problem. The computation required to solve this problem depends heavily on the number of monomials used in the decomposition. While the Newton polytope method is the standard approach for pruning unnecessary monomials, it requires time-consuming convex hull constructions in high-dimensional spaces. This paper presents a new "Zero Diagonal Algorithm" for removing monomials based on a simple property of positive semidefinite matrices. This algorithm returns a set of monomials that is never larger than the set returned by the Newton polytope method and, for some polynomials, is strictly smaller. Furthermore, the algorithm is significantly more computationally efficient than convex hull construction and can be extended to general SOS programming simplification.

Introduction

In fields like control theory and nonlinear analysis, proving that a polynomial is always non-negative is a critical task, often used to establish system stability via Lyapunov functions. A common method is to check if the polynomial can be written as a Sum-of-Squares (SOS). Mathematically, this check is equivalent to solving a Linear Matrix Inequality (LMI).

However, a major challenge exists: the size of the matrix in this LMI grows rapidly with the number of variables and the degree of the polynomial. To keep these problems solvable, researchers use "pruning" techniques to remove monomials that couldn't possibly be part of an SOS decomposition.

The Newton Polytope of a polynomial defines the initial geometric bounds for potential monomials in its SOS decomposition.

The gold standard for pruning has been the Newton Polytope method (illustrated in Figure 2). While effective, it requires calculating a convex hull in high-dimensional space—a geometric task that becomes a massive computational bottleneck for polynomials with many terms.

The Zero Diagonal Algorithm

The authors propose an alternative called the Zero Diagonal Algorithm. It shifts the focus from high-dimensional geometry to basic linear algebra, relying on a fundamental property of Positive Semidefinite (PSD) matrices: if a diagonal entry of a PSD matrix is zero, then every entry in that entire row and column must also be zero.

The algorithm works as follows:

  1. Initialization: Start with a full set of potential monomials.
  2. Constraint Mapping: Equate the coefficients of the target polynomial with the entries of the "Gram matrix" $Q$ in the SOS decomposition $z^T Q z$.
  3. Iterative Pruning: Search for diagonal entries of $Q$ that are forced to be zero by the polynomial's coefficients. If a diagonal entry is zero, the corresponding monomial is "pruned" (removed).
  4. Repeat: Removing one monomial might reveal that another diagonal entry must now be zero. The process repeats until no more monomials can be removed.

Key Results and Advantages

The Zero Diagonal Algorithm offers several distinct advantages over traditional geometric methods:

  • Computational Efficiency: By replacing complex convex hull algorithms (like convhulln) with simple linear equality checks, the authors achieve a significant speedup in the pre-processing phase.
  • Tighter Pruning: The paper provides a formal proof that the Zero Diagonal Algorithm will never return a larger set of monomials than the Newton Polytope method. For certain polynomials, it is strictly more aggressive, resulting in even smaller LMIs.
  • Numerical Stability: By identifying variables that must be zero and removing them before they reach the solver, the algorithm prevents numerical instability caused by "epsilon-sized" values that should be exactly zero.
The Reduced Newton Polytope represents the standard set of candidate monomials. The proposed algorithm can prune this set more effectively than standard geometric methods.

As shown in Figure 1, the "Reduced Newton Polytope" defines the candidate monomial space. The Zero Diagonal Algorithm can identify and remove points within this region that the geometric method would otherwise be forced to keep, further simplifying the optimization problem.

Conclusion

The Zero Diagonal Algorithm provides a faster and more effective way to simplify SOS programs. By leveraging linear algebraic properties instead of geometric constructions, it reduces both pre-processing time and the complexity of the resulting semidefinite programs. The method is fully implemented in the SOSOPT toolbox, providing a practical enhancement for SOS optimization workflows.

Summary updated

Abstract

A sum-of-squares is a polynomial that can be expressed as a sum of squares of other polynomials. Determining if a sum-of-squares decomposition exists for a given polynomial is equivalent to a linear matrix inequality feasibility problem. The computation required to solve the feasibility problem depends on the number of monomials used in the decomposition. The Newton polytope is a method to prune unnecessary monomials from the decomposition. This method requires the construction of a convex hull and this can be time consuming for polynomials with many terms. This paper presents a new algorithm for removing monomials based on a simple property of positive semidefinite matrices. It returns a set of monomials that is never larger than the set returned by the Newton polytope method and, for some polynomials, is a strictly smaller set. Moreover, the algorithm takes significantly less computation than the convex hull construction. This algorithm is then extended to a more general simplification method for sum-of-squares programming.
BibTeX
@misc{seiler2013simplification,
  author = {Peter Seiler and Qian Zheng and Gary Balas},
  title = {{Simplification Methods for Sum-of-Squares Programs}},
  year = {2013},
  eprint = {1303.0714},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1303.0714},
}
Figure