Introduction
In reinforcement learning (RL), representing the "true" value of every state is often impossible because the state space is simply too large. To overcome this, practitioners rely on linear value-function approximation, representing the value function as a weighted sum of features (or basis functions).
The persistent "million-dollar question" in RL has been: Where do these features come from? Historically, researchers had to hand-engineer them. While some automated methods existed—such as graph-based "proto-value functions" or error-driven approaches—they lacked strong theoretical guarantees. It was rarely clear if adding a new feature based on the current error would actually move the approximation closer to the optimal solution, or if it might cause the system to oscillate or diverge (a common pitfall with "Fitted Value Iteration").
This paper provides a rigorous theoretical foundation for Bellman Error Basis Functions (BEBFs)—a method for automatically discovering features in RL. The authors prove that iteratively adding the current Bellman error as a new basis function creates an orthogonal basis guaranteed to tighten value-function approximation bounds, even when the error is only roughly estimated.
The BEBF Method
The authors analyze a specific iterative scheme for feature generation:
- Initialize: Start with an initial set of features.
- Evaluate: Solve for the best value function weights using a fixed-point method like Least-Squares Temporal Difference (LSTD).
- Calculate Error: Compute the Bellman Error—the difference between the current value estimate and what the Bellman operator dictates the value should be.
- Generate Feature: Turn this error into a new feature ($\phi_{k+1} = T\hat{V} - \hat{V}$).
- Repeat: Add the feature to the set and iterate.
The paper distinguishes between Exact BEBFs (where a perfect model of the environment is available) and Approximate BEBFs (where the error is estimated from samples using a function approximator like Locally Weighted Regression).
Key Insights and Theoretical Guarantees
- Automatic Orthogonality: The most elegant finding is that each new BEBF is naturally orthogonal to all previous ones (under the stationary distribution). This means the algorithm essentially builds an orthonormal basis for the value function one piece at a time.
- Guaranteed Improvement: In the exact case, adding a BEBF is mathematically proven to tighten the approximation bound at least as much as a single step of exact value iteration would.
- The "Safe Angle" Condition: For practical scenarios where the Bellman error can only be estimated, the authors provide a geometric condition for success. As long as the angle between the estimated feature and the true Bellman error is less than $\cos^{-1}(\gamma)$ (where $\gamma$ is the discount factor), the approximation is guaranteed to improve.
- Robustness over FVI: Unlike Fitted Value Iteration (FVI), which can easily diverge, the BEBF approach always finds a stable fixed point for any set of features it generates, making it significantly more robust in practice.
Experimental Results
The authors evaluated their approach on two classic reinforcement learning benchmarks:
- 50-State Chain: A discrete environment where an agent moves left or right to reach high-reward states. This was used to validate the "exact" theory and test performance with noisy samples. The algorithm successfully discovered a set of 16 features that perfectly represented the optimal value function. Furthermore, experiments showed that even with a relatively small number of samples (e.g., 8,000 for the chain), the approximate BEBFs were sufficient to drive down the error significantly.
- Puddle World: A more complex, continuous 2D navigation task where the agent must reach a goal while avoiding "puddles" of high cost. This task is notoriously difficult for function approximation because of its steep reward gradients. Using Least Squares Policy Iteration (LSPI) combined with approximate BEBFs, the agent successfully learned high-quality policies. The resulting value functions clearly captured the "ridges" and "peaks" of the cost surface, which many other automated feature-discovery methods struggle to resolve.
Limitations and Future Work
While BEBFs offer strong guarantees, the authors note a few limitations:
- Function Approximator Sensitivity: The choice of the "inner" function approximator used to learn the BEBF from samples matters. In their tests, Locally Weighted Regression (LWR) was sensitive to parameter tuning and could underfit or overfit the noisy Bellman error.
- Uncontrolled vs. Controlled Systems: Much of the core theory was developed for "uncontrolled" systems (Markov chains). While the experimental results show it works for "controlled" systems (MDPs) via policy iteration, a more direct theoretical extension to the controlled case remains an open area.
- Sample Complexity: While the paper proves progress is made at each step, it does not provide a formal bound on how many samples are needed to ensure the "safe angle" condition is met in a general setting.
Summary updated