Skip to main content
QUICK REVIEW

[Paper Review] Finite-time Analysis of Approximate Policy Iteration for the Linear Quadratic Regulator

Karl Krauth, Stephen Tu|arXiv (Cornell University)|May 30, 2019
Advanced Bandit Algorithms ResearchDecision Sciences33 references22 citations
TL;DR

This paper provides the first finite-time analysis of approximate policy iteration (PI) for the Linear Quadratic Regulator (LQR), showing that policy evaluation dominates sample complexity. Using least-squares temporal difference learning (LSTD-Q), it establishes a sample complexity of $(n+d)^3 \varepsilon^{-2} \log(1/\varepsilon)$ to achieve an $\varepsilon$-optimal controller, with only $\log(1/\varepsilon)$ policy improvement steps required.

ABSTRACT

We study the sample complexity of approximate policy iteration (PI) for the Linear Quadratic Regulator (LQR), building on a recent line of work using LQR as a testbed to understand the limits of reinforcement learning (RL) algorithms on continuous control tasks. Our analysis quantifies the tension between policy improvement and policy evaluation, and suggests that policy evaluation is the dominant factor in terms of sample complexity. Specifically, we show that to obtain a controller that is within $\varepsilon$ of the optimal LQR controller, each step of policy evaluation requires at most $(n+d)^3/\varepsilon^2$ samples, where $n$ is the dimension of the state vector and $d$ is the dimension of the input vector. On the other hand, only $\log(1/\varepsilon)$ policy improvement steps suffice, resulting in an overall sample complexity of $(n+d)^3 \varepsilon^{-2} \log(1/\varepsilon)$. We furthermore build on our analysis and construct a simple adaptive procedure based on $\varepsilon$-greedy exploration which relies on approximate PI as a sub-routine and obtains $T^{2/3}$ regret, improving upon a recent result of Abbasi-Yadkori et al.

Motivation & Objective

  • To close the gap in understanding the finite-time sample complexity of model-free approximate policy iteration (PI) for continuous control tasks, particularly in the LQR setting.
  • To quantify the trade-off between policy improvement and policy evaluation in approximate PI, identifying which phase dominates sample complexity.
  • To extend the analysis to the online, adaptive LQR setting and derive a regret bound for a model-free algorithm using approximate PI as a subroutine.
  • To improve upon prior model-free regret bounds in online LQR by constructing an adaptive procedure based on $\varepsilon$-greedy exploration and approximate PI.
  • To establish the first non-asymptotic convergence rate for approximate PI in LQR, going beyond Bradtke's (1994) asymptotic consistency result.

Proposed method

  • Analyzes approximate PI using least-squares temporal difference learning (LSTD-Q) for policy evaluation, with a focus on the error in estimating the state-value function.
  • Derives a sample complexity bound of $\widetilde{O}((n+d)^3 / \varepsilon^2)$ per policy evaluation step, where $n$ is state dimension and $d$ is input dimension.
  • Shows that only $\mathcal{O}(\log(1/\varepsilon))$ policy improvement steps are needed to achieve $\varepsilon$-optimality in the controller, due to fast local convergence.
  • Constructs an adaptive algorithm using $\varepsilon$-greedy exploration and approximate PI as a subroutine, with a novel exploration schedule based on epoch-dependent noise variance.
  • Employs a discrete Lyapunov equation framework to analyze stability and error propagation in policy evaluation and improvement steps.
  • Uses a two-point estimator for derivative-free optimization (DFO) and compares with policy gradient methods in experiments, validating theoretical claims on sample efficiency.

Experimental results

Research questions

  • RQ1What is the finite-time sample complexity of approximate policy iteration for the LQR, and which component—policy evaluation or policy improvement—dominates it?
  • RQ2Can a model-free algorithm achieve sub-optimally fast regret in the online adaptive LQR setting, and how does it compare to model-based baselines?
  • RQ3Does approximate PI converge at a non-asymptotic rate in the LQR setting, and if so, what is the rate in terms of $\varepsilon$-optimality?
  • RQ4Can an adaptive exploration strategy based on $\varepsilon$-greedy exploration and approximate PI yield a better regret bound than prior model-free methods?
  • RQ5Is it possible to achieve a $T^{2/3}$ regret bound in online LQR using a model-free algorithm, and how does this compare to the $T^{1/2}$ optimal rate?

Key findings

  • The sample complexity of approximate PI for LQR is $\mathcal{O}((n+d)^3 \varepsilon^{-2} \log(1/\varepsilon))$, with policy evaluation being the dominant factor, requiring at most $(n+d)^3 / \varepsilon^2$ samples per step.
  • Only $\log(1/\varepsilon)$ policy improvement steps are needed to achieve $\varepsilon$-optimality, indicating fast convergence in the policy improvement phase.
  • The paper establishes a $\widetilde{O}(T^{2/3})$ regret bound for a model-free adaptive algorithm in the online LQR setting, improving upon the $\widetilde{O}(T^{2/3 + \varepsilon})$ bound of Abbasi-Yadkori et al. [3].
  • This $T^{2/3}$ regret bound is the best known for any model-free algorithm in online LQR, though it remains sub-optimal compared to the $T^{1/2}$ rate of model-based methods.
  • The analysis provides the first non-asymptotic convergence guarantee for approximate PI in LQR, extending Bradtke's (1994) asymptotic consistency result to finite-time error bounds.
  • The results are validated through experiments comparing policy gradient, DFO, and LSPI, with hyperparameters tuned via grid search to minimize cost after $10^6$ timesteps.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.