Abstract
Relational Reinforcement Learning (RRL) is a system based on Q-learning in relational state-action spaces, designed for environments without a natural vector representation. This paper investigates using Gaussian processes (GPs) to approximate Q-values. To handle relational data, we propose graph kernels as a covariance function. To address numerical instability in standard GP updates, we employ incremental QR-factorization. Experiments in the Blocks World and Tetris demonstrate that GPs with graph kernels compete with or outperform regression trees and instance-based regression.
Introduction
Standard Reinforcement Learning (RL) typically relies on representing the environment as a fixed-length vector of constants. However, many complex domains are inherently relational, involving objects and their interrelationships (e.g., "Block A is on Block B"). Relational Reinforcement Learning (RRL) addresses these structured environments. Previous RRL systems used first-order regression trees or instance-based learning, which often suffer from data inefficiency or sensitivity to example ordering. This work proposes a kernel-based approach using Gaussian Processes to provide a more robust and principled framework for Q-value approximation in relational domains.
Methodology
Gaussian Processes for Q-Value Approximation
Instead of a point estimate, Gaussian Processes (GPs) provide a probability distribution over functions. In the context of RRL, the GP approximates the mapping between relational state-action pairs and their corresponding Q-values. This probabilistic approach allows the agent to maintain an estimate of uncertainty, which is crucial for balanced exploration and exploitation.
Relational Representation via Graph Kernels
To enable GPs to process relational data, states and actions are represented as labeled directed graphs. The similarity between these structures is computed using walk-based graph kernels. These kernels count common sequences of labels (walks) between two graphs, effectively measuring their structural similarity. To control generalization, the graph kernel is embedded within a Gaussian Radial Basis Function (RBF), where a single bandwidth parameter $\gamma$ determines the degree of similarity required for generalization.
Numerical Stability via QR-Factorization
A significant challenge in applying GPs to RL is the redundancy of data; agents frequently revisit similar states, leading to ill-conditioned or low-rank covariance matrices. Standard matrix inversion becomes unstable in these scenarios. The authors introduce an incremental QR-factorization update mechanism. This approach ensures numerical stability and improves efficiency, reducing the update complexity from $O(N^2)$ to $O(d^2)$, where $d$ represents the dimension of the active feature space.
Experimental Evaluation
The proposed system, RRL-KBR (Kernel-Based Regression for RRL), was evaluated on two benchmarks:
- Blocks World: Tasks included stacking all blocks or achieving specific configurations. RRL-KBR demonstrated superior learning curves, reaching optimal performance in fewer episodes than tree-based methods (RRL-TG) and generalizing well to larger numbers of blocks.
- Tetris: In this stochastic environment, the agent predicted the value of "afterstates." The QR-factorization method proved to be approximately 200 times faster than standard inversion and prevented the "peak and crash" behavior caused by numerical errors in standard GP implementations.
Conclusion
Combining Gaussian Processes with graph kernels provides a powerful framework for relational reinforcement learning. The use of QR-factorization is essential for maintaining numerical stability in the face of redundant relational data. Future work includes exploring more computationally efficient graph kernels and fully integrating uncertainty-based exploration strategies to further leverage the probabilistic nature of Gaussian Processes.
Summary updated