Studying K-FAC Heuristics by Viewing Adam through a Second-Order Lens
Ross M. Clarke, José Miguel Hernández-Lobato
TL;DR
This work investigates whether K-FAC style heuristics contribute meaningfully to second-order optimisation by embedding them into Adam to create AdamQLR. By evaluating across regression and classification tasks with ASHA-based hyperparameter search, they observe that K-FAC adaptive heuristics show variable general effectiveness, while an untuned AdamQLR often matches tuned baselines in performance per runtime. The study highlights the potential of combining first-order update directions with second-order stability, but also reveals limitations where second-order heuristics may not generalise across tasks or scales. Overall, the results motivate further work to understand when such heuristics help and how to unify the strengths of first- and second-order methods.
Abstract
Research into optimisation for deep learning is characterised by a tension between the computational efficiency of first-order, gradient-based methods (such as SGD and Adam) and the theoretical efficiency of second-order, curvature-based methods (such as quasi-Newton methods and K-FAC). Noting that second-order methods often only function effectively with the addition of stabilising heuristics (such as Levenberg-Marquardt damping), we ask how much these (as opposed to the second-order curvature model) contribute to second-order algorithms' performance. We thus study AdamQLR: an optimiser combining damping and learning rate selection techniques from K-FAC (Martens & Grosse, 2015) with the update directions proposed by Adam, inspired by considering Adam through a second-order lens. We evaluate AdamQLR on a range of regression and classification tasks at various scales and hyperparameter tuning methodologies, concluding K-FAC's adaptive heuristics are of variable standalone general effectiveness, and finding an untuned AdamQLR setting can achieve comparable performance vs runtime to tuned benchmarks.
