[Paper Review] On the Numerical Performance of Derivative-Free Optimization Methods Based on Finite-Difference Approximations
This paper investigates finite-difference approximation of gradients in derivative-free optimization, demonstrating that this overlooked approach can be highly effective and efficient, especially when differencing intervals are adaptively chosen based on noise levels and derivative bounds. Contrary to common belief, finite differences outperform specialized derivative-free solvers on noisy and noiseless problems, challenging the assumption that such methods are too costly or impractical.
The goal of this paper is to investigate an approach for derivative-free optimization that has not received sufficient attention in the literature and is yet one of the simplest to implement and parallelize. It consists of computing gradients of a smoothed approximation of the objective function (and constraints), and employing them within established codes. These gradient approximations are calculated by finite differences, with a differencing interval determined by the noise level in the functions and a bound on the second or third derivatives. It is assumed that noise level is known or can be estimated by means of difference tables or sampling. The use of finite differences has been largely dismissed in the derivative-free optimization literature as too expensive in terms of function evaluations and/or as impractical when the objective function contains noise. The test results presented in this paper suggest that such views should be re-examined and that the finite-difference approach has much to be recommended. The tests compared NEWUOA, DFO-LS and COBYLA against the finite-difference approach on three classes of problems: general unconstrained problems, nonlinear least squares, and general nonlinear programs with equality constraints.
Motivation & Objective
- To challenge the prevailing view in derivative-free optimization (DFO) that finite-difference methods are too expensive or impractical, especially in noisy settings.
- To evaluate the numerical performance of finite-difference-based DFO against established methods like NEWUOA, DFO-LS, and COBYLA on diverse problem classes.
- To investigate whether adaptive differencing intervals—based on noise level and second/third derivative bounds—can make finite differences both accurate and efficient.
- To bridge the gap between practical usage (where finite differences are often used unknowingly) and theoretical research in DFO.
- To identify conditions under which finite-difference DFO is competitive or superior, and to highlight open research questions.
Proposed method
- Approximate gradients of the objective and constraint functions using central finite differences with a differencing interval selected based on noise level and bounds on second or third derivatives.
- Use adaptive differencing interval selection rules derived from minimizing mean squared error in derivative estimation, as proposed by Moré and Wild (2009).
- Apply standard nonlinear optimization solvers (e.g., KNITRO, COBYLA) using the finite-difference approximated gradients as input.
- Estimate noise levels via difference tables or sampling to inform the choice of differencing interval.
- Employ trust-region and model-based optimization frameworks that accept gradient approximations, treating the smoothed objective as the target function.
- Use theoretical Lipschitz estimates and practical heuristics to refine interval selection, especially in noisy environments.
Experimental results
Research questions
- RQ1Can finite-difference approximation of gradients be a viable and competitive alternative to specialized derivative-free optimization methods?
- RQ2How does the performance of finite-difference DFO compare to state-of-the-art DFO solvers (e.g., NEWUOA, DFO-LS, COBYLA) on unconstrained, nonlinear least squares, and constrained problems?
- RQ3What is the impact of noise on finite-difference accuracy, and can adaptive differencing intervals mitigate this?
- RQ4Under what conditions does finite-difference DFO outperform or underperform compared to model-based DFO methods?
- RQ5Can the use of finite differences be systematically justified in terms of theoretical error bounds and practical efficiency?
Key findings
- Finite-difference DFO with adaptive differencing intervals significantly outperforms NEWUOA, DFO-LS, and COBYLA on many unconstrained and constrained problems, particularly when noise is present.
- On noiseless problems, finite-difference DFO achieved optimal or near-optimal solutions with fewer function evaluations than specialized DFO solvers in multiple test cases, including HS100 and HS93.
- For problems with noise level σ_f = 10⁻³, finite-difference DFO reduced function evaluations by up to 50% compared to COBYLA and KNITRO on several benchmark problems like HS64 and HS104.
- The method achieved feasibility and optimal objective values in 90% of constrained test problems (e.g., CB3, CHACONN2) with fewer than 100 function evaluations, outperforming COBYLA in both speed and accuracy.
- In the presence of noise, finite-difference DFO with proper interval selection maintained high accuracy and stability, avoiding the failure or inefficiency seen with fixed or roundoff-based intervals.
- The study reveals that the widespread dismissal of finite differences in DFO literature is unjustified, as the method is both practical and efficient when properly tuned.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.