Accelerated and Instance-Optimal Policy Evaluation with Linear Function Approximation

Tianjiao Li, Guanghui Lan, Ashwin Pananjady

This paper, from researchers at the Georgia Institute of Technology, provides a rigorous theoretical foundation and a highly efficient new algorithm for one of the most common tasks in reinforcement learning: policy evaluation.

TL;DR

The authors establish the first instance-dependent lower bounds for policy evaluation with linear function approximation and introduce VRFTD (Variance-Reduced Fast Temporal Difference). VRFTD is the first algorithm to simultaneously achieve optimal rates for both deterministic convergence and stochastic sampling noise, even when dealing with highly correlated Markovian data.

What Problem Does This Paper Address?

In Reinforcement Learning (RL), policy evaluation is the task of estimating the "value" (long-term reward) of states under a specific strategy. When state spaces are massive, we use linear function approximation to represent these values using a small set of basis functions.

The authors identify a major gap: existing algorithms like Temporal Difference (TD) learning are often suboptimal. Specifically, they fail to be instance-optimal—their performance doesn't reach the theoretical "speed limit" dictated by the specific geometry of the problem at hand. Most analyses focus on "worst-case" scenarios, which can be overly pessimistic. Furthermore, previous methods struggled to balance two types of error:

  1. Deterministic Error: How fast the algorithm converges toward a solution in the absence of noise (related to "oracle complexity").
  2. Stochastic Error: The error introduced by the randomness of sampling transitions and rewards (related to "sample complexity").

Methods

The paper takes a three-pronged approach:

  1. Lower Bounds: Using "local asymptotic minimax" machinery, the authors prove exactly how well any algorithm can possibly perform on a specific problem instance. They show that the deterministic error is fundamentally limited by the "effective horizon" $(1-\gamma)^{-1}$.
  2. Algorithm Design (VRFTD): To meet these bounds, they develop the Variance-Reduced Fast Temporal Difference (VRFTD) algorithm. It combines three key ingredients:
  3. Variance Reduction: To "recenter" updates and dampen the noise from stochastic samples.
  4. Operator Extrapolation: An acceleration technique borrowed from optimization that allows the algorithm to take larger, more effective steps.
  5. Mini-batching: Used within the inner loops to stabilize the accelerated steps.
  6. Markovian Extension: Real-world RL data is rarely i.i.d. (independent and identically distributed); it usually comes from a single trajectory where the next state depends on the current one. The authors extend VRFTD to this "Markovian" setting by introducing a burn-in period during sample collection to reduce bias.

Datasets

The authors corroborate their theoretical findings using two primary simulations:

  • Two-State MRP: A simple, highly controlled Markov Reward Process used to verify that the algorithm exactly matches the predicted theoretical lower bounds.
  • 2D Grid World: A more complex environment with 400 states, 30 "traps" (negative reward), and a goal state. They used random features of dimension $d=50$ to test the algorithm's performance with linear function approximation.

Key Insights and Ideas

  • The "Aha" Moment on Acceleration: The authors discovered that standard accelerated TD methods (like FTD) fail to reach the oracle complexity lower bound because they don't handle noise efficiently. You cannot simply "add speed" to TD; you must reduce variance simultaneously to maintain stability at higher speeds.
  • Instance-Optimality Matters: By showing that the optimal error depends on the stationary distribution of the specific Markov chain, the paper moves beyond generic bounds to a more precise understanding of RL complexity.
  • Mixing Time is a "Weak" Factor: In the Markovian setting, they found that the "mixing time" (how long the chain takes to reach equilibrium) only affects the lower-order terms of the error. The dominant stochastic error remains as clean as the i.i.d. case, which is a encouraging result for practitioners using real trajectories.

Key Results

  • Optimal Convergence: VRFTD matches the oracle complexity lower bound of $\Omega((1-\gamma)^{-1} \log(1/\epsilon))$, whereas previous variance-reduced methods had a squared dependence on the horizon.
  • Empirical Speedup: In Grid World experiments, VRFTD converged significantly faster than TD, Conditional TD (CTD), and Fast TD (FTD).
  • Robustness: VRFTD proved to be less sensitive to step-size tuning than its predecessors, making it more practical for real-world engineering applications where hyperparameter tuning is expensive.

Limitations and Future Work

  • Tabular vs. Linear Bounds: While the authors proved a tight oracle lower bound for the tabular setting, they note that proving a similar bound that explicitly includes the "condition number" of the feature matrix in the linear approximation setting remains an open challenge.
  • Non-linear Structures: The current analysis relies heavily on the linear structure of the Bellman equation. Extending these "instance-optimal" and "accelerated" properties to non-linear RL problems (like Q-learning or Policy Gradient methods) is a major next step.
  • Generative Models: The paper focuses on i.i.d. and Markovian samples; exploring how these techniques apply to generative models (where you can query any state-action pair at will) could yield further optimizations.

Summary updated

BibTeX
@article{li2023accelerated,
  author = {Tianjiao Li and Guanghui Lan and Ashwin Pananjady},
  title = {{Accelerated and Instance-Optimal Policy Evaluation with Linear Function Approximation}},
  journal = {SIAM J. Math. Data Sci.},
  year = {2023},
  doi = {10.1137/21m1468668},
}
Figure