[Paper Review] Neural Spectrahedra and Semidefinite Lifts: Global Convex Optimization of Polynomial Activation Neural Networks in Fully Polynomial-Time
This paper proposes a fully polynomial-time convex optimization framework for training two-layer neural networks with second-degree polynomial activations using semidefinite programming (SDP). It proves that semidefinite lifting yields exact global solutions, and shows that regularization choice critically determines computational tractability—weight decay is NP-hard, while other convex penalties enable polynomial-time optimization.
The training of two-layer neural networks with nonlinear activation functions is an important non-convex optimization problem with numerous applications and promising performance in layerwise deep learning. In this paper, we develop exact convex optimization formulations for two-layer neural networks with second degree polynomial activations based on semidefinite programming. Remarkably, we show that semidefinite lifting is always exact and therefore computational complexity for global optimization is polynomial in the input dimension and sample size for all input data. The developed convex formulations are proven to achieve the same global optimal solution set as their non-convex counterparts. More specifically, the globally optimal two-layer neural network with polynomial activations can be found by solving a semidefinite program (SDP) and decomposing the solution using a procedure we call Neural Decomposition. Moreover, the choice of regularizers plays a crucial role in the computational tractability of neural network training. We show that the standard weight decay regularization formulation is NP-hard, whereas other simple convex penalties render the problem tractable in polynomial time via convex programming. We extend the results beyond the fully connected architecture to different neural network architectures including networks with vector outputs and convolutional architectures with pooling. We provide extensive numerical simulations showing that the standard backpropagation approach often fails to achieve the global optimum of the training loss. The proposed approach is significantly faster to obtain better test accuracy compared to the standard backpropagation procedure.
Motivation & Objective
- To develop a globally optimal, convex optimization formulation for two-layer neural networks with polynomial activations.
- To establish that semidefinite lifting provides an exact reformulation of the non-convex training problem.
- To analyze the role of regularization in determining computational complexity, showing weight decay leads to NP-hard problems.
- To extend the convex formulation to diverse architectures, including vector outputs, convolutional layers, and pooling.
- To demonstrate that the proposed method achieves better test accuracy and faster convergence than standard backpropagation.
Proposed method
- Derives an equivalent semidefinite program (SDP) for two-layer networks with polynomial activations using convex duality and the S-procedure.
- Introduces a Neural Decomposition procedure to recover the original network weights from the SDP solution in the lifted space.
- Uses a lifted parameterization in $\mathbb{S}^{(d+1)\times(d+1)}$ for polynomial activations and $\mathbb{S}^{d\times d}$ for quadratic activations.
- Proves that the convex SDP formulation achieves the same global optimal solution set as the original non-convex problem.
- Applies the framework to arbitrary convex loss functions, including squared loss, Huber loss, and $\ell_1$ norm loss.
- Employs the SCS solver with CVXPY for numerical experiments, enabling efficient solution of the convex programs.
Experimental results
Research questions
- RQ1Can two-layer neural networks with polynomial activations be globally optimized in fully polynomial time?
- RQ2What is the role of regularization in the computational tractability of neural network training?
- RQ3Does semidefinite lifting provide an exact reformulation of the non-convex training problem for polynomial activations?
- RQ4Can the convex formulation be extended to architectures with vector outputs, convolutions, and pooling layers?
- RQ5How does the performance of the convex optimization approach compare to standard backpropagation in terms of test accuracy and convergence speed?
Key findings
- The proposed semidefinite program (SDP) formulation achieves the same global optimal solution set as the original non-convex neural network training problem.
- Global optimization is possible in fully polynomial time with respect to input dimension and sample size, provided the regularization is convex and tractable.
- Weight decay regularization leads to an NP-hard problem, whereas other convex penalties enable polynomial-time solvability.
- The method significantly outperforms standard backpropagation in test accuracy and convergence speed on benchmark datasets like credit approval and ionosphere.
- The optimal number of neurons $m^*$ is controlled by the regularization coefficient $\beta$, with $m^*$ decreasing as $\beta$ increases.
- The coefficient $a$ of the quadratic term in the polynomial activation has the most significant impact on classification accuracy, while $c$ has negligible effect.
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.