The Gap Between Model-Based and Model-Free Methods on the Linear Quadratic Regulator: An Asymptotic Viewpoint

Stephen Tu, Benjamin Recht

Introduction

In the field of reinforcement learning (RL), a fundamental architectural choice exists between model-based and model-free approaches. Model-based methods attempt to learn the underlying transition dynamics of an environment to derive a policy, while model-free methods bypass the dynamics to learn value functions or policies directly from experience. While empirical evidence often suggests that model-based methods are more sample-efficient, the reinforcement learning community has lacked a rigorous theoretical framework to quantify this gap in continuous control settings.

This paper addresses this gap by providing the first formal proof of a strict separation in sample complexity between these two paradigms. By utilizing the Linear Quadratic Regulator (LQR) as a benchmark, the authors demonstrate that model-based methods are asymptotically more efficient, with a performance advantage that scales significantly with the dimensionality of the system.

Problem Setting: The Linear Quadratic Regulator

The authors focus their analysis on the Linear Quadratic Regulator (LQR), a cornerstone of control theory. In this setting, the system dynamics are linear ($x_{t+1} = Ax_t + Bu_t + w_t$) and the cost function is quadratic. The goal is to find a control policy that minimizes the expected cumulative cost.

LQR provides an ideal testbed for this theoretical inquiry because it represents the simplest class of continuous control problems where the optimal solution is known and well-behaved. The study evaluates two primary RL tasks:

  1. Policy Evaluation: Estimating the value (expected cost) of a fixed, stable control policy.
  2. Policy Optimization: Finding the optimal controller parameters to minimize the infinite-horizon cost.

Methodology

To compare the efficiency of different algorithms, the authors employ asymptotic statistics. Rather than looking at loose upper bounds, they calculate the limiting distribution of the expected squared error (the "risk") as the amount of data—either trajectory length $T$ or the number of rollouts $N$—approaches infinity. This allows for a precise, head-to-head comparison of the statistical efficiency of the following algorithms:

  • Model-Based (Plugin Estimator): This method uses least-squares regression on observed transitions to estimate the matrices $A$ and $B$. These estimates are then plugged into the standard Riccati or Lyapunov equations to solve for the value function or the optimal controller.
  • Model-Free (LSTD and Policy Gradient): For policy evaluation, the authors analyze Least-Squares Temporal Difference (LSTD). For policy optimization, they analyze Policy Gradient (REINFORCE), the foundation for many modern deep RL algorithms.

Key Theoretical Insights

1. A Quantifiable Dimensionality Penalty

The core finding of the research is that model-free methods suffer a significant "dimensionality penalty" for ignoring the structural knowledge of the environment's dynamics. The gap between the two paradigms is not merely a constant factor but scales with the state dimension ($n$) and the input/action dimension ($d$).

2. The Limits of Variance Reduction

Policy Gradient methods are notorious for high variance, which practitioners often mitigate using "baselines" (e.g., value function or advantage function baselines). In a striking theoretical experiment, the authors provided the Policy Gradient algorithm with "perfect" baselines—the true, exact value and advantage functions. Even with this unrealistic advantage, Policy Gradient failed to match the sample efficiency of the simple model-based plugin estimator. This suggests that the inefficiency of model-free methods is structural and cannot be fully solved by variance reduction alone.

3. Asymptotic Optimality of Model-Based Methods

Through the use of minimax lower bounds, the authors prove that the model-based plugin estimator is asymptotically optimal in its dependence on state and input dimensions. This establishes the model-based approach as a gold standard for sample efficiency in the LQR setting.

Summary of Results

Policy Evaluation

The analysis shows that the model-based plugin estimator is strictly more efficient than LSTD. Specifically, for certain families of LQR instances, the model-based risk is lower than the LSTD risk by a factor equal to the state dimension $n$.

Policy Optimization

The disparity becomes even more pronounced in policy optimization. For the model-based method, the asymptotic risk scales as $O(nd/N)$. In contrast, Policy Gradient scales significantly worse, even when aided by perfect information:

  • With a simple baseline: $\Omega(T^2 d n^3 / N)$
  • With a perfect value function baseline: $\Omega(T d n^2 / N)$
  • With a perfect advantage baseline: $\Omega(d^2 n / N)$

Even in the absolute best-case scenario (the perfect advantage baseline), Policy Gradient requires a factor of $d$ (the input dimension) more samples than the model-based approach to reach the same level of performance.

Conclusion and Future Work

This work provides a rigorous mathematical foundation for the common intuition that model-based RL is more sample-efficient than model-free RL in continuous control. By showing that model-free methods pay a heavy price in high-dimensional spaces, the paper highlights the importance of leveraging environmental structure whenever possible.

While the current analysis is restricted to specific families of LQR instances to ensure convergence, it opens several avenues for future research. These include extending the analysis to more general LQR configurations, investigating the statistical cost of estimating baselines from data, and applying this asymptotic framework to compare exploration strategies in online learning settings.

Summary updated

BibTeX
@inproceedings{tu2019gap,
  author = {Stephen Tu and Benjamin Recht},
  title = {{The Gap Between Model-Based and Model-Free Methods on the Linear Quadratic Regulator: An Asymptotic Viewpoint}},
  booktitle = {Conference on Learning Theory},
  year = {2019},
}
Figure