[Paper Review] Quadratic Zonotopes - An Extension of Zonotopes to Quadratic Arithmetics
This paper introduces quadratic zonotopes, an extension of affine zonotopes that incorporates quadratic error terms (ǫiǫj) to improve precision in static analysis of floating-point computations. By leveraging semi-definite programming (SDP) for interval projection, the method achieves tighter bounds than intervals or affine zonotopes, particularly for nonlinear functions like multiplication and transcendental operations, while maintaining quadratic complexity in error terms.
Affine forms are a common way to represent convex sets of $\mathbb{R}$ using a base of error terms $\epsilon \in [-1, 1]^m$. Quadratic forms are an extension of affine forms enabling the use of quadratic error terms $\epsilon_i \epsilon_j$. In static analysis, the zonotope domain, a relational abstract domain based on affine forms has been used in a wide set of settings, e.g. set-based simulation for hybrid systems, or floating point analysis, providing relational abstraction of functions with a cost linear in the number of errors terms. In this paper, we propose a quadratic version of zonotopes. We also present a new algorithm based on semi-definite programming to project a quadratic zonotope, and therefore quadratic forms, to intervals. All presented material has been implemented and applied on representative examples.
Motivation & Objective
- To extend zonotopic abstract domains to handle quadratic arithmetic for better precision in nonlinear floating-point computations.
- To develop a projection algorithm using semi-definite programming (SDP) that computes tighter interval over-approximations of quadratic forms.
- To evaluate the new domain on representative benchmarks, including transcendental and iterative functions, against standard abstract domains like intervals and affine zonotopes.
- To demonstrate that quadratic zonotopes outperform affine and interval abstractions in precision while maintaining manageable computational complexity.
- To explore the potential of quadratic zonotopes as a non-convex, non-symmetric algebraic domain suitable for properties involving products of negative error terms.
Proposed method
- Proposes a quadratic zonotope domain based on quadratic forms, which extend affine forms by including terms in ǫiǫj and additional error symbols ǫ⁺, ǫ⁻, ǫ±.
- Defines concretization of quadratic forms as the image of the error space Cm under the form, computed via min/max over the domain to yield interval bounds.
- Introduces a safe over-approximation using the MT method (based on absolute values and sign-aware bounds), and a tighter alternative using semi-definite programming (SDP) solvers.
- Develops arithmetic operators (addition, negation, scalar multiplication, and multiplication) with quadratic complexity in the number of error terms.
- Implements a reverse abstraction map from intervals to quadratic forms, enabling integration into abstract interpretation frameworks.
- Integrates the domain into the APRON library and evaluates it using SDP solvers (CSDP, Mosek) for precise interval projection, with optional activation to manage performance costs.
Experimental results
Research questions
- RQ1Can quadratic zonotopes provide significantly tighter interval over-approximations than affine zonotopes or intervals for nonlinear functions such as multiplication and transcendental operations?
- RQ2Does the use of semi-definite programming (SDP) for interval projection yield a meaningful precision gain over the standard MT over-approximation method, despite higher computational cost?
- RQ3How does the quadratic zonotope domain compare in precision and performance to the T1P domain (affine zonotopes with linear constraints) on benchmarks involving loops and conditional branches?
- RQ4Is the geometric concretization of quadratic zonotopes non-convex and non-symmetric, and does this property enable better modeling of certain program behaviors, such as sign-dependent error propagation?
- RQ5Can quadratic zonotopes serve as a viable second-order Taylor abstraction, and how might they integrate with other precision-enhancing techniques like branch-and-bound?
Key findings
- For the arctan function with input x ∈ [-1, 1], quadratic zonotopes yield bounds [-1.002866, 1.002866], significantly tighter than intervals and affine zonotopes (both at [-1.919149, 1.919149]) and better than affine constrained zonotopes ([-1.349407, 1.349407]).
- On the same function with x ∈ [-10, 10], quadratic zonotopes achieve bounds [-1.597501, 1.591769], outperforming intervals and affine zonotopes and approaching the precision of the T1P domain.
- In the Householder iteration for 1/√A with A ∈ [16, 20], quadratic zonotopes show superior convergence and lower global error compared to intervals, affine zonotopes, and even the T1P domain, especially at higher unrolling counts.
- The SDP-based projection method provides a tighter over-approximation than the MT method, though at a higher computational cost, and can be selectively enabled to balance precision and performance.
- Despite the higher cost of SDP-based concretization, the method scales well in practice and is particularly effective for polynomial and nonlinear computations.
- The quadratic zonotope domain is shown to be more precise than affine zonotopes and intervals for nonlinear operations, and its non-convex, non-symmetric concretization may support advanced properties involving products of negative error terms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.