Representation Learning on Graphs: A Reinforcement Learning Application

Sephora Madjiheurem, Laura Toni

Abstract

In this work, we study value function approximation in reinforcement learning (RL) problems with high dimensional state or action spaces via a generalized version of representation policy iteration (RPI). We consider the limitations of proto-value functions (PVFs) at accurately approximating the value function in low dimensions and we highlight the importance of features learning for an improved low-dimensional value function approximation. Then, we adopt different representation learning algorithms on graphs to learn the basis functions that best represent the value function. We empirically show that node2vec, an algorithm for scalable feature learning in networks, and Graph Auto-Encoder constantly outperform the commonly used smooth proto-value functions in low-dimensional feature space.

Introduction

In Reinforcement Learning (RL), agents aim to learn an optimal policy by approximating a value function—a mapping that quantifies the long-term desirability of specific states. While tabular methods suffice for small state spaces, high-dimensional environments necessitate value function approximation. This is typically achieved by representing the value function as a linear combination of basis functions (features).

A significant challenge lies in selecting appropriate features. Traditional approaches like polynomials or radial basis functions assume a Euclidean state space. However, many RL environments are irregular, such as mazes where physical proximity does not imply reachability. To address this, Proto-Value Functions (PVFs) were introduced, utilizing the eigenvectors of the state-graph Laplacian. While PVFs capture global topology, they rely on a "smoothness" prior that often fails when the value function exhibits sharp discontinuities, such as near walls or goals.

Methodology: General Representation Policy Iteration (GRPI)

This paper proposes General Representation Policy Iteration (GRPI), a framework that generalizes spectral approaches by incorporating modern graph representation learning. The GRPI process consists of three main stages:

  1. Sample Collection: The agent explores the environment to collect transitions, which are used to construct an estimated state-graph representing the environment's topology.
  2. Representation Learning: Instead of relying solely on Laplacian eigenvectors, GRPI utilizes graph embedding models to learn $d$-dimensional vectors for each state. These vectors serve as the basis functions for value approximation.
  3. Control Learning: Least-Squares Policy Iteration (LSPI) is employed to determine the optimal weights for these learned features, ultimately deriving the agent's policy.
Grid-world environment and graph representation.

The authors evaluate several embedding techniques, including node2vec, which balances local structure and community membership; struc2vec, focusing on structural identity; GraphWave, utilizing spectral graph wavelets; and Variational Graph Auto-Encoders (VGAE).

Experimental Results

The proposed methods were tested on synthetic grid-world environments, including a two-room maze and a larger $100 \times 50$ environment. A key finding is the inadequacy of the smoothness prior in irregular spaces. Learned embeddings, particularly node2vec and VGAE, significantly outperformed traditional PVFs in low-dimensional settings.

Performance comparison across basis function dimensions.

As shown in the results, node2vec and VGAE converged to near-optimal step counts with only 20–30 basis functions, whereas PVFs required over 70 dimensions to reach similar performance. This efficiency stems from the ability of these models to capture both homophily (proximity) and structural equivalence (e.g., identifying "corners" across the map). Conversely, purely structural methods like GraphWave struggled because they could not distinguish between identical local structures located in different parts of the environment relative to the goal.

Conclusion and Future Work

This research demonstrates that shifting from fixed spectral methods to modern graph representation learning significantly improves value function approximation in RL. By learning features that better reflect the environment's underlying structure, agents can achieve high performance with lower-dimensional representations.

Future work will explore "reward-aware" features by incorporating observed rewards into the embedding process. Additionally, extending these graph-based methods to continuous state spaces and developing inductive learning capabilities for unseen states remain important areas for further investigation.

Summary updated

BibTeX
@inproceedings{madjiheurem2019representation,
  author = {Sephora Madjiheurem and Laura Toni},
  title = {{Representation Learning on Graphs: A Reinforcement Learning Application}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
  url = {https://openreview.net/forum?id=_o-q-NhniT},
}
Figure