English

KOALA: A Kalman Optimization Algorithm with Loss Adaptivity

Machine Learning 2025-03-25 v3 Computer Vision and Pattern Recognition Optimization and Control Machine Learning

Abstract

Optimization is often cast as a deterministic problem, where the solution is found through some iterative procedure such as gradient descent. However, when training neural networks the loss function changes over (iteration) time due to the randomized selection of a subset of the samples. This randomization turns the optimization problem into a stochastic one. We propose to consider the loss as a noisy observation with respect to some reference optimum. This interpretation of the loss allows us to adopt Kalman filtering as an optimizer, as its recursive formulation is designed to estimate unknown parameters from noisy measurements. Moreover, we show that the Kalman Filter dynamical model for the evolution of the unknown parameters can be used to capture the gradient dynamics of advanced methods such as Momentum and Adam. We call this stochastic optimization method KOALA, which is short for Kalman Optimization Algorithm with Loss Adaptivity. KOALA is an easy to implement, scalable, and efficient method to train neural networks. We provide convergence analysis and show experimentally that it yields parameter estimates that are on par with or better than existing state of the art optimization algorithms across several neural network architectures and machine learning tasks, such as computer vision and language modeling.

Keywords

Cite

@article{arxiv.2107.03331,
  title  = {KOALA: A Kalman Optimization Algorithm with Loss Adaptivity},
  author = {Aram Davtyan and Sepehr Sameni and Llukman Cerkezi and Givi Meishvilli and Adam Bielski and Paolo Favaro},
  journal= {arXiv preprint arXiv:2107.03331},
  year   = {2025}
}

Comments

Published at AAAI2022

R2 v1 2026-06-24T03:58:20.974Z