torch_numopt.algorithms.adahessian#
AdaHessian optimizer (diagonal Hessian with momentum).
This module implements the AdaHessian algorithm, which combines the adaptive learning rate mechanism of Adam with a diagonal Hessian approximation computed via Hutchinson’s method. It maintains moving averages of both the gradient and the Hessian diagonal, and uses them to compute a preconditioned step direction.
Classes
|
AdaHessian optimizer (diagonal Hessian with momentum). |
|
AdaHessian with line search. |
|
Mixin that implements the AdaHessian algorithm. |