Saved in:
Bibliographic Details
Main Authors: Seung, Hyunseok, Lee, Jaewoo, Ko, Hyunsuk
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.08464
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917072417587200
author Seung, Hyunseok
Lee, Jaewoo
Ko, Hyunsuk
author_facet Seung, Hyunseok
Lee, Jaewoo
Ko, Hyunsuk
contents Second-order optimization methods for training neural networks, such as KFAC, exhibit superior convergence by utilizing curvature information of loss landscape. However, it comes at the expense of high computational burden. In this work, we analyze the two components that constitute the layer-wise Fisher information matrix (FIM) used in KFAC: the Kronecker factors related to activations and pre-activation gradients. Based on empirical observations on their eigenspectra, we propose efficient approximations for them, resulting in a computationally efficient optimization method called MAC. To the best of our knowledge, MAC is the first algorithm to apply the Kronecker factorization to the FIM of attention layers used in transformers and explicitly integrate attention scores into the preconditioning. We also study the convergence property of MAC on nonlinear neural networks and provide two conditions under which it converges to global minima. Our extensive evaluations on various network architectures and datasets show that the proposed method outperforms KFAC and other state-of-the-art methods in terms of accuracy, end-to-end training time, and memory usage.
format Preprint
id arxiv_https___arxiv_org_abs_2506_08464
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MAC: An Efficient Gradient Preconditioning using Mean Activation Approximated Curvature
Seung, Hyunseok
Lee, Jaewoo
Ko, Hyunsuk
Machine Learning
Second-order optimization methods for training neural networks, such as KFAC, exhibit superior convergence by utilizing curvature information of loss landscape. However, it comes at the expense of high computational burden. In this work, we analyze the two components that constitute the layer-wise Fisher information matrix (FIM) used in KFAC: the Kronecker factors related to activations and pre-activation gradients. Based on empirical observations on their eigenspectra, we propose efficient approximations for them, resulting in a computationally efficient optimization method called MAC. To the best of our knowledge, MAC is the first algorithm to apply the Kronecker factorization to the FIM of attention layers used in transformers and explicitly integrate attention scores into the preconditioning. We also study the convergence property of MAC on nonlinear neural networks and provide two conditions under which it converges to global minima. Our extensive evaluations on various network architectures and datasets show that the proposed method outperforms KFAC and other state-of-the-art methods in terms of accuracy, end-to-end training time, and memory usage.
title MAC: An Efficient Gradient Preconditioning using Mean Activation Approximated Curvature
topic Machine Learning
url https://arxiv.org/abs/2506.08464