Training state-of-the-art deep learning models is becoming prohibitively expensive. Training a massive language model like GPT-3 requires over 1,200 MWh of electricity—enough to power 100 U.S. households for a year—and costs millions of dollars in compute.
To manage these costs, most researchers rely on "first-order" optimizers like SGD or AdamW because they are computationally cheap per step. Conversely, "second-order" methods—which utilize the Hessian matrix to understand the curvature of the loss surface—are theoretically much faster to converge but are usually too slow and memory-intensive for large-scale deep learning.
A recent paper published in Transactions on Machine Learning Research tackles this "missing middle." The authors introduce INNAprop, a new optimization algorithm designed to capture the accelerated convergence of Newton-style methods while maintaining the low memory and compute requirements of standard tools like AdamW.
The Mechanics of INNAprop
INNAprop builds upon the Inertial Newton Algorithm (INNA), introducing several key innovations to make it viable for deep learning:
- Dynamical Systems Perspective: The authors frame optimization as a physical system governed by "friction" and "gravity," utilizing a specific continuous-time model called DIN (Dynamical Inertial Newton).
- The "Hessian-Free" Trick: Traditional second-order methods require calculating a computationally heavy Hessian-vector product. INNAprop employs a clever change of variables that approximates this term as a simple difference between consecutive gradients. This grants the optimizer "Newtonian" curvature awareness for the price of standard gradient calculations.
- Adaptive Scaling: The algorithm integrates RMSprop-style scaling, adjusting the learning rate for each individual parameter based on its recent gradient history.
In practice, INNAprop looks very similar to AdamW—it stores a few moving averages of gradients—but its update rule is derived from a more sophisticated physical model of motion. In fact, the authors prove that under specific conditions (when its inertial parameters $\alpha = \beta = 1$), INNAprop simplifies to a version of Adam without momentum, providing a strong theoretical bridge to industry standards.
The "Sprint vs. The Marathon"
A major insight from the paper is that different hyperparameter settings favor different stages of training. The algorithm relies on two "friction" parameters, $\alpha$ and $\beta$.
Lower friction parameters lead to an explosive start with fast early convergence (the "sprint"), while higher values are better for squeezing out the last bit of accuracy in long-running experiments (the "marathon").
As illustrated above, INNAprop configured with lower parameters (green) rapidly drops training loss early on, whereas higher parameters (blue) overtake it in later epochs to achieve superior final test accuracy. Both configurations demonstrate distinct advantages over standard AdamW (red).
Minimal Tuning and High Portability
One of the most significant barriers to adopting a new optimizer is the cost of hyperparameter tuning. Remarkably, the authors found that INNAprop requires minimal bespoke tuning.
Researchers can simply "plug in" INNAprop into existing AdamW setups, reusing the same learning rates, step size schedulers, and weight decay schedules. The unique inertial parameters ($\alpha$ and $\beta$) can be tuned on a small, cheap dataset like CIFAR-10 and then transferred effectively to massive tasks like ImageNet and GPT-2 pre-training.
Key Results
The authors validated INNAprop across a wide range of standard benchmarks, including Computer Vision (CIFAR-10, Food101, ImageNet-1k) and Language Modeling (GPT-2 pre-training, LoRA fine-tuning). INNAprop consistently matched or outperformed AdamW:
- LLM Speedup: In GPT-2 mini pre-training from scratch, INNAprop reached the same validation loss as AdamW 1.96x faster. For larger models like GPT-2 Medium, it maintained a 1.2x speedup.
- Vision Accuracy: On the ImageNet benchmark, INNAprop achieved a Top-1 accuracy of 70.12% for ResNet18, compared to 69.34% for AdamW.
Future Directions
While INNAprop is a powerful drop-in replacement for AdamW, the authors note a few areas for future growth. Currently, the friction parameters ($\alpha, \beta$) are kept constant throughout training. Given the "sprint vs. marathon" dynamic, developing a dynamic schedule for these parameters—similar to a learning rate decay schedule—could unlock even greater performance. Additionally, while the algorithm is motivated by continuous-time physics where convergence is mathematically proven, its discrete-time implementation in non-convex deep learning still relies heavily on empirical validation.
Overall, INNAprop presents a compelling, computationally efficient step forward in the quest to democratize large-scale model training.
Summary updated