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 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:
- Initialization: Start with a full set of potential monomials.
- 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$.
- 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).
- 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.
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