Minnorm training: an algorithm for training over-parameterized deep neural networks

Yamini Bansal, Madhu Advani, David D. Cox, Andrew M. SaxearXiv 2018

Abstract

Modern deep neural networks are often over-parameterized yet generalize remarkably well, a phenomenon attributed to the implicit bias of gradient descent. However, standard unconstrained optimization faces challenges such as slow convergence to max-margin solutions and sensitivity to initialization. We present Minnorm training, a novel framework that treats neural network training as a constrained optimization problem, seeking the minimum weight norm solution that perfectly fits the training data. By employing an Augmented Lagrangian method with Lagrange multipliers acting as error integrators, the algorithm achieves faster convergence and identifies "support vectors" within deep architectures. Empirical evaluations on toy problems and MNIST demonstrate improved generalization and robustness compared to standard stochastic gradient descent.

Introduction

Deep learning models typically possess far more parameters than training samples. Despite this, they avoid overfitting and generalize well. Theoretical insights suggest that gradient descent (GD) possesses an implicit bias toward low-norm solutions. However, standard training via unconstrained optimization (e.g., minimizing cross-entropy) suffers from several drawbacks. Convergence to the "max-margin" solution—the boundary that separates classes with the maximum possible gap—is often logarithmic in time, leading to inefficient training. Furthermore, standard $L_2$ regularization (weight decay) shifts the global minimum, often preventing the network from perfectly fitting the training data. Finally, initialization sensitivity can leave some weights "frozen" in their initial random state, potentially degrading performance.

Methodology: Minnorm Training

The proposed Minnorm training explicitly minimizes the sum of squared Frobenius norms of the weights across all layers, subject to the constraint of perfectly fitting every training example. This transforms training into a constrained optimization problem.

To solve this, the authors utilize an Augmented Lagrangian method. Each training example is assigned a Lagrange multiplier ($\alpha$), which functions as an "error integrator." If an example is consistently misclassified, its corresponding $\alpha$ increases, compelling the network to prioritize that sample. The algorithm proceeds via a two-step iterative update:

  1. Weight Update: Weights are updated to minimize the Lagrangian using standard backpropagation.
  2. Dual-Ascent Update: Lagrange multipliers are updated based on the current residual error.

For classification tasks, inequality constraints and projected gradient descent ensure $\alpha \ge 0$. This mechanism allows the model to naturally ignore "easy" examples (where $\alpha$ becomes zero) and focus on "hard" examples that define the decision boundary, effectively identifying support vectors within the deep network.

Decision boundary and support vectors in a 2D classification task.

Experimental Results

The researchers evaluated Minnorm training on several benchmarks, ranging from analytically tractable toy problems to real-world datasets like MNIST.

Toy Problems and Over-parameterization

In 1D regression tasks (fitting a sinusoid), the algorithm's behavior was studied across varying levels of over-parameterization. As the number of hidden units ($N_h$) increases, the network transitions from a piecewise linear fit to a smooth, low-norm approximation of the target function.

Minnorm training on a 1D sinusoid regression task with varying hidden units (Nh).

Key Insights

  • Convergence Speed: In shallow networks, Minnorm training converges to the max-margin solution exponentially fast ($O(e^{-t})$), a significant improvement over the $O(1/\log t)$ rate of standard binary cross-entropy.
  • Frozen Subspace Pruning: Unlike standard SGD, Minnorm training actively decays weights in directions where no data exists, reducing sensitivity to initial weight scales.
  • Support Vector Identification: In MNIST experiments, approximately 90% of training examples eventually had $\alpha = 0$. This implies the network's logic is supported by only 10% of the data. Visualizing high-$\alpha$ examples revealed that the algorithm automatically identifies ambiguous or difficult outliers (e.g., a '4' that resembles a '9').

Performance on MNIST

On the MNIST dataset, Minnorm training with SGD achieved a test error of 1.46%, outperforming vanilla SGD (1.82%) and standard weight decay (1.74%). Furthermore, the method improved norm-based generalization bounds by a factor of approximately five.

Discussion and Conclusion

Minnorm training provides a rigorous framework for training over-parameterized networks by explicitly seeking minimum-norm solutions. While the current formulation requires an exact fit—which may be problematic for noisy datasets—future work could incorporate "slack variables" similar to soft-margin SVMs. Additionally, while the algorithm identifies that a large portion of data points are not needed for the final solution, current implementations still process them early in training. Optimizing this by skipping backpropagation for examples with $\alpha = 0$ could yield significant computational savings. Extending this framework to Convolutional Neural Networks (CNNs) and Transformers remains a promising direction for future research.

Summary updated

BibTeX
@misc{bansal2018minnorm,
  author = {Yamini Bansal and Madhu Advani and David D. Cox and Andrew M. Saxe},
  title = {{Minnorm training: an algorithm for training over-parameterized deep neural networks}},
  year = {2018},
  eprint = {1806.00730},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.00730},
}
Figure