Abstract
XLVINs (eXecuted Latent Value Iteration Networks) bridge the gap between model-free reinforcement learning and classical planning by executing the Value Iteration algorithm directly in a high-dimensional latent space. By replacing error-prone scalar reward predictions with neural algorithmic reasoning, XLVINs break the "algorithmic bottleneck," leading to massive gains in data efficiency across control and Atari tasks.
Introduction
Reinforcement Learning (RL) agents generally fall into two camps: model-free (learning by trial and error) and model-based (planning using a map of the world). While planning is more data-efficient, it usually requires a "tabular" environment where every state and reward is perfectly known—a luxury rarely available in complex, pixel-based, or continuous worlds.
Recent "implicit planners" try to have it both ways by learning a world model and a planner simultaneously. However, they often suffer from an algorithmic bottleneck: they use neural networks to predict scalar rewards and values, then feed those scalars into a planning algorithm like Value Iteration (VI). If the scalar predictions are even slightly off, errors propagate through the planning steps, leading to poor policies. XLVIN asks: Can we plan without forcing our complex world into fragile scalar numbers?
Methods: eXecuted Latent Value Iteration Networks
Instead of predicting a single number for reward, XLVIN performs the "logic" of planning entirely within a high-dimensional latent space. This approach maintains "algorithmic alignment" with VI while remaining robust to the noise of real-world data.
Key components include:
- Encoder: Maps raw observations into latent embeddings.
- Transition Model ($T$): Learns to predict the "vector offset" an action causes in the latent space using a contrastive triplet loss.
- The Executor ($X$): A Graph Neural Network (GNN) pre-trained to execute the steps of Value Iteration on synthetic, random graphs. It is frozen after pre-training, allowing it to process high-dimensional latent features instead of scalars.
- Actor/Tail: Produces the final action probabilities and state-value estimates from the "planned" latent features.
Experimental Setup
The authors evaluated XLVIN across eight diverse, low-data environments, including classical continuous control (CartPole, Acrobot, MountainCar), navigation (LunarLander), and pixel-based Atari 2600 games (Freeway, Alien, Enduro, and H.E.R.O.). They also used grid-world mazes to test how well latent embeddings align with ground-truth values.
Key Results and Insights
XLVIN demonstrated extreme data efficiency. In the CartPole environment, it solved the task using only 10 trajectories—a 10x improvement over previous state-of-the-art representation learning methods. In "hard" environments like MountainCar and Acrobot, where rewards are sparse, XLVIN successfully learned to reach the goal while standard model-free baselines (PPO) and scalar-based planners (ATreeC) failed completely.
- Breaking the Scalar Bottleneck: High-dimensional embeddings represent uncertainty and complex relationships that scalars cannot, making the planner more graceful when the world model is imperfect.
- Zero-Shot Algorithmic Transfer: An executor trained on completely random, synthetic graphs can successfully plan in Atari games, suggesting that the logic of planning is a universal computation.
- Latent Alignment: Encoder models naturally organize the latent space according to "distance-to-goal," rediscovering environmental structure to simplify the GNN's planning task.
Limitations and Future Work
The current model uses a breadth-first tree expansion for planning, which scales exponentially ($O(|A|^K)$) with depth and action space size. This limits its use in environments with many possible actions. Future work may explore probabilistic transition models for stochastic environments and extensions to continuous action spaces for robotics.
Summary updated