betaFeedback

WorksMathematics

A numerical study of radius update rules in trust-region algorithms

Abstract

Part I [arXiv:2606.30202] and Part II establish which trust-region radius update mechanisms can fail and under which hypotheses they must succeed. Neither says where the thresholds sit once a rule runs with real constants, or how the rule interacts with the model Hessian and the subproblem solver. This paper turns them into nine falsifiable claims and settles what it can, on four designed problems where the theory's quantities are computable and on CUTEst, where only aggregate cost is visible. Every mechanism runs in one Julia package written for this study, so two runs differing in one component differ in nothing else. The rule is worth less than the model and more than nothing. Crossing the mechanisms with four model Hessians puts 96.596.5 per cent of the variation on the model and 1.61.6 on the rule, and the rules separate most under the most accurate model rather than least. Uncapped R-grad is the robust default among the criticality-anchored rules, though the retrospective rule is ahead of it on this collection. No constant escapes the side conditions. For every cap there is a minimiser at which the constraint stays active, and for every anchoring constant a flatness on which escape takes arbitrarily long. The second of these is proved here as well as measured, and the proof uses no property of the model or of the subproblem solution beyond ∥sk∥≤Δk\|s_k\| \leq Δ_k. The radius rule governs the length of the step, and so the cost of a run. The model decides the search direction, and with it whether the run converges at all.

Introduction

The trust-region radius update rule is the least standardised component of a trust-region method. Textbook treatments [6, 25] multiply the radius by a constant chosen from the agreement ratio ρk\rho_k, and the literature offers a range of alternatives. Some rules reset the radius to a multiple of the accepted step [18, 12]. Others keep it proportional to a criticality measure [7], scale it by the gradient norm [12, 34, 8], or re-judge the previous step with the model built at the new iterate [1]. Authors present these as implementation details, and a reader looking for a reason to prefer one of them finds little.

The two analyses this study rests on [29, 30] argue instead that they are structurally different algorithms whose asymptotic behaviour differs. The first isolates three structural conditions on the sequence {Δk}\{\Delta_k\} and shows that they suffice for first-order global convergence and O(ε−2)O(\varepsilon^{-2}) complexity. The second asks what the radius does rather than what it permits, characterising its asymptotic behaviour, the local dynamics near a nondegenerate minimiser, a second-order extension through τk=max⁡{∥gk∥,−λk−}\tau_k = \max\{\lVert g_k\rVert, -\lambda_k^-\}, and the conditions under which the constraint eventually becomes inactive and the method converges superlinearly. One axis organises both parts. What decides a rule’s behaviour is not whether its radius vanishes but what the radius is anchored to, the previous radius, the step actually taken, or a criticality measure.

Together the two parts identify which mechanisms can fail and under which hypotheses they must succeed. Three questions lie outside their reach. A threshold stated as a function of the curvature at the solution says nothing about where that threshold sits once a rule runs with real constants on a problem whose solution nobody knows. A hypothesis stated about the limit point cannot be checked on a collection assembled precisely because its problems are hard. A theorem about the radius holds the model Hessian and the subproblem solver fixed, while a user choosing a solver changes all three at once.

This study answers those questions by experiment, and the first step is to make the theory answerable. Section 2 states nine claims an experiment can falsify, and records at each one where the restatement changed what was asserted. Two regimes carry the evidence and neither substitutes for the other. On the designed problems the curvature at the solution is known in closed form and the limit point can be classified, so one run is evidence about the mechanism. On the CUTEst collection [17] none of those quantities is available and only aggregate cost is visible, so that regime answers the question a user asks, whether a distinction established on a designed problem is visible in what the method costs.

Three things are contributed besides the verdicts. Every mechanism is implemented in one Julia package, TrustRegionRadius.jl, written for this study and released with it, in which the radius rule, the model Hessian, the subproblem solver and the oracle are independent components of a single iteration, so two runs differing in one of them differ in nothing else. Four problems are designed so that the quantities the theory is stated about are computable and the limit point can be classified. And the campaign returns a recommendation, uncapped R-grad, worth 59 problems of 196 in reliability across the cap sweep.

Section 3 describes the package and Section 4 the problems. Section 6 measures what the mechanisms cost on CUTEst, in sweeps on ζ\zeta and on μ\mu and in a like-for-like comparison at matched constants. Section 7 measures the activity of the constraint and the local order after it releases. Section 8 crosses the mechanisms with the model Hessians and shows how a small constant silences the model. Sections 9 and 10 return to the designed problems, locating the activity threshold on P2 and bounding the escape time from a flat region on P4.

From Parts I and II to testable claims

The two companion analyses [29, 30] treat the trust-region framework analytically, proving theorems about the sequences a method generates. We extract claims from those results and confront them with experiment, for evidence where a claim can be settled and for insight where it cannot.

Two regimes carry the evidence and neither substitutes for the other. On a designed problem the curvature at the solution is known in closed form, the limit point can be classified and the radius is visible at every iteration, so one run either exhibits the behaviour a claim describes or it does not, and carries nothing about how often it arises. On CUTEst none of those quantities is available, so that regime cannot settle a claim whose statement mentions the solution. It answers the question a user asks, whether a distinction established on a designed problem is visible in what the method costs.

We present the claims in Table 1, indicating the regime in which each claim is relevant and the section where it is discussed.

ClaimRegimeSection
1Δk→0\Delta_k \to0 for criticality-anchored rules and lim inf⁡kΔk>0\liminf_k \Delta_k > 0 for fixed-factor rules.designed4.2
2Where the multiplier of a criticality-anchored rule is bounded and eventually constant, the decay is harmonic, Δk=Θ(1/k)\Delta_k = \Theta(1/k), so ∑kΔk\sum_k \Delta_k diverges and ∑kΔk2\sum_k \Delta_k^2 converges.designed4.2
3Along convergent runs, there is a problem-dependent threshold in ζ\zeta below which R-DFO keeps the constraint active indefinitely and above which it eventually becomes inactive. Same for μˉ\bar{\mu} in R-grad, and the uncapped variant crosses it unconditionally.designed, CUTEst9, 6.1, 6.2
4Conditional on inactivity, the observed local rate is that of the underlying (quasi)-Newton iteration and is independent of the mechanism. Mechanisms differ in when inactivity is reached, not in the rate thereafter.CUTEst7.2
5With truncated CG and μˉ\bar{\mu} small enough that the first CG iterate leaves the trust region, the step is the Cauchy point and the method inherits gradient-descent behaviour.CUTEst6.2
6A configuration can satisfy every hypothesis of Rieussec and Bastin [29], with every ρk\rho_k successful and a well-behaved radius, and still converge to a saddle point or a degenerate critical point that is not a minimiser.designed5.2.1
7For every cap there is a flatness ε\varepsilon on which R-grad escapes the flat region only after arbitrarily many iterations, while R-delta escapes from the same starting point in a number bounded independently of ε\varepsilon.designed10
8A first-order anchor admits the failures of Claims 5 and 6. The second-order anchor removes them on the same problems and from the same starting points.designed10
9There exists a function, f2f_2 of (5), such that for every cap μˉ\bar{\mu}, however large, one of its minimisers has a basin in which capped R-grad converges with the trust-region constraint active at every sufficiently large iteration.designed9

Table 1. The nine claims, the regime in which each can be settled, and the section that settles it. Section 12.1 carries the verdicts.

TrustRegionRadius.jl

Every number in Sections 6 to 10 comes from one Julia package running one iteration. This section states what that package is, why it had to be written, what the iteration does, which mechanisms it carries, and what a run records.

The package

TrustRegionRadius.jl was written for this study and is released with it at [https://github.com/JeremyRieusse c/TrustRegionRadius.jl](https://github.com/JeremyRieusse c/TrustRegionRadius.jl) under the MIT licence, with documentation at https://JeremyRieussec.github.io/TrustRegionRadius.jl/dev/. It is built on the JuliaSmoothOptimizers interfaces [26] in Julia [3] and depends on NLPModels, SolverCore, Krylov and LinearOperators.

What a comparison across published codes cannot measure

The comparison cannot be assembled from published codes. Julia has trust-region solvers and none of them exposes the radius rule as a component that can be exchanged. JSOSolvers.jl [27] supplies trust, a trust-region Newton method with truncated conjugate gradients, and tron, the bound-constrained method of Lin and Moré [21], and Optim.jl [22] supplies NewtonTrustRegion. Each fixes a single ratio-driven rule and binds it to its own subproblem solver and its own stopping test, so a gap between two such codes is a gap between their model constructions, their subproblem solvers, their stopping tests and their linear algebra as much as between their radius rules. Figure 1 shows the arrangement that removes that confound. Four components are independent and swappable, each supplying exactly one step of the iteration.

Architecture of TrustRegionRadius.jl

Figure 1. Architecture of TrustRegionRadius.jl. The radius rule, the model Hessian, the subproblem solver and the oracle are independent axes, each supplying one step of a single iteration that every configuration shares. Step 1 also evaluates the criticality measure ωk\omega_k, which is ∥gk∥\lVert g_k\rVert by default and τk\tau_k under the second-order wrapper, and Step 3 accepts on η\eta alone while Step 4 scales on η1\eta_1 and η2\eta_2. The per-iteration record is written by the driver and is the only input to the diagnostics and to the benchmark layer.

A rule is a struct and two methods, a model a struct and two methods, so a mechanism proposed after this paper can be compared against the roster below without touching the driver.

The driver

Algorithm 1 is the loop every configuration shares.

Acceptance and scaling are two decisions. The step is accepted when ρk≥η\rho_k \ge\eta, and η1\eta_1 and η2\eta_2 only scale the radius. Taking η<η1\eta< \eta_1 opens the band ρk∈[η,η1)\rho_k \in[\eta,\eta_1), on which the step is accepted and the radius contracts anyway. Setting η=η1\eta= \eta_1 recovers the coupled behaviour exactly, and an implementation that accepted on η1\eta_1 could not express the band at all.

Algorithm 1: The trust-region driver, tr_solve

Input: x0x_0; rule RR, model MM, subsolver SS; thresholds 0≤η≤η1≤η2<10 \le\eta\le\eta_1 \le\eta_2 < 1; Δ0\Delta_0, Δmin⁡\Delta_{\min}, Δmax⁡\Delta_{\max}; tolerances ϵ\epsilon and ϵH\epsilon_H; budgets kmax⁡k_{\max}, tmax⁡t_{\max}

Output: xkx_k and a status

f←f(x0)f \leftarrow f(x_0); g←∇f(x0)g \leftarrow\nabla f(x_0); ω←criticality⁡(R,∥g∥,λmin⁡)\omega\leftarrow\operatorname{criticality}(R,\lVert g\rVert,\lambda_{\min}) // ∥g∥\lVert g\rVert, or τ\tau under SecondOrder

Δ←clamp⁡{initial_radius⁡(R,Δ0,ω),Δmin⁡,Δmax⁡}\Delta\leftarrow\operatorname{clamp}\{\operatorname{initial\_radius}(R,\Delta_0,\omega),\Delta_{\min},\Delta_{\max}\}; k←0k \leftarrow0

while true do

&nbsp;&nbsp;if ∥g∥≤ϵ\lVert g\rVert\le\epsilon and (ϵH≤0(\epsilon_H \le0 or λmin⁡≥−ϵH)\lambda_{\min} \ge-\epsilon_H) then

&nbsp;&nbsp;&nbsp;&nbsp;return first_order if ϵH≤0\epsilon_H \le0, else second_order

&nbsp;&nbsp;if k≥kmax⁡k \ge k_{\max} then return max_iter

&nbsp;&nbsp;if elapsed_time >tmax⁡> t_{\max} then return max_time

&nbsp;&nbsp;k←k+1k \leftarrow k + 1

&nbsp;&nbsp;(s,active)←solve_subproblem⁡(S,M,x,g,Δ)(s,\mathop{\rm active}) \leftarrow\operatorname{solve\_subproblem}(S,M,x,g,\Delta) // Algorithm 3

&nbsp;&nbsp;if the model does not exist at xx then return exception

&nbsp;&nbsp;pred⁡←−gTs−12sTHks\operatorname{pred} \leftarrow-g^\mathsf{T}s-\frac{1}{2}s^\mathsf{T}H_k s; ared⁡←f(x)−f(x+s)\operatorname{ared} \leftarrow f(x)-f(x+s)

&nbsp;&nbsp;ρ←ared⁡/pred⁡\rho\leftarrow\operatorname{ared}/\operatorname{pred} if pred⁡>0\operatorname{pred}>0, else −∞-\infty

&nbsp;&nbsp;if ∣ared⁡∣≤ϵmachmax⁡(1,∣f∣)\lvert\operatorname{ared}\rvert\le\epsilon_{\mathrm{mach}}\max(1,\lvert f\rvert) and ∥s∥<ϵmach3/4\lVert s\rVert< \epsilon_{\mathrm{mach}}^{3/4} then return stalled

&nbsp;&nbsp;ω−←ω\omega^- \leftarrow\omega; accepted⁡←(ρ≥η)\operatorname{accepted} \leftarrow(\rho\ge\eta) // acceptance uses η\eta alone, never η1\eta_1

&nbsp;&nbsp;if accepted then

&nbsp;&nbsp;&nbsp;&nbsp;y←∇f(x+s)−gy \leftarrow\nabla f(x+s)-g; x←x+sx \leftarrow x+s; f←f(x)f \leftarrow f(x); g←∇f(x)g \leftarrow\nabla f(x); update_model⁡(M,s,y)\operatorname{update\_model}(M,s,y)

&nbsp;&nbsp;&nbsp;&nbsp;ω←criticality⁡(R,∥g∥,λmin⁡)\omega\leftarrow\operatorname{criticality}(R,\lVert g\rVert,\lambda_{\min})

&nbsp;&nbsp;if needs_retrospective⁡(R)\operatorname{needs\_retrospective}(R) and accepted then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ρ~←retrospective_ratio⁡(ared⁡,s,g,Hk+1s)\widetilde{\rho} \leftarrow\operatorname{retrospective\_ratio}(\operatorname{ared},s,g,H_{k+1}s)

&nbsp;&nbsp;else

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ρ~←ρ\widetilde{\rho} \leftarrow\rho

&nbsp;&nbsp;Δ←update_radius⁡(R,Δ,ρ~,accepted⁡,η1,η2,∥s∥,ω−,ω)\Delta\leftarrow\operatorname{update\_radius}(R,\Delta,\widetilde{\rho},\operatorname{accepted},\eta_1,\eta_2,\lVert s\rVert,\omega^-,\omega) // the only line the rule touches

&nbsp;&nbsp;Δ←clamp⁡{Δ,Δmin⁡,Δmax⁡}\Delta\leftarrow\operatorname{clamp}\{\Delta,\Delta_{\min},\Delta_{\max}\}

The rule receives the criticality measure twice, before and after the acceptance decision. R-DFO gates on the value at the current iterate, R-grad and its relatives set the next radius from the value at the next one, and passing both keeps the rules comparable without a special case in the loop. The measure itself is supplied by criticality, which returns ∥gk∥\lVert g_k\rVert by default and τk=max⁡{∥gk∥,−λk−}\tau_k = \max\{\lVert g_k\rVert, -\lambda_k^-\} when the rule is wrapped in SecondOrder. The update subroutine is identical in both cases. Only the quantity placed in those two slots changes, and that is the entire content of the second-order variant. The retrospective ratio compares the achieved reduction with the reduction the new model predicts for the step just taken,

ρ~k+1=f(xk)−f(xk+1)−gk+1Tsk+12skTHk+1sk(1)\widetilde{\rho}_{k+1} = \frac{f(x_k)-f(x_{k+1})}{-g_{k+1}^{\mathsf T}s_k+\frac{1}{2}s_k^{\mathsf T}H_{k+1}s_k} \tag*{(1)}

set to −∞-\infty when the denominator is not positive. The acceptance flag is passed to the rule. R-RTR and R-gRTR branch on it before anything else, because ρ~\widetilde{\rho} judges a step that was not taken when the step was rejected.

The radius mechanisms under test

Eleven mechanisms are implemented and Appendix § 17 states them all. They differ along three axes, and Table 2 places each one on them. The eleven were chosen so that every comparison in this paper moves one axis and holds the other two. Six are anchored to a criticality measure, and each of those runs at either order of criticality with no change to the rule, giving the ωk=τk\omega_k=\tau_k column of § 6.

References

  1. [1]F. Bastin, V. Malmedy, M. Mouffe, P. L. Toint, and D. Tomanos. A retrospective trust-region method for unconstrained optimization. Mathematical Programming, 123(2):395–418, 2010. doi: 10.1007/s10107-008-0258-1.
  2. [2]V. Beiranvand, W. Hare, and Y. Lucet. Best practices for comparing optimization algorithms. Optimization and Engineering, 18(4):815–848, Dec 2017. ISSN 1573-2924. doi: 10.1007/s11081-017-9366-1.DOI
  3. [3]J. Bezanson, A. Edelman, S. Karpinski, and V. B. Shah. Julia: a fresh approach to numerical computing. SIAM Review, 59(1):65–98, 2017. doi: 10.1137/141000671.DOI
  4. [4]I. Bongartz, A. R. Conn, N. I. M. Gould, and P. L. Toint. CUTE: constrained and unconstrained testing environment. ACM Transactions on Mathematical Software, 21(1):123–160, 1995. doi: 10.1145/200979.201043.DOI
  5. [5]A. Conn, N. Gould, and P. Toint. Convergence of quasi-Newton matrices generated by the symmetric rank one update. Mathematical Programming, 50:177–195, 1991. doi: 10.1007/BF01594934.DOI
  6. [6]A. R. Conn, N. I. M. Gould, and P. L. Toint. Trust-Region Methods. MOS-SIAM Series on Optimization. SIAM, Philadelphia, PA, USA, 2000. doi: 10.1137/1.9780898719857.DOI
  7. [7]A. R. Conn, K. Scheinberg, and L. N. Vicente. Introduction to Derivative-Free Optimization. Society for Industrial and Applied Mathematics, USA, 2009.DOI
  8. [8]F. E. Curtis and K. Scheinberg. Adaptive Stochastic Optimization: A Framework for Analyzing Stochastic Optimization Algorithms. IEEE Signal Processing Magazine, 37(5):32–42, 2020. doi: 10.1109/MSP.2020.3003539.DOI
  9. [9]F. E. Curtis, D. P. Robinson, C. W. Royer, and S. J. Wright. Trust-Region Newton-CG with Strong Second-Order Complexity Guarantees for Nonconvex Optimization. SIAM Journal on Optimization, 31(1):518–544, 2021. doi: 10.1137/19M130563X.DOI
  10. [10]J. E. Dennis and J. J. Moré. A Characterization of Superlinear Convergence and Its Application to Quasi-Newton Methods. Mathematics of Computation, 28(126):549–560, 1974. doi: 10.2307/2005926. Publisher: American Mathematical Society.DOI
  11. [11]E. D. Dolan and J. J. Moré. Benchmarking optimization software with performance profiles. Mathematical Programming, 91(2):201–213, Jan. 2002. ISSN 1436-4646. doi: 10.1007/s101070100263.DOI
  12. [12]J. Fan, J. Pan, and S. Hongyan. A retrospective trust region algorithm with trust region converging to zero. Journal of Computational Mathematics, 34(4):421–436, 2016. doi: 10.4208/jcm.1601-m2015-0399.DOI
  13. [13]D. M. Gay. Computing optimal locally constrained steps. SIAM Journal on Scientific and Statistical Computing, 2(2):186–197, 1981. doi: 10.1137/0902016.DOI
  14. [14]N. I. M. Gould and J. A. Scott. A note on performance profiles for benchmarking software. ACM Transactions on Mathematical Software, 43(2):15:1–15:5, 2016. doi: 10.1145/2950048.DOI
  15. [15]N. I. M. Gould, S. Lucidi, M. Roma, and P. L. Toint. Solving the trust-region subproblem using the Lanczos method. SIAM Journal on Optimization, 9(2):504–525, 1999. doi: 10.1137/S1052623497322735.DOI
  16. [16]N. I. M. Gould, D. Orban, and P. L. Toint. CUTEr (and SifDec), a constrained and unconstrained testing environment, revisited. ACM Transactions on Mathematical Software, 29(4):373–394, 2003. doi: 10.1145/962437.962439.
  17. [17]N. I. M. Gould, D. Orban, and P. L. Toint. CUTEst: a constrained and unconstrained testing environment with safe threads for mathematical optimization. Computational Optimization and Applications, 60(3):545–557, 2015. doi: 10.1007/s10589-014-9687-3.DOI
  18. [18]L. Hei. A self-adaptive trust region algorithm. Journal of Computational Mathematics, 21(2):229–236, 2003. Publisher: Institute of Computational Mathematics and Scientific/Engineering Computing.
  19. [19]M. R. Hestenes and E. Stiefel. Methods of conjugate gradients for solving linear systems. Journal of Research of the National Bureau of Standards, 49(6):409–436, 1952. doi: 10.6028/jres.049.044.DOI
  20. [20]W. Hock and K. Schittkowski. Test Examples for Nonlinear Programming Codes, volume 187 of Lecture Notes in Economics and Mathematical Systems. Springer, Berlin, 1981.
  21. [21]C.-J. Lin and J. J. Moré. Newton’s method for large bound-constrained optimization problems. SIAM Journal on Optimization, 9(4):1100–1127, 1999.DOI
  22. [22]P. K. Mogensen and A. N. Riseth. Optim: a mathematical optimization package for Julia. Journal of Open Source Software, 3(24):615, 2018. doi: 10.21105/joss.00615.DOI
  23. [23]J. J. Moré and D. C. Sorensen. Computing a Trust Region Step. SIAM Journal on Scientific and Statistical Computing, 4(3):553–572, 1983. doi: 10.1137/0904038.DOI
  24. [24]J. J. Moré and S. M. Wild. Benchmarking Derivative-Free Optimization Algorithms. SIAM Journal on Optimization, 20(1):172–191, 2009. doi: 10.1137/080724083.DOI
  25. [25]J. Nocedal and S. J. Wright. Numerical Optimization. Springer Series in Operations Research and Financial Engineering. Springer New York, NY, New York, NY, USA, second edition, 2006. doi: 10.1007/978-0-387-40065-5.DOI
  26. [26]D. Orban, A. S. Siqueira, and contributors. JuliaSmoothOptimizers: infrastructure for numerical optimization in Julia. https://jso.dev, 2024.
  27. [27]D. Orban, A. S. Siqueira, and contributors. JSOSolvers.jl: optimization solvers for the JuliaSmoothOptimizers ecosystem. https://github.com/JuliaSmoothOptimizers/JSOSolvers.jl, 2024.
  28. [28]Q. Rebjock and N. Boumal. Fast convergence of trust-regions for non-isolated minima via analysis of CG on indefinite matrices. Mathematical Programming, 213(1):343–384, 2025. doi: 10.1007/s10107-024-02140-w.DOI
  29. [29]J. Rieussec and F. Bastin. Structural conditions on trust-region radius updates. Part I: first-order convergence and complexity. ArXiv preprint: 2606.30202 [math.OC], 2026. doi: 10.48550/arXiv.2606.30202.
  30. [30]J. Rieussec and F. Bastin. Structural conditions on trust-region radius updates. Part II: second-order convergence and asymptotic radius behaviour. ArXiv preprint, 2026.arxiv.org/abs/2610.26137
  31. [31]D. C. Sorensen. Newton’s method with a model trust region modification. SIAM Journal on Numerical Analysis, 19(2):409–426, 1982. doi: 10.1137/0719026.DOI
  32. [32]T. Steihaug. The Conjugate Gradient Method and Trust Regions in Large Scale Optimization. SIAM Journal on Numerical Analysis, 20(3):626–637, 1983. doi: 10.1137/0720042.DOI
  33. [33]P. L. Toint. Towards an Efficient Sparsity Exploiting Newton Method for Minimization. In I. S. Duff, editor, Sparse Matrices and Their Uses, pages 57–88, London, England, 1981. Academic Press.
  34. [34]X. Wang and Y. Yuan. Stochastic trust-region methods with trust-region radius depending on probabilistic models. Journal of Computational Mathematics, 40(2):294–334, 2022. doi: 10.4208/jcm.2012-m2020-0144.
  35. [35]Y. Yuan. On the truncated conjugate gradient method. Mathematical Programming, 87(3):561–573, 2000. doi: 10.1007/s101070050012.DOI

Paper details

vlnc:W_9r4m7hm6
Version
v1 · latest
Published
Added
License
CC BY-SA 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents