Summary

We provide Levenberg-Marquardt (LM) optimizer together with importance sampling to efficiently estimate Jacobian matrix arising in second-order optimization of Gaussian Splats. This enables us to efficiently run the LM optimizer compared to its vanilla version, and can even beat first-order optimizers, like Adam, under certain settings.


Abstract

3D Gaussian Splatting (3DGS) is widely used for novel view synthesis due to its high rendering quality and fast inference time. However, 3DGS predominantly relies on first-order optimizers such as Adam, which leads to long training times. To address this limitation, we propose a novel second-order optimization strategy based on Levenberg-Marquardt (LM) and Conjugate Gradient (CG), which we specifically tailor towards Gaussian Splatting. Our key insight is that the Jacobian in 3DGS exhibits significant sparsity since each Gaussian affects only a limited number of pixels. We exploit this sparsity by proposing a matrix-free and GPU-parallelized LM optimization. To further improve its efficiency, we propose sampling strategies for both camera views and loss function and, consequently, the normal equation, significantly reducing the computational complexity. In addition, we increase the convergence rate of the second-order approximation by introducing an effective heuristic to determine the learning rate that avoids the expensive computation cost of line search methods. As a result, our method achieves a 3x speedup over standard LM and outperforms Adam by 6x when the Gaussian count is low while remaining competitive for moderate counts. Code will be made available upon acceptance.

Method

We start from randomly initialized Gaussians and gradually refine them with Levenberg-Marquardt optimizer. Since dealing with the true Jacobian matrix is costly, we approximate it with a tile-aware sampling algorithm. After we solve the normal equations with approximated Jacobians, we update the parameters using a learning rate heuristic. Note that the Jacobians are never materialized in the memory, and the normal equation is solved with only Jacobian vector products.

Results

Citation

@online{pehlivan2024second,
title = {Second-order Optimization of Gaussian Splats with Importance Sampling},
author = {Pehlivan, Hamza and Boscolo Camiletto, Andrea and Foo, Ling Geng and Habermann, Marc and Theobalt, Christian},
year = {2025},
journal={Arxiv}
}