[Paper Review] Complexity of Training ReLU Neural Network
This paper establishes that training a two-hidden layer feedforward ReLU neural network is NP-hard, resolving a long-standing open question in deep learning complexity. However, when input dimension and network topology are fixed, a polynomial-time algorithm exists; further, sufficient over-parameterization in the first hidden layer enables polynomial-time training to global optimality.
In this paper, we explore some basic questions on the complexity of training neural networks with ReLU activation function. We show that it is NP-hard to train a two-hidden layer feedforward ReLU neural network. If dimension of the input data and the network topology is fixed, then we show that there exists a polynomial time algorithm for the same training problem. We also show that if sufficient over-parameterization is provided in the first hidden layer of ReLU neural network, then there is a polynomial time algorithm which finds weights such that output of the over-parameterized ReLU neural network matches with the output of the given data.
Motivation & Objective
- To resolve the open question of computational complexity in training deep ReLU neural networks.
- To determine whether training a two-hidden layer ReLU network is NP-hard, given the empirical success of gradient-based methods despite theoretical uncertainty.
- To investigate conditions under which training becomes tractable, particularly when input dimension and network structure are fixed.
- To analyze the impact of over-parameterization on the tractability of ReLU network training.
- To extend hardness results from threshold-activated networks to ReLU-activated networks using novel reductions and geometric arguments.
Proposed method
- Reduction from the 2-hyperplane separability problem to prove NP-hardness of training two-hidden layer ReLU networks.
- Construction of a hard-sorting gadget using ReLU units to simulate threshold behavior, relying on specific weight and bias configurations.
- Use of affine functions and ReLU activation to model piecewise linear functions, with analysis of functional behavior across different sign and magnitude regimes of linear forms.
- Proof that when weights in the first layer have the same sign and are negative, the ReLU network can simulate a threshold-like behavior under specific constraints.
- Extension of the hardness result to multi-output ReLU networks by adding zero-output nodes, preserving the reduction structure.
- Application of geometric and convex hull arguments (e.g., $T_1 \subset \text{conv}(T_0)$) to show impossibility of separation under certain configurations.
Experimental results
Research questions
- RQ1Is training a two-hidden layer ReLU neural network NP-hard?
- RQ2Under what conditions does the training problem become tractable despite NP-hardness in general?
- RQ3Can over-parameterization in the first hidden layer enable polynomial-time training of ReLU networks?
- RQ4To what extent can ReLU networks simulate threshold functions, and does this imply similar complexity to threshold-activated networks?
- RQ5Does the structure of the weight matrix (e.g., diagonal vs. non-diagonal) affect the complexity of training?
Key findings
- Training a two-hidden layer ReLU neural network is NP-hard, even for fixed input dimension and network topology.
- When input dimension and network topology are fixed, a polynomial-time algorithm exists for training ReLU networks.
- With sufficient over-parameterization in the first hidden layer, a polynomial-time algorithm can be constructed to achieve exact fitting of training data.
- The ReLU network can simulate threshold-like behavior via a hard-sorting gadget, but this requires specific weight configurations and cannot be achieved when weights have opposite signs.
- The NP-hardness result holds even for multi-output ReLU networks, as shown by extending the reduction to $j$-dimensional outputs with zero outputs for all but one node.
- The impossibility of hard-sorting certain point sets using ReLU units with aligned or opposing normals proves the core geometric obstruction to simulating threshold functions in general ReLU architectures.
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.