On The Concurrence of Layer-wise Preconditioning Methods and Provable Feature Learning
Thomas T. Zhang, Behrad Moniri, Ansh Nagwekar, Faraz Rahman, Anton Xue, Hamed Hassani, Nikolai Matni
TL;DR
This work investigates why layer-wise Kronecker-Factored preconditioning (KFAC/Shampoo) can outperform diagonal optimizers like Adam in neural network optimization, particularly for feature learning under anisotropic covariates. By analyzing two canonical models—linear representation learning and single-index learning—the authors show that SGD exhibits provable inefficiencies when inputs deviate from isotropy, and that a principled KFAC-style preconditioner yields a condition-number-free convergence and improved feature learning. They derive stylized KFAC updates with concrete contraction guarantees, demonstrate that full second-order methods underperform these layer-wise preconditioners, and provide comprehensive numerical validation across transfer learning and anisotropy settings. The results highlight a meaningful connection between optimization geometry and provable feature learning, with implications for practical training and generalization in deep networks.
Abstract
Layer-wise preconditioning methods are a family of memory-efficient optimization algorithms that introduce preconditioners per axis of each layer's weight tensors. These methods have seen a recent resurgence, demonstrating impressive performance relative to entry-wise ("diagonal") preconditioning methods such as Adam(W) on a wide range of neural network optimization tasks. Complementary to their practical performance, we demonstrate that layer-wise preconditioning methods are provably necessary from a statistical perspective. To showcase this, we consider two prototypical models, linear representation learning and single-index learning, which are widely used to study how typical algorithms efficiently learn useful features to enable generalization. In these problems, we show SGD is a suboptimal feature learner when extending beyond ideal isotropic inputs $\mathbf{x} \sim \mathsf{N}(\mathbf{0}, \mathbf{I})$ and well-conditioned settings typically assumed in prior work. We demonstrate theoretically and numerically that this suboptimality is fundamental, and that layer-wise preconditioning emerges naturally as the solution. We further show that standard tools like Adam preconditioning and batch-norm only mildly mitigate these issues, supporting the unique benefits of layer-wise preconditioning.
