Introduction
In reinforcement learning (RL), an agent must estimate a "value function"—a map of expected future rewards from any given state. Because real-world state spaces are often too large to map exactly, researchers rely on Value Function Approximation (VFA). This paper introduces a novel method to automatically generate basis functions (or "features") for VFA by analyzing the geometric structure of an agent's state space. By leveraging Diffusion Wavelets and Laplacian Eigenfunctions, the authors move away from brittle, hand-coded features toward a framework where the agent simultaneously learns the underlying representation and the optimal policy.
The Challenge of Feature Engineering
Traditionally, VFA relies on human-designed features, such as polynomials or radial basis functions. This trial-and-error process often ignores the actual "shape" or topology of the environment. For example, two states might be physically close in raw coordinates but separated by an impenetrable wall. A standard polynomial feature wouldn't "see" the wall, leading to poor learning and inaccurate value estimates. This paper seeks to automate feature construction by treating the state space as a graph or manifold and using spectral analysis to find its natural "harmonics."
Spectral Approaches to Feature Generation
The authors propose two main spectral approaches to capture the geometry of the state space:
- Laplacian Eigenfunctions (Proto-Value Functions): This approach treats the state space graph like a vibrating string or drumhead. The eigenfunctions of the graph Laplacian act as a global Fourier analysis. They are excellent at identifying structural "bottlenecks" (like a narrow doorway between two large rooms) but can struggle to represent functions that are only smooth in small, localized patches.
- Diffusion Wavelets: As the paper's primary contribution, Diffusion Wavelets provide a multiscale, hierarchical representation. Unlike the global nature of the Laplacian approach, they use powers of a diffusion operator (essentially simulating random walks of increasing length) to "dilate" functions.
This multiscale approach allows the agent to capture both fine-grained local details and broad global structures efficiently. The authors integrate these bases into Representation Policy Iteration (RPI), an algorithm that alternates between improving the basis functions based on the state-space topology and improving the policy using those functions.
Key Insights: Topology and Localization
A central insight of this work is that the topology of the task (how states are connected) is far more important for value approximation than the raw coordinates of the states.
This leads to the "Ripple" Problem: Laplacian eigenfunctions are global. A sharp change in one part of the environment can cause "ripples" or approximation errors in distant, unrelated parts of the state space. Diffusion wavelets solve this because they have compact support—they are strictly localized in space.
Furthermore, diffusion wavelets allow for the fast computation of high powers of Markov chains in $O(n)$ time. This makes it computationally feasible to solve for the fundamental matrix of the Markov chain, which is directly related to the value function.
Experimental Results
The methods were evaluated on representative RL benchmarks, including discrete grid worlds with bottleneck rooms and a 50-State Chain MDP.
- Superior Approximation: In a two-room grid world, Diffusion Wavelets significantly outperformed Laplacian eigenfunctions in least-squares error, especially when the value function was highly non-linear near goals but flat elsewhere.
- Stability: In the 50-state chain MDP, RPI using Diffusion Wavelets was much more stable than standard Least-Squares Policy Iteration (LSPI) using hand-coded polynomials. Increasing the degree of a polynomial approximator often caused LSPI to diverge into very poor policies, whereas the spectral methods remained robust.
- Accuracy: The best performing model in the chain task was RPI with 19 Diffusion Wavelet bases, achieving an error rate of 0.6, compared to an error of 2.8 for the best Radial Basis Function (RBF) setup and 34.4 for polynomials.
Limitations and Future Directions
While highly effective, the authors noted that policy error does not always decrease monotonically as more diffusion wavelet bases are added, suggesting the relationship between multiscale resolution and policy quality requires deeper theoretical investigation.
Additionally, while the experiments largely focused on discrete graphs, the authors suggest using the Nyström approximation to interpolate these functions for massive or continuous state spaces. Future work also aims to extend these spectral techniques to "factored" MDPs, where the state is described by many variables, to better handle the curse of dimensionality.
Summary updated