Skip to main content
QUICK REVIEW

[Paper Review] Robust and Efficient Optimization Using a Marquardt-Levenberg Algorithm with R Package marqLevAlg

Philipps, Viviane, Hejblum, Boris P|arXiv (Cornell University)|Sep 8, 2020
Stochastic Gradient Optimization TechniquesComputer Science8 citations
TL;DR

This paper presents the R package marqLevAlg, a robust and efficient local optimization algorithm based on the Marquardt-Levenberg method, enhanced with stringent convergence criteria and parallel computation of derivatives. It outperforms standard R optimizers in complex statistical models by preventing false convergence and significantly reducing computation time, especially in high-dimensional or slow-to-evaluate settings.

ABSTRACT

Implementations in R of classical general-purpose algorithms for local optimization generally have two major limitations which cause difficulties in applications to complex problems: too loose convergence criteria and too long calculation time. By relying on a Marquardt-Levenberg algorithm (MLA), a Newton-like method particularly robust for solving local optimization problems, we provide with marqLevAlg package an efficient and general-purpose local optimizer which (i) prevents convergence to saddle points by using a stringent convergence criterion based on the relative distance to minimum/maximum in addition to the stability of the parameters and of the objective function; and (ii) reduces the computation time in complex settings by allowing parallel calculations at each iteration. We demonstrate through a variety of cases from the literature that our implementation reliably and consistently reaches the optimum (even when other optimizers fail), and also largely reduces computational time in complex settings through the example of maximum likelihood estimation of different sophisticated statistical models.

Motivation & Objective

  • Address the limitations of existing R optimization packages, such as loose convergence criteria and long computation times in complex models.
  • Improve reliability in finding local optima by preventing convergence to saddle points through stringent convergence criteria based on first and second derivatives.
  • Reduce computational time in high-dimensional or slow-evaluating optimization problems by enabling parallel computation of gradients and Hessian matrices at each iteration.
  • Provide a general-purpose, robust, and efficient alternative to standard optimizers like BFGS, L-BFGS-B, and EM for maximum likelihood estimation in complex statistical models.
  • Demonstrate the superiority of the Marquardt-Levenberg algorithm with enhanced convergence and parallelization in real-world statistical applications, including joint models and mixed-effects models.

Proposed method

  • Implement a modified Marquardt-Levenberg algorithm that combines steepest descent and Newton-Raphson methods via a dynamically adjusted Hessian inflation based on curvature.
  • Use a refined Hessian diagonal inflation: ˜H(F(θ(k)))ii = H(F(θ(k)))ii + λk[(1 − ηk)|H(F(θ(k)))ii| + ηk·tr(H(F(θ(k})))], ensuring positive-definiteness and convergence to the true Hessian.
  • Apply a three-criteria convergence test: parameter stability, objective function stability, and relative distance to minimum (RDM) defined as ∇(F)ᵀ(H⁻¹)∇(F)/m < ϵd.
  • Enable parallel computation of first and second derivatives across multiple cores to accelerate evaluation in high-dimensional problems.
  • Integrate the algorithm into an R package using R and Fortran90 for performance-critical components, with support for both unconstrained and constrained parameter spaces.
  • Support optimization of complex models such as linear mixed models, joint models, and latent variable models via maximum likelihood estimation.

Experimental results

Research questions

  • RQ1Can a Marquardt-Levenberg algorithm with stringent convergence criteria prevent false convergence to saddle points in complex optimization problems?
  • RQ2To what extent does parallel computation of derivatives improve runtime performance in high-dimensional or computationally intensive optimization tasks?
  • RQ3How does the marqLevAlg package compare in convergence reliability and speed to standard R optimizers like BFGS, L-BFGS-B, and EM in complex statistical models?
  • RQ4In multimodal optimization problems, does the combination of marqLevAlg with grid search reliably locate the global optimum?
  • RQ5Can the parallelization of derivative computation make the Marquardt-Levenberg method competitive with other optimizers in terms of total runtime for complex models?

Key findings

  • The marqLevAlg package reliably converges to the true optimum in complex models where other optimizers like L-BFGS-B and BFGS fail, particularly in high-dimensional or ill-conditioned settings.
  • The RDM convergence criterion—based on the inverse Hessian and gradient—effectively prevents convergence to flat regions and saddle points, improving solution reliability.
  • For linear mixed model estimation, marqLevAlg was the fastest among tested optimizers, including optimParallel, due to efficient parallel derivative computation.
  • The algorithm typically converges in fewer than 30 iterations, making it highly efficient despite the computational cost per iteration.
  • In benchmarking with complex models from the literature, marqLevAlg consistently achieved better log-likelihood values than competing methods, especially in joint models with complex association structures.
  • The package successfully resolved convergence issues in models where the L-BFGS-B and BFGS algorithms produced suboptimal results due to poor convergence criteria.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.