Skip to main content
QUICK REVIEW

[Paper Review] On the Computational Efficiency of Training Neural Networks

Roi Livni, Shai Shalev‐Shwartz|arXiv (Cornell University)|Oct 5, 2014
Machine Learning and AlgorithmsComputer Science21 references75 citations
TL;DR

This paper revisits the computational efficiency of training deep neural networks by proposing GECO, a novel algorithm that enables provably efficient training for depth-2 polynomial networks with ReLU or squared activations. By leveraging improper learning and approximate tensor maximization, GECO achieves faster convergence and better generalization than SGD, especially with over-specification, demonstrating practical superiority on pedestrian detection and synthetic data.

ABSTRACT

It is well-known that neural networks are computationally hard to train. On the other hand, in practice, modern day neural networks are trained efficiently using SGD and a variety of tricks that include different activation functions (e.g. ReLU), over-specification (i.e., train networks which are larger than needed), and regularization. In this paper we revisit the computational complexity of training neural networks from a modern perspective. We provide both positive and negative results, some of them yield new provably efficient and practical algorithms for training certain types of neural networks.

Motivation & Objective

  • To address the long-standing computational hardness of training neural networks despite their empirical success.
  • To investigate whether modern training practices—like over-specification, ReLU activations, and regularization—can be theoretically justified through improved algorithms.
  • To develop a provably efficient, practical alternative to SGD for training shallow neural networks.
  • To demonstrate that improper learning can circumvent known NP-hardness results in neural network training.

Proposed method

  • Proposes GECO, an algorithm that formulates training as a non-convex optimization problem over a tensor structure.
  • Uses approximate tensor maximization via random projections and trace maximization to efficiently solve the core optimization step.
  • Employs a randomized sampling strategy over random weight vectors to estimate the optimal combination of three-layer network parameters.
  • Introduces a learning rate and momentum-free optimization scheme that avoids iterative updates, reducing computational overhead.
  • Applies the method to depth-2 networks with ReLU or squared activation functions, focusing on polynomial approximation of the data.
  • Employs a probabilistic analysis to bound the error of the approximate solution, ensuring convergence to a near-optimal predictor.

Experimental results

Research questions

  • RQ1Can we design a provably efficient algorithm for training depth-2 neural networks that outperforms standard SGD?
  • RQ2To what extent do over-specification and non-linear activation functions like ReLU or squared activation improve training efficiency?
  • RQ3Can improper learning circumvent known NP-hardness results in neural network training?
  • RQ4Is there a theoretical justification for the empirical success of modern training tricks like over-specification and batch normalization?

Key findings

  • GECO achieves a test error of approximately 0.085 after 100,000 iterations on a pedestrian detection task, slightly better than SGD.
  • The runtime of GECO is significantly faster than SGD, which required a much larger number of iterations to reach comparable performance.
  • With over-specification factors of 4 (240 hidden neurons), SGD converges up to 4x faster than with a factor of 1, demonstrating the benefit of over-specification.
  • For a depth-2 network with 40 hidden neurons, the squared activation function yielded slightly better test error than ReLU, suggesting architectural choices matter.
  • Theoretical analysis shows that GECO achieves an $\epsilon$-optimal solution with high probability after $ r > \frac{4d\beta k^{2}}{\epsilon(1-\tau)^{2}} $ iterations, under convex and smooth loss conditions.
  • The algorithm guarantees a $\frac{1-\tau}{\sqrt{d}}$-approximate solution to the tensor maximization problem, with high probability over random projections.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.