certified optimization for system verification
play

Certified Optimization for System Verification Victor Magron , CNRS - PowerPoint PPT Presentation

Certified Optimization for System Verification Victor Magron , CNRS 26 Juin 2017 SMAI-MODE Meeting Victor Magron Certified Optimization for System Verification 0 / 10 Personal Background 2008 2010: Master at Tokyo University H IERARCHICAL


  1. Certified Optimization for System Verification Victor Magron , CNRS 26 Juin 2017 SMAI-MODE Meeting Victor Magron Certified Optimization for System Verification 0 / 10

  2. Personal Background 2008 − 2010: Master at Tokyo University H IERARCHICAL D OMAIN D ECOMPOSITION M ETHODS 2010 − 2013: PhD at Inria Saclay LIX/CMAP F ORMAL P ROOFS FOR N ONLINEAR O PTIMIZATION (S. Gaubert, B. Werner) 2014 Jan-Sept: Postdoc at LAAS-CNRS M OMENT -SOS APPLICATIONS (D. Henrion, J.B. Lasserre) 2014 − 2015: Postdoc at Imperial College R OUDOFF E RRORS WITH P OLYNOMIAL O PTIMIZATION (G. Constantinides and A. Donaldson) 2015 − 2017: CR2 CNRS-Verimag (Tempo Team) Victor Magron Certified Optimization for System Verification 1 / 10

  3. Research Field C ERTIFIED OPTIMIZATION Input: linear problem (LP), geometric, semidefinite (SDP) Output: value + numerical/symbolic/formal certificate Victor Magron Certified Optimization for System Verification 2 / 10

  4. Research Field C ERTIFIED OPTIMIZATION Input: linear problem (LP), geometric, semidefinite (SDP) Output: value + numerical/symbolic/formal certificate V ERIFICATION OF CRITICAL SYSTEMS Safety of embedded software/hardware Mathematical formal proofs biology, robotics, analysers, . . . Victor Magron Certified Optimization for System Verification 2 / 10

  5. Research Field C ERTIFIED OPTIMIZATION Input: linear problem (LP), geometric, semidefinite (SDP) Output: value + numerical/symbolic/formal certificate V ERIFICATION OF CRITICAL SYSTEMS Safety of embedded software/hardware Mathematical formal proofs biology, robotics, analysers, . . . Efficient certification for nonlinear systems Certified optimization of polynomial systems analysis / synthesis / control Efficiency symmetry reduction, sparsity Certified approximation algorithms convergence, error analysis Victor Magron Certified Optimization for System Verification 2 / 10

  6. What is Semidefinite Optimization? Linear Programming (LP): ⊤ z min c z s.t. A z � d . Linear cost c Polyhedron Linear inequalities “ ∑ i A ij z j � d i ” Victor Magron Certified Optimization for System Verification 3 / 10

  7. What is Semidefinite Optimization? Semidefinite Programming (SDP): ⊤ z min c z ∑ s.t. F i z i � F 0 . i Linear cost c Symmetric matrices F 0 , F i Spectrahedron Linear matrix inequalities “ F � 0” ( F has nonnegative eigenvalues) Victor Magron Certified Optimization for System Verification 3 / 10

  8. What is Semidefinite Optimization? Semidefinite Programming (SDP): ⊤ z min c z ∑ A z = d . s.t. F i z i � F 0 , i Linear cost c Symmetric matrices F 0 , F i Spectrahedron Linear matrix inequalities “ F � 0” ( F has nonnegative eigenvalues) Victor Magron Certified Optimization for System Verification 3 / 10

  9. Applications of SDP Combinatorial optimization Control theory Matrix completion Unique Games Conjecture (Khot ’02) : “A single concrete algorithm provides optimal guarantees among all efficient algorithms for a large class of computational problems.” (Barak and Steurer survey at ICM’14) Solving polynomial optimization (Lasserre ’01) Victor Magron Certified Optimization for System Verification 3 / 10

  10. SDP for Polynomial Optimization Theoretical approach for polynomial optimization (Primal) (Dual) � inf p d µ sup λ µ probabilité ⇒ ⇐ avec p − λ � 0 avec LP INFINI Victor Magron Certified Optimization for System Verification 4 / 10

  11. SDP for Polynomial Optimization Practical approach for polynomial optimization (Primal Relaxation ) (Dual Strengthening ) � x α d µ moments p − λ = sums of squares finite ⇒ ⇐ fixed degree SDP Victor Magron Certified Optimization for System Verification 4 / 10

  12. SDP for Polynomial Optimization Practical approach for polynomial optimization (Primal Relaxation ) (Dual Strengthening ) � x α d µ moments p − λ = sums of squares finite ⇒ ⇐ fixed degree SDP Hierarchy of SDP ↑ p ∗ degree d ⇒ ( n + 2 d n ) SDP VARIABLES = n vars Victor Magron Certified Optimization for System Verification 4 / 10

  13. Introduction SDP for Nonlinear Optimization SDP for Polynomial Systems Conclusion

  14. From Oranges Stack... Kepler Conjecture (1611): π The maximal density of sphere packings in 3D-space is √ 18 Face-centered cubic Packing Hexagonal Compact Packing Victor Magron Certified Optimization for System Verification 5 / 10

  15. ...to Flyspeck Nonlinear Inequalities The proof of T. Hales (1998) contains mathematical and computational parts Computation: check thousands of nonlinear inequalities F lys p ec k [Hales 06]: F ormal P roof of K epler Conjecture Victor Magron Certified Optimization for System Verification 6 / 10

  16. ...to Flyspeck Nonlinear Inequalities The proof of T. Hales (1998) contains mathematical and computational parts Computation: check thousands of nonlinear inequalities F lys p ec k [Hales 06]: F ormal P roof of K epler Conjecture Project Completion on August 2014 by the Flyspeck team Victor Magron Certified Optimization for System Verification 6 / 10

  17. Contribution: Publications and Software M., Allamigeon, Gaubert, Werner. Formal Proofs for Nonlinear Optimization, Journal of Formalized Reasoning 8(1):1–24, 2015 . Hales, Adams, Bauer, Dang, Harrison, Hoang, Kaliszyk, M., Mclaughlin, Nguyen, Nguyen, Nipkow, Obua, Pleso, Rute, Solovyev, Ta, Tran, Trieu, Urban, Vu & Zumkeller, Forum of Mathematics, Pi , 5 2017 Software Implementation NLCertify : 15 000 lines of OC AML code 4000 lines of C OQ code M. NLCertify: A Tool for Formal Nonlinear Optimization, ICMS , 2014. Victor Magron Certified Optimization for System Verification 6 / 10

  18. Introduction SDP for Nonlinear Optimization SDP for Polynomial Systems Conclusion

  19. Roundoff Error Bounds Exact: f ( x ) : = x 1 x 2 + x 3 x 4 Floating-point: ˆ f ( x , ǫ ) : = [ x 1 x 2 ( 1 + ǫ 1 ) + x 3 x 4 ( 1 + ǫ 2 )]( 1 + ǫ 3 ) | ǫ i | � 2 − p x ∈ S , p = 24 (single) or 53 (double) Victor Magron Certified Optimization for System Verification 7 / 10

  20. Roundoff Error Bounds Input: exact f ( x ) , floating-point ˆ f ( x , ǫ ) Output: Bounds for f − ˆ f f ( x , ǫ ) = ∑ 1: Error r ( x , ǫ ) : = f ( x ) − ˆ r α ( ǫ ) x α α 2: Decompose r ( x , ǫ ) = l ( x , ǫ ) + h ( x , ǫ ) , l linear in ǫ 3: Bound h ( x , ǫ ) with interval arithmetic 4: Bound l ( x , ǫ ) with S PARSE S UMS OF S QUARES Victor Magron Certified Optimization for System Verification 7 / 10

  21. Roundoff Error Bounds Input: exact f ( x ) , floating-point ˆ f ( x , ǫ ) Output: Bounds for f − ˆ f f ( x , ǫ ) = ∑ 1: Error r ( x , ǫ ) : = f ( x ) − ˆ r α ( ǫ ) x α α 2: Decompose r ( x , ǫ ) = l ( x , ǫ ) + h ( x , ǫ ) , l linear in ǫ 3: Bound h ( x , ǫ ) with interval arithmetic 4: Bound l ( x , ǫ ) with S PARSE S UMS OF S QUARES M., Constantinides, Donaldson. Certified Roundoff Error Bounds Using Semidefinite Programming, Trans. Math. Soft. , 2016 Victor Magron Certified Optimization for System Verification 7 / 10

  22. Reachable Sets of Polynomial Systems Iterations x t + 1 = f ( x t ) Uncertain x t + 1 = f ( x t , u ) Converging SDP hierarchies Image measure Liouville equation (conservation) µ t + µ = f # µ + µ 0 Victor Magron Certified Optimization for System Verification 8 / 10

  23. Reachable Sets of Polynomial Systems Iterations x t + 1 = f ( x t ) Uncertain x t + 1 = f ( x t , u ) Converging SDP hierarchies Image measure Liouville equation (conservation) µ t + µ = f # µ + µ 0 M., Henrion, Lasserre. Semidefinite Approximations of Projections and Polynomial Images of SemiAlgebraic Sets. SIAM J. Optim, 2015 M., Garoche, Henrion, Thirioux. Semidefinite Approximations of Reachable Sets for Discrete-time Polynomial Systems, 2017. Victor Magron Certified Optimization for System Verification 8 / 10

  24. Invariant Measures of Polynomial Systems x t + 1 = f ( x t ) = ⇒ f # µ − µ = 0 Discrete x = f ( x ) = ⇒ div f µ = 0 Continuous ˙ Converging SDP hierarchies measures with density in L p singular measures = ⇒ chaotic attractors Victor Magron Certified Optimization for System Verification 9 / 10

  25. Invariant Measures of Polynomial Systems x t + 1 = f ( x t ) = ⇒ f # µ − µ = 0 Discrete x = f ( x ) = ⇒ div f µ = 0 Continuous ˙ Converging SDP hierarchies measures with density in L p singular measures = ⇒ chaotic attractors M., Forets, Henrion. Semidefinite Characterization of Invariant Measures for Polynomial Systems. In Progress, 2017 Victor Magron Certified Optimization for System Verification 9 / 10

  26. Introduction SDP for Nonlinear Optimization SDP for Polynomial Systems Conclusion

  27. Conclusion SDP/SOS powerful to handle N ONLINEARITY : Optimize nonlinear functions Analysis of nonlinear systems (Reachability, Invariants) F UTURE : PDEs (with C. Prieur) Exact methods for n = 1 (with M. Safey, M. Schweighofer) Non polynomial functions Victor Magron Certified Optimization for System Verification 10 / 10

  28. End Thank you for your attention! http://www-verimag.imag.fr/~magron

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend