Stochastic optimization (SO) plays a central role in decision-making under uncertainty. Among SO problems, time-varying stochastic optimization (TV-SO) is particularly important due to its applications in adaptive control and machine learning. Non-parametric approaches have been proposed for time-varying deterministic optimization; however, they have not been developed for their stochastic counterparts. This work addresses that gap by developing a stochastic variational framework based on Malliavin calculus. This framework yields non-parametric optimality conditions for SO problems with stochastic decisions and supports the design of a scalable deep-learning algorithm that is insensitive to the parameterization dimension. This algorithm, called the Stochastic Path Follower (SPF), is applied to two important problems under distribution drift, namely least-squares recovery and logistic regression. Experimental results show that the proposed approach outperforms state-of-the-art learning-based and gradient-based methods in both performance and scalability.
Figures & tables
Algorithm
Dimension of
SDEs and learning loss
required SDEs
explicitly depend on ϕ
SPF (ours)
n+n2
No
PDM
n+nϕ
Yes
Table 1: Comparison of the SPF and PDM algorithms, where n denotes the dimension of the decision variable and ϕ is the parameterization dimension. For SPF, both the required SDEs and the learning loss do not depend on ϕ , while they do for PDM.
Table 2: Comparison of optimality conditions of TV-O ( 1 ) and TV-SO ( 4 ) problems.
Figure 1: 1(a) Learning performance and ablation results for problem Exp1 at t=1 for the SPF and PDM methods; the ablation curves are obtained by omitting the Malliavin-based term in Eq. 11 . 1(b) Optimal values for each t∈[0,1] in problems Exp1 and Exp2. Non-degenerate optimal stochastic trajectories obtained by SPF in problem Exp2 for all t∈[0,1] for 1(c) xt,1 and 1(d) xt,2 .
Problem
SPF (ours)
PDM
Scalar TV-SO (Exp1)
<1
9
Constrained TV-SO (Exp2)
<1
41
Table 3: Average runtime per update step (in seconds).
Figure 2: 2(a) The optimality distance E∥xt−xt∗∥2 and 2(b) the objective suboptimality E∣f(xt)−f(xt∗)∣ for the considered approaches on the least-squares recovery problem in Section 7.2 . 2(c) The optimality distance E∥xt−xt∗∥2 and 2(d) the objective suboptimality E∣f(xt)−f(xt∗)∣ for the considered approaches on the logistic regression problem in Section 7.3 .
Figure 3: 3(a) Average runtime on the least-squares recovery problem for SPF and PDM. 3(b) - 3(c) Performance of SPF on a high-dimensional least-squares recovery task compared with the gradient-based baseline method, PSG.
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Model
P1
P2
P3
P4
P5
SPF ( ours )
0.04 ± 0.01
0.037 ± 0.004
0.02 ± 0.005
0.018 ± 0.005
0.011 ± 0.003
FDM
0.08 ± 0.015
0.051 ± 0.008
0.028 ± 0.015
0.016 ± 0.003
0.015 ± 0.005
TruncSig
0.08 ± 0.01
0.16 ± 0.022
0.07 ± 0.015
0.22 ± 0.05
0.12 ± 0.02
Appendix
Table 4: Average KSD (mean ± std) for the law-following problems with Pi defined in Section Section F.1 . Comparison of our SPF algorithm against SOTA methods (FDM and TruncSig). SPF outperforms SOTA for most of the considered laws Pi .
Adaptive stochastic convex optimization (SCO) methods face a fundamental ``price of adaptivity'' barrier: under the standard set of assumptions, they cannot efficiently adapt to large uncertainty in both the initial distance to optimality and the Lipschitz constant. We circumvent this barrier by requiring a small amount of additional structure common to many learning problems. Specifically, we assume that the objective decomposes into a model and a loss function, enabling us to intervene by modifying the model's output before it passes to the loss function. Under this assumption, we design a method that clips the learned model output in tail events where it deviates too much from the output of a fixed reference model. Our method matches the optimal bounds for known-parameter SCO up to logarithmic factors in the uncertainty in the distance and Lipschitz parameters, thus efficiently adapting to large uncertainty in both.
We consider a stochastic optimization problem involving two random variables: a context variable X and a dependent variable Y. The objective is to minimize the expected value of a nonlinear loss functional applied to the conditional expectation E[f(X,Y,β)∣X], where f is a nonlinear function and β represents the decision variables. We focus on the practically important setting in which direct sampling from the conditional distribution of Y∣X is infeasible, and only a stream of i.i.d. observation pairs {(Xk,Yk)}k=0,1,2,… is available. In our approach, the conditional expectation is approximated within a prespecified parametric function class. We analyze a simultaneous learning-and-optimization algorithm that jointly estimates the conditional expectation and optimizes the outer objective. Using a specially designed measure of non-optimality, combining the squared norm of the objective function's gradient and the mean square error of the auxiliary parametric model, we establish that the method achieves a convergence rate of order O(1/N), where N denotes the number of observed pairs.
Noel Smith, Andrzej Ruszczynski
Department of Management Science and Information Systems, Rutgers University
Large-scale machine learning models are trained on clusters of machines that exhibit heterogeneous performance due to hardware variability, network delays, and system-level instabilities. In such environments, time complexity rather than iteration complexity becomes the relevant performance metric for optimization algorithms. Recent work by Tyurin and Richtárik (2023) established the first time complexity analysis for parallel first-order stochastic optimization, proposing Rennala SGD as a time-optimal method for smooth nonconvex optimization. However, Rennala SGD is fundamentally a modification of SGD, and variance reduction techniques are known to improve the iteration complexity of SGD. In this work, we investigate whether variance reduction can also improve time complexity in heterogeneous systems. We show that, under a mean-squared smoothness assumption, variance reduction can improve time complexity in relevant parameter regimes. To this end, we propose Rennala MVR, a variance-reduced extension of Rennala SGD based on momentum-based variance reduction, and analyze its oracle and time complexity. We establish lower bounds for time complexity under these assumptions. On a stochastic quadratic benchmark, experiments with the exact method support the theory, while neural-network experiments with a practical inexact variant show similar empirical gains over Rennala SGD.
Zhirayr Tovmasyan, Artavazd Maranjyan, Peter Richtárik