arXiv:2610.40427eess.SYOct 2026

Manuscript Offprint

arXiv:2610.40427

socx: GPU-Accelerated Chance-Constrained Stochastic Optimal Control using JAX

Tanmay Dokania, Yashwanth Kumar Nakka

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Tanmay Dokania1^{1} and Yashwanth Kumar Nakka1^{1}

Abstract—In this article, we present socx, a GPU-accelerated solver for lifted convex reformulations of linear stochastic optimal control under chance constraints, implemented in JAX. We demonstrate that by exploiting the sparse and independent structure of the problem, distributed optimization can reduce it to simpler problems: independent linear-quadratic tracking (LQT) problems and Euclidean projections onto sets. These simpler problems can be solved in parallel and then coupled using the constraints. To validate our solver, we run it on a hover-linearized 3D quadrotor and show a speed-up of up to 98×98\times over MOSEK and up to 2224×2224\times over SCS. socx also solves horizons up to N=1120N = 1120, whereas MOSEK runs out of memory at N=320N = 320. We present ablations to isolate the key components that enable the speed-up.

I. INTRODUCTION

Motion planning is a fundamental problem in robotics, as it requires finding an optimal path from the initial to the final state that minimizes length or control effort, is feasible, and avoids obstacles [1]. Autonomous systems such as unmanned aerial vehicles and spacecrafts, face uncertainties, e.g., wrench perturbations, estimation noise, during tasks like safe exploration [2], [3]. Therefore, rather than a single path, the problem becomes one of finding a distribution over paths such that the probability of failure is bounded [4], [5].

Stochastic motion planning is an example of stochastic optimal control, and covariance steering solves such problems by designing feedback to control the state distribution, specifically the mean and covariance, from an initial to a final distribution in a finite time horizon. Covariance steering has many applications in robotics and aerospace. However, to the best of the authors' knowledge, analytically optimal results are only known for unconstrained cases [6]. For the constrained cases, numerical optimization methods exist that use feedback parameterization, yielding a nonconvex optimization problem with O(Nnx(nu+nx))O(Nn_x(n_u + n_x)) variables. Computationally efficient formulations approximate the constraints, thereby shrinking the feasible set and yielding suboptimal solutions [7], [8]. Recent developments in lifted representations yield problems that can exactly represent linear chance [9] and terminal covariance constraints, with convex approximations for quadratic chance constraints [10], but are computationally prohibitive as the number of variables grows as O(N2nw(nu+nx))O(N^2 n_w(n_u + n_x)).

Parallelization introduces a new dimension to algorithm design, enabling new problems to be solved in real time. Batching refers to solving multiple instances of the same TABLE I: Comparison with related work. CS: covariance steering. Problem class: Gaussian noise (Gau.), exact linear chance constraints (CC), covariance LMI (LMI), convex (Cvx). Solver structure: exploits OCP structure (OCP), time-parallel O(log⁡N)O(\log N) span (log⁡N\log N), parallel within one problem (Par.), batches across problems (Bat.), GPU. ✓\checkmark: yes, ∙\bullet: partial or only some works in the group, ×\times: no, -: not applicable.

WorkProblem classSolver structure
Gau.CCLMICvxOCPlog NPar.Bat.GPU
CS, exact [9], [10], [16]✓✓✓✓×××××
CS, approx. [7], [8]✓●✓✓×××××
Parallel LQR [14], [15]×××●✓✓✓●✓
Batched NLP [11]-[13]××××●×●✓✓
Robust ADMM [17], [18]×××●●●✓×✓
Conic solvers [19]-[21]-✓●✓××●×●
socx (Ours)✓✓✓✓✓✓✓✓✓

problem [11]-[13]; it increases the number of solves in a given time, but it neither speeds up a single solve nor directly enables solving longer horizons. In contrast, temporal parallelization speeds up a single solve by representing the backward Riccati recursion and the forward rollout as associative scans, reducing their span from O(N)O(N) to O(log⁡N)O(\log N) [14], an approach used in GPU-accelerated iterative linear-quadratic regulator (iLQR) for legged robots [15].

The alternating direction method of multipliers (ADMM) is a distributed optimization algorithm that has become the backbone of several GPU-based convex solvers, but they are generic and do not exploit the full optimal control structure. Being relatively immature, they support fewer constraint types. For example, cuOSQP handles only quadratic programs [22], and cuClarabel restricts the dimension of semidefinite blocks [19]. The splitting conic solver (SCS) with GPU linear solver (cuDSS in backend) supports both second-order cone constraints and semidefinite constraints, but solves the generic Karush-Kuhn-Tucker (KKT) system and does not parallelize independent constraint projections [20].

ADMM has also been specialized for control under uncertainty on GPUs, for robust nonlinear model predictive control [17] and robust trajectory optimization [18]. As robust approaches assume bounded disturbances and account for worst-case uncertainty, they lead to overconservatism and infeasibility when the uncertainty is unbounded [23]. This literature gap is further explained in Table I.

Addressing these limitations, we present socx: GPU-

1^{1} Authors are with the Daniel Guggenheim School of Aerospace Engineering at the Georgia Institute of Technology, Atlanta, GA, 30332 USA. Email: [tdokania3,ynakka3]@gatech.edu accelerated algorithm implemented in JAX [24] that solves chance-constrained stochastic optimal control by exploiting the lifted convex formulation's structure and achieves minimal conservatism [10]. The key contributions are: (i) a variable split that breaks the problem into independent LQT problems and closed-form parallel projection operations, (ii) an operator split of linear-quadratic tracking (LQT), P-RIC and P-LQT that enables sharing gains across stochastic channels, uses associative scans for efficient parallelization and is 2.5−4.0×2.5-4.0\times faster per iteration than a sequential LQT, 2.2−7.5×2.2-7.5\times faster than a condensed KKT (Table IV), (iii) a small projection operation for the terminal linear matrix inequality (LMI) constraint via an nx×nxn_x \times n_x Gram eigendecomposition instead of an SVD of the nx×ne(N)n_x \times n_e(N) factor or a PSD projection of size nx+ne(N)n_x + n_e(N), which is 22−216×22-216\times faster per call than the Schur-complement PSD projection, and (iv) validation on 3D linearized quadrotor dynamics demonstrating speed-ups of 7−98×7-98\times over MOSEK at 10−510^{-5} ( N=40−240N = 40-240), 47−2224×47-2224\times faster than SCS+cuDSS. socx solves long-horizon up to N=1120N = 1120, whereas MOSEK runs out of memory at N=320N = 320 and SCS+cuDSS times out at N=640N = 640.

We first review the background on the lifted convex formulation of stochastic optimal control in Sec. II and formulate parallel operators in Sec. III. Then, socx is presented in Sec. IV, with simulations and ablations in Sec. V followed by the conclusion.

Notation: Boldface letters denote random variables (e.g., xk\mathbf{x}_k, uk\mathbf{u}_k, e\mathbf{e}, wk\mathbf{w}_k). Sn++\mathbb{S}_{n}^{++} ( Sn+\mathbb{S}_n^+) is the cone of n×nn \times n positive definite (semidefinite) matrices, InI_n is the identity, and ∥x∥A2=x⊤Ax\|x\|_A^2 = x^\top A x for A∈Sn++A \in \mathbb{S}_{n}^{++}. Tr(⋅)\text{Tr}(\cdot), E[⋅]\mathbb{E}[\cdot], and var(⋅)\text{var}(\cdot) denote the trace, expectation, and variance. N(μ,Σ)\mathcal{N}(\mu, \Sigma) is a Gaussian with mean μ\mu and covariance Σ\Sigma, and ΦN(⋅)\Phi_{\mathcal{N}}(\cdot) and Φχn2(⋅)\Phi_{\chi_n^2}(\cdot) are the CDFs of the standard Gaussian and the chi-squared distribution with nn degrees of freedom.

References (26)