Efficient Second-Order Neural Network Optimization via Adaptive Trust Region Methods
<|reference_start|>Efficient Second-Order Neural Network Optimization via Adaptive Trust Region Methods: Second-order optimization methods offer notable advantages in training deep neural networks by utilizing curvature information to achieve faster convergence. However, traditional second-order techniques are computationally prohibitive, primarily due to the large matrix inversions and high memory demands they require. While adaptive trust-region methods have been developed to mitigate these issues, their performance is often hindered by conservative estimates of key parameters, such as the Lipschitz constant of the Hessian, resulting in suboptimal outcomes. In this paper, we introduce SecondOrderAdaptiveAdam (SOAA), a novel optimization algorithm designed to overcome these limitations. SOAA approximates the Fisher information matrix using a diagonal representation, reducing computational complexity from \(O(n^{2})\) to \(O(n)\), thereby making it suitable for large-scale deep learning models, including large language models (LLMs). Additionally, the algorithm integrates an adaptive trust-region mechanism that dynamically adjusts the trust region size based on observed loss reduction, ensuring both robust convergence and computational efficiency. We empirically demonstrate that SOAA achieves faster and more stable convergence compared to first-order optimizers, such as Adam, under similar computational constraints. However, the diagonal approximation of the Fisher information matrix may be less effective in capturing higher-order interactions between gradients, suggesting potential areas for further refinement and future research.<|reference_end|>
@article{vo2024efficient,
    title={Efficient Second-Order Neural Network Optimization via Adaptive Trust
  Region Methods},
    author={James Vo},
    journal={arXiv preprint arXiv:2410.02293},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.02293},
    primaryClass={cs.LG cs.CL}
}