Related work¶
piazzi builds on ideas from these projects, and one of them may suit your problem better:
Ceres Solver: Google’s C++ library for nonlinear least squares and general unconstrained optimisation. It offers trust-region (Levenberg-Marquardt, dog-leg) and line-search methods, robust loss functions and sparse solvers for large bundle-adjustment problems. The name
piazziis a nod to it.Theseus: a PyTorch library for differentiable nonlinear least squares (Gauss-Newton, Levenberg-Marquardt, dog-leg). It runs batched and sparse solves and backpropagates through the optimiser, so you can embed it as a layer in a network.
PyPose: a PyTorch library for robotics, with Lie-group types (SO3, SE3 and others) and second-order optimisers such as Gauss-Newton and Levenberg-Marquardt, including robust kernels.
torch.optim.LBFGS: PyTorch’s built-in L-BFGS, with an optional strong-Wolfe line search. It uses thetorch.optimclosure interface; piazzi can run it throughpiazzi.minimize()(see torch.optim optimisers).nlesc-dirac/pytorch: improved L-BFGS and L-BFGS-B optimisers for PyTorch, with line searches and support for full-batch and stochastic use.
pytorch-minimize (
torchmin):scipy.optimize.minimize-style solvers for PyTorch (BFGS, L-BFGS, conjugate gradient, Newton and trust-region methods), plusleast_squares.scipy.optimize: the reference CPU implementations, includingleast_squares(trust-region reflective, dog-box, MINPACK Levenberg-Marquardt) andminimize(L-BFGS-B and others). The notebooks use it, through Third-party backends, to check piazzi’s results.