An Inertial Newton Algorithm for Deep Learning

Camille Castera, Jérôme Bolte, Cédric Févotte, Edouard Pauwels

Abstract

Training deep neural networks typically relies on first-order optimization methods like SGD or Adam due to the prohibitive computational cost of second-order methods. This paper introduces the Inertial Newton Algorithm (INNA), a novel second-order optimization framework that leverages inertia and "D-criticality" to navigate non-smooth, non-convex loss landscapes. By utilizing a "lifting" technique and Clarke subdifferentials, INNA achieves Newtonian intelligence using only backpropagation-derived gradients. We demonstrate that INNA matches or exceeds the performance of state-of-the-art optimizers on standard benchmarks while providing rigorous convergence guarantees for non-smooth deep learning objectives.

Introduction

The optimization of deep neural networks (DNNs) is a cornerstone of modern machine learning. While first-order methods such as Stochastic Gradient Descent (SGD) and Adam are computationally efficient, they lack the geometric awareness of second-order methods like Newton’s method. Traditional second-order approaches are often impractical for deep learning due to the massive scale of the Hessian matrix, the non-smoothness introduced by activation functions like ReLU, and the breakdown of standard calculus rules under mini-batching.

The Inertial Newton Algorithm (INNA) addresses these challenges by providing a second-order-like optimization path using only first-order information. By integrating inertia with a sophisticated mathematical framework, INNA navigates complex loss landscapes more effectively than standard first-order counterparts.

The INNA Framework

The design of INNA follows a systematic evolution from physical models to discrete algorithms. It begins with the Dynamical Inertial Newton (DIN) model, which simulates a heavy particle moving through a potential field with adaptive friction. To implement this without direct Hessian computation, the authors employ a Phase-Space Lifting technique. This introduces an auxiliary variable $\psi$, transforming a second-order differential equation into a system of two first-order equations.

Hyperparameter effects on INNA trajectories and convergence on a synthetic 2D non-smooth function.

The algorithm is specifically tuned for the "rough" landscapes of DNNs using Clarke subdifferentials and the concept of D-criticality. D-criticality is a novel theoretical contribution that accurately describes stationary points in the context of mini-batch training, where the average gradient may not correspond to the gradient of the average loss.

Key Insights and Theoretical Foundations

INNA's effectiveness stems from several core principles:

  • Newtonian Intelligence via Backprop: INNA captures curvature information by observing gradient changes over time, requiring no more computational overhead than standard backpropagation.
  • Tame Optimization: By assuming the loss landscape is "tame" (composed of polynomials, ReLUs, etc.), the authors provide rigorous convergence proofs even for non-smooth functions.
  • Aggressive Learning Rates: Unlike SGD, which often requires rapidly decaying learning rates, INNA supports more aggressive schedules (e.g., $1/\log k$), facilitating faster convergence.
  • Dual Damping: The algorithm utilizes two parameters: $\alpha$ (viscous damping/momentum) and $\beta$ (Newton damping). As shown in the visualizations, tuning $\beta$ allows the optimizer to adaptively brake or accelerate based on local geometry.

Experimental Results

The researchers evaluated INNA against standard benchmarks, including MNIST, CIFAR-10, and CIFAR-100. Key findings include:

  • Competitive Performance: INNA consistently matched or outperformed Adam and SGD across image recognition tasks.
  • Superior Training Accuracy: In many instances, INNA achieved lower training loss than Adam, indicating a superior ability to navigate narrow, complex valleys in the loss landscape.
  • Robustness: The algorithm demonstrated stability across various hyperparameter configurations, offering a more reliable alternative to sensitive second-order approximations.

Conclusion and Limitations

INNA provides a mathematically grounded bridge between first-order efficiency and second-order intelligence. While the current framework assumes parameter boundedness for convergence proofs—a common but challenging assumption in DNN theory—it offers a robust foundation for future optimization research. Future work will focus on establishing exact convergence rates for the stochastic mini-batch version and developing further intuition for hyperparameter tuning in diverse architectures.

Summary updated

BibTeX
@article{castera2021inertial,
  author = {Camille Castera and Jérôme Bolte and Cédric Févotte and Edouard Pauwels},
  title = {{An Inertial Newton Algorithm for Deep Learning}},
  journal = {J. Mach. Learn. Res.},
  year = {2021},
  url = {https://openreview.net/forum?id=ZHKuXSGhGDb},
}
Figure