Skip to main content
QUICK REVIEW

[Paper Review] Deep Frank-Wolfe For Neural Network Optimization

Leonard Berrada, Andrew Zisserman|arXiv (Cornell University)|Nov 19, 2018
Stochastic Gradient Optimization TechniquesComputer Science54 references16 citations
TL;DR

This paper proposes Deep Frank-Wolfe (DFW), a novel optimization algorithm for deep neural networks that leverages the composite structure of neural networks to apply the Frank-Wolfe method with closed-form optimal step-sizes, achieving generalization performance comparable to SGD with hand-designed learning rate schedules—while converging faster and requiring only one hyperparameter.

ABSTRACT

Learning a deep neural network requires solving a challenging optimization problem: it is a high-dimensional, non-convex and non-smooth minimization problem with a large number of terms. The current practice in neural network optimization is to rely on the stochastic gradient descent (SGD) algorithm or its adaptive variants. However, SGD requires a hand-designed schedule for the learning rate. In addition, its adaptive variants tend to produce solutions that generalize less well on unseen data than SGD with a hand-designed schedule. We present an optimization method that offers empirically the best of both worlds: our algorithm yields good generalization performance while requiring only one hyper-parameter. Our approach is based on a composite proximal framework, which exploits the compositional nature of deep neural networks and can leverage powerful convex optimization algorithms by design. Specifically, we employ the Frank-Wolfe (FW) algorithm for SVM, which computes an optimal step-size in closed-form at each time-step. We further show that the descent direction is given by a simple backward pass in the network, yielding the same computational cost per iteration as SGD. We present experiments on the CIFAR and SNLI data sets, where we demonstrate the significant superiority of our method over Adam, Adagrad, as well as the recently proposed BPGrad and AMSGrad. Furthermore, we compare our algorithm to SGD with a hand-designed learning rate schedule, and show that it provides similar generalization while converging faster. The code is publicly available at https://github.com/oval-group/dfw.

Motivation & Objective

  • Address the challenge of requiring hand-designed learning rate schedules in SGD for deep neural networks.
  • Overcome the generalization gap between adaptive methods (e.g., Adam) and SGD with manual schedules.
  • Develop a method that maintains computational efficiency comparable to SGD while improving convergence and generalization.
  • Leverage the compositional nature of deep networks to enable efficient convex optimization via Frank-Wolfe.
  • Introduce a smoothing scheme and Nesterov momentum to stabilize training with SVM-based objectives.

Proposed method

  • Formulate the deep learning optimization problem as a composite (nested) optimization task, with the neural network as the inner function and the loss as the outer function.
  • At each iteration, linearize the inner function (neural network) to form a proximal subproblem, while preserving the exact outer loss function.
  • When the loss is hinge loss, each subproblem becomes a linear SVM, enabling use of the Frank-Wolfe algorithm.
  • Compute the optimal step-size in closed-form using the dual formulation of Frank-Wolfe, eliminating the need for learning rate schedules.
  • Introduce a smoothing technique for the SVM dual problem to mitigate numerical instability in deep network training.
  • Incorporate Nesterov momentum into the DFW framework to accelerate convergence without increasing computational cost.

Experimental results

Research questions

  • RQ1Can a first-order optimization method for deep neural networks achieve generalization performance on par with SGD using a hand-designed learning rate schedule?
  • RQ2Can the Frank-Wolfe algorithm be adapted to deep learning by exploiting the composite structure of neural networks?
  • RQ3Does computing the optimal step-size in closed-form via Frank-Wolfe lead to faster convergence and reduced hyperparameter sensitivity?
  • RQ4Can smoothing techniques stabilize the dual optimization of SVMs in deep networks?
  • RQ5Does the integration of Nesterov momentum improve convergence speed without compromising generalization?

Key findings

  • DFW achieves test accuracy comparable to SGD with a hand-designed learning rate schedule on CIFAR-10 and CIFAR-100, with state-of-the-art performance on wide residual networks and densely connected networks.
  • On the SNLI dataset with a Bi-LSTM, DFW achieved 85.21% validation accuracy, outperforming Adam (84.83%), AMSGrad (84.70%), and BPGrad (84.73%) under cross-validation.
  • DFW converged significantly faster than Adam, Adagrad, and AMSGrad across all CIFAR experiments, with convergence curves showing faster and more stable improvement.
  • The algorithm required only one hyperparameter (initial learning rate), and sensitivity analysis showed robust performance across a wide range of values.
  • Smoothing the SVM dual problem improved training stability and generalization, especially in deeper architectures.
  • Nesterov momentum accelerated convergence without degrading generalization, and the method maintained the same computational cost per iteration as SGD.

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.