arXiv:2610.34995math.OCOct 2026

Manuscript Offprint

arXiv:2610.34995

Reinforcement learning for constrained stochastic linear--quadratic control in continuous time

Weiping Wu, Qitong Pan, Xun Li, Peng Wu

Abstract

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.

Keywords: Linear quadratic regulators, Optimal control, Stochastic control, Continuous time systems, Constraints, Reinforcement learning

1. Introduction

For classical unconstrained stochastic linear–quadratic (LQ) problems, Riccati equations provide a means of constructing optimal controls in linear state-feedback form; see Yong and Zhou (1999, Chapter 6). Its connection with mean–variance portfolio selection was established by Zhou and Li

(2000), using the indefinite stochastic LQ theory of Chen et al. (1998). Control constraints introduce difficulties even when the model coefficients are known. In the no-shorting problem, Li et al. (2002) showed that the usual completion-of-squares argument does not apply directly and that the associated Hamilton–Jacobi–Bellman (HJB) equation need not have a smooth solution. They characterized the solution through two Riccati equations and viscosity analysis. Hu and Zhou (2005) developed cone-constrained stochastic LQ control with random coefficients through two extended stochastic Riccati equations, while Li and Xu (2016) studied wealth and portfolio constraints by a martingale approach. For scalar-state systems with linear control constraints, Wu et al. (2020) established state separation and derived regional Riccati equations, including an infinite-horizon characterization under additional conditions.

These model-based approaches rely on specified system dynamics (Wu et al., 2020; Wang and Zhou, 2020). Their use in mean-variance portfolio selection faces two distinct difficulties. First, financial model specification must balance applicability and tractability, and models that retain more realistic market features can become difficult to solve with classical stochastic control tools (Hambly et al., 2023). Second, implementing model-based portfolio policies requires coefficient estimates. Accurate estimation is difficult, and portfolio allocations are sensitive to estimation errors (Wang and Zhou, 2020, Section 2.2). Model-free reinforcement learning (RL) can bypass explicit coefficient estimation and learn controls from observed interactions (Hambly et al., 2023; Wang and Zhou, 2020). However, the squared mean in a variance objective makes it nonlinear in expectation. The usual learning rules for expected cumulative rewards therefore cannot be applied directly to mean-variance criteria (Wang and Zhou, 2020, Introduction).

Exploratory stochastic control treats exploration explicitly in continuous time by replacing actions with probability distributions (Wang et al., 2020). The LQ structure provides analytical optimal exploratory policies in the settings of Wang et al. (2020); Wang and Zhou (2020). Auxiliary formulations without entropy have also recovered original optimal controls through policy means for specific investment criteria (Dai et al., 2026; Li et al., 2026). We study this auxiliary approach for scalar-state stochastic LQ control with nonnegative control constraints and quadratic running costs. We characterize its finite-horizon value and optimal conditional mean. Quadratic running costs can make exploration change the optimal mean, so its relationship with the original constrained feedback requires a separate analysis (Theorems 1 and 2). We also study the corresponding undiscounted infinite-horizon problem and construct learning methods for unknown dynamics (Sections 3.6 and 4).

The main contributions of this paper are as follows.

  1. Auxiliary formulation and finite-horizon solution. We formulate an auxiliary problem without entropy for scalar-state stochastic LQ control with nonnegative controls, using general randomized feedback policies with nonnegative means and prescribed state-dependent covariance. Moment reduction and state separation characterize its finite-horizon value function and optimal conditional mean (Section 2.3 and Theorem 1).

  2. Consistency with the original constrained problem. We give a sufficient control–cost compatibility condition under which the optimal conditional mean of the auxiliary problem coincides with the original optimal constrained feedback (Theorem 2).

  3. Undiscounted infinite-horizon control. We characterize the infinite-horizon optimal value and conditional mean, and establish mean-square asymptotic stability under the stated assumptions (Theorem 3).

  4. Learning with unknown dynamics. Using the martingale methods of Jia and Zhou (2022a,b), we develop finite- and infinite-horizon model-free actor-critic schemes. Numerical experiments compare the learned policies with their analytical targets (Sections 4 and 5).

The paper is organized as follows. Section 1.1 reviews the related literature. Section 2 defines the original and auxiliary problems. Section 3 establishes the exploratory-control results. Section 4 presents the learning methods, and Section 5 reports the numerical studies. Section 6 concludes the paper. The appendices provide the proofs and learning derivations.

References (27)