Quantile Optimization via Multiple Timescale Local Search for Black-box Functions: SPQO's Mean Absolute Error Decays as O(α_k/γ_k) + O(c_k²) + O(β_k^{1/2}/c_k) for Strongly Convex QuantilesResearch Paper
Why optimize a quantile of a black box
Risk-sensitive decisions are often judged by a quantile of an outcome rather than by its mean: the 95th percentile of waiting time in a service system, the value-at-risk of a portfolio, the tail of a project's completion time. When the outcome is produced by a stochastic simulation or another black box, its distribution is unknown and only samples are available, so neither the quantile nor its gradient can be evaluated. Hu, Song and Fu (arXiv:2308.07607, Operations Research, 2025) propose a local search method for this problem that uses three samples per iteration in any dimension, and they prove that its iterates converge almost surely and at an explicit rate.
Earlier approaches estimate the quantile gradient by finite differences of order statistics, which requires sample sizes growing to infinity (Kibzun and Matveev 2012), or run a multi-timescale stochastic approximation driven by direct gradient estimators such as perturbation analysis or likelihood ratios (Hu, Peng, Zhang and Zhang 2022), which a black box does not provide. The present paper estimates the gradient from indicator differences along a simultaneous perturbation in the spirit of Spall's SPSA (1992), using a coordinate-wise variant (SDQO) as a baseline whose cost grows with the dimension , and, by its own account (p. 5), gives the first convergence rate for a three-timescale stochastic approximation scheme.
Setting
For every input a black box returns a random output with c.d.f. and density . For a fixed level the quantile function solves , and the problem is
where the parameter set is compact and convex, with each continuously differentiable and on . Under smoothness, .
Algorithm SPQO keeps a quantile estimate , a gradient estimate and the decision . With step sizes , perturbation sizes , the adaptive perturbation and a random direction with independent uniform signs,
with division by taken componentwise and the Euclidean projection onto . The timescales are separated by and .
The analysis rests on assumptions A1–A3 (local smoothness of and a lower bound on near the iterates; Rademacher directions; step-size conditions) and, for rates, B1–B3 (two-sided bounds on between and ; Lipschitz continuity of and in ; a lower bound on the smallest eigenvalue of the Hessian along the segments ). Section 4 uses step sizes , , , with exponents in .
Formalization targets
Goal: Theorem 3 (p. 19)
Under A1–A3 and B1–B3, with the Section 4 step sizes, twice continuously differentiable and the unique equilibrium of the projected gradient ODE (25), lying in the interior of ,
The constants are left unspecified: the goal asserts the shape of the rate, which is what the paper proves.
Milestones
- Display (4): the quantile gradient formula.
- Lemma 1: and almost surely.
- Lemma 2: the conditional bias of the simultaneous-perturbation estimator is almost surely and in mean.
- Theorem 1 (strictly convex case): almost surely.
- Lemma 3: when .
- Lemma 4: .
- Lemma 5: .
Significance
The rate (27) makes the trade-off among the three timescales explicit: is the cost of tracking a moving quantile, the bias of the perturbation, and its noise. Balancing them selects the step-size exponents, and the special cases recover the rate of recursive quantile estimation and Spall's SPSA rate. The intermediate results (moment bounds for a gradient tracker with adaptive perturbation, an bias bound for an indicator-based SPSA estimator, and the weighted-sum estimate of Lemma 3) apply to other multi-timescale stochastic approximation schemes.
The theorem is proved in the paper; no machine-checked version exists. A formalization would check a rate argument for three coupled recursions, a setting in which hypotheses are easily lost: the paper's own proofs use a bound on that A1 does not list, and one step of the proof of Theorem 3 (display (29)) treats a conditional mean as an unconditional one. The statement survives both, as recorded in the formalization notes.
Difficulty
The three recursions are coupled in both directions. The gradient tracker is driven by indicator differences whose perturbation is itself scaled by , so the bias holds only once is known to be bounded, and boundedness must be shown with the adaptive . The natural first idea, analyzing each recursion with the slower ones frozen, gives convergence but not rates: the targets and move, and the error of each tracker must be bounded in mean square while the tracker it depends on is still converging. The rate also needs the almost-sure convergence of Theorem 1, which is an ODE-method argument for a projected, coupled scheme.
Formalization scope
is EuclideanSpace ℝ (Fin d) with . The black box is a family of laws on , defined for every because SPQO samples outside . A run lives on a probability space with a general filtration; initial values are deterministic with ; the sampling model fixes the conditional law of each output given the past (and ), which covers independent sampling and common random numbers. Expectations are Lebesgue integrals in , and the bias of Lemma 2 is an explicit average over the sign vectors. is the paper's one-sided notion: a constant, depending on the instance and the run but not on , times the rate, for all large .
The following departures from the page are disclosed in every affected statement:
- D1 the quantile step is projected onto a closed interval , the truncation the paper recommends on p. 13; is the printed recursion;
- D2 step sizes use in place of ;
- D3 A1 bounds the first derivatives of , which the proofs use;
- D4 only conditional marginal laws of the outputs are imposed;
- D5 ;
- D6 the Section 4 standing assumption (a unique globally asymptotically stable equilibrium of the projected ODE (25) in the interior of ) is stated in its equivalent first-order form: is interior and is the only with in the normal cone of at (the equilibria of (25); is a Lyapunov function for (25), so uniqueness gives global asymptotic stability);
- D7 joint continuity of is required on .
B3 is stated as the quadratic-form bound , equivalent to the eigenvalue bound for the symmetric Hessian. Theorem 1 is formalized only in its strictly convex clause.
Several trivializing formalizations are ruled out. Without the truncation of D1 no run satisfies A1(b) or B1, so the untruncated statement would be vacuous. No statement takes a Bochner expectation or conditional expectation of a possibly non-integrable quantity. Gradients and Hessians of are read only where is . No -constant may depend on .
A complete development needs stochastic approximation tools that Mathlib lacks: Robbins–Siegmund-type supermartingale convergence, the ODE method for projected recursions, and second-moment recursions for coupled trackers. These are reusable beyond this mission. Contributions are welcome for any milestone, and Lemma 3 is pure real analysis.
Selected references
- J. Hu, M. Song, M. C. Fu, Quantile Optimization via Multiple Timescale Local Search for Black-box Functions, Operations Research, 2025; arXiv:2308.07607v1, 2023. https://arxiv.org/abs/2308.07607
- J. C. Spall, Multivariate stochastic approximation using a simultaneous perturbation gradient approximation, IEEE Transactions on Automatic Control 37(3):332–341, 1992. https://doi.org/10.1109/9.119632
- M. C. Fu, L. J. Hong, J.-Q. Hu, Conditional Monte Carlo estimation of quantile sensitivities, Management Science 55(12):2019–2027, 2009. https://doi.org/10.1287/mnsc.1090.1090
- J. Hu, Y. Peng, G. Zhang, Q. Zhang, A stochastic approximation method for simulation-based quantile optimization, INFORMS Journal on Computing 34(6):2889–2907, 2022.
- A. I. Kibzun, E. Matveev, Optimization of the quantile criterion for the convex loss function by a stochastic quasi-gradient algorithm, Annals of Operations Research 200(1):183–198, 2012.