TL;DR
This paper empirically investigates second-order optimization methods (specifically, sub-sampled Trust Region and Adaptive Cubic Regularization) for non-convex machine learning problems. They demonstrate that these methods can be computationally competitive with, and often more robust and effective than, first-order methods like SGD, particularly in escaping difficult optimization landscapes like saddle points.
What Problem Does This Paper Address?
First-order optimization methods, such as Stochastic Gradient Descent (SGD), are the workhorses of modern machine learning due to their simplicity. However, they suffer from several drawbacks, especially in highly non-convex settings like those found in neural networks. These include slow convergence, extreme sensitivity to hyper-parameter tuning (like learning rate), getting stuck at high training errors, and struggling to escape flat regions and saddle points. While second-order methods, which use curvature information (Hessian), theoretically offer solutions to these issues, they have historically been considered too computationally expensive for large-scale machine learning. This paper aims to bridge this gap by empirically evaluating practical, sub-sampled versions of these second-order methods.
Methods
The core of this paper is an empirical study of sub-sampled variants of two Newton-type optimization algorithms: Trust Region (TR) and Adaptive Regularization with Cubics (ARC). These methods leverage second-order information (approximations of the Hessian matrix) to guide their optimization steps. The "sub-sampling" aspect is crucial for computational efficiency, meaning they don't use the full dataset to compute the Hessian at each step. Instead, they use a random subset of the data. The paper also compares these methods against a well-tuned SGD with momentum. The sub-problems within the TR and ARC algorithms are solved approximately using methods like CG-Steihaug and generalized Lanczos.
Datasets
The paper uses standard datasets for its experiments:
- Image Classification: CIFAR-10 dataset for multi-layer perceptron (MLP) networks.
- Deep Auto-Encoder: "curves" and "mnist" datasets.
- Non-Linear Least Squares (Binary Classification): "a9a", "mnist-28", "mnist2", and "ijcnn1" datasets from the LIBSVM library.
Key Insights and Ideas
- Curvature is Key for Escaping Difficult Landscapes: The paper strongly suggests that incorporating curvature information (Hessian) is crucial for navigating challenging non-convex optimization landscapes, particularly for escaping saddle points and flat regions where gradient-based methods often get stuck.
- Sub-sampling Makes Second-Order Methods Practical: By using sub-sampled Hessians, TR and ARC methods become computationally viable for large-scale ML, achieving competitive performance with first-order methods.
- Robustness to Hyper-parameters: A significant advantage of the studied second-order methods is their remarkable robustness to hyper-parameter settings, especially compared to SGD, which is highly sensitive to learning rate.
- Generalization Benefits: Second-order methods not only achieve good training performance but also contribute to competitive or even better generalization performance.
Key Results
- Computational Efficiency: Sub-sampled TR and ARC methods are shown to be computationally competitive with hand-tuned SGD with momentum, often achieving comparable or better results in terms of convergence speed (measured by number of propagations).
- Robustness: The performance of TR and ARC methods is shown to be largely insensitive to the choice of their main hyper-parameter (initial trust-region radius), unlike SGD which is highly dependent on learning rate.
- Saddle Point Escaping: In experiments starting from the origin (a common saddle point region), SGD and GN algorithms get trapped, while sub-sampled TR effectively escapes these regions and makes continued progress.
- Generalization: Sub-sampled TR consistently achieves competitive or better generalization performance across various initialization schemes and datasets.
- Sub-sampling Benefits: The paper validates the effectiveness of sub-sampling for speeding up computations. It also shows that non-uniform sampling can offer advantages over uniform sampling, especially for ARC variants.
Limitations and Future Work
- Algorithm 2 (ARC) Implementation Issues: The authors encountered difficulties in obtaining expected performance from Algorithm 2 (ARC) across various implementations, and thus excluded it from some experiments. They attribute this to potential issues with the sub-problem solver.
- Limited Scope of Empirical Study: The authors acknowledge that their empirical study, while illustrative, is a "glimpse" into the properties of these methods and that a more comprehensive investigation is needed.
- Future Work: The paper implicitly suggests further exploration of non-uniform sampling strategies and more robust sub-problem solvers for ARC methods. The generalizability of these findings to even more complex and larger-scale problems would also be a natural next step.
Summary updated