Abstract
Deep neural network (DNN) optimization typically involves objective functions that are nonconvex, nonsmooth, and nonseparable. While stochastic gradient descent (SGD) variants like ADAM are standard in practice, they lack robust convergence theory for nonsmooth landscapes. This paper evaluates the performance of ADAM against the Sum of Functions Optimizer (SFO) and the Limited Memory Bundle Method (LMBM) on real-world security data. Results indicate that while second-order methods like SFO provide superior objective values and efficiency, scaling mathematically rigorous bundle methods remains a significant challenge.
Introduction
The optimization landscape of modern deep neural networks is often characterized as a "wild west." Most research assumes smoothness or simple separable nonsmoothness (e.g., $L_1$ regularization). However, the widespread use of activation functions like ReLU—$\max(0, a^T x + b)$—introduces inherent nonsmoothness. When layered, these functions create a nonconvex, nonseparable objective where gradients are undefined at numerous "kinks."
While practitioners rely on Stochastic Gradient Descent (SGD) and its variants, these methods lack a solid convergence theory for this specific class of problems. Conversely, robust nonsmooth optimization algorithms like gradient sampling are often too computationally expensive for high-dimensional AI models. This study investigates whether specialized solvers can bridge the gap between theoretical rigor and practical scalability.
Methodology
The study compares three distinct optimization paradigms:
- ADAM: A popular first-order stochastic gradient algorithm utilizing adaptive learning rates.
- Sum of Functions Optimizer (SFO): A second-order quasi-Newton algorithm (BFGS-type) designed for mini-batch processing.
- Limited Memory Bundle Method (LMBM): A specialized nonsmooth solver that "bundles" historical subgradient information to create a local model, solving a quadratic program at each step.
These algorithms were tested on a deep learning model for security data provided by Cisco, focusing on scalability across varying numbers of sample bundles.
Performance and Efficiency
Empirical results highlight significant differences in both solution quality and computational cost.
Objective Value Minimization
In terms of achieving the lowest final objective value, SFO outperformed both LMBM and ADAM. As shown in Figure 1, SFO consistently reached lower values, although it exhibited higher variance across different sample bundle sizes. LMBM demonstrated greater stability and robustness, securing the second-best performance, while ADAM consistently yielded the highest (worst) objective values.
Computational Overhead
Efficiency is a critical factor for large-scale deep learning. When measuring the time required to reach a target objective value, SFO was the most efficient. ADAM proved to be significantly slower as the number of sample bundles increased, showing a much steeper growth in execution time compared to the other methods.
Discussion: The Scalability Barrier
The findings underscore a persistent "theory-practice gap." While Bundle Methods like LMBM are mathematically robust for nonsmooth problems, they face a "memory wall." The authors observed that after approximately 35 batches, the storage and computational requirements for LMBM became prohibitive. Attempts to adapt LMBM for larger datasets via gradient averaging or random sampling did not yield a quickly converging algorithm.
Conversely, quasi-Newton methods like SFO show surprising empirical strength despite a lack of formal convergence guarantees for nonsmooth, nonconvex functions. This suggests that the local curvature information captured by quasi-Newton approaches is highly valuable, even in "kinky" landscapes where traditional Hessians are undefined or zero.
Conclusion
The next frontier in deep learning optimization lies in developing proximal-type bundle methods that can incorporate stochastic information. Such a hybrid approach would ideally combine the mathematical rigor of bundle methods with the scalability of stochastic methods, providing a provably convergent path for the complex, nonsmooth landscapes of modern AI.
Summary updated