Stochastic Optimization Using a Trust-Region Method and Random Models

Ruobing Chen, Matt Menickelly, Katya Scheinberg

Introduction

Derivative free optimization (DFO) has recently grown as a field of nonlinear optimization which addressed optimization of black-box functions, that is functions whose value can be (approximately) computed by some numerical procedure or an experiment, while their closed-form expressions and/or derivatives are not available and cannot be approximated accurately or efficiently. Although the role of derivative-free optimization is particularly important when objective functions are noisy, traditional DFO methods have been developed primarily for deterministic functions. The fields of stochastic optimization and stochastic approximation on the other hand focus on optimizing functions that are stochastic in nature. Much of the focus of these methods depend on the availability and use of stochastic derivatives, however, some work has addressed stochastic black box functions, typically by some sort of a finite differencing scheme .

In this paper, using methods developed for DFO, we aim to solve

where the noise ε\varepsilon is a random variable.

In recent years, some DFO methods have been extended to and analyzed for stochastic functions . Additionally, stochastic approximation methodologies started to incorporate techniques from the DFO literature . The analysis in all that work assumes some particular structure of the noise, including the assumption that the noisy function values give an unbiased estimator of the true function value.

There are two main classes of methods in this setting of stochastic optimization: stochastic gradient (SG) methods (such as the well known Robbins-Monro method) and sample averaging (SA) methods. The former (SG) methods roughly work as follows: they obtain a realization of an unbiased estimator of the gradient at each iteration and take a step in the direction of the negative gradient. The step sizes progressively diminish and the iterates are averaged to form a sequence that converges to a solution. These methods typically have very inexpensive iterations, but exhibit slow convergence and are strongly dependent on the choice of algorithmic parameters, particularly the sequence of step sizes. Many variants exist that average the gradient information from past iterations and are able to accept sufficiently small, but nondecreasing step sizes . However, the convergence remains slow, and parameter tuning remains necessary in most cases. Moreover, the majority of these methods have been developed exclusively for convex functions and may not converge in non convex settings. An exception is the randomized stochastic (accelerated) gradient (RS(A)G) method presented in , . This method employs random stopping criteria to provide theoretical first-order convergence even in nonconvex cases, but does not appear to be very practical.

The second class of methods, (SA), is based on sample averaging of the function and gradient estimators,which is applied to reduce the variance of the noise. These methods repeatedly sample the function value at a set of points in hopes to ensure sufficient accuracy of the function and gradient estimates. For a thorough introduction and references therein, see . The optimization method and sampling process are usually tightly connected in these approaches, hence, again, algorithmic parameters need to be specially chosen and tuned. These methods tend to be more robust with respect to parameters and enjoy faster convergence at a cost of more expensive iterations. However, none of these methods are applicable in the case of biased noise and they suffer significantly in the presence of outliers.

The goal of this paper is to show that a standard efficient unconstrained optimization method, such as a trust region method, can be applied, with very small modifications, to stochastic nonlinear (not necessarily convex) functions and can be guaranteed to converge to first order stationary points as long as certain conditions are satisfied. We present a general framework, where we do not specify any particular sampling technique. The framework is based on the trust region DFO framework , and its extension to probabilistic models . In terms of this framework and the certain conditions that must be satisfied, we essentially assume that

the local models of the objective function constructed on each iteration satisfy some first order accuracy requirement with sufficiently high probability,

and that function estimates at the current iterate and at a potential next iterate are sufficiently accurate with sufficiently high probability.

The main novelty of this work is the analysis of the framework and the resulting weaker, more general, conditions compared to prior work. In particular,

we do not assume that the probabilities of obtaining sufficiently accurate models and estimates are increasing (they simply need to be above a certain constant) and

we do not assume any distribution of the random models and estimates. In other words, if a model or estimate is inaccurate, it can be arbitrarily inaccurate, i.e. the noise in the function values can have nonconstant bias.

It is also important to note that while our framework and model requirements are borrowed from prior work on DFO, this framework applies to derivative-based optimization as well. Later in the paper we will discuss different settings which will fit into the proposed framework.

This paper consists of two main parts. In the first part we propose and analyze a trust region framework, which utilizes random models of f(x)f(x) at each iteration to compute the next potential iterate. It also relies on (random, noisy) estimates of the function values at the current iterate and the potential iterate to gauge the progress that is being made. The convergence analysis then relies on requirements that these models and these estimates are sufficiently accurate with sufficiently high probability. Beyond these conditions, no assumptions are made about how these models and estimates are generated. The resulting method is a stochastic process that is analyzed with the help of martingale theory. The method is shown to converge to first order stationary points with probability one.

There is a very large volume of work on SA and SG, most of which is quite different from our proposed analysis and method. However, we will mention a few works here that are most closely related to this paper and highlight the differences. The three methods existing in the literature we will compare with are by Deng and Ferris , SPSA (simultaneous perturbations stochastic approximation) , and SCSR (sampling controlled stochastic recursion) . These three settings and methods are most closely related to our work because they all rely on using models of the objective function that can both incorporate second-order information and whose accuracy with respect to a “true” model can be dynamically adjusted. In particular, Deng and Ferris apply the trust-region model-based derivative free optimization method UOBYQA in a setting of sample path optimization . In and , the author applies an approximate gradient descent and Newton method, respectively, with gradient and Hessian estimates computed from specially designed finite differencing techniques, with decaying finite differencing parameter. In a very general scheme is presented, where various deterministic optimization algorithms are generalized as stochastic counterparts, with the stochastic component arising from the stochasticity of the models and the resulting step of the optimization algorithm. We now compare some key components of these three methods with those of our framework, which we hereforth refer to as STORM (STochastic Optimization with Random Models).

Deng and Ferris: The assumptions of the sample path setting are roughly as follows: on each iteration kk, given a collection of points Xk={x1k,…,xpk}X^{k}=\{x_{1}^{k},\ldots,x_{p}^{k}\} one can compute noisy function values f(x1k,εk),…,f(xpk,εk)f(x_{1}^{k},\varepsilon^{k}),\ldots,f(x_{p}^{k},\varepsilon^{k}). The noisy function values are assumed to be realizations of an unbiased estimator of true values f(x1k),…,f(xpk)f(x_{1}^{k}),\ldots,f(x_{p}^{k}). Then, using multiple, say NkN_{k}, realizations of εk\varepsilon^{k}, average function values fNk(x1k),…,fNk(xpk)f^{N_{k}}(x_{1}^{k}),\ldots,f^{N_{k}}(x_{p}^{k}) can be computed. A quadratic model mkNk(x)m^{N_{k}}_{k}(x) is then fit into these function values, and so a sequence of models {mkNk(x)}\{m^{N_{k}}_{k}(x)\} is created using a nondecreasing sequence of sampling rates {Nk}\{N_{k}\}. The assumption on this sequence of models is that each of them satisfies a sufficient decrease condition (with respect to the true model of the true function ff) with probability 1−αk1-\alpha_{k}, such that ∑k=1∞αk<∞\sum_{k=1}^{\infty}\alpha_{k}<\infty. The trust region maintenance follows the usual scheme like that in UOBYQA, hence the steps taken by the algorithm can be increased or decreased depending on the observed improvement of the function estimates.

SPSA: The first order version of this method assumes that f(x,ε)f(x,\varepsilon) is an unbiased estimate of f(x)f(x), and the second order version, 2SPSA, assumes that an unbiased estimate of ∇f(x)\nabla f(x), g(x,ε)∈Rng(x,\varepsilon)\in{\bf R}^{n}, can be computed. Gradient (in the first order case) and Hessian (in the second order case) estimates are constructed using an interesting randomized finite differencing scheme. The finite difference step is assumed to be decaying to zero. An approximate steepest descent direction or approximate Newton direction are then constructed and a step of length tkt_{k} is taken along this direction. The sequence {tk}\{t_{k}\} is assumed to be decaying in the usual Robbins-Monro way, that is tk→0t_{k}\to 0, ∑ktk=∞\sum_{k}t_{k}=\infty. Hence, while no increase in accuracy of the models is assumed (they only need to be accurate in expectation), the step size parameter and the finite differencing parameter need to be tuned. Decaying step sizes often lead to slow convergence, as has been observed often in stochastic optimization literature.

SCSR: This is a very general scheme which can include multiple optimization methods and sampling rates. The key ingredients of this scheme are a deterministic optimization method, and a stochastic variant that approximates it. The stochastic step (recursion) is assumed to be a sufficiently accurate approximation of the deterministic step with increasing probability (the probabilities of failure for each iteration are summable). This assumption is stronger than the one in this paper. In addition, another key assumption made for SCSR is that the iterates produced by the base deterministic algorithm converge to the unique optimal minimizer x∗x^{*}. Not only we do not assume here that the minimizer/stationary point is unique, but we also do not assume a priori that the iterates form a convergent sequence, since they may not do so in a non convex setting, while every iterate subsequence converges to a stationary point.

STORM: Like the Deng and Ferris method, we utilize a trust-region, model-based framework, where the size of the trust region can be increased or decreased according to empirically observed function decrease and the size of the observed approximate gradients. The desired accuracy of the models is tied only to the trust region radius in our case, while for Deng and Ferris, it is tied to both the radius and the size of true model gradients (the second condition is harder to ensure). In either method, this desired accuracy is assumed to hold with some probability - in STORM, this probability remains constant throughout the progress of the algorithm, while for Deng and Ferris it has to converge to 11 sufficiently rapidly.

There are three major advantages to our results. First of all, in the case of unbiased noise, the sampling rate is directly connected to the desired accuracy of the estimates and the probability with which this accuracy is achieved. Hence, for the STORM method, the sampling rate may increase or decrease according to the trust region radius, eventually increasing only when necessary, i.e. when the noise become dominating. For all the other methods listed here, the sampling rate is assumed to increase monotonically. Secondly, in the case of biased noise, we can still prove convergence of our method, as long as the desired accuracy is achieved with a fixed probability. In other words, we allow for the noise to be arbitrarily large with a small, but fixed probability, on each iteration. This allows us to consider new models of noise which cannot be handled by any of the other methods discussed here. In addition, STORM incorporates first and second order models without changing the algorithm - the step size parameter (i.e., the trust region radius) and other parameters of the method are chosen almost identically to the standard practices of the trust region methods, which have proved to be very effective in practice for unconstrained nonlinear optimization. In Section 6 we show that the STORM method is very effective in different noise settings and is very robust with respect to sampling strategies.

Finally, we want to point to an unpublished work , which proposes a very similar method to the one in this paper. Both methods were developed based on the trust region DFO method with random models for deterministic functions analyzed in and extended to the stochastic setting. Some of the assumptions in this paper were inspired by an early version of . However, the assumptions and the analysis in are quite different from the ones in this paper. In particular, they rely on the assumption that f(x,ε)f(x,\varepsilon) is an unbiased estimate of f(x)f(x), hence their analysis does not extend to the biased case. Also they assume that the probability of having an accurate model at the kk-th iteration is at least 1−αk1-\alpha_{k}, such that αk→0\alpha_{k}\to 0, while for our method this probability can remain bounded away from zero. Similarly, they assume that the probability of having accurate function estimates at the kk-th iteration also converges to 11 sufficiently rapidly, while in our case it is again constant. Their analysis, as a result, is very different from ours, and does not generalize to various stochastic settings (they only focus on the derivative free setting with additive noise). The advantage of their method is that they do not need to put a restriction on acceptable step sizes, when the norm of the gradient of the model is small. We, on the other hand, impose such restriction in our method and use it in the proof of our main result. However, as we discuss later in the paper this restriction can be relaxed at the cost of more complex algorithm and analysis. In practice, we do not implement this restriction, hence our basic implementation is virtually identical to that in except that we implement a variety of model building strategies, while only one such strategy (regression models based on randomly rotated orthogonal samples sets) is implemented in . Thus we do not directly compare the empirical performance of our method with the method in since we view them as more or less the same method.

We conclude this section by introducing some frequently used notations and their meanings. The rest of the paper is organized as follows. In Section 2 we introduce the trust region framework, followed by Section 3, where we discuss the requirements on our random models and function estimates. The main convergence results are presented in Section 4. In Section 5 we discuss various noise scenarios and how sufficiently accurate models and estimates can be constructed in these cases. Finally, we present computational experiments based on these various noise scenarios in Section 6.

Let ∥⋅∥\|\cdot\| denote the Euclidean norm and B(x,Δ)B(x,\Delta) denote the ball of radius Δ\Delta around xx, i.e., B(x,Δ):{y:∥x−y∥≤Δ}B(x,\Delta):\{y:\|x-y\|\leq\Delta\}. Ω\Omega denotes the probability sample space, according to the context, and a sample from that space is denoted by ω∈Ω\omega\in\Omega. As a rule, when we describe a random process within the algorithmic framework, uppercase letters, e.g. the kk-th iterate XkX_{k}, will denote random variables, while lowercase letters will denote realizations of the random variable, e.g. xk=Xk(ω)x_{k}=X_{k}(\omega) is the kk-th iterate for a particular realization of our algorithm.

Trust Region Method

We consider the trust-region class of methods for minimization of unconstrained functions. They operate as follows: at each iteration kk, given the current iterate xkx_{k} and a trust-region radius δk\delta_{k}, a (random) model mk(x)m_{k}(x) is built, which serves as an approximation of f(x)f(x) in B(xk,δk)B(x_{k},\delta_{k}). The model is assumed to be of the form

It is possible to generalize our framework to other forms of models, as long as all conditions on the models, described below, hold. We consider quadratic models for simplicity of the presentation and because they are the most common. The model mk(x)m_{k}(x) is minimized (approximately) in B(xk,δk)B(x_{k},\delta_{k}) to produce a step sks_{k} and (random) estimates of f(xk)f(x_{k}) and f(xk+sk)f(x_{k}+s_{k}) are obtained, denoted by fk0f_{k}^{0} and fksf_{k}^{s} respectively. The achieved reduction is measured by comparing fk0f_{k}^{0} and fksf_{k}^{s} and if reduction is deemed sufficient, then xk+skx_{k}+s_{k} is chosen as the next iterate xk+1x_{k+1}. Otherwise the iterate remains xkx_{k}. The trust-region radius δk+1\delta_{k+1} is then chosen by either increasing or decreasing δk\delta_{k} according to the outcome of the iteration. The details of the algorithm are presented in Algorithm 1.

The trial step computed on each iteration has to provide sufficient decrease of the model; in other words it has to satisfy the following standard fraction of Cauchy decrease condition:

For every kk, the step sks_{k} is computed so that

for some constant κfcd∈(0,1].\kappa_{fcd}\in(0,1].

If progress is achieved and a new iterate is accepted in the kk-th iteration then we call this a successful iteration. Otherwise, the iteration is unsuccessful (and no step is taken). Hence a successful iteration occurs when ρk≥η1\rho_{k}\geq\eta_{1} and ∥gk∥≥η2δk\|g_{k}\|\geq\eta_{2}\delta_{k}. However, a successful iteration does not necessarily yield an actual reduction in the true function ff. This is because the values of f(x)f(x) are not accessible in our stochastic setting and the step acceptance decision is made merely based on the estimates of f(xk)f(x_{k}) and f(xk+sk)f(x_{k}+s_{k}). If these estimates, fk0f_{k}^{0} and fksf_{k}^{s}, are not accurate enough, a successful iteration can result in an increase of the true function value. Hence we consider two types of successful iterations - those where f(x)f(x) is in fact decreased proportionally to fk0−fksf_{k}^{0}-f_{k}^{s}, which we call true successful iterations, and all other successful iterations, where the decrease of f(x)f(x) can be arbitrarily small or even negative, which we call false successful iterations. Our setting and algorithmic framework does not allow us to determine which successful iterations are true and which ones are false, however, we will be able to show that true successful iterations occur sufficiently often for convergence to hold, if the random estimates fk0f_{k}^{0} and fksf_{k}^{s} are sufficiently accurate.

A trust region framework based on random models was introduced and analyzed in . In that paper, the authors introduced the concept of probabilistically fully-linear models to determine the conditions that random models should satisfy for convergence of the algorithm to hold. However, the randomness in the models in their setting arises from the the construction process, and not from the noisy objective function. It is assumed in that the function values at the current iterate and the trial point can be computed exactly and hence all successful iterations are true in that case. In our case, it is necessary to define a measure for the accuracy of the estimates fk0f_{k}^{0} and fksf_{k}^{s} (which, as we will see, generally has to be tighter than the measure of accuracy of the model). We will use a modified version of the probabilistic estimates introduced in .

Probabilistic Models and Estimates

To formalize conditioning on the past, let Fk−1M⋅F\mathcal{F}_{k-1}^{M\cdot F} denote the σ\sigma-algebra generated by M0,⋯ ,Mk−1M_{0},\cdots,M_{k-1} and F0,⋯ ,Fk−1F_{0},\cdots,F_{k-1} and let Fk−1/2M⋅F\mathcal{F}_{k-{1}/{2}}^{M\cdot F} denote the σ\sigma-algebra generated by M0,⋯ ,MkM_{0},\cdots,M_{k} and F0,⋯ ,Fk−1F_{0},\cdots,F_{k-1}.

To formalize sufficient accuracy, let us recall a measure for the accuracy of deterministic models introduced in and (with the exact notation introduced in ).

Suppose ∇f\nabla f is Lipschitz continuous. A function mkm_{k} is a κ\kappa-fully linear model of ff on B(xk,δk)B(x_{k},\delta_{k}) provided, for κ=(κef,κeg)\kappa=(\kappa_{ef},\kappa_{eg}) and ∀y∈B\forall y\in B,

In this paper we extend the following concept of probabilistically fully-linear models which is proposed in .

A sequence of random models {Mk}\{M_{k}\} is said to be α\alpha-probabilistically κ\kappa-fully linear with respect to the corresponding sequence {B(Xk,Δk)}\{B(X_{k},\Delta_{k})\} if the events

where Fk−1M\mathcal{F}^{M}_{k-1} is the σ\sigma-algebra generated by M0,⋯ ,Mk−1M_{0},\cdots,M_{k-1}.

These probabilistically fully-linear models have the very simple properties that they are fully-linear (i.e., accurate enough) with sufficiently high probability, conditioned on the past, and they can be arbitrarily inaccurate otherwise. This property is somewhat different from the properties of models typical to stochastic optimization (such as, for example, stochastic gradient based models), where assumptions on the expected value and the variance of the models is imposed. We will discuss this in more detail in Section 5.

In this paper, aside from sufficiently accurate models, we require estimates of the function values f(xk)f(x_{k}), f(xk+sk)f(x_{k}+s_{k}) that are sufficiently accurate. This is needed in order to evaluate whether a step is successful, unlike the case in where the exact values f(xk)f(x_{k}) and f(xk+sk)f(x_{k}+s_{k}) are assumed to be available. The following definition of accurate estimates is a modified version of that used in .

The estimates fk0f_{k}^{0} and fksf_{k}^{s} are said to be ϵF\epsilon_{F}-accurate estimates of f(xk)f(x_{k}) and f(xk+sk)f(x_{k}+s_{k}), respectively, for a given δk\delta_{k} if

We now modify Definitions 3.2 and 3.3 and introduce definitions of probabilistically accurate models and estimates which we will use throughout the remainder of the paper.

A sequence of random models {Mk}\{M_{k}\} is said to be α\alpha-probabilistically κ\kappa-fully linear with respect to the corresponding sequence {B(Xk,Δk)}\{B(X_{k},\Delta_{k})\} if the events

where Fk−1M⋅F\mathcal{F}^{M\cdot F}_{k-1} is the σ\sigma-algebra generated by M0,⋯ ,Mk−1M_{0},\cdots,M_{k-1} and F0,⋯ ,Fk−1F_{0},\cdots,F_{k-1}.

A sequence of random estimates {Fk0,Fks}\{F_{k}^{0},F_{k}^{s}\} is said to be β\beta-probabilistically ϵF\epsilon_{F}-accurate with respect to the corresponding sequence {Xk,Δk,Sk}\{X_{k},\Delta_{k},S_{k}\} if the events

where ϵF\epsilon_{F} is a fixed constant and Fk−1/2M⋅F\mathcal{F}_{k-{1}/{2}}^{M\cdot F} is the σ\sigma-algebra generated by M0,⋯ ,MkM_{0},\cdots,M_{k} and F0,⋯ ,Fk−1F_{0},\cdots,F_{k-1}.

Using Definitions 3.4 and 3.5 we will require in our analysis that our method has access to α\alpha-probabilistically κ\kappa-fully linear models, for some fixed κ=(κef,κeg)\kappa=(\kappa_{ef},\kappa_{eg}) and to β\beta-probabilistically ϵF\epsilon_{F}-accurate estimates, for some fixed, sufficiently small ϵF\epsilon_{F}. Thus, the model and the estimate accuracy will be assumed to be proportional to δk2\delta_{k}^{2} (with some probability), the condition on the estimates is somewhat tighter because of the upper bound on ϵF\epsilon_{F}. However, we will see that this upper bound is not very small.

Procedures for obtaining probabilistically fully-linear models and probabilistically accurate estimates under different models of noise are discussed in Section 5.

Convergence Analysis

We now present first-order convergence analysis for the general framework described in Algorithm 1. Towards that end, we assume that the function ff and its gradient are Lipschitz continuous in regions considered by the algorithm realizations.

The second assumption provides a uniform upper bound on the model Hessian.

There exists a positive constant κbhm\kappa_{bhm} such that, for every kk, the Hessian HkH_{k} of all realizations mkm_{k} of MkM_{k} satisfy

Note that since we are concerned with convergence to a first order stationary point in this paper, the bound κbhm\kappa_{bhm} can be chosen to be any nonnegative number, including zero. Allowing a larger bound will give more flexibility to the algorithm and may allow better Hessian approximations, but as we will see in the convergence analysis, this imposes restrictions on the trust region radius and some other algorithmic parameters.

We now state the following result from martingale literature (see Exercise 5.3.1) that will be useful later in our analysis.

Let GkG_{k} be a submartingale, i.e., a sequence of random variables which, for every kk,

where Fk−1G=σ(G0,…,Gk−1)\mathcal{F}_{k-1}^{G}=\sigma(G_{0},\ldots,G_{k-1}) is the σ\sigma-algebra generated by G0,…,Gk−1G_{0},\ldots,G_{k-1}, and E[Gk∣Fk−1G]E[G_{k}|\mathcal{F}_{k-1}^{G}] denotes the conditional expectation of GkG_{k} given the past history of events Fk−1G\mathcal{F}_{k-1}^{G}.

Assume further that Gk−Gk−1≤M<∞G_{k}-G_{k-1}\leq M<\infty, for every kk. Then,

We now prove some auxiliary lemmas that provide conditions under which decrease of the true objective function f(x)f(x) is guaranteed. The first lemma states that if the trust region radius is small enough relative to the size of the model gradient and if the model is fully linear, then the step sks_{k} provides a decrease in f(x)f(x) proportional to the size of the model gradient. Note that the trial step may still be rejected if the estimates fk0f_{k}^{0} and fksf_{k}^{s} are not accurate enough.

Suppose that a model mkm_{k} of the form (2) is a (κef,κeg)(\kappa_{ef},\kappa_{eg})-fully linear model of ff on B(xk,δk)B(x_{k},\delta_{k}). If

then the trial step sks_{k} leads to an improvement in f(xk+sk)f(x_{k}+s_{k}) such that

Using the Cauchy decrease condition, the upper bound on model Hessian and the fact that ∥gk∥≥κbhmδk\|g_{k}\|\geq\kappa_{bhm}\delta_{k}, we have

Since the model is κ\kappa-fully linear, one can express the improvement in ff achieved by sks_{k} as

where the last inequality is implied by δk≤κfcd8κef∥gk∥\delta_{k}\leq\frac{\kappa_{fcd}}{8\kappa_{ef}}\|g_{k}\|. ∎

The next lemma shows that for δk\delta_{k} small enough relative to the size of the true gradient ∇f(xk)\nabla f(x_{k}), the guaranteed decrease in the objective function, provided by sks_{k}, is proportional to the size of the true gradient.

Under Assumption 4.3, suppose that a model is (κef,κeg)(\kappa_{ef},\kappa_{eg})-fully linear on B(xk,δk)B(x_{k},\delta_{k}). If

then the trial step sks_{k} leads to an improvement in f(xk+sk)f(x_{k}+s_{k}) such that

where C1=κfcd4⋅max⁡{κbhmκbhm+κeg,8κef8κef+κfcdκeg}.C_{1}=\frac{\kappa_{fcd}}{4}\cdot\max\left\{\frac{\kappa_{bhm}}{\kappa_{bhm}+\kappa_{eg}},\frac{8\kappa_{ef}}{8\kappa_{ef}+\kappa_{fcd}\kappa_{eg}}\right\}.

The definition of a κ\kappa-fully-linear model yields that

Since condition (11) implies that ∥∇f(xk)∥≥max⁡{κbhm+κeg,8κefκfcd+κeg}δk\|\nabla f(x_{k})\|\geq\max\left\{\kappa_{bhm}+\kappa_{eg},\frac{8\kappa_{ef}}{\kappa_{fcd}}+\kappa_{eg}\right\}\delta_{k}, we have

Hence, the conditions of Lemma 4.5 hold and we have

Since ∥gk∥≥∥∇f(x)∥−κegδk\|g_{k}\|\geq\|\nabla f(x)\|-\kappa_{eg}\delta_{k} in which δk\delta_{k} satisfies (11), we also have

We now prove the lemma that states that, if a) the estimates are sufficiently accurate, b) the model is fully-linear and c) the trust-region radius is sufficiently small relatively to the size of the model gradient, then a successful step is guaranteed.

Under Assumption 4.3, suppose that mkm_{k} is (κef,κeg)(\kappa_{ef},\kappa_{eg})-fully linear on B(xk,δk)B(x_{k},\delta_{k}) and the estimates {fk0,fks}\{f_{k}^{0},f_{k}^{s}\} are ϵF\epsilon_{F}-accurate with ϵF≤κef\epsilon_{F}\leq\kappa_{ef}. If

Since δk≤∥gk∥κbhm\delta_{k}\leq\frac{\|g_{k}\|}{\kappa_{bhm}}, the Cauchy decrease condition and the uniform bound on HkH_{k} immediately yield that

The model mkm_{k} being (κef,κeg)(\kappa_{ef},\kappa_{eg})-fully linear implies that

Since the estimates are ϵF{\epsilon}_{F}-accurate with ϵF≤κef\epsilon_{F}\leq\kappa_{ef}, we obtain

where we have used the assumption δk≤κfcd(1−η1)8κef∥gk∥\delta_{k}\leq\frac{\kappa_{fcd}(1-\eta_{1})}{8\kappa_{ef}}\|g_{k}\| to deduce the last inequality. Hence, ρk≥η1\rho_{k}\geq\eta_{1}. Moreover, since ∥gk∥≥η2δk\|g_{k}\|\geq\eta_{2}\delta_{k}, the kk-th iteration is successful. ∎

Finally, we state and prove the lemma which guarantees an amount of decrease of the objective function on a true successful iteration.

Under Assumption 4.3, suppose that the estimates {fk0,fks}\{f_{k}^{0},f_{k}^{s}\} are ϵF{\epsilon}_{F}-accurate with ϵF<14η1η2κfcdmin⁡{η2κbhm,1}{\epsilon}_{F}<\frac{1}{4}\eta_{1}\eta_{2}\kappa_{fcd}\min\left\{\frac{\eta_{2}}{\kappa_{bhm}},1\right\}. If a trial step sks_{k} is accepted (a successful iteration occurs), then the improvement in ff is bounded below as follows

where C2=12η1η2κfcdmin⁡{η2κbhm,1}−2ϵF>0C_{2}=\frac{1}{2}\eta_{1}\eta_{2}\kappa_{fcd}\min\left\{\frac{\eta_{2}}{\kappa_{bhm}},1\right\}-2\epsilon_{F}>0.

An iteration being successful indicates that ∥gk∥≥η2δk\|g_{k}\|\geq\eta_{2}\delta_{k} and ρ≥η1\rho\geq\eta_{1}. Thus,

Then, since the estimates are ϵF\epsilon_{F}-accurate, we have that the improvement in ff can be bounded as

where C2=12η1η2κfcdmin⁡{η2κbhm,1}−2ϵF>0C_{2}=\frac{1}{2}\eta_{1}\eta_{2}\kappa_{fcd}\min\left\{\frac{\eta_{2}}{\kappa_{bhm}},1\right\}-2\epsilon_{F}>0. ∎

To prove convergence of Algorithm 1 we will need to assume that models {Mk}\{M_{k}\} and estimates {Fk0,Fks}\{F_{k}^{0},F_{k}^{s}\} are sufficiently accurate with sufficiently high probability.

Given values of α,β∈(0,1)\alpha,\beta\in(0,1) and ϵF>0\epsilon_{F}>0, there exist κeg\kappa_{eg} and κef\kappa_{ef} such that the the sequence of models {Mk}\{M_{k}\} and estimates {Fk0,Fks}\{F_{k}^{0},F_{k}^{s}\} generated by Algorithm 1 are, respectively, α\alpha-probabilistically (κef,κeg)(\kappa_{ef},\kappa_{eg})- fully-linear and β\beta-probabilistically ϵF\epsilon_{F}-accurate.

Note that this assumption is a statement about the existence of constants κ=(κef,κeg)\kappa=(\kappa_{ef},\kappa_{eg}) given an α\alpha, β\beta and ϵF\epsilon_{F} - we will determine exact conditions on α\alpha, β\beta and ϵF\epsilon_{F} in Theorem 4.11 and Lemma 4.12 below.

The following theorem states that the trust-region radius converges to zero with probability 11.

Let Assumptions 4.1 and 4.3 be satisfied and assume that in Algorithm 1 the following holds.

The step acceptance parameter η2\eta_{2} is chosen so that

The accuracy parameter of the estimates satisfies

Then α\alpha and β\beta can be chosen so that, if Assumption 4.9 holds for these values, then the sequence of trust-region radii, {Δk}\{\Delta_{k}\}, generated by Algorithm 1 satisfies

We base our proof on properties of the random function Φk=νf(Xk)+(1−ν)Δk2\Phi_{k}=\nu f(X_{k})+(1-\nu)\Delta_{k}^{2}, where ν∈(0,1)\nu\in(0,1) is a fixed constant, which is specified below. A similar function is used in the analysis in , but the analysis itself is different. The overall goal is to show that there exists a constant σ>0\sigma>0 such that for all kk

Since ff is bounded from below and Δk>0\Delta_{k}>0, we have that Φk\Phi_{k} is bounded from below for all kk and hence if (24) holds on every iteration, then by summing (24) over k∈(1,∞)k\in(1,\infty) and taking expectations on both sides we can conclude that (23) holds with probability 11. Hence, to prove the theorem we need to show that (24) holds on each iteration.

Let us pick some constant ζ\zeta which satisfies

We now consider two possible cases: ∥∇f(xk)∥≥ζδk\|\nabla f(x_{k})\|\geq\zeta\delta_{k} and ∥∇f(xk)∥<ζδk\|\nabla f(x_{k})\|<\zeta\delta_{k}. We will show that (24) holds in both cases and hence it holds on every iteration. Given ζ\zeta we now select ν∈(0,1)\nu\in(0,1) such that

As usual, let xkx_{k}, δk\delta_{k}, sks_{k}, gkg_{k}, and ϕk\phi_{k} denote realizations of random quantities XkX_{k}, Δk\Delta_{k}, SkS_{k}, GkG_{k}, and Φk\Phi_{k}, respectively.

Let us consider some realization of Algorithm 1. Note that on all successful iterations, xk+1=xk+skx_{k+1}=x_{k}+s_{k} and δk+1=min⁡{γδk,δmax}\delta_{k+1}=\min\{\gamma\delta_{k},\delta_{max}\} with γ>1\gamma>1, hence

On all unsuccessful iterations, xk+1=xkx_{k+1}=x_{k} and δk+1=1γδk\delta_{k+1}=\frac{1}{\gamma}\delta_{k}, i.e.

For each iteration and each of the two cases we consider, we will analyze the four possible combined outcomes of the events IkI_{k} and JkJ_{k} as defined in (7) and (8), respectively.

Before presenting the formal proof let us outline the key ideas. We will show that, unless both the model and the estimates are bad on iteration kk, we select ν∈(0,1)\nu\in(0,1) sufficiently close to 11, so that the decrease in ϕk\phi_{k} on a successful iteration is greater than the decrease on an unsuccessful iteration (which is equal to b1b_{1}, according to (28)). When the model and the estimates are both bad, an increase in ϕk\phi_{k} may occur. This increase is bounded by a value proportional to δk2\delta_{k}^{2} when ∥∇f(xk)∥<ζδk\|\nabla f(x_{k})\|<\zeta\delta_{k}. When ∥∇f(xk)∥≥ζδk\|\nabla f(x_{k})\|\geq\zeta\delta_{k}, though, the increase in ϕk\phi_{k} may be proportional to ∥∇f(xk)∥δk\|\nabla f(x_{k})\|\delta_{k}. However, since iterations with good models and good estimates will provide decrease in ϕk\phi_{k} also proportional to ∥∇f(xk)∥δk\|\nabla f(x_{k})\|\delta_{k}, by choosing values of α\alpha and β\beta close enough to 1, we can ensure that in expectation ϕk\phi_{k} decreases.

IkI_{k} and JkJ_{k} are both true, i.e., both the model and the estimates are good on iteration kk. From the definition of ζ\zeta, we know

Then since the model mkm_{k} is κ\kappa-fully linear and, from η2>κbhm\eta_{2}>\kappa_{bhm}, ϵF≤κef{\epsilon}_{F}\leq\kappa_{ef} and 0<η1<10<\eta_{1}<1, it is easy to show that the condition (11) in Lemma 4.6 holds. Therefore, the trial step sks_{k} leads to a decrease in ff as in (12).

and the estimates {fk0,fks}\{f_{k}^{0},f_{k}^{s}\} are ϵF{\epsilon}_{F}-accurate, with ϵF≤κef{\epsilon}_{F}\leq\kappa_{ef}, the condition (15) in Lemma 4.7 holds. Hence, iteration kk is successful, i.e. xk+1=xk+skx_{k+1}=x_{k}+s_{k} and δk+1=γδk\delta_{k+1}=\gamma\delta_{k}.

with C1C_{1} defined in Lemma 4.6. Since ∥∇f(xk)∥≥ζδk\|\nabla f(x_{k})\|\geq\zeta\delta_{k} we have

IkI_{k} is true and JkJ_{k} is false, i.e., we have a good model and bad estimates on iteration kk.

In this case, Lemma 4.6 still holds, that is sks_{k} yields a sufficient decrease in ff, hence, if the iteration is successful, we obtain (29) and (30). However, the step can be erroneously rejected, because of inaccurate probabilistic estimates, in which case we have an unsuccessful iteration and (28) holds. Since (26) holds the right hand side of the first relation in (30) is strictly smaller than the right hand side of the first relation in (28) and therefore, (28) holds whether the iteration is successful or not.

IkI_{k} is false and JkJ_{k} is true, i.e., we have a bad model and good estimates on iteration kk. In this case, iteration kk can be either successful or unsuccessful. In the unsuccessful case (28) holds. When the iteration is successful, since the estimates are ϵF{\epsilon}_{F}-accurate and (22) holds then by Lemma 4.8 (20) holds with C2≥14η1η2κfcdC_{2}\geq\frac{1}{4}\eta_{1}\eta_{2}\kappa_{fcd}. Hence, in this case we have

Again, due to the choice of ν\nu satisfying (26) we have that, as in case (b), (28) holds whether the iteration is successful or not.

IkI_{k} and JkJ_{k} are both false, i.e., both the model and the estimates are bad on iteration kk.

Inaccurate estimates can cause the algorithm to accept a bad step, which may lead to an increase both in ff and in δk\delta_{k}. Hence in this case ϕk+1−ϕk\phi_{k+1}-\phi_{k} may be positive. However, combining the Taylor expansion of f(xk)f(x_{k}) at xk+skx_{k}+s_{k} and the Lipschitz continuity of ∇f(x)\nabla f(x) we can bound the amount of increase in ff, hence bounding ϕk+1−ϕk\phi_{k+1}-\phi_{k} from above. By adjusting the probability of outcome (d) to be sufficiently small, we can ensure that in expectation Φk\Phi_{k} is sufficiently reduced.

In particular, from Taylor’s Theorem and Lipschitz continuity of ∇f(x)\nabla f(x) we have, respectively,

From this we can derive that any increase of f(xk)f(x_{k}) is bounded by

where C3=1+3L2ζC_{3}=1+\frac{3L}{2\zeta}. Hence, the change in function ϕ\phi is bounded:

Now we are ready to take the expectation of Φk+1−Φk\Phi_{k+1}-\Phi_{k} for the case when ∥∇f(Xk)∥≥ζΔk\|\nabla f(X_{k})\|\geq\zeta\Delta_{k}. We know that case (a) occurs with a probability at least αβ\alpha\beta (conditioned on the past) and in that case ϕk+1−ϕk=b2<0\phi_{k+1}-\phi_{k}=b_{2}<0 with b2b_{2} defined in (29). Case (d) occurs with probability at most (1−α)(1−β)(1-\alpha)(1-\beta) and that case ϕk+1−ϕk\phi_{k+1}-\phi_{k} is bounded from above by b3>0b_{3}>0. Cases (b) and (c) occur otherwise and in those cases ϕk+1−ϕk\phi_{k+1}-\phi_{k} is bounded from above by b1<0b_{1}<0, with b1b_{1} defined in (28). Finally we note that b1>b2b_{1}>b_{2} due to our choice of ν\nu.

Hence, we can combine (28), (29), (31), and (32), and use B1B_{1}, B2B_{2}, and B3B_{3} as random counterparts of b1b_{1}, b2b_{2}, and b3b_{3}, to obtain the following bound

where the last inequality holds because αβ−1γ2(α(1−β)+(1−α)β)+(1−α)(1−β)≤[α+(1−α)][(β+(1−β)]=1.\alpha\beta-\frac{1}{\gamma^{2}}(\alpha(1-\beta)+(1-\alpha)\beta)+(1-\alpha)(1-\beta)\leq[\alpha+(1-\alpha)][(\beta+(1-\beta)]=1.

Let us choose 0<α≤10<\alpha\leq 1 and 0<β≤10<\beta\leq 1 so that they satisfy

where the last inequality is the result of (26). It is important to note that the quantity 12\frac{1}{2} in the numerator of (33) is chosen so that the first inequality of the above expression holds. This quantity can be made arbitrarily small, and with appropriate adjustment to (26) one can have

where θ1\theta_{1} is positive and arbitrarily close to zero and θ2>1\theta_{2}>1 and arbitrarily close to one. We will return to this comment in a later remark, but for the sake of simplicity, we choose θ1=12\theta_{1}=\frac{1}{2} and θ2=2\theta_{2}=2.

Recall that ∥∇f(Xk)∥≥ζΔk\|\nabla f(X_{k})\|\geq\zeta\Delta_{k}, hence

For the purposes of this lemma and the liminf-type convergence result, which will follow, bound (35) is sufficient. We will use bound (34) in the proof of the lim⁡\lim-type convergence result.

First we note that if ∥gk∥<η2δk\|g_{k}\|<\eta_{2}\delta_{k}, then we have an unsuccessful step and (28) holds. Hence, we now assume that ∥gk∥≥η2δk\|g_{k}\|\geq\eta_{2}\delta_{k} and again consider four possible outcomes. We will show that in all situations, except when both the model and the estimates are bad, (28) holds. In the remaining case, because ∥∇f(xk)∥<ζδk\|\nabla f(x_{k})\|<\zeta\delta_{k} the increase in ϕk\phi_{k} can be bounded from above by a multiple of δk2\delta_{k}^{2}. Hence by selecting appropriate values for probabilities α\alpha and β\beta we will be able to establish the bound on expected decrease in Φk\Phi_{k} as in Case 1.

IkI_{k} and JkJ_{k} are both true, i.e., both the model and the estimates are good on iteration kk.

The iteration may or may not be successful, even though IkI_{k} is true. On successful iteration good model ensures reduction in ff. Applying the same argument as in the case 1(c) we establish (28).

IkI_{k} is true and JkJ_{k} is false, i.e., we have a good model and bad estimates on iteration kk.

On unsuccessful iterations, (28) holds. On successful iterations, ∥gk∥≥η2δk\|g_{k}\|\geq\eta_{2}\delta_{k} and η2≥κbhm\eta_{2}\geq\kappa_{bhm} imply that

Since IkI_{k} is true, the model is κ\kappa-fully-linear, and the function decrease can be bounded as

It follows that, if kk-th iterate is successful, then

Again by choosing ν∈(0,1)\nu\in(0,1) so that (26) holds, we ensure that right hand side of (36) is strictly smaller than that of (28), hence (28) holds, whether the iteration is successful or not.

Remark: η2\eta_{2} may need to be a relatively large constant to satisfy (21). This is due to the fact that the model has to be sufficiently accurate to ensure decrease in the function if a step is taken, since the step is accepted based on poor estimates. Note that η2\eta_{2} restricts the size of Δk\Delta_{k}, which is used both as a bound on the step size and the control of the accuracy. In general it is possible to have two separate quantities (related by a constant) - one to control the step size and another to control the accuracy. Hence, it is possible to modify our algorithm to accept steps larger than ∥gk∥/η2\|g_{k}\|/\eta_{2}. This will make the algorithm more practical, but the analysis much more complex. In this paper, we choose to stay with the simplest version, but keep in mind that the condition (26) is not terminally restrictive.

IkI_{k} is false and JkJ_{k} is true, i.e., we have a bad model and good estimates on iteration kk.

This case is analyzed identically to the case 1(c).

IkI_{k} and JkJ_{k} are both false, i.e., both the model and the estimates are bad on iteration kk.

Here we bound the maximum possible increase in ϕk\phi_{k} using the Taylor expansion and the Lipschitz continuity of ∇f(x)\nabla f(x).

We are now ready to bound the expectation of ϕk+1−ϕk\phi_{k+1}-\phi_{k} as we did in Case 1, except that in Case 2 we simply combine (37), which holds with probability at most (1−α)(1−β)(1-\alpha)(1-\beta) and (28) which holds otherwise.

if we choose probabilities 0<α≤10<\alpha\leq 1 and 0<β≤10<\beta\leq 1 so that the following holds,

In conclusion, combining (35) and (39), and noting that 1−1γ2<γ2−11-\frac{1}{\gamma^{2}}<\gamma^{2}-1 we have

which implies, that (24) holds with σ=−12(1−ν)(1−1γ2−1)<0\sigma=-\frac{1}{2}(1-\nu)(1-\frac{1}{\gamma^{2}}-1)<0. This concludes the proof of the theorem.

To summarize the conditions on the probabilities involved in Theorem 4.11 to ensure that the theorem holds, we state the following additional lemma.

Let all assumptions of Theorem 4.11 hold. The statement of Theorem 4.11 holds if the α\alpha and β\beta are chosen to satisfy the following conditions:

with C1=κfcd4⋅max⁡{κbhmκbhm+κeg,8κef8κef+κfcdκeg}C_{1}=\frac{\kappa_{fcd}}{4}\cdot\max\left\{\frac{\kappa_{bhm}}{\kappa_{bhm}+\kappa_{eg}},\frac{8\kappa_{ef}}{8\kappa_{ef}+\kappa_{fcd}\kappa_{eg}}\right\} and ζ=κeg+η2.\zeta=\kappa_{eg}+\eta_{2}.

The proof follows simply from combining expression for C3C_{3} and condition (26) with (33) and (38).

Clearly, choosing α\alpha and β\beta sufficiently close to 11 will satisfy this condition.

We will briefly illustrate through a simple example how these algorithmic parameters scale with problem data.

Recall that LL is the Lipschitz constant of the gradient of ff and of ff over Lenl(x0){\cal L}_{enl}(x^{0}). It is reasonable to expect that κef\kappa_{ef} and κeg\kappa_{eg} are quantities that scale with LL, since Taylor models satisfy this condition, as do polynomial interpolation and regression models based on well-poised data sets . Let us assume for the sake of an example that κef=κeg=10L\kappa_{ef}=\kappa_{eg}=10L. The bound on model Hessians κbhm\kappa_{bhm} can be chosen to be arbitrarily small, at the expense of limiting the class of models, however, it is clearly reasonable to choose it as something that scales with LL, if this information is available. Let us assume that κbhm=10L\kappa_{bhm}=10L, as well. In a standard trust region method, a common choice of algorithmic parameters would use κfcd=12\kappa_{fcd}=\frac{1}{2}, γ=2\gamma=2, and η1=12\eta_{1}=\frac{1}{2}.

The reader can easily verify that with these parameter choices and previous assumptions, Lemma 4.12 states that we must choose η2≥32L\eta_{2}\geq 32L. The intermediate constants satisfy ζ≥42L\zeta\geq 42L and C1=217C_{1}=\frac{2}{17}. Without loss of generality, we will simply accept ζ=42L\zeta=42L.

From observing that, given the above values of the constants,

We note that as η1\eta_{1} and κfcd\kappa_{fcd} constants are driven closer to 11, the constant 440440 can be reduced by up to a factor of 44.

Supposing that κef,κeg\kappa_{ef},\kappa_{eg}, and κbhm\kappa_{bhm} scale linearly with LL, then η2\eta_{2}, ϵF\epsilon_{F}, and the expressions relating to α\alpha and β\beta in Corollary 4.12 are all functions in LL satisfying

where we use the notation Θ(⋅)\Theta(\cdot) to indicate the O(⋅)O(\cdot) relationship with moderate constants.

Recall our remark made earlier in Theorem 4.11, case 2b, on how η2\eta_{2} bounds our step sizes. Indeed, if η2≥Θ(L)\eta_{2}\geq\Theta(L) has to be imposed this may force the algorithm to take small step sizes throughout. However, as mentioned earlier, the analysis of Theorem 4.11 can be modified by introducing a tradeoff between the size of η2\eta_{2} and the accuracy parameters ϵF\epsilon_{F} and κef\kappa_{ef} (as both of these constant parameters can be made smaller). It also may be advantageous to choose η2\eta_{2} dynamically. Exploring this is a subject for future work. In the practical implementations that we will discuss in Section 6, we do not make use of the algorithmic parameter η2\eta_{2} at all, and so even though η2\eta_{2} is effectively arbitrarily close to , the algorithm still works.

Note that if β=0\beta=0, then Δk→0\Delta_{k}\to 0 for any positive value of α\alpha, which is the case shown in , since, as we pointed earlier, condition (33) can be restated with 12\frac{1}{2} replaced by an arbitrary small positive value.

1 The liminf-type convergence

We are ready to prove a liminf-type first-order convergence result, i.e., that a subsequence of the iterates drive the gradient of the objective function to zero. The proof follows closely that in , the key difference being the assumption on the function estimates that are needed to ensure that a good step gets accepted by Algorithm 1.

Let the assumptions of Theorem 4.11 and Lemma 4.12 hold. Suppose additionally that αβ≥12\alpha\beta\geq\frac{1}{2}. Then the sequence of random iterates generated by Algorithm 1, {Xk}\{X_{k}\}, almost surely satisfies

We prove this result by contradiction conditioned on the almost sure event Δk→0\Delta_{k}\rightarrow 0. Let us thus assume that there exists ϵ′\epsilon^{\prime} such that, with positive probability, we have

Let {xk}\{x_{k}\} and {δk}\{\delta_{k}\} be realizations of {Xk}\{X_{k}\} and {Δk}\{\Delta_{k}\}, respectively for which ∥∇f(xk)∥≥ϵ′,∀k.\|\nabla f(x_{k})\|\geq\epsilon^{\prime},\quad\forall k. Since lim⁡k→∞δk=0\lim\limits_{k\to\infty}\delta_{k}=0 (because we conditioned on Δk→0\Delta_{k}\rightarrow 0), there exists k0k_{0} such that for all k≥k0k\geq k_{0},

We define a random variable RkR_{k} with realizations rk=log⁡γ(δkb)r_{k}=\log_{\gamma}\left(\dfrac{\delta_{k}}{b}\right). Then for the realization {rk}\{r_{k}\} of {Rk}\{R_{k}\}, rk<0r_{k}<0 for k≥k0k\geq k_{0}. The main idea of the proof is to show that such realizations occur only with probability zero, hence obtaining a contradiction with the initial assumption of ∥∇f(xk)∥≥ϵ′\|\nabla f(x_{k})\|\geq\epsilon^{\prime} ∀k\forall k.

We first show that RkR_{k} is a submartingale. Recall the events IkI_{k} and JkJ_{k} in Definitions 3.4 and 3.5. Consider some iterate k≥k0k\geq k_{0} for which IkI_{k} and JkJ_{k} both occur, which happens with probability P(Ik∩Jk)≥αβP(I_{k}\cap J_{k})\geq\alpha\beta. Since (48) holds we have exactly the same situation as in Case 1(a) in the proof of Theorem 4.11. In other words, we can apply Lemmas 4.6 and 4.7 to conclude that the kk-th iteration is successful, hence, the trust-region radius is increased. In particular, since δk≤δmax⁡γ\delta_{k}\leq\frac{\delta_{\max}}{\gamma}, δk+1=γδk\delta_{k+1}=\gamma\delta_{k}. Consequently, rk+1=rk+1r_{k+1}=r_{k}+1.

Let Fk−1I⋅J=σ(I0,⋯ ,Ik−1)∩σ(J0,⋯ ,Jk−1)\mathcal{F}_{k-1}^{I\cdot J}=\sigma({I_{0}},\cdots,{I_{k-1}})\cap\sigma({J_{0}},\cdots,J_{k-1}). For all other outcomes of IkI_{k} and JkJ_{k}, which occur with total probability of at most 1−αβ1-\alpha\beta, we have δk+1≥γ−1δk\delta_{k+1}\geq\gamma^{-1}\delta_{k}. Hence

as long as αβ≥1/2\alpha\beta\geq 1/2, which implies that RkR_{k} is a submartingale.

Now let us construct another submartingale WkW_{k}, on the same probability space as RkR_{k} which will serve as a lower bound on RkR_{k} and for which {lim⁡sup⁡k→∞ Wk=∞}\left\{\underset{k\to\infty}{\lim\sup}\ W_{k}=\infty\right\} holds almost surely. Define indicator random variables 1Ik\textbf{1}_{I_{k}} and 1Jk\textbf{1}_{J_{k}} such that 1Ik=1\textbf{1}_{I_{k}}=1 if IkI_{k} occurs, 1Ik=0\textbf{1}_{I_{k}}=0 otherwise, and similarly, 1Jk=1\textbf{1}_{J_{k}}=1 if JkJ_{k} occurs, 1Jk=0\textbf{1}_{J_{k}}=0 otherwise. Then define

Notice that WkW_{k} is a submartingale since

where the last inequality holds because αβ≥1/2\alpha\beta\geq 1/2. Since WkW_{k} only has ±1\pm 1 increments, it has no finite limit. Therefore, by Theorem 4.4, we have {lim⁡sup⁡k→∞ Wk=∞}\left\{\underset{k\to\infty}{\lim\sup}\ W_{k}=\infty\right\}.

By the construction of RkR_{k} and WkW_{k}, we know that rk−rk0≥wk−wk0r_{k}-r_{k_{0}}\geq w_{k}-w_{k_{0}}. Therefore, RkR_{k} has to be positive infinitely often with probability one. This implies that the sequence of realizations rkr_{k} such that rk<0r_{k}<0 for k≥k0k\geq k_{0} occurs with probability zero. Therefore our assumption that ∥∇f(Xk)∥≥ϵ′\|\nabla f(X_{k})\|\geq\epsilon^{\prime} hold for all kk with positive probability is false and

2 The lim-type convergence

In this subsection we show that lim⁡k→∞∥∇f(Xk)∥=0\lim_{k\to\infty}\|\nabla f(X_{k})\|=0 almost surely.

We now state an auxiliary lemma, which is similar to the one in , but requires a different proof because in our case the function values f(Xk)f(X_{k}) can increase with kk, while in the case considered in , function values are monotonically nonincreasing.

Let the same assumptions that were made in Theorem 4.16 hold. Let {Xk}\{X_{k}\} and {Δk}\{\Delta_{k}\} be sequences of random iterates and random trust-region radii generated by Algorithm 1. Fix ϵ>0\epsilon>0 and define the sequence {Kϵ}\left\{K_{\epsilon}\right\} consisting of the natural numbers kk for which ∥∇f(Xk)∥>ϵ\|\nabla f(X_{k})\|>\epsilon (note that KϵK_{\epsilon} is a sequence of random variables). Then,

From Theorem 4.11 we know that ∑Δk2<∞\sum\Delta_{k}^{2}<\infty and hence Δk→0\Delta_{k}\to 0 almost surely. For each realization of Algorithm 1 and a sequence {δk}\{\delta_{k}\}, there exists k0k_{0} such that δk≤ϵ/ζ\delta_{k}\leq\epsilon/\zeta, ∀k≥k0\forall k\geq k_{0}, where ζ\zeta is defined as in Theorem 4.11. Let K0K_{0} be the random variable with realization k0k_{0} and let KK denote the sequence of indices kk such that k∈Kϵk\in K_{\epsilon} and k≥K0k\geq K_{0}. Then for all k∈Kk\in K, Case 1 of Theorem 4.11 holds, i.e., ∥∇f(Xk)∥≥ζΔk\|\nabla f(X_{k})\|\geq\zeta\Delta_{k}, since ∥∇f(Xk)∥≥ϵ\|\nabla f(X_{k})\|\geq\epsilon for all k∈Kk\in K. From this and from (34) we have

Recall that Φk\Phi_{k} is bounded from below. Hence, summing up the above inequality for all k∈Kk\in K and taking the expectation, we have that

almost surely. Since Kϵ⊆K∪{k≤K0}K_{\epsilon}\subseteq K\cup\{k\leq K_{0}\} and K0K_{0} is finite almost surely then the statement of the lemma holds. ∎

We are now ready to state the lim⁡\lim-type result.

Let the same assumptions as in Theorem 4.16 hold. Let {Xk}\{X_{k}\} be a sequence of random iterates generated by Algorithm 1. Then, almost surely,

The proof of this result, is almost identical to the proof of the same theorem in hence we will not present the proof here. The key idea of the proof is to show that if the theorem does not hold, then with positive probability

with KϵK_{\epsilon} defined as in Lemma 4.17. This result is shown using Lipschitz continuity of the gradient and does not depend on the stochastic nature of the algorithm. Since this result contradicts the almost sure result of Lemma 4.17, we can conclude that the statement of the theorem holds almost surely.

Constructing models and estimates in different stochastic settings.

We now discuss various settings of stochastic noise in the objective function and how α\alpha-probabilistically κ\kappa-fully linear models and β\beta-probabilistically ϵF\epsilon_{F}-accurate estimates can be obtained in these settings.

where ω\omega is a random variable which induces the noise.

The example of noise which is typically considered in stochastic optimization is the “i.i.d.” noise, that is noise with distribution independent of the function values. Here we consider a somewhat more general setting, where the noise is unbiased for all ff, i.e.,

This is the typical noise assumption in stochastic optimization literature. In the case of unbiased noise as above, constructing estimates and models that satisfy our assumptions is fairly straight-forward. First, let us consider the case when only the noisy function values are available (without any gradient information), where we want to construct a model that is κ\kappa-fully linear in a given trust region B(x0,δ)B(x^{0},\delta) with some reasonably large probability, α\alpha.

One can employ standard sample averaging approximation techniques to reduce the variance of the function evaluations. In particular, let fˉp(x,ω)=1p∑i=1pf(x,ωi)\bar{f}_{p}(x,\omega)=\frac{1}{p}\sum_{i=1}^{p}{f}(x,\omega_{i}), where ωi\omega_{i} are the i.i.d. realizations of the noise ω\omega. Then, by Chebyshev inequality, for any v>0v>0,

In particular, we want v=κef′δ2v=\kappa^{\prime}_{ef}\delta^{2} for some κef′>0\kappa^{\prime}_{ef}>0 and Vpv2≤1−α′\frac{V}{pv^{2}}\leq 1-\alpha^{\prime} for some α′\alpha^{\prime}, which can be ensured by choosing p≥V(κef′)2(1−α′)δ4p\geq\frac{V}{(\kappa^{\prime}_{ef})^{2}(1-\alpha^{\prime})\delta^{4}}.

We now construct a fully linear model as follows: given a well-poised setSee for details on well-poised sets and how they can be obtained. YY of n+1n+1 points in B(x0,δ)B(x^{0},\delta), at each point yi∈Yy^{i}\in Y, we compute fˉp(yi,ω)\bar{f}_{p}(y^{i},\omega) and build a linear interpolation model m(x)m(x) such that m(yi)=fˉp(yi,ω)m(y^{i})=\bar{f}_{p}(y^{i},\omega), for all i=1,…,n+1i=1,\ldots,n+1. Hence, for any yi∈Yy^{i}\in Y, we have

Moreover, the events {∣m(yi)−f(yi)]∣>κef′δ2}\{|m(y^{i})-f(y^{i})]|>\kappa^{\prime}_{ef}\delta^{2}\} are independent, hence

It is easy to show using, for example, techniques described in , that m(x)m(x) is a κ\kappa-fully linear model of Eω[f(x,ω)]E_{\omega}[{f}(x,\omega)] in B(x0,δ)B(x^{0},\delta) for appropriately chosen κ=(κeg,κef)\kappa=(\kappa_{eg},\kappa_{ef}), with probability at least α=(α′)n+1\alpha=(\alpha^{\prime})^{n+1}.

Computing the β\beta-probabilistically ϵF\epsilon_{F}-accurate estimates of f(x,ω)f(x,\omega) can be done analogously to the construction of the models described above.

The majority of stochastic optimization and sample average approximation methods focus on derivative based optimization where it is assumed that, in addition to f(x,ω)f(x,\omega), ∇xf(x,ω)\nabla_{x}f(x,\omega) is also available, and that the noise in the gradient computation is also independent of xx, that is

(in general the variance of the gradient and the function value are not the same, but here for simplicity we bound both by VV).

In the case when the noisy gradient values are available, the construction of fully linear models in B(x0,δ)B(x^{0},\delta) is simpler. Let ∇ˉfp(x,ω)=1p∑i=1p∇f(x,ωi)\bar{\nabla}{f}_{p}(x,\omega)=\frac{1}{p}\sum_{i=1}^{p}{\nabla f}(x,\omega_{i}). Again, by extension of Chebychev inequality, for pp such that

Hence the linear expansion m(x)=fˉp(x0,ω)+∇ˉfp(x0,ω)T(x−x0)m(x)=\bar{f}_{p}(x^{0},\omega)+\bar{\nabla}f_{p}(x^{0},\omega)^{T}(x-x^{0}) is a κ\kappa-fully linear model of f(x)=Eω[f(x,ω)]f(x)=E_{\omega}[{f}(x,\omega)] on B(x0,δ)B(x^{0},\delta) for appropriately chosen κ=(κeg,κef)\kappa=(\kappa_{eg},\kappa_{ef}), with probability at least α=(α′)2\alpha=(\alpha^{\prime})^{2}.

In it is shown that least squares regression models based on sufficiently large strongly poised sample sets are α\alpha-probabilistically κ\kappa-fully linear models.

There are many existing methods and convergence results using sample average approximations and stochastic gradients for stochastic optimization with i.i.d. or unbiased noise. Some of these methods have been shown to achieve optimal sampling rate , that is they converge to the optimal solution while sampling the gradient at the best possible rate. We do not provide convergence rates in this paper (it is a subject for future research), hence it remains to be seen if our algorithm can achieve the optimal rate. Our contribution here is the method which applies beyond the i.i.d. case, as we will discuss below. In Section 6, however, we demonstrate that our method can have superior numerical behavior compared to standard sample averaging even in the case of the i.i.d. noise, so it is at least competitive in practice.

Function computation failures.

Another example is solving a system of nonlinear black-box equations. Assume that we seek xx such that ∑i(fi(x))2=0\sum_{i}(f_{i}(x))^{2}=0, for some functions fi(x)f_{i}(x), i=1,…,mi=1,\ldots,m that are computed by numerical simulation, with noise. As is often done in practice (and is supported by our theory) the noise in the function computation is reduced as the algorithm progresses, for example, by reducing the size of a discretization, step size, or convergence tolerance within the black-box computation. These adjustments for noise reduction usually increase the workload of the simulation. With the increase of the workload, there is an increased probability of failure of the code. Hence, the smaller the values of fi(x)f_{i}(x), the more likely the computation of fi(x)f_{i}(x) will fail and some inaccurate value is returned.

where σ(x)\sigma(x) is the probability with which the function f(x)f(x) is computed inaccurately, and ω(x)\omega(x) is some random function of xx, for which only an upper bound VV is known. This case is idealized, because we assume that with probability 1−σ(x)1-\sigma(x), f(x)f(x) is computed exactly. It is trivial to extend this example to the case when f(x)f(x) is computed with an error, but this error can be made sufficiently small.

For this model of function computation failures we have

and it is clear, that for any σ(x)>0\sigma(x)>0, unless E[ω(x)]≡some constantE[\omega(x)]\equiv\text{some constant}, optimizing Eω[f(x,ω)]E_{\omega}[{f}(x,\omega)] does not give the same result as optimizing f(x)f(x). Hence applying Monte-Carlo sampling within an optimization algorithm solving this problem is not a correct approach.

We now observe that constructing α\alpha-probabilistically κ\kappa-fully linear models and β\beta-probabilistically ϵF\epsilon_{F}-accurate estimates is trivial in this case, assuming that σ(x)≤σ\sigma(x)\leq\sigma for all xx, when σ\sigma is small enough. In particular, given a trust region B(x0,δ)B(x^{0},\delta), sampling a function f(x)f(x) on a sample set Y⊂B(x0,δ)Y\subset B(x^{0},\delta) well-poised for linear interpolation will produce a κ\kappa-fully linear model in B(x0,δ)B(x^{0},\delta) with probability at least (1−σ)∣Y∣(1-\sigma)^{|Y|}, since with this probability all of the function values are computed exactly. Similarly, for any s∈B(x0,δ)s\in B(x^{0},\delta), the function estimates F0F^{0} and FsF^{s} are both correct with probability at least (1−σ)2(1-\sigma)^{2}. Assuming that (1−σ)∣Y∣≥α(1-\sigma)^{|Y|}\geq\alpha and (1−σ)2≥β(1-\sigma)^{2}\geq\beta, where α\alpha and β\beta satisfy the assumptions of Theorem 4.11 and Lemma 4.12 and αβ≥12\alpha\beta\geq\frac{1}{2} as in Theorem 4.16, we observe that the resulting models satisfy our theory.

We assume here that the probability of failure to compute f(x)f(x) is small enough for all xx. In the machine learning example above, it is often possible to control the probability σ(x)\sigma(x) in the computation of f(x)f(x), for example by increasing the number of iterations of a randomized coordinate descent or stochastic gradient method. In the case of the black-box nonlinear equation solver, the probability of code failure is expected to be quite small. There are, however, examples of black box optimization problems where the computation of f(x)f(x) fails all the time for specific values of xx. This is often referred to as hidden constraints . Clearly our theory does not apply here, but we believe there is no local method that can provably converge to a local minimizer in such a setting without additional information about these specific values of xx.

Computational Experiments

In this section, we will discuss the performance of several variants of our proposed method (varied in the way the models are constructed), henceforth only referred to as STORM (STochastic Optimization using Random Models), that target various noisy situations discussed in the previous section. We note that a comparison of STORM to the SPSA method of and the classical Kiefer-Wolfowitz method in has been reported in and shows that STORM significantly outperformed these two methods, while no special tuning of SPSA or Kiefer-Wolfowitz was applied. Since a trust-region based method, which is able to use second order information is likely to outperform stochastic gradient-like methods in many settings, we omit such comparison here.

Throughout this section, all proposed algorithms were implemented in Matlab and all experiments were performed on a laptop computer running Ubuntu 14.04 LTS with an Intel Celeron 2955U @ 1.40GHz dual processor.

In these experiments, we used a set of 53 unconstrained problems adapted from the CUTEr test set, each being in the form of a sum of squares problem, i.e.

where for each i∈{1,…,m}i\in\{1,\dots,m\}, fi(x)f_{i}(x) is a smooth function. Two different types of noise will be used in this first subsection, which we will refer to as multiplicative noise and additive noise. In the multiplicative noise case, for each i∈{1,…,m}i\in\{1,\dots,m\}, we generate some ωi\omega_{i} from the uniform distribution on [−σ,σ][-\sigma,\sigma] for some parameter σ>0\sigma>0, and then compute the noisy function

The other type of noise we will test is additive, i.e. we additively perturb each component in (49) by some ωi\omega_{i} uniformly generated in [−σ,σ][-\sigma,\sigma] for some parameter σ>0\sigma>0. That is,

Note that the noise is additive only in terms of the component functions, but not in terms of the objective function, moreover Eω[f(x,ω)]=f(x)+∑imE(ωi)2E_{\omega}[f(x,\omega)]=f(x)+\sum_{i}^{m}E(\omega_{i})^{2}. However, the constant bias term does not affect optimization results, since min⁡xEω[f(x,ω)]=min⁡xf(x)\min_{x}E_{\omega}[f(x,\omega)]=\min_{x}f(x).

In our first set of experiments for these two noisy settings, we compare a version of STORM to a version of sample average based trust region algorithms, which we will call “TR-SAA”, and which is similar to a trust-region algorithm presented in . Similar method, with convergence guarantees, has been recently proposed in . In their work, they use a Bayesian scheme to select a sufficiently large sample complexity for computing average function values at a current interpolation set. Here, in TR-SAA, we simplify this approach, by increasing sample complexity in each iteration proportionally to the decrease of the trust region radius δk\delta_{k}. A description of TR-SAA is given in Algorithm 2 in the Appendix.

There are two particular aspects of TR-SAA that we would like to draw attention to: in the estimate calculation step, the computation of fk0f_{k}^{0} is performed before the model mkm_{k} is constructed, and mkm_{k} is built to interpolate fk0f_{k}^{0}, hence the quality of estimate fk0f_{k}^{0} and that of the model mkm_{k} are dependent. Additionally, the quality of the model mkm_{k} is dependent on that of mk−1m_{k-1} because the samples are reused. Both of these aspects are violations of the typical assumptions of STORM. Thus, we also propose TR-SAA-resample, which is the same algorithm as TR-SAA except that at each iteration, the function value at every interpolation point is recomputed as an average of function evaluations, independent of past function evaluations. While TR-SAA-resample may overcome some of the problems of the dependence of mkm_{k} on mk−1m_{k-1}, it still doesn’t satisfy the assumptions of STORM because of the dependence of fk0f_{k}^{0} on mkm_{k}.

Thus, in Algorithm 3, stated in the Appendix, we propose a version of STORM, comparable to TR-SAA in terms of sample sizes. In Algorithm 3, the models mkm_{k} and mk−1m_{k-1} are entirely independent since a new regression set is drawn in each iteration. Additionally, in the estimates calculation step, the computations of fk0f_{k}^{0} and fksf_{k}^{s} are completely independent of the model mkm_{k}. For these reasons, Algorithm 3 is more in line with the theory analyzed in this paper than a sample average approximation scheme like in Algorithm 2.

For each of the 53 problems, the best known value of the noiseless f(x)f(x) obtained by a solver is recorded as f∗f^{*}. We recorded the number of function evaluations required by a solver to obtain a function value f(xk)<f′f(x^{k})<f^{\prime} such that

This number was averaged over 10 runs for each problem. In the profiles shown in Figure (1) for the multiplicative noise case τ=10−3\tau=10^{-3}. In all the experiments, a budget of 1000(n+1)1000(n+1) noisy function evaluations was set. For the choice of initialization, the same parameters were used in all of TR-SAA, TR-SAA-resample, and STORM-unbiased: δmax⁡=10,δ0=1,γ=2,η1=0.1,η2=0.001,pmin⁡=10.\delta_{\max}=10,\delta_{0}=1,\gamma=2,\eta_{1}=0.1,\eta_{2}=0.001,p_{\min}=10.

Note that even though we have ignored the theoretical prescription derived in the previous section that sample rate should scale with 1/δk41/\delta_{k}^{4}, we note that STORM-unbiased performs extremely well compared to the TR-SAA method. Although we chose to sample at a rate so that pkp_{k} was on the order of 1/δk1/\delta_{k}, this particular sample rate was chosen after testing various other rates on the same set of test functions, and seemed to work relatively well for both STORM-unbiased and TR-SAA.

In these experiments, we used the same 53 sum of squares problems as in the unbiased noise experiments described above, but introduced biased noise. For each component in the sum in (49), if ∣fi(x)∣<ϵ|f_{i}(x)|<\epsilon for some parameter ϵ>0\epsilon>0, then fi(x)f_{i}(x) is computed as

for some parameter σ>0\sigma>0 and for some “garbage value” VV. If fi(x)≥ϵf_{i}(x)\geq\epsilon, then it is deterministically computed as fi(x)f_{i}(x). This noise is biased, with bias depending on xx, and we should not expect any sort of averaging approximation to work well here. This is indeed indicated in our experiments, where various levels of σ\sigma and ϵ\epsilon are shown below. There choice of VV did not significantly affect the results, and in the experiments illustrated below V=−10000V=-10000 was used. Obviously, the intention here is that such a large negative value will cause STORM to see a trial step as promising, when it may, in fact, yield an increase in function value if taken. We propose the version of STORM presented as Algorithm 4 in the appendix.

The key feature of Algorithm 4 is that on each iteration, the interpolation set changes minimally as in a typical DFO trust region method, but the interpolated function values are computed afresh. Intuitively, this is the right thing to do, since if a “garbage value” is computed at some point in the algorithm to either construct a model or provide a function value estimate, we do not want its presence to affect the computation of models in subsequent iterations. No averaging is performed, as it can only cause harm in the setting.

Since we are not aware of any other optimization algorithm that is designed for this case of noise, we performed no comparisons, but experiment to discover how the method works as a function of the probability of failure. On the test set of 53 problems, we ran Algorithm 4 30 times and report the average percentage of instances that are solved in the sense of (52) with τ=10−3\tau=10^{-3} within a budget of 10000(n+1)10000(n+1) function evaluations, where f∗f^{*} was computed by Algorithm 4 with σ=0\sigma=0. In order to standardize the probability of failure over the test set, we define the probability of success psp_{s} and then take σ\sigma on a function with mm component to be σ=1−ps(1/m)\sigma=1-p_{s}^{(1/m)}. The results are summarized in Figure 2.

This experiment suggests that the practical threshold at which STORM fails to make progress may be looser than that suggested by theory. We will illustrate this idea through a simple example. Consider the minimization of the simple quadratic function

In Figure 3 for n=2,10n=2,10, we plot an indicated level of (1−σ)(1-\sigma) on the xx-axis against the proportion of 100 randomly seeded instances with that level of (1−σ)(1-\sigma) that Algorithm 4 managed to find a solution x∗x^{*} satisfying f(x∗)<10−5f(x^{*})<10^{-5} within 10410^{4} many function evaluations using the discussed parameter choices. The red line shows the level of (1−σ)(1-\sigma) that our theory predicted in the previous paragraph. As we can see, (1−σ)(1-\sigma) can be quite smaller than predicted by our theory before the failure rate becomes unsatisfactory. As a particular example, in the n=10n=10 case, when (1−σ)=.998(1-\sigma)=.998, the corresponding probabilities are α≈0.266782\alpha\approx 0.266782 and β≈0.960751\beta\approx 0.960751, and yet 100%100\% of the instances were solved to the required level of accuracy. In other words, even though the models are eventually only accurate on roughly 27%27\% of the iterations, we still see satisfactory performance.

2 Stochastic gradient based method comparison

As in the typical machine learning setting, we will assume that N>>mN>>m and computing f(w,β)f(w,\beta) as well as ∇f(w,β)\nabla f(w,\beta) and ∇2f(w,β)\nabla^{2}f(w,\beta) is prohibitive. Hence we will only compute estimates of these quantities by considering a sample I⊂{1,…,N}I\subset\{1,\dots,N\} of size ∣I∣=n<<N|I|=n<<N, yielding

Thus we can construct models based on sample gradient and Hessians information and we present the appropriate variant of STORM as Algorithm 5 in the Appendix.

We compare Algorithm 5 with the well-known implementation of Adagrad from the Ada-whatever package described in . We compare against this particular solver because it is a well-understood stochastic gradient method used by the machine learning community that, like our algorithm, takes adaptive step sizes, but unlike our algorithm, does not compute estimates of the loss function, but only computes averaged stochastic gradients. For the choice of initialization in Algorithm 5, the following parameters were used: δmax⁡=10,δ0=1,x0=0,γ=2,η1=0.1,η2=0.001,pmin⁡=m+2,pmax⁡=N\delta_{\max}=10,\delta_{0}=1,x_{0}=0,\gamma=2,\eta_{1}=0.1,\eta_{2}=0.001,p_{\min}=m+2,p_{\max}=N. Adagrad was also given the same initial point and an initial step size of δ0=1\delta_{0}=1.

We implemented two versions of Algorithm 5: one which uses stochastic Hessians, and a second where we do not compute stochastic Hessians, effectively setting Hk=0H_{k}=0 on each iteration, yielding a trivial subproblem in the step calculation.

For each of the datasets, we randomly partition NN into a training set of size ⌊0.95∗N⌋\lfloor 0.95*N\rfloor and a testing set of size ⌈0.05∗N⌉\lceil 0.05*N\rceil. We set the maximum budget of data evaluations for each solver equal to the size of the training set, thus comparing various solvers’ performance with a budget of roughly one full pass through the dataset. In the two implementations of STORM, we plot in 4 the true training loss function value at the end of each successful iteration, while for Adagrad, we simply plot the true training loss function value over an evenly spaced array of function value counts. Likewise in 5, we plot at the same points the value of the holdout testing loss function value.

Notice that, as expected, the true function values produced by Adagrad can vary widely over this horizon, but implementations of STORM tend to yield fairly stable decreasing trajectories over its successful iterations. Also, we see that the loss seems to generalize fairly well to the holdout test data.

References

Appendix