Linear Dynamics meets Linear MDPs: Closed-Form Optimal Policies via Reinforcement Learning

Abed AlRahman Al Makdah, Oliver Kosut, Lalitha Sankar, Shaofeng Zou

TL;DR

This paper bridges classical control theory and reinforcement learning by coupling a known linear dynamical system with an unknown, exogenous linear Markov environment under a quadratic cost. By exploiting this hybrid structure, the authors derive closed-form optimal control policies and an exploration-free Least-Squares Value Iteration (LSVI) algorithm that guarantees closed-loop stability and achieves an $\tilde{\mathcal{O}}(T\sqrt{dL})$ regret bound.

What Problem Does This Paper Address?

In real-world control applications like grid-scale battery management or autonomous driving, engineers often have an exact physical model of the agent (e.g., battery degradation physics or vehicle kinematics), but must operate in an environment governed by complex, unpredictable external forces (e.g., consumer energy demand or traffic dynamics).

Classical Linear Quadratic Regulator (LQR) theory handles linear dynamics cleanly with closed-form solutions via Riccati equations, but struggles with complex, unknown stochastic environments. Conversely, reinforcement learning with linear Markov Decision Processes (linear MDPs) can model rich stochastic transitions, but typically treats the system as a monolithic black box, ignoring known physics, requiring complex exploration, and demanding expensive action-space optimization at every decision step. This paper fills the gap by unifying known deterministic linear dynamics with an unknown, exogenous linear Markov process.

Methods

The authors formulate a hybrid framework:

  • Agent Dynamics & Cost: A known discrete-time linear time-invariant (LTI) system $x_{t+1} = A x_t + B u_t$ with a known quadratic cost over states, environment, and inputs.
  • Environment Process: An exogenous Markov process $s_{t+1} \sim \mathbb{P}_t(\cdot \mid s_t)$ where transition kernels follow a feature-based linear representation $\mathbb{P}_t(s' \mid s) = \phi(s)^\top \mu_t(s')$, with known features $\phi(s) \in \mathbb{R}^d$ and unknown signed measures $\mu_t$.
  • Closed-Form Parametric Policy: The authors prove that the optimal $Q$-function decomposes into a deterministic Riccati term and a term linear in the environmental feature map $\phi(s)$. Because $Q$ remains strictly quadratic in the control input $u$, the optimal policy can be evaluated directly in closed form without inner optimization loops.
  • LSVI without Exploration: The unknown value-function parameters $\theta$ are estimated backward-in-time across episodes using regularized least-squares regression. Crucially, because control actions do not influence the exogenous environment, standard RL exploration (e.g., $\epsilon$-greedy or optimism bonuses) is completely unnecessary.

Datasets

No standard empirical or real-world datasets were used in this work. The evaluation is conducted on a synthetic simulation environment:

  • A discrete-time 2D unstable linear dynamical system.
  • A 1D continuous exogenous environment driven by a feature-based Markov process with a 2-component Gaussian mixture feature representation.

Key Insights and Ideas

  • Decoupling Control from Latent Uncertainty: Factoring the system into known internal physics and an external linear Markov environment yields an analytical Bellman target. This bypasses the continuous action-space maximization bottleneck common in continuous-state RL.
  • Exploration is Free for Exogenous Environments: Because the environment’s transition kernel is independent of control inputs $u_t$, the state space of the environment is naturally explored through its own stochastic drift, avoiding aggressive or unsafe exploratory actions.
  • Bridging ISS and RL Regret: Standard RL assumes bounded costs and focuses solely on sample complexity. The authors integrate control-theoretic Input-to-State Stability (ISS) proofs to ensure the physical state $x_t$ remains bounded throughout the learning process despite parameter estimation errors.

Key Results

  • Tighter Regret Bounds: The algorithm achieves a cumulative regret of $\tilde{\mathcal{O}}(T\sqrt{dL})$ with high probability (where $T$ is the episode horizon, $d$ is the feature dimension, and $L$ is the number of episodes). This bound scales linearly in $T$ and $\sqrt{d}$, improving significantly upon the $\mathcal{O}(T^2)$ and $\mathcal{O}(d\sqrt{d})$ dependencies found in general linear MDP literature.
  • Sample Complexity: To learn an $\varepsilon$-optimal policy, the algorithm requires $L = \tilde{\mathcal{O}}(d T^2 / \varepsilon^2)$ episodes.
  • Numerical Validation: Over $L = 1000$ simulated episodes with horizon $T = 30$, parameter estimation errors steadily decayed, the average regret converged to zero, and the learned policy stably matched the true optimal policy while tracking the mean of the exogenous signal.

Limitations and Future Work

  • Unmodeled Plant Noise: The agent dynamics are assumed to be strictly deterministic; adding internal process noise to the plant is left to future work.
  • Known Physical Dynamics: The system matrices $A$ and $B$ must be known a priori. Extending the framework to unknown or partially identified plant matrices remains an open challenge.
  • Strictly Exogenous Assumptions: The framework relies fundamentally on the assumption that agent actions have zero back-action on the environment (e.g., an energy storage system cannot influence market electricity prices).

Summary updated

BibTeX
@inproceedings{makdah2025linear,
  author = {Abed AlRahman Al Makdah and Oliver Kosut and Lalitha Sankar and Shaofeng Zou},
  title = {{Linear Dynamics meets Linear MDPs: Closed-Form Optimal Policies via Reinforcement Learning}},
  booktitle = {ARLET @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=uJMgFbd4vF},
}
Figure