arXiv:2610.23204cs.LGOct 2026

Manuscript Offprint

arXiv:2610.23204

Non-Parametric Optimization for Scalable Learning in Stochastic Decision Problems

Mohsen Amidzadeh, Lauri Viitasaari, Mario Di Francesco

Abstract

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.

1. Introduction

Stochastic optimization (SO) studies decision-making under uncertainty and has wide applications, for instance, in mathematical finance (Strini, 2019; Buehler et al., 2019), control theory (Jin et al., 2022), machine learning (Bottou et al., 2018; Sun et al., 2020; Levine et al., 2020). There has been extensive research on finding the optimal solution of such problems when the decision variable is deterministic (Duchi, 2016; Cao et al., 2021; Cutler et al., 2021). Recent advances have also addressed SO problems with stochastic decisions through neural network (NN) parameterizations (Tzen & Raginsky, 2019; Li et al., 2020; Oh et al., 2019; Kidger et al., 2021). However, optimality conditions for SO problems with stochastic decisions would benefit greatly from being insensitive to the parameterization dimension, thereby improving scalability.

This work addresses this gap by developing non-parametric necessary conditions for optimally solving SO problems with stochastic decisions. The resulting non-parametric methodology leads to an algorithm that is independent of the parameterization dimension and is therefore both efficient and scalable. In particular, we focus on time-varying stochastic optimization (TV-SO), a class of SO problems in which the expected objective and/or constraints vary over time. TV-SO has applications in important fields including adaptive control (Fazlyab et al., 2018; Simonetto et al., 2020; Simonetto & Massioni, 2024) and machine learning (Cutler et al., 2023; Maity et al., 2023), especially in settings where the data distribution changes over time (distribution drift) and the underlying environment is non-stationary. Our approach is complementary to the dynamic-programming principle commonly used for sequential decision-making problems modeled by stochastic differential equations (SDEs) or formulated as Markov decision processes (MDPs) (Fleming & Soner, 2006; Bouchard & Touzi, 2011; Puterman, 2014; Amidzadeh & Di Francesco, 2025). From a different analytical angle, the proposed Malliavin-based framework studies time-varying stochastic objectives through non-parametric optimality conditions.

There is a rich theory for analyzing optimality conditions in time-varying deterministic problems (Simonetto et al., 2020; Komzsik, 2019); however, their stochastic counterparts have received much less attention in the literature. Hence, we leverage Malliavin calculus to develop a stochastic variational framework for deriving optimality conditions in SO problems. Malliavin calculus is essential in this context, as it enables the formulation of non-parametric optimality conditions. The resulting theory connects deterministic and stochastic optimization by generalizing classical optimality conditions to the stochastic setting. Since these conditions do not yield a closed-form expression for the optimal

1^{1}Department of Computer Science, Aalto University, Finland 2^{2}Department of Information and Service Management, Aalto University, Finland. Correspondence to: Mohsen Amidzadeh mohsen.amidzade@aalto.fi, Lauri Viitasaari lauri.viitasaari@aalto.fi.

Proceedings of the 43rd43^{rd} International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026. Copyright 2026 by the author(s).

Table 1. Comparison of the SPF and PDM algorithms, where nn denotes the dimension of the decision variable and ϕ\phi is the parameterization dimension. For SPF, both the required SDEs and the learning loss do not depend on ϕ\phi, while they do for PDM.

AlgorithmDimension of required SDEsSDEs and learning loss explicitly depend on ϕ\phi
SPF (ours)n+n2n+n^{2}No
PDMn+nϕn+n\phiYes

stochastic solution, we design a deep-learning algorithm, called the Stochastic Path Follower (SPF), to approximate it. This algorithm is built on a non-parametric framework that makes the learning procedure largely insensitive to the parameterization dimension, thereby providing a scalable and low-complexity approach. Pathwise differentiation methods (PDMs), which estimate gradients of SDE-driven systems (Tzen & Raginsky, 2019; Liu et al., 2019), can also be used to solve the SO problems of interest through a parameterized NN. However, their learning mechanism strongly depends on the parameterization dimension; thus, it does not scale to large models. Tab. 1 compares our proposed SPF against PDM.

In summary, we establish the following contributions.

  • We study time-varying stochastic optimization1^{1} (TV-SO). We then develop a non-parametric variational framework based on Malliavin calculus to derive optimality conditions for TV-SO problems.

  • We accordingly develop an efficient NN algorithm to solve TV-SO. This algorithm computes an optimal solution in a manner that is largely insensitive to the parameterization dimension and is therefore both scalable and efficient.

  • We compare our proposed solutions with state-of-the-art (SOTA) algorithms through experiments on two important use cases: least-squares recovery and logistic regression. The experimental results show that our algorithm outperforms SOTA methods in terms of both performance and computational complexity.