A Provably Efficient Algorithm for Training Deep Networks

Roi Livni, Shai Shalev-Shwartz, Ohad ShamirarXiv 2013

Abstract

We consider deep neural networks, in which the output of each node is a quadratic function of its inputs. Similar to other deep architectures, these networks can compactly represent any function on a finite training set. The main goal of this paper is the derivation of an efficient layer-by-layer algorithm for training such networks, which we denote as the Basis Learner. The algorithm is a universal learner in the sense that the training error is guaranteed to decrease at every iteration, and can eventually reach zero under mild conditions. We present practical implementations of this algorithm, as well as preliminary experimental results. We also compare our deep architecture to other shallow architectures for learning polynomials, in particular kernel learning.

Introduction

Despite the massive success of deep learning, training these models remains notoriously difficult. Standard neural networks rely on non-convex optimization (like gradient descent with backpropagation), which offers no worst-case guarantees and often requires extensive manual tuning of architectures and hyperparameters—a process often described as a "black art."

Furthermore, while shallow architectures like Support Vector Machines (SVMs) have solid theoretical foundations, they struggle to represent complex, high-level concepts compactly. The authors seek a middle ground: a deep architecture that is as expressive as a neural network but as theoretically sound and "trainable" as a linear model.

The Basis Learner Architecture

The paper proposes a Polynomial Network where each node computes a quadratic function of its inputs. The core contribution is the Basis Learner algorithm, which builds the network one layer at a time. Unlike standard deep learning, there is no backpropagation; each layer is fixed once it is built, making the training process significantly more stable and predictable.

The Basis Learner architecture: a deep polynomial network where each layer builds upon the previous ones to incrementally increase polynomial degree.

As illustrated in the architecture diagram, the network is constructed through a series of stages:

  1. Layer 1 (Linear): The first layer uses Singular Value Decomposition (SVD) to create a linear basis of the input data.
  2. Intermediate Layers (Quadratic): Each subsequent layer is formed by taking the product of nodes from the previous layer and nodes from the first layer. This incrementally increases the degree of the polynomials the network can represent.
  3. Basis Selection: To keep the network from becoming too wide, the authors use a "Width-Limited Variant" that employs Orthogonal Least Squares (OLS) to greedily select only the most predictive nodes at each layer.
  4. Output Layer: Once the hidden layers are built, the final output is determined by solving a simple convex optimization problem (like linear regression or hinge loss minimization) over the learned features.

Key Insights and Ideas

  • Universal Learning via Polynomials: Any function on a finite training set can be represented as a polynomial. By building a basis for these polynomials, the algorithm is guaranteed to eventually reach zero training error as the network grows.
  • Deep vs. Shallow (The Kernel Killer): While a polynomial kernel SVM can represent the same functions, it requires $O(m^2)$ memory and time. The Basis Learner produces a deep, compact representation that is linear in the data size, making it much faster at test time.
  • No Local Minima: Because the algorithm relies on linear algebra (SVD) and convex optimization, it bypasses the local minima issues that plague traditional deep neural networks.

Experimental Results

The authors evaluated their algorithm on a suite of challenging benchmarks designed to test deep learning systems, including MNIST variants and geometric tasks like Convex (identifying whether a shape is convex) and Rectangles.

The Basis Learner proved to be highly competitive with state-of-the-art deep architectures like Deep Belief Networks (DBNs):

  • Superior Performance on Geometry: On the Convex dataset, the Basis Learner achieved a 15.45% error rate, significantly outperforming DBNs (18.63%) and SVMs (19.13%).
  • Competitive on MNIST: On MNIST-rotated, it matched the performance of a 3-layer DBN (10.30% error).
  • Efficiency: The models were trained with minimal manual tuning and resulted in predictors that are 1–2 orders of magnitude smaller and faster than kernel-based SVMs.

Conclusion

The Basis Learner offers a provably efficient alternative to the "black art" of backpropagation. While it can be prone to overfitting if width and depth are not controlled, its ability to adapt its basis to specific training sets allows it to learn complex geometric features that challenge standard shallow models. Future work may explore more sophisticated node selection methods or unsupervised feature learning for the initial layer to further enhance performance.

Summary updated

Abstract

We consider deep neural networks, in which the output of each node is a quadratic function of its inputs. Similar to other deep architectures, these networks can compactly represent any function on a finite training set. The main goal of this paper is the derivation of an efficient layer-by-layer algorithm for training such networks, which we denote as the \emph{Basis Learner}. The algorithm is a universal learner in the sense that the training error is guaranteed to decrease at every iteration, and can eventually reach zero under mild conditions. We present practical implementations of this algorithm, as well as preliminary experimental results. We also compare our deep architecture to other shallow architectures for learning polynomials, in particular kernel learning.
BibTeX
@misc{livni2013provably,
  author = {Roi Livni and Shai Shalev-Shwartz and Ohad Shamir},
  title = {{A Provably Efficient Algorithm for Training Deep Networks}},
  year = {2013},
  eprint = {1304.7045},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1304.7045},
}
Figure