Reinforcement learning for constrained stochastic linear--quadratic control in continuous time
Authors: Weiping Wu, Qitong Pan, Xun Li, Peng Wu
Organizations: School of Economics and Management, Fuzhou University, Fuzhou, 350108, Fujian, China · Department of Applied Mathematics, The Hong Kong Polytechnic University, Hong Kong, China
We study continuous-time stochastic linear--quadratic control with a scalar state and nonnegative control constraints. With quadratic running costs, randomized exploration can change the optimal mean feedback. We introduce an auxiliary problem without entropy in which the conditional policy mean is nonnegative and the covariance is prescribed in proportion to the squared state. Moment reduction and state separation yield two regional Riccati equations and characterize the finite-horizon value function and optimal conditional mean. We give a sufficient control--cost compatibility condition under which this mean coincides with the optimal feedback of the original constrained problem. For time-invariant coefficients, we characterize the undiscounted infinite-horizon optimum and establish mean square asymptotic stability under the stated assumptions. For unknown dynamics, we develop model-free actor--critic schemes for finite and infinite horizons. Numerical experiments compare the learned policies with their analytical targets and examine the effect of exploration on the optimal mean.
Figures & tables
Case
Method
Critic error
EΨ0
E0
Terminal
Full
0.0138±0.0039
0.0035±0.0004
0.0035±0.0004
Running
Full
0.0263±0.0136
0.0071±0.0006
0.0070±0.0006
Running
Ablation
1.0000±6.9×10−8
0.0683±0.0001
0.0678±0.0001
Compatible
Full
0.1004±0.0626
0.0049±0.0002
0.0049±0.0002
Incompatible
Full
0.2855±0.1225
0.0098±0.0007
0.0115±0.0003
Table 1: Finite-horizon errors after 4000 actor iterations using the unnormalized gradients in ( 82 ) and ( 88 ). Entries are means ± sample standard deviations over three independent seeds.
Figure 1: Critic coefficient error during learning. The full method is shown by solid lines and the terminal-only ablation by dashed lines. Curves are three-seed means, shaded bands are one sample standard deviation, and the vertical scale is logarithmic.
Figure 2: Full-method gain errors relative to the exploratory and original oracles. The error to K+Ψ0 is shown by solid lines and the error to K+0 by dashed lines. Curves are three-seed means, shaded bands are one sample standard deviation, and the vertical scale is logarithmic.
Region
Learned K±
K±Ψ,∗
Learned θ±
P±Ψ,∗
Current-policy critic error
Stable runs
+
0.9837±0.0097
1.0000
0.5529±0.0589
0.5789
0.0517
20/20
−
0.0000±0.0000
0.0000
2.3526±0.0282
2.3333
0.0291
20/20
Table 2: Batch infinite-horizon actor–critic results after 400 rounds. Learned quantities are means ± sample standard deviations over 20 independent seeds. The current-policy critic error is the mean of ∣θ±+L±Ψ(K±)/N±Ψ(K±)∣ ; “stable runs” counts runs with N±Ψ(K±,k)<0 at every recorded iterate. Rates and oracle values are retrospective model-based diagnostics, not training gates.
Figure 3: Batch infinite-horizon learning across 20 independent seeds. Solid curves show means, shaded bands one sample standard deviation, and dashed lines the model-based algebraic targets. The positive critic has intermittent excursions even though the final learned gains are near their targets; the curves do not establish monotone or general convergence.
We study the problem of adaptive control of the stochastic linear quadratic regulator (LQR) with constraints that must be satisfied at every time step. Prior work on the multidimensional problem has shown O~(T2/3) regret and satisfaction of robust constraints, leaving open the question of whether O~(T) regret can be attained in the constrained LQR setting. We contribute to this problem by showing O~(T) regret and satisfaction of chance constraints. This type of constraints allow us to handle unbounded noise and also enable analytical techniques not directly applicable to robust constraints. Our proposed algorithm for this problem uses an SDP to select an optimistic policy, and then "scales back" this policy until it is verifiably-safe. Our theoretical analysis establishes regret and constraint guarantees via a key lemma that bounds the system covariance in terms of the chosen policy. This covariance-based analysis is in contrast with the cost-to-go based analysis that is typically used in adaptive LQR.
In this paper, we consider stochastic optimal control problems with infinite-horizon joint chance constraints. By means of an appropriate state augmentation, we reformulate the original problem as a constrained Markov decision process, in which both the cost and the constraint function exhibit an additive structure. We then prove that this formulation enjoys strong duality, thereby enabling us to reformulate the problem as an equivalent unconstrained one in the Lagrange dual framework. We propose a dual-ascent algorithm to solve the resulting problem and show that it converges to a deterministic Markov policy defined over the augmented state space that is both optimal and feasible. To accommodate continuous state-input spaces, we propose a dedicated learning algorithm to approximate the value function in an offline training setting, thereby significantly reducing the computational complexity of the online control phase. We then test our approach on a numerical example and demonstrate its effectiveness compared to online predictive control methods in terms of performance and computational complexity.
Francesco Cordiano, Kanghui He, Bart De Schutter
Delft Center for Systems and Control, Delft University of Technology, 2628 CD, Delft, The Netherlands · Department of Engineering Science, University of Oxford, OX1 3PJ Oxford, U.K.
We study the problem of state representation learning for control from partial and potentially high-dimensional observations. We approach this problem via cost-driven state representation learning, in which we learn a dynamical model in a latent state space by predicting cumulative costs. In particular, we establish finite-sample guarantees on finding a near-optimal representation function and a near-optimal controller using the learned latent model for infinite-horizon time-invariant Linear Quadratic Gaussian (LQG) control. We study two approaches to cost-driven representation learning, which differ in whether the transition function of the latent state is learned explicitly or implicitly. The first approach has also been investigated in Part I of this work, for finite-horizon time-varying LQG control. The second approach closely resembles MuZero, a recent breakthrough in empirical reinforcement learning, in that it learns latent dynamics implicitly by predicting cumulative costs. A key technical contribution of this Part II is to prove persistency of excitation for a new stochastic process that arises from the analysis of quadratic regression in our approach, and may be of independent interest.
Yi Tian, Kaiqing Zhang, Russ Tedrake +1
Massachusetts Institute of Technology · University of Maryland, College Park · Technical University Munich