[Paper Review] Semialgebraic Optimization for Lipschitz Constants of ReLU Networks
This paper proposes a semidefinite programming (SDP) hierarchy based on polynomial lifting and a weak Putinar-type positivity certificate to compute tighter upper bounds on the global and local Lipschitz constants of deep ReLU networks. The method outperforms state-of-the-art linear programming approaches in both bound quality and computational efficiency for many cases, particularly in robustness certification and Wasserstein GAN applications.
The Lipschitz constant of a network plays an important role in many applications of deep learning, such as robustness certification and Wasserstein Generative Adversarial Network. We introduce a semidefinite programming hierarchy to estimate the global and local Lipschitz constant of a multiple layer deep neural network. The novelty is to combine a polynomial lifting for ReLU functions derivatives with a weak generalization of Putinar's positivity certificate. This idea could also apply to other, nearly sparse, polynomial optimization problems in machine learning. We empirically demonstrate that our method provides a trade-off with respect to state of the art linear programming approach, and in some cases we obtain better bounds in less time.
Motivation & Objective
- To develop a computationally efficient method for estimating global and local Lipschitz constants of deep ReLU networks.
- To improve upon existing linear programming and Shor relaxation approaches by providing tighter upper bounds on Lipschitz constants.
- To enable exact handling of ReLU functions and their generalized derivatives via semialgebraic representations in polynomial optimization.
- To support robustness certification and Wasserstein GAN training through more accurate Lipschitz bounds.
- To extend the applicability of moment relaxation techniques to nearly sparse polynomial optimization problems arising in deep learning.
Proposed method
- The ReLU function and its generalized derivative are expressed as basic closed semialgebraic sets using polynomial inequalities.
- A polynomial lifting technique is applied to represent the ReLU and its derivative in a higher-dimensional space, enabling exact semialgebraic formulation.
- A weak generalization of Putinar’s positivity certificate is used to construct a converging semidefinite programming hierarchy for polynomial optimization problems (POP).
- The method formulates the Lipschitz constant estimation as a quadratically constrained quadratic program (QCQP), which is then relaxed via the proposed SDP hierarchy.
- The approach combines dense and sparse Lasserre-type moment relaxations to balance computational efficiency and bound tightness.
- The framework is applied to compute local Lipschitz constants for robustness certification in MNIST classification tasks.
Experimental results
Research questions
- RQ1Can a semidefinite programming hierarchy based on semialgebraic lifting provide tighter Lipschitz bounds than existing linear programming or Shor relaxation methods?
- RQ2How does the proposed method perform in estimating local Lipschitz constants for robustness certification in ReLU networks?
- RQ3To what extent can the weak Putinar-type certificate be used to approximate global optima in polynomial optimization problems with ReLU activations?
- RQ4Can the method be efficiently applied to nearly sparse polynomial optimization problems arising in deep learning without significant computational overhead?
- RQ5Does the exact semialgebraic representation of ReLU and its derivative lead to improved robustness certification rates in practice?
Key findings
- The proposed SDP-based method achieves better or comparable bounds than state-of-the-art linear programming approaches, with faster convergence in many cases.
- For the SDP-NN network on MNIST, the method certifies 67.63% of test examples as robust at ε = 0.1, outperforming Grad-cert (65%) by a small but notable margin.
- The method provides tighter bounds than Shor’s relaxation and the LP-based approach from [21] in multiple benchmark cases.
- The use of exact semialgebraic lifting for ReLU and its generalized derivative enables precise formulation and improved numerical stability.
- The heuristic moment relaxation approach remains effective even for higher-degree polynomials arising in deeper networks, especially when combined with lifting or sub-moment techniques.
- The method demonstrates practical viability for robustness certification and Wasserstein GAN training, where accurate Lipschitz control is essential.
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.