Analysis and synthesis: a complexity perspective

Similar documents
6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC

Robust and Optimal Control, Spring 2015

Convex Optimization. (EE227A: UC Berkeley) Lecture 28. Suvrit Sra. (Algebra + Optimization) 02 May, 2013

V&V MURI Overview Caltech, October 2008

6-1 Computational Complexity

Optimization over Nonnegative Polynomials: Algorithms and Applications. Amir Ali Ahmadi Princeton, ORFE

Minimum Ellipsoid Bounds for Solutions of Polynomial Systems via Sum of Squares

Semidefinite programming relaxations for semialgebraic problems

Lecture Note 5: Semidefinite Programming for Stability Analysis

Selected Examples of CONIC DUALITY AT WORK Robust Linear Optimization Synthesis of Linear Controllers Matrix Cube Theorem A.

4. Algebra and Duality

Converse Results on Existence of Sum of Squares Lyapunov Functions

SOSTOOLS and its Control Applications

SEMIDEFINITE PROGRAM BASICS. Contents

Convex sets, conic matrix factorizations and conic rank lower bounds

COMPLEX behaviors that can be exhibited by modern engineering

9. Interpretations, Lifting, SOS and Moments

Lower bounds on the size of semidefinite relaxations. David Steurer Cornell

Semidefinite programming and convex algebraic geometry

Semidefinite Programming Basics and Applications

An explicit construction of distinguished representations of polynomials nonnegative over finite sets

Stability and Robustness Analysis of Nonlinear Systems via Contraction Metrics and SOS Programming

Advances in Convex Optimization: Theory, Algorithms, and Applications

Fast ADMM for Sum of Squares Programs Using Partial Orthogonality

Semidefinite Programming

4-1 The Algebraic-Geometric Dictionary P. Parrilo and S. Lall, ECC

A Framework for Worst-Case and Stochastic Safety Verification Using Barrier Certificates

Example: feasibility. Interpretation as formal proof. Example: linear inequalities and Farkas lemma

DSOS/SDOS Programming: New Tools for Optimization over Nonnegative Polynomials

Lecture 6 Verification of Hybrid Systems

POLYNOMIAL OPTIMIZATION WITH SUMS-OF-SQUARES INTERPOLANTS

Decentralized Control of Stochastic Systems

Semidefinite and Second Order Cone Programming Seminar Fall 2012 Project: Robust Optimization and its Application of Robust Portfolio Optimization

LMI MODELLING 4. CONVEX LMI MODELLING. Didier HENRION. LAAS-CNRS Toulouse, FR Czech Tech Univ Prague, CZ. Universidad de Valladolid, SP March 2009

Lecture 3: Semidefinite Programming

MIT Algebraic techniques and semidefinite optimization May 9, Lecture 21. Lecturer: Pablo A. Parrilo Scribe:???

Optimization of Polynomials

COURSE ON LMI PART I.2 GEOMETRY OF LMI SETS. Didier HENRION henrion

Semidefinite programming lifts and sparse sums-of-squares

Representations of Positive Polynomials: Theory, Practice, and

Advanced SDPs Lecture 6: March 16, 2017

MIT Algebraic techniques and semidefinite optimization February 14, Lecture 3

Approximation Metrics for Discrete and Continuous Systems

NP-Completeness. Until now we have been designing algorithms for specific problems

8 Approximation Algorithms and Max-Cut

Optimization over Polynomials with Sums of Squares and Moment Matrices

arzelier

1 Strict local optimality in unconstrained optimization

A positive definite polynomial Hessian that does not factor

SDP Relaxations for MAXCUT

Constructing Lyapunov-Krasovskii Functionals For Linear Time Delay Systems

The moment-lp and moment-sos approaches

Lyapunov Function Synthesis using Handelman Representations.

BBM402-Lecture 20: LP Duality

Sum-of-Squares Method, Tensor Decomposition, Dictionary Learning

A Hierarchy of Suboptimal Policies for the Multi-period, Multi-echelon, Robust Inventory Problem

Non-Convex Optimization via Real Algebraic Geometry

Iterative LP and SOCP-based. approximations to. sum of squares programs. Georgina Hall Princeton University. Joint work with:

Stability of Polynomial Differential Equations: Complexity and Converse Lyapunov Questions

Safety Verification of Hybrid Systems Using Barrier Certificates

Proving Unsatisfiability in Non-linear Arithmetic by Duality

Research Article Convex Polyhedron Method to Stability of Continuous Systems with Two Additive Time-Varying Delay Components

Unbounded Convex Semialgebraic Sets as Spectrahedral Shadows

Lecture 10: Duality in Linear Programs

GLOBAL ANALYSIS OF PIECEWISE LINEAR SYSTEMS USING IMPACT MAPS AND QUADRATIC SURFACE LYAPUNOV FUNCTIONS

CSC Linear Programming and Combinatorial Optimization Lecture 12: The Lift and Project Method

STABILITY ANALYSIS AND CONTROL DESIGN

Analytical Validation Tools for Safety Critical Systems

CSC Linear Programming and Combinatorial Optimization Lecture 10: Semidefinite Programming

Nonlinear Optimization for Optimal Control

approximation algorithms I

Dimension reduction for semidefinite programming

Analysis and Control of Nonlinear Actuator Dynamics Based on the Sum of Squares Programming Method

I.3. LMI DUALITY. Didier HENRION EECI Graduate School on Control Supélec - Spring 2010

Formally Analyzing Adaptive Flight Control

Mathematical Preliminaries

Hilbert s 17th Problem to Semidefinite Programming & Convex Algebraic Geometry

Copositive Programming and Combinatorial Optimization

Research overview. Seminar September 4, Lehigh University Department of Industrial & Systems Engineering. Research overview.

Model Validation and Robust Stability Analysis of the Bacterial Heat Shock Response Using SOSTOOLS

EE C128 / ME C134 Feedback Control Systems

Equivariant semidefinite lifts and sum of squares hierarchies

12. Interior-point methods

Nonlinear Control as Program Synthesis (A Starter)

Algorithms and Complexity theory

Motivating examples Introduction to algorithms Simplex algorithm. On a particular example General algorithm. Duality An application to game theory

Primal-Dual Geometry of Level Sets and their Explanatory Value of the Practical Performance of Interior-Point Methods for Conic Optimization

A State-Space Approach to Control of Interconnected Systems

Module 04 Optimization Problems KKT Conditions & Solvers

Separation, Inverse Optimization, and Decomposition. Some Observations. Ted Ralphs 1 Joint work with: Aykut Bulut 1

Rational Sums of Squares and Applications

The moment-lp and moment-sos approaches in optimization

Low-ranksemidefiniteprogrammingforthe. MAX2SAT problem. Bosch Center for Artificial Intelligence

Lecture 4: Polynomial Optimization

Positive semidefinite rank

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

U.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 12 Luca Trevisan October 3, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 8 Luca Trevisan September 19, 2017

Certified Roundoff Error Bounds using Semidefinite Programming

Network Utility Maximization With Nonconcave Utilities Using Sum-of-Squares Method

Transcription:

Analysis and synthesis: a complexity perspective Pablo A. Parrilo ETH ZürichZ control.ee.ethz.ch/~parrilo

Outline System analysis/design Formal and informal methods SOS/SDP techniques and applications Why we think this is a good idea A view on complexity Connections with other approaches Limitations, challenges, and perspectives

System analysis Analysis: establish properties of systems System descriptions (models), not reality. o o Informal: reasoning, analogy, intuition, design rules, simulation, extensive testing, etc. Formal: Mathematically correct proofs. Guarantees can be deterministic or in probability. Many recent advances in formal methods (hardware/software design, robust control, etc)

Complexity issues What are the barriers to fully automated design/synthesis? How to quantify the computational resources needed for these tasks? How do they scale with problem size? If a system has a certain property, can we concisely explain why? (a scientist s nightmare) Does the existence of a simple proof guarantee that we can efficiently find it?

Polynomial nonnegativity Traveling salesman Co-NPC NPC P co-np (concise counterexamples) Linear programming NP (concise proofs) Unless they re all the same

Analysis vs. synthesis So far, analysis or verification. x P( x)? Synthesis (design), a much more complicated beast. y x P( x, y)? In general, a higher complexity class Optimization vs. games, minimax, robustness, etc Alternating quantifiers, relativized Turing machines: the polynomial time hierarchy.

Polynomial time hierarchy...... Synthesis 3 3 2 2 y x P(, x y)? Co-NP 1 1 NP x Px ( )? 0 = 0 P Analysis

A possible way out? y x P(, x y) 0 In general is Π2-hard. Really bad. No hope of solving this efficiently. But when P(x,y) is quadratic in x and affine in y This is exactly semidefinite programming (SDP) Drops two levels to P, polynomial time! A reason behind the ubiquity of SDP-based methods

Synthesis results depend on hand-crafted tricks that we don t fully understand yet. Until recently we could say the same about analysis, where custom techniques abound. For analysis, there s a method in the madness, earlier results unified and expanded.

Semialgebraic modeling Many problems in different domains can be modeled by polynomial inequalities f i ( x) 0, g ( x) = Continuous, discrete, hybrid NP-hard in general Tons of examples: spin glasses, dynamical systems, robustness analysis, SAT, quantum systems, etc. i 0 How to prove things about them, in an algorithmic, certified and efficient way?

Proving vs. disproving Really, it s automatic theorem proving Big difference: finding counterexamples vs. producing proofs (NP vs. co-np)

Findbad events (e.g. protocol deadlock, death) or bad region Safety guarantees (e.g. Lyapunov, barriers, certificates) Nominal System Bad events are easy to describe (NP) Safety proofs could potentially be long (co-np)

Proving vs. disproving Big difference: finding counterexamples vs. producing proofs (NP vs. co-np) Decision theory exists (Tarski-Seidenberg, etc), practical performance is quite poor Want unconditionally valid proofs, but may fail to get them sometimes Rather, we use a particular proof system from real algebra: the Positivstellensatz

An example {( x, y) f 2 : = x y + 3 0, g : = y + x 2 + 2 = 0} Is the set described by these inequalities empty? How to certify this?

Example (continued) {( x, y) f 2 : = x y + 3 0, g : = y + x 2 + 2 = 0} Is empty, since with s + s f + t g = 1 2 1 nonnegative zero 1 3 3 2 2 s = + 2( y + ) + 6( x ), s = 2, t = 6 1 2 1 Reason: evaluate on candidate feasible points 1 6 2 1

What is this? How to generalize it? n { x R : f ( x) 0, g ( x) = i i 0} Define two algebraic objects: The cone generated by the inequalities cone( f i ) : = s 0 + s + i fi sij fi f j + i The polynomials are sums of squares The ideal generated by the equalities ideal( s α g = i ) : i i, j t i g i L

Sums of squares (SOS) A sufficient condition for nonnegativity: = Convex condition f x p x f x 2 i( ): ( ) i ( )? i Efficiently checked using SDP Write: px ( ) = zqz T, Q 0 where z is a vector of monomials. Expanding and equating sides, obtain linear constraints among the Qij. Finding a PSD Q subject to these conditions is exactly a semidefinite program (LMI).

Positivstellensatz (Real Nullstellensatz) n { x R : f ( x) 0, g ( x) = f cone( f i i ), if and only if g ideal( g i i ) : 0} f is empty + g = 1 Infeasibility certificates for polynomial systems over the reals. Sums of squares (SOS) are essential Conditions are convex in f,g Bounded degree solutions can be computed! A convex optimization problem. Furthermore, it s a semidefinite program (SDP)

P-satz proofs Proofs are given by algebraic identities Extremely easy to verify Use convex optimization to search for them Convexity, hence a duality structure: On the primal, simple proofs. On the dual, weaker models (liftings, etc) General algorithmic construction Based on the axioms of formally real fields Techniques for exploiting problem structure

Modeling Robustness barriers Polynomial inequalities Analysis Real algebraic geometry Duality SDP/SOS A formal, complete proof system Very effective in a wide variety of areas Look for short (bounded-depth) proofs first, according to resources

System Analysis Want to decouple System complexity Complexity of verification. Nominal System bad region Even for extremely complex systems, there may exist simple robustness proofs. Try to look for those first

Special cases Generalizes well-known methods: Linear programming duality S-procedure SDP relaxations for QP LMI techniques for linear systems Structured singular value Spectral bounds for graphs Custom heuristics (e.g. NPP)

A few sample applications Continuous and combinatorial optimization Graph properties: stability numbers, cuts, Dynamical systems: Lyapunov and Bendixson- Dulac functions Bounds for linear PDEs (Hamilton-Jacobi, etc) Robustness analysis, model validation Reachability analysis: set mappings, Hybrid and time-delay systems Data/model consistency in biological systems Geometric theorem proving Quantum information theory

DS applications: Bendixson-Dulac Does a dynamical system have periodic solutions? How to rule out oscillations? In 2D, a well-known criterion: Bendixson-Dulac Higher dimensional generalizations (Rantzer) Weaker stability criterion than Lyapunov (allowing a zero-measure set of divergent trajectories). Convexity for synthesis. How to search for ρ? ( ρf ) > 0

Bendixson-Dulac Restrict to polynomial (or rationals), use SOS. As for Lyapunov, now a fully algorithmic procedure. Given: x& = y Propose: ρ = a + bx + cy 2 2 y& = x y + x + y 1 After optimization: a = 3, b = 3, c = 1 2 3 + 1 1 1 2 1 1 ρ = y + 3 x 3 3 > 0 3 6 2 2 2 ( f )

Conclusion: a certificate of the inexistence of periodic orbits x ' = y y ' = - x - y + x 2 + y 2 3 2 1 y 0-1 -2-3 -3-2 -1 0 1 2 3 x

Example: Lyapunov stability V& = V f < V 0 x& Given: = 2y + 3x y& = 6x 2y 2 x 3 0 Ubiquitous, fundamental problem Algorithmic solution Extends to uncertain, hybrid, etc. V ( x, Propose: y) = i+ j 4 c ij x i y j After optimization: coefficients of V. A Lyapunov function V, that proves stability.

Conclusion: a certificate of global stability

Why do we like these methods? Very powerful! For several problems, best available techniques In simplified special cases, reduce to wellknown successful methods Reproduce domain-specific results Very effective in well-posed instances Rich algebraic/geometric structure Convexity guarantees tractability Efficient computation

Complexity Traditional view: worst-case over classes of instances Rather, an instance-dependent notion: proof length Our claim: this makes more sense for systems designed to be robust Our hope: also holds for biology

Things to think about Correct notion of proof length? Degree? Straight-line programs? Smart proof structures? Proof strategies affect proof length P-satz proofs are global For some problems, branching is better Decomposition strategies (Re)use of abstractions

Exploiting structure Isolate algebraic properties! Symmetry reduction: invariance under a group Sparsity: Few nonzeros, Newton polytopes Ideal structure: Equalities, quotient ring Graph structure: use the dependency graph to simplify the SDPs Methods (mostly) commute, can mix and match

Polynomial descriptions P-satz relaxations Exploit structure Symmetry reduction Sparsity Ideal structure Semidefinite programs Graph structure

A convexity-based scheme has dual interpretations Want to feedback information from the dual For instance, attempting to proving emptiness, we may obtain a feasible point in the set.

Modeling Robustness barriers Polynomial inequalities Analysis Real algebraic geometry Duality SDP/SOS Model fragility Proof complexity Use dual information to get info on primal fragility

Numerical issues SDPs can essentially be solved in polynomial time Implementation: SOSTOOLS (Prajna, Papachristodoulou, P.) Good results with general-purpose solvers. But, we need to do much better: Reliability, conditioning, stiffness Problem size Speed Currently working on customized solvers

Future challenges Structure: we know a lot, can we do more? A good algorithmic use of abstractions, modularization, and randomization. Reuse/parametrization of known tautologies Infinite # of variables? Possible, but not too nice computationally. PSD integral operators, discretizations, etc. Incorporate stochastics Other kinds of structure to exploit? Algorithmics: alternatives to interior point? Do proofs need domain-specific interpretations?

Summary New mathematical tools Algorithmic construction of P-satz relaxations Generalization of many earlier schemes Very powerful in practice Done properly, can fully exploit structure Customized solvers in the horizon Lots of applications, many more to come!