Basis Function Discovery Using Spectral Clustering and Bisimulation Metrics

Gheorghe Comanici, Doina Precup

Introduction

In Reinforcement Learning (RL), environments with large or continuous state spaces require function approximation to estimate the value of being in a given state. Typically, this involves mapping states into a set of features and learning a linear combination of them. While hand-engineering these features is often tedious and domain-specific, automated methods like Mahadevan's "Proto-Value Functions" (PVFs) have gained traction. PVFs use spectral clustering on the environment's state-transition graph to discover features. However, a significant limitation of PVFs is that they are reward-independent, focusing solely on the topology of the environment. This paper addresses this "blind spot" by proposing a method to automatically generate features that respect both transition dynamics and reward structure.

Methodology: Reward-Aware Feature Discovery

The authors build upon the standard spectral feature discovery framework but replace the underlying graph representation. Instead of a simple adjacency matrix based on state transitions, they utilize bisimulation metrics to define the distance between states.

A bisimulation metric provides a mathematical way to quantify state similarity in a Markov Decision Process (MDP). Two states are considered "close" if they yield similar immediate rewards and transition to other "close" states with similar probabilities. By calculating this metric and converting it into a similarity matrix (using an inverse exponential map), the authors apply spectral clustering to extract eigenvectors that are inherently reward-sensitive. This ensures that the resulting basis functions resolve the state space more finely in regions where rewards vary significantly.

Experimental Evaluation

The proposed approach was evaluated on four synthetic MDPs designed to test the interaction between topology and reward: a Cycle MDP, a Hierarchical MDP, and two Grid World environments (7x7 and 9x11).

The Cycle MDP (left) and Hierarchical MDP (right) environments used to evaluate the proposed reward-sensitive feature discovery method.

These environments provide clear benchmarks for how well features can approximate value functions when the reward signal is localized or complex.

Results and Key Insights

The core finding of the study is that bisimulation-based features consistently outperform transition-only (accessibility-based) spectral features. Across 300 randomly generated policies, the proposed method achieved near-zero $L_2$ approximation error using significantly fewer features than the baseline.

Qualitative Analysis

In the 9x11 Grid World, the physical transition structure is not highly correlated with the actual value function. In this scenario, the baseline method required almost as many features as there were states to achieve low error. In contrast, the bisimulation-based method achieved negligible error with a small fraction of the features.

Heatmaps of discovered basis functions in the 9x11 Grid World, demonstrating how bisimulation metrics allow features to adapt to the reward landscape.

Theoretical and Practical Robustness

Beyond empirical results, the authors provide a significant mathematical extension (Theorem 1), proving that the bounded error guarantees associated with bisimulation metrics apply to general linear function approximation. Furthermore, the authors addressed the computational cost of bisimulation metrics. They found that even when the numerical precision of the metric was reduced (from $10^{-7}$ to $10^{-1}$), the resulting features still provided notable improvements over the baseline, suggesting that high-precision calculations are not always necessary for effective feature discovery.

Conclusion

This paper demonstrates that incorporating reward signals into spectral feature discovery via bisimulation metrics leads to more accurate and efficient value function approximations. While the computational cost of calculating these metrics remains a hurdle for very large state spaces, the theoretical guarantees and empirical performance gains highlight the importance of reward-aware representation learning in RL. Future work will focus on finding computationally cheaper ways to approximate these reward-based features.

Summary updated

BibTeX
@inproceedings{comanici2011basis,
  author = {Gheorghe Comanici and Doina Precup},
  title = {{Basis Function Discovery Using Spectral Clustering and Bisimulation Metrics}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2011},
  doi = {10.1609/aaai.v25i1.7918},
}
Figure