[Paper Review] Learning-based Control of Unknown Linear Systems with Thompson Sampling
This paper proposes Thompson Sampling with Dynamic Episodes (TSDE), a learning-based control algorithm for unknown linear-quadratic (LQ) systems. By using two dynamic episode stopping criteria—growth rate control and covariance determinant decay—TSDE achieves a Bayesian regret bound of $\tilde{O}(\sqrt{T})$, the first such near-optimal result for LQ control, and extends to time-varying parameters via re-initialization.
We propose a Thompson sampling-based learning algorithm for the Linear Quadratic (LQ) control problem with unknown system parameters. The algorithm is called Thompson sampling with dynamic episodes (TSDE) where two stopping criteria determine the lengths of the dynamic episodes in Thompson sampling. The first stopping criterion controls the growth rate of episode length. The second stopping criterion is triggered when the determinant of the sample covariance matrix is less than half of the previous value. We show under some conditions on the prior distribution that the expected (Bayesian) regret of TSDE accumulated up to time T is bounded by O(\sqrt{T}). Here O(.) hides constants and logarithmic factors. This is the first O(\sqrt{T} ) bound on expected regret of learning in LQ control. By introducing a reinitialization schedule, we also show that the algorithm is robust to time-varying drift in model parameters. Numerical simulations are provided to illustrate the performance of TSDE.
Motivation & Objective
- Address the challenge of learning optimal control policies in stochastic linear systems with unknown parameters, where traditional adaptive control lacks non-asymptotic guarantees.
- Overcome the exploitation-exploration trade-off in learning-based control by designing a computationally efficient algorithm that balances exploration and exploitation.
- Achieve a near-optimal regret bound of $\tilde{O}(\sqrt{T})$ for Bayesian regret in the LQ control problem, matching the information-theoretic lower bound up to logarithmic factors.
- Extend the algorithm to handle time-varying system parameters by introducing a re-initialization schedule, ensuring robustness to parameter drift.
- Demonstrate through simulations that TSDE achieves sublinear regret in both scalar and multi-dimensional systems, even under instability and non-stationary dynamics.
Proposed method
- Propose Thompson Sampling with Dynamic Episodes (TSDE), where episodes are terminated based on two criteria: (1) a controlled growth rate of episode length, and (2) a doubling trick that triggers when the determinant of the sample covariance matrix drops below half its previous value.
- At the start of each episode, sample system parameters from the posterior distribution to form an optimistic estimate, enabling exploration without solving complex optimization problems.
- Use a Bayesian update framework to maintain and refine the posterior distribution of unknown system parameters (A, B) using collected state and control data.
- Introduce a re-initialization schedule in TSDE-TV to adapt to time-varying parameters, allowing the algorithm to track changes in system dynamics and maintain sublinear regret.
- Leverage the structure of the LQ control problem to derive regret bounds using concentration inequalities and properties of the posterior distribution under the given prior assumptions.
- Apply the dynamic episode design to avoid the computational burden of OFU-based methods while achieving comparable regret performance.
Experimental results
Research questions
- RQ1Can Thompson sampling be effectively adapted to the LQ control problem with unknown parameters to achieve a near-optimal regret bound?
- RQ2What episode scheduling mechanism enables Thompson sampling to balance exploration and exploitation while maintaining computational efficiency in LQ control?
- RQ3Can the algorithm maintain sublinear regret under time-varying system parameters, and if so, under what conditions?
- RQ4How does the performance of TSDE compare to existing OFU-based algorithms in terms of regret and computational cost?
- RQ5To what extent does the algorithm remain robust when the prior assumptions on parameter distribution are relaxed?
Key findings
- TSDE achieves a Bayesian regret bound of $\tilde{O}(\sqrt{T})$, which is the first such near-optimal result for learning-based LQ control, matching the known lower bound up to logarithmic factors.
- The algorithm successfully controls both stable and unstable scalar and multi-dimensional LQ systems, with regret growing sublinearly as $\tilde{O}(\sqrt{T})$ in simulations.
- Even when Assumption 2 (on prior distribution) is violated (e.g., $\delta = 2$), TSDE still exhibits sublinear regret, suggesting robustness beyond theoretical assumptions.
- For time-varying parameters, the TSDE-TV variant with re-initialization maintains sublinear cumulative regret, with regret per unit time decreasing to zero over time.
- The regret per unit time for TSDE-TV decays to zero, confirming that the algorithm asymptotically learns the optimal control policy despite parameter drift.
- Numerical results confirm that the regret growth rate in both scalar and multi-dimensional systems aligns with the theoretical $\tilde{O}(\sqrt{T})$ bound, validating the theoretical analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.