paper-with-me

홈 › Papers

Adapting Newton's Method to Neural Networks through a Summary of Higher-Order Derivatives

2023-12-06 · Pierre Wolinski

When training large models, such as neural networks, the full derivatives of order 2 and beyond are usually inaccessible, due to their computational cost. This is why, among the second-order optimization methods, it is very common to bypass the computation of the Hessian by using first-order information, such as the gradient of the parameters (e.g., quasi-Newton methods) or the activations (e.g., K-FAC). In this paper, we focus on the exact and explicit computation of projections of the Hessian and higher-order derivatives on well-chosen subspaces, which are relevant for optimization. Namely, for a given partition of the set of parameters, it is possible to compute tensors which can be seen as "higher-order derivatives according to the partition", at a reasonable cost as long as the number of subsets of the partition remains small. Then, we propose an optimization method exploiting these tensors at order 2 and 3 with several interesting properties, including: it outputs a learning rate per subset of parameters, which can be used for hyperparameter tuning; it takes into account long-range interactions between the layers of the trained neural network, which is usually not the case in similar methods (e.g., K-FAC); the trajectory of the optimization is invariant under affine layer-wise reparameterization. Code available at https://github.com/p-wol/GroupedNewton/ .

📄 PDF Abstract BibTeX arXiv:2312.03885

Code (1)

p-wol/GroupedNewton 공식 구현 pytorch

Tasks

Second-order methods

Similar Papers 제목 키워드 기반

Frugality in second-order optimization: floating-point approximations for Newton's method

2025-11-20 · Giuseppe Carrino, Elena Loli Piccolomini, Elisa Riccietti, Theo Mary arxiv

Minimizing loss functions is central to machine-learning training. Although first-order methods dominate practical applications, higher-order techniques such as Newton's method can deliver greater accuracy and faster con…

Adaptive Sampling Quasi-Newton Methods for Zeroth-Order Stochastic Optimization

2021-09-24 · Raghu Bollapragada, Stefan M. Wild

We consider unconstrained stochastic optimization problems with no available gradient information. Such problems arise in settings from derivative-free simulation optimization to reinforcement learning. We propose an ada…

Reinforcement Learning (RL)Stochastic Optimization

Higher-Order Newton Methods with Polynomial Work per Iteration

2023-11-10 · Amir Ali Ahmadi, Abraar Chaudhry, Jeffrey Zhang

We present generalizations of Newton's method that incorporate derivatives of an arbitrary order $d$ but maintain a polynomial dependence on dimension in their cost per iteration. At each step, our $d^{\text{th}}$-order …

Cubic-Regularized Newton for Spectral Constrained Matrix Optimization and its Application to Fairness

2022-09-02 · Casey Garner, Gilad Lerman, Shuzhong Zhang

Matrix functions are utilized to rewrite smooth spectral constrained matrix optimization problems as smooth unconstrained problems over the set of symmetric matrices which are then solved via the cubic-regularized Newton…

Fairness

Newton-type Methods for Inference in Higher-Order Markov Random Fields

2017-09-05 · CVPR 2017 7 · Hariprasad Kannan, Nikos Komodakis, Nikos Paragios

Linear programming relaxations are central to {\sc map} inference in discrete Markov Random Fields. The ability to properly solve the Lagrangian dual is a critical component of such methods. In this paper, we study the b…

Vocal Bursts Type Prediction