NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Value Iteration Networks

Aviv Tamar, Yi Wu, Garrett Thomas, Sergey Levine, Pieter Abbeel

Introduction: The Challenge of Generalization in RL

Most deep reinforcement learning (RL) successes rely on "reactive" policies. These are typically Convolutional Neural Networks (CNNs) that map a current observation directly to an action. While effective in specific environments, these networks often lack an explicit mechanism for reasoning about long-term goals or navigating complex constraints.

The fundamental issue is generalization. A reactive policy might learn to navigate a specific maze by memorizing the correct turns, but it often fails if the wall layout changes because it doesn't "understand" the goal-directed nature of the task. To solve novel environments, an agent needs to plan—a process that involves simulating potential future outcomes before taking an action. Value Iteration Networks (VIN) bridge the gap between the representational power of deep learning and the algorithmic robustness of classical planning.

The Value Iteration Network Architecture

The authors propose the Value Iteration (VI) Module, a unique neural network structure that performs an approximate version of the classical Value Iteration planning algorithm.

The Value Iteration Network architecture, featuring the differentiable VI module that embeds planning directly into the network's computation graph.

The core innovation is the realization that the Bellman equation used in Value Iteration—$V_{n+1}(s) = \max_a [R(s, a) + \gamma \sum P(s'|s, a) V_n(s')]$—shares the same mathematical structure as a CNN. By mapping VI components to neural network layers, the authors created a differentiable planning module:

  • Reward ($R$): Treated as an input image.
  • Transitions ($P$): Represented by convolution kernels.
  • Value Updates: Implemented through recurrent "VI blocks" that perform $K$ iterations of value iteration, where $K$ is the planning horizon.
  • Attention Mechanism: After planning, an attention module extracts the values for the agent's current state, which are then fed into a final reactive layer to choose the best action.

Because the entire module is composed of standard differentiable operations, the agent can learn the "internal" rewards and transitions necessary for planning through standard Imitation Learning or Reinforcement Learning.

Experimental Evaluation

VINs were evaluated across several diverse domains to test their planning capabilities:

  1. Synthetic Grid-Worlds: 2D mazes of various sizes with randomly placed obstacles.
  2. Mars Terrain Navigation: Navigation tasks using real overhead imagery of Martian landscapes.
  3. Continuous Control: Navigating a particle between obstacles in a continuous space.
  4. WebNav: A natural language search task requiring navigation through Wikipedia link graphs, demonstrating that VINs can plan on abstract structures.

Key Results and Generalization

The VIN significantly outperformed standard reactive baselines (CNNs and Fully Convolutional Networks) in terms of generalization. As the complexity and size of the environment increased, the performance gap widened dramatically.

A comparison of paths in a continuous space. The VIN (blue) successfully plans a path to the goal, while the reactive CNN (red) fails to navigate around obstacles.

In $28\times28$ grid-world mazes, VINs achieved a 97% success rate, while the best reactive CNN baseline dropped to 74.2%. Crucially, while reactive networks often achieve low prediction loss (getting individual moves right), they frequently fail to reach the goal. VINs prioritize the global structure of the path, leading to much higher completion rates and robust zero-shot generalization to environments never encountered during training.

Key Insights and Future Work

VINs treat planning as an inductive bias. Instead of hoping a standard CNN learns to plan, the architecture forces the network to learn a computation that mimics a plan. The network doesn't necessarily learn the true physics of the world; instead, it learns a "proxy" Markov Decision Process (MDP) optimized to produce the most useful plan for the final policy.

While powerful, the current VI module is best suited for 2D or graph-based environments. For very large maps, the computational cost of $K$ recurrences can be high. Future research may explore other differentiable planning algorithms, such as those based on Monte Carlo Tree Search or optimal linear control, to handle higher-dimensional state spaces in robotics and reasoning.

Summary updated

BibTeX
@inproceedings{tamar2017value,
  author = {Aviv Tamar and Yi Wu and Garrett Thomas and Sergey Levine and Pieter Abbeel},
  title = {{Value Iteration Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/700},
}
Figure