Skip to main content
QUICK REVIEW

[Paper Review] A Sums-of-Squares Extension of Policy Iterations

Assalé Adjé, Pierre-Loïc Garoche|arXiv (Cornell University)|Mar 27, 2015
Formal Methods in VerificationComputer Science45 references4 citations
TL;DR

This paper extends policy iteration for static analysis by integrating sums-of-squares (SOS) optimization to enable precise analysis of switched systems with polynomial dynamics and guards. By replacing quadratic templates with polynomial templates and using SOS programming, the method computes increasingly tight over-approximations of reachable sets, achieving convergence with improved precision over prior LP/SDP-based approaches for non-quadratic systems.

ABSTRACT

In order to address the imprecision often introduced by widening operators in static analysis, policy iteration based on min-computations amounts to considering the characterization of reachable value set of a program as an iterative computation of policies, starting from a post-fixpoint. Computing each policy and the associated invariant relies on a sequence of numerical optimizations. While the early research efforts relied on linear programming (LP) to address linear properties of linear programs, the current state of the art is still limited to the analysis of linear programs with at most quadratic invariants, relying on semidefinite programming (SDP) solvers to compute policies, and LP solvers to refine invariants. We propose here to extend the class of programs considered through the use of Sums-of-Squares (SOS) based optimization. Our approach enables the precise analysis of switched systems with polynomial updates and guards. The analysis presented has been implemented in Matlab and applied on existing programs coming from the system control literature, improving both the range of analyzable systems and the precision of previously handled ones.

Motivation & Objective

  • Address the imprecision of widening operators in static analysis by refining invariant computation through policy iteration.
  • Extend existing policy iteration frameworks—previously limited to linear or quadratic invariants—toward polynomial invariants using sums-of-squares (SOS) programming.
  • Enable sound over-approximation of reachable sets in discrete-time switched systems with piecewise polynomial dynamics and guards.
  • Improve precision and applicability for systems where traditional linear or quadratic abstractions fail, such as controllers with saturation or anti-windup.
  • Provide a scalable and convergent algorithm for boundedness and safety verification of nonlinear, piecewise polynomial programs.

Proposed method

  • Formulate the reachable set computation as a policy iteration over polynomial templates, replacing prior reliance on linear or quadratic forms.
  • Use sums-of-squares (SOS) programming to relax the non-convex policy computation into a sequence of convex semidefinite programs (SDPs).
  • Apply min-policy iteration via duality, computing Lagrange multipliers to derive invariant certificates using SOS-based Lyapunov functions.
  • Integrate SOS-based relaxation of the functional in the policy iteration loop, preserving convergence guarantees from prior work.
  • Implement the algorithm in MATLAB using YALMIP and MOSEK for SOS and SDP solving, with a stopping criterion based on ∥F R(wk) − wk∥∞ ≤ 1e–6.
  • Use template-based abstraction: each abstract state is defined by bounds on polynomial expressions (e.g., x², xy, x⁴), with degree tuned per example.

Experimental results

Research questions

  • RQ1Can policy iteration be extended beyond quadratic invariants to handle polynomial invariants in switched systems?
  • RQ2Does integrating sums-of-squares (SOS) programming into policy iteration preserve convergence and improve precision for non-quadratic systems?
  • RQ3How does the proposed SOS-based policy iteration compare to prior LP/SDP-based methods in terms of precision and applicability to real control systems?
  • RQ4What is the impact of template degree on convergence and numerical stability in SOS policy iteration?
  • RQ5Can the method handle systems with non-polynomial or complex dynamics, such as those with saturation or piecewise nonlinearities?

Key findings

  • The SOS extension of policy iteration successfully computes sound over-approximations of reachable sets for polynomial switched systems, including those with non-quadratic dynamics.
  • For Example 6.1 (3D piecewise linear system), the method achieved a post-fixpoint with bounds [3.7482, 1.8503, 1.0000] using degree-6 templates, converging in one iteration.
  • In Example 6.2 (2D piecewise linear system), the algorithm reduced the over-approximation from [1.8359, 1.3341] to [1.4813, 1.2544] using degree-10 templates after six iterations.
  • For Example 6.3 (piecewise quadratic system), the method achieved bounds [1.5531, 1.1511] with degree-8 templates in one iteration, showing improved precision over prior methods.
  • Example 6.4 (degree-3 polynomial system) showed convergence to [1.2100, 0.9989] with degree-12 templates, though higher degrees (10,12) faced numerical issues and failed to refine.
  • The method failed to converge for certain high-degree templates (e.g., degree 8,10,12 in Example 6.1 and 6.3), primarily due to numerical instability in interior-point SDP solvers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.