[Paper Review] Graph neural induction of value iteration
This paper proposes a graph neural network (GNN) that directly learns to execute value iteration (VI) across arbitrary Markov Decision Process (MDP) structures, using step-by-step supervision on intermediate VI states. The GNN achieves strong zero-shot generalization to out-of-distribution MDPs with varying sizes, topologies, and sparsity levels, demonstrating that GNNs can robustly induce the VI algorithm with high accuracy and policy recovery.
Many reinforcement learning tasks can benefit from explicit planning based on an internal model of the environment. Previously, such planning components have been incorporated through a neural network that partially aligns with the computational graph of value iteration. Such network have so far been focused on restrictive environments (e.g. grid-worlds), and modelled the planning procedure only indirectly. We relax these constraints, proposing a graph neural network (GNN) that executes the value iteration (VI) algorithm, across arbitrary environment models, with direct supervision on the intermediate steps of VI. The results indicate that GNNs are able to model value iteration accurately, recovering favourable metrics and policies across a variety of out-of-distribution tests. This suggests that GNN executors with strong supervision are a viable component within deep reinforcement learning systems.
Motivation & Objective
- To develop a neural network that directly learns the value iteration algorithm with explicit supervision on intermediate steps, rather than relying solely on reward-based training.
- To extend value iteration planning beyond grid-worlds to arbitrary MDPs with variable state and action spaces, using graph neural networks.
- To investigate whether GNNs can learn the algorithmic structure of value iteration with high fidelity and generalization to unseen MDP topologies.
- To enable integration of planning and policy learning by combining MDP model inference with differentiable value iteration execution.
Proposed method
- The method uses a message-passing GNN (MPNN) architecture that directly emulates the value iteration update rule using graph convolution operations.
- Each node (state) in the graph maintains a value estimate, updated via aggregation of neighbor messages based on transition probabilities and rewards.
- The message function computes the contribution of each action and successor state, using a learnable MLP to model the product of discount factor γ and transition probability p(s′|s,a).
- The update rule is implemented as a GNN layer that applies the Bellman update: v^(t+1)(s) = max_a [r(s,a) + γ Σ p(s′|s,a) v^(t)(s′)].
- The GNN is trained with direct supervision on the intermediate value estimates at each VI iteration, using mean squared error (MSE) loss.
- The model is evaluated on diverse MDPs, including Erdős-Rényi, scale-free, and sparse graphs, with zero-shot generalization to unseen graph distributions and deterministic mazes.
Experimental results
Research questions
- RQ1Can a GNN be trained to directly simulate the value iteration algorithm with supervision on intermediate steps, rather than only on final returns?
- RQ2How well does the GNN generalize to MDPs with different numbers of states and actions than seen during training?
- RQ3Does the GNN maintain high policy accuracy when tested on MDPs with different underlying graph structures (e.g., scale-free, star, tree)?
- RQ4How does the performance degrade on sparser or more deterministic MDPs, such as a standard 8×8 maze?
- RQ5Can the GNN be combined with MDP model learning from trajectories to form a model-free, end-to-end differentiable planning system?
Key findings
- The MPNN-Sum model achieved 99.3% policy accuracy on MDPs with 100 states and 20 actions, even when tested out-of-distribution.
- The model generalized robustly to unseen MDP graph distributions, including scale-free (Barabási-Albert), star, and tree-like structures, with consistent policy accuracy above 90%.
- On a fully deterministic 8×8 maze, policy accuracy dropped to 70%, indicating performance degradation on sparser, deterministic graphs not well represented in the training data.
- Using attention-based message aggregation (Attn-Sum) reduced MSE but significantly hurt policy accuracy, suggesting attention is less suitable for preserving value orderings in VI.
- Two-layer message functions (MPNN-2-Sum) yielded similar performance to one-layer models, indicating that simple MLPs suffice for modeling the VI update.
- The GNN achieved low MSE (e.g., 5.123 for |S|=100, |A|=20) and converged gracefully across iterations, showing stable learning of the VI dynamics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.