Adaptive Bases for Reinforcement Learning

Dotan Di Castro, Shie Mannor

TL;DR

This paper introduces a framework for Reinforcement Learning (RL) where the basis functions used to approximate the value function are not fixed, but instead adapt dynamically as the agent interacts with its environment. By utilizing a "triple time scale" stochastic approximation—where the basis adapts even more slowly than the policy—the authors provide the first convergence guarantees for actor-critic methods with adaptive features, demonstrating significant performance gains in classic benchmarks.

What Problem Does This Paper Address?

In RL, agents often face "the curse of dimensionality": state spaces are too large to store a value for every possible situation. To solve this, researchers use Function Approximation (FA), representing the value function as a combination of a few "features" or basis functions.

The catch? The success of FA depends almost entirely on choosing the right features. If your features are poorly chosen, the agent will never learn an optimal policy. Historically, these features were hand-engineered by experts. This paper addresses the need for an automated way to tune these features on-the-fly without breaking the mathematical convergence of the learning algorithm.

Methods

The authors build upon the Actor-Critic (AC) framework. In a standard AC setup, you have two processes:

  1. The Critic (Fast scale): Estimates the value of the current policy.
  2. The Actor (Slower scale): Improves the policy based on the critic’s feedback.

The authors propose adding a Third Time Scale (the slowest of all) to update the parameters of the basis functions. They introduce three specific algorithms based on different error-minimization criteria:

  • ABTD (Adaptive Basis TD): Minimizes the standard approximation square error using a bootstrapping method.
  • ABBE (Adaptive Basis for Bellman Error): Minimizes the Bellman residual (the difference between the current value and the expected future value).
  • ABPBE (Adaptive Basis for Projected Bellman Error): A more complex version that minimizes the Bellman error after it has been projected into the feature space (this one actually requires four time scales to track various estimators).

The core theoretical contribution is using Multiple Time Scales Stochastic Approximation (MTS-SA) to prove that these nested loops of learning (Value $\rightarrow$ Policy $\rightarrow$ Features) eventually settle into a stable, locally optimal solution.

Datasets

The algorithms were evaluated on two types of environments:

  • Garnet Problems: A class of randomly constructed, finite Markov Decision Processes (MDPs) used as a standard "test-bench" for RL algorithms. They allow researchers to test how algorithms handle different branching factors and reward variances.
  • The Mountain Car Problem: A classic RL benchmark where an underpowered car must oscillate back and forth to gain enough momentum to climb a steep hill. The authors used Radial Basis Functions (RBFs) here, allowing the centers and variances of the "bumps" to adapt over time.

Key Insights and Ideas

  • The "Slowest Scale" Principle: The most critical insight is that for the system to remain stable, the features must change more slowly than the policy, which in turn changes more slowly than the value estimates. This prevents the "moving target" problem where the actor and the basis functions chase each other in circles.
  • Relieving the Expert: By making the basis adaptive, the burden of "feature engineering" is shifted from the human designer to the algorithm. Even a poor initial guess for features can be "stretched" or "moved" to fit the problem.
  • Convergence via MTS-SA: The paper demonstrates that the complex interaction of multiple learning rates can be mathematically tamed using Ordinary Differential Equation (ODE) methods, providing a solid theoretical foundation for what was previously a heuristic approach.

Key Results

  • Superior Fitness: In Garnet problems, the adaptive basis (ABTD) consistently achieved higher average rewards ($\eta$) compared to static basis versions, even when the number of features was very low ($K_r = 4$).
  • Efficiency in Mountain Car: The adaptive approach (ABTD/ABAC) solved the Mountain Car task significantly faster than standard SARSA or fixed-basis Actor-Critic methods. Specifically, an adaptive system with only 16 basis functions outperformed a fixed system with 64.
  • Robustness: The simulations showed that adaptive bases provide a "safety net"—if the initial feature placement is bad, the algorithm corrects it, whereas a static agent would simply fail.

Limitations and Future Work

  • Local Optima: Like most gradient-based methods, these algorithms converge to local optima. There is no guarantee they will find the globally best set of features.
  • Computational Complexity: The ABPBE algorithm is particularly "heavy," requiring four distinct time scales and several auxiliary estimators, which might be overkill for simpler problems.
  • Hyperparameter Sensitivity: While the paper proves convergence if the time scales are chosen correctly, finding the right ratios for those learning rates in a new problem remains a practical challenge.
  • Future Directions: The authors suggest extending this to discounted reward cases and exploring different objective functions, such as those used in GTD(0) algorithms.

Summary updated

BibTeX
@inproceedings{castro2010adaptive,
  author = {Dotan Di Castro and Shie Mannor},
  title = {{Adaptive Bases for Reinforcement Learning}},
  booktitle = {ECML/PKDD},
  year = {2010},
  doi = {10.1007/978-3-642-15880-3\_26},
}

Loading related content...

Figure