---
title: "Value Iteration Networks — paper by Tamar et al. (2016)"
description: "Value Iteration Networks embed planning inside a neural policy, improving navigation on unfamiliar maps, continuous tasks, and web graphs."
canonical: "https://research.elamur.ai/free/en/papers/tamar-2016-value-iteration-networks/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/tamar-2016-value-iteration-networks/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / Value Iteration Networks

# Value Iteration Networks

Paper · 2016 · Aviv Tamar, Yi Wu, Garrett Thomas et al.

**Authors:** Aviv Tamar, [Yi Wu](https://md.research.elamur.ai/free/en/authors/yi-wu/), Garrett Thomas, [Sergey Levine](https://md.research.elamur.ai/free/en/authors/sergey-levine/) and [Pieter Abbeel](https://md.research.elamur.ai/free/en/authors/pieter-abbeel/) · **Year:** 2016 · **Venue:** arXiv:1602.02867 · Advances in Neural Information Processing Systems 29 pages 2154–2162, 2016 · **Licence:** [arXiv — non-exclusive licence to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**458** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2258731934) · [arXiv:1602.02867 · Advances in Neural Information Processing Systems 29 pages 2154–2162, 2016](https://openalex.org/S4306419999) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1602.02867)
- [arXiv 1602.02867](https://arxiv.org/abs/1602.02867)
- [OpenAlex](https://openalex.org/W2258731934)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Value Iteration Networks

Value Iteration Networks embed planning inside a neural policy, improving navigation on unfamiliar maps, continuous tasks, and web graphs. · about 36 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Choosing an action that looks sensible now is different from choosing an action that helps reach a distant goal. A navigation system may recognize a destination and nearby obstacles yet still fail when the useful route initially leads away from the destination. Value Iteration Networks addresses this gap between recognizing a situation and planning through it. The paper asks whether a neural policy can generalize better when its architecture contains a computation designed for planning, instead of relying on training alone to produce behavior with good long-term consequences.

The proposed value iteration network, or VIN, incorporates an approximate version of value iteration. This planning algorithm repeatedly updates estimates of how useful each state is, using rewards and possible transitions between states. The authors express its central operations as convolution followed by a maximum over actions. Repeating those operations produces a planning module that can sit inside a larger neural network. Because gradients can pass through the module, perception, planning, and action selection can be trained together through back-propagation. The architecture works with both imitation learning, which learns from demonstrated actions, and reinforcement learning, which learns from interaction and rewards.

An important qualification is that the internal planning problem need not reproduce the external environment exactly. The network can learn a simpler auxiliary decision process whose solution provides useful guidance. In a grid-world, this internal process resembles the original map. In continuous control, it is a coarse discrete representation of a system whose actual positions, velocities, and controls are continuous. For web navigation, the planner operates over a small category graph while the policy chooses links in a larger website. An attention component connects the internal plan to the current decision, selecting relevant values before a reactive component produces an action.

The experiments support the claim that this architectural structure helps policies transfer to unfamiliar task instances. In synthetic navigation, VINs outperform reactive convolutional alternatives, especially as maps become larger. On terrain images from Mars, a VIN reaches an 84.8% trajectory success rate without direct obstacle labels; a separate planner supplied with obstacle predictions learned from such labels reaches 90.3%. In continuous control, the VIN achieves better final-distance performance on unseen environments. In web navigation, the advantage is small when searches begin at the root of a category structure, but larger when searches begin elsewhere: the VIN completes 346 of 4000 test queries, compared with 304 for the reactive baseline.

The paper’s contribution is therefore an architectural argument supported across several settings: a reusable planning computation can be a useful prior for learning a policy. It does not establish that every successful neural controller requires an explicit planner, or that its internal planning process is an exact account of the environment. Instead, it shows that learning how to construct and use an approximate planning problem can produce better generalization than the particular reactive architectures tested.

### Ideas worth borrowing

Plan in a useful abstraction. The internal planning space does not have to contain every detail needed for execution. In continuous control, the planner works over a grid while the action-producing component handles motion with inertia and contact. In web navigation, a category graph supplies guidance for decisions on a larger graph. This separation is useful whenever an exact representation would be expensive or difficult to learn, but a simpler representation preserves enough structure to indicate promising directions. The reusable question is whether solving the smaller problem helps the final decision, rather than whether the smaller problem perfectly describes the world.

Build repeated computation into the architecture. A VIN reuses the same update operation across planning iterations. That structure expresses the idea that the rule for improving a value estimate should remain consistent as information travels through the planning space. The weight-sharing experiment supports this choice: removing sharing worsens performance, with a stronger effect when training data is limited. Elsewhere, a repeated reasoning operation may similarly benefit from being represented as a reusable update rather than a sequence of unrelated transformations. The architecture then spends its learning capacity on the operation’s content.

Train intermediate quantities for their eventual use. The reward map in a VIN is learned because it helps predict useful actions. It is not required to match an externally supplied reward map. In the Mars experiment, the perception component receives trajectory supervision without obstacle labels, yet learns features that support navigation. This is worth borrowing when intermediate annotations are unavailable, expensive, or imperfectly aligned with the final objective. The limitation is equally important: an intermediate representation that helps a task should not automatically be interpreted as a faithful measurement of the corresponding physical quantity.

Connect global computation to local decisions. Planning may involve values across an entire map, while the immediate action requires only a small part of that information. The attention component provides this connection. It selects current-position action values in the discrete grid experiment, a surrounding value patch in continuous control, and similarity-weighted information in web navigation. The broader design principle is to make a large computation accessible through a task-relevant interface. This can reduce the burden on the final decision component, provided the interface retains the information needed for the current choice.

Evaluate completed behavior. The navigation experiments distinguish individual action errors from successful trajectories. Reactive policies can have prediction losses comparable to VINs while failing much more often when their decisions are executed in sequence. This makes the evaluation lesson especially reusable: a metric over isolated decisions may hide the errors that determine whether an entire task succeeds. For any sequential system, it is useful to measure both the quality of its local predictions and the outcome of following those predictions. Neither metric alone gives the same account of behavior.

Use hierarchy to move information farther. Local value updates need repeated application before a distant goal can influence a state. The hierarchical extension first computes values at a coarser resolution, then supplies those values to a finer planner. This gives distant information a shorter route through the computation, while the finer level retains spatial detail. The idea applies when a task has meaningful structure at different resolutions. Its usefulness depends on whether the coarse representation preserves the distinctions that matter, since faster information transmission comes with less precise spatial information.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, the strongest connection is a possible architectural direction: make a structured decision process explicit, inspectable, and separate from the mechanism that turns its result into an action. A VIN offers a concrete example of this principle. It constructs rewards, propagates values through a chosen state space, and exposes selected planning information to an action-producing component. A language system could adopt that pattern when its task genuinely involves navigating alternatives towards a goal.

This should be treated as a possible use, not an established Mova feature. There is no basis for claiming that Mova already contains a VIN, trains through a differentiable planner, or has reproduced the paper’s experiments. The distinction matters because the paper describes a specific learned architecture, not merely the general idea of thinking ahead. Calling an explicit search routine a VIN would omit the defining connection between learned planning parameters, repeated value updates, attention, and joint training.

A concrete candidate would be navigation through a graph of linguistic or documentary states. Mova could represent available transitions explicitly, assign task-dependent preferences to states, and propagate values before selecting the next transition. The WebNav experiment provides the closest precedent within the paper: information from a smaller graph helps guide choices in a larger one. For a transparent system, the appeal would be the possibility of inspecting which states received favorable values and how those values influenced the selected action.

The paper also suggests a way to separate broad guidance from detailed execution. A planning component might identify a useful region of a structured search space, while an existing language component handles the exact local operation. This would parallel the continuous-control experiment, where the discrete planner supplies direction without directly generating a physically complete trajectory. Whether such a division helps Mova would depend on the task and representation. The paper does not test linguistic analysis, text generation, or Rust implementations, so it supplies an architectural hypothesis rather than evidence of improvement in those settings.

Transparency would require care in interpreting learned quantities. A learned reward can compensate for an approximate transition structure, as happens in the grid-world design. Its values therefore need not express an independently meaningful linguistic preference. Mova could expose the computation while still labeling its quantities according to their actual role: values used to guide a decision, rather than verified statements about language. Inspectability makes a process available for examination; it does not establish that each internal number has the meaning a reader might initially assign to it.

The evaluation lesson is immediately relevant even without adopting the architecture. If Mova performs a sequence of dependent operations, success should be assessed over the completed task as well as individual decisions. The paper shows why locally plausible choices can accumulate into unsuccessful behavior. A future comparison involving planning would therefore need unfamiliar task instances, a clear reactive baseline, and an outcome metric that reflects the purpose of the whole sequence. Those are proposals for applying the paper’s reasoning, not claims about experiments already carried out in Mova.

### The problem and its context

#### Why successful training behavior may not transfer

A policy maps an observation to an action or to a distribution over possible actions. In a sequential task, however, the quality of that action depends partly on what happens afterward. Moving toward a goal may be useful on an open map and disastrous when an obstacle blocks the direct route. The observation can look locally encouraging even when the long-term consequence is poor.

The paper situates this issue within the success of convolutional networks in visual learning. It cites work including [Multi-column Deep Neural Networks for Image Classification](https://md.research.elamur.ai/free/en/papers/cire-csan-2012-multi-column-deep-neural-networks/) and [ImageNet Classification with Deep Convolutional Neural Networks](https://md.research.elamur.ai/free/en/papers/krizhevsky-2012-imagenet-classification-deep-convolutional/) as part of the background for using such architectures to process images. It then notes their adoption in reinforcement learning and imitation learning, including visual game playing, robotic manipulation, and navigation.

The authors’ concern is architectural. A common design extracts visual features through convolution and sends those features to fully connected layers that predict an action. Training can make such a policy choose actions with favorable long-term consequences in its training environments. But the architecture does not explicitly perform a planning procedure when confronted with a new environment.

The paper calls these policies reactive because their forward computation directly maps observations to actions. This does not mean they are incapable of useful sequential behavior. Their training may produce very effective behavior. The question is whether the computation they learn transfers to configurations requiring a different route, rather than merely recognizing situations resembling the training cases.

Grid navigation makes that distinction easy to see. A policy can be trained on maps with different goals and obstacle arrangements, then tested on new maps. The desired generalization is an ability to work out a route around the new obstacles. The authors argue that an explicit planning computation supplies a useful prior for this kind of transfer.

They also acknowledge the capacity of reactive architectures. With sufficient representational power and enough data covering possible configurations, a reactive policy could learn the required mapping. Their argument concerns practicality: covering the relevant configurations can require too much data. The VIN aims to use the recurring structure of planning to reduce that burden.

#### Planning as a reusable computation

Value iteration provides the paper’s starting point because it applies the same rule throughout a decision space. Each update combines immediate reward with estimates of future value, then keeps the best available action. Repetition allows information about distant outcomes to affect decisions elsewhere.

This is a form of [reasoning](https://md.research.elamur.ai/free/en/topics/reasoning/) through consequences. Its relevance does not depend on memorizing a particular obstacle arrangement. The same update rule can operate on different maps once their rewards and transitions have been specified. The authors seek to preserve that reusable computational structure inside a trainable policy.

Their proposal builds on earlier connections between recurrent neural networks and planning, including the maze-navigation work of Ilin and colleagues. The paper presents its own contribution as a more broadly usable policy representation. The planning computation becomes a component that can be combined with perception and action selection, rather than a complete hand-specified solution for a single navigation task.

The distinction from conventional planning is also important. A standard planner assumes that the decision problem has already been supplied in an appropriate form. The VIN must learn how observations should define a useful planning problem. An image of terrain is not itself a reward function, and a text query is not already a set of values over website categories.

The paper therefore addresses both representation and computation. It supplies a structured computation for solving an internal problem, while learning parts of the mapping that construct that problem and connect its solution to behavior. The resulting system does not have to choose between learned perception and an explicit planning operation.

#### Why this differs from identifying the real dynamics

The paper contrasts VINs with approaches that first identify the environment’s dynamics and then solve the resulting decision problem. Accurate identification can be difficult in applications involving complex movement or contact. Errors in the identified dynamics can then damage the quality of the policy derived from them.

A VIN does not require a separate identification stage with the objective of recovering the true dynamics. Its internal transitions and rewards are useful insofar as they support the final policy. They may resemble the real environment, but their success criterion is the behavior produced after the entire architecture has been trained.

This explains why the authors describe VINs as compatible with learning without explicit system identification. The architecture contains a planning process, yet its training need not depend on a separately supervised account of physical transitions. Gradients from the policy objective can influence the internal quantities directly.

The paper distinguishes this arrangement from inverse reinforcement learning as well. In the comparison it makes, inverse reinforcement learning assumes known transitions. VIN design can include trainable transition parameters. That flexibility is central to the proposal, although particular experiments also use fixed transitions when the relevant graph structure is available.

#### Why attention belongs in the design

A planner may produce values for every internal state, but an immediate decision often needs only a small subset. On a locally connected grid, the consequences of an action depend on nearby states. Supplying the entire value map to an unrestricted output component would leave that component to discover which entries matter.

The authors connect their selection mechanism to attention, citing [Show, Attend and Tell](https://md.research.elamur.ai/free/en/papers/xu-2015-show-attend-tell-neural-image/). The shared principle is that prediction should focus on relevant portions of a larger representation. In a VIN, the representation being selected from is the result of planning.

Attention here does not always mean a learned soft weighting. In the simplest experiment, the correspondence between the real agent position and the planning grid is known, so the architecture directly selects the corresponding action values. In web navigation, the correspondence is less direct, and a learned similarity function connects pages to the smaller planning graph.

This range of designs matters to the paper’s claim. The architecture provides a general pattern, but applying it requires choices about the internal state space and how that state space connects to observations and actions. The experiments are partly demonstrations of how to make those choices in different domains.

### The method, step by step

#### Start with the external task

The external environment is represented as a Markov decision process, abbreviated MDP. It contains states, available actions, rewards, and a rule describing how actions change the state. A policy specifies which actions to choose. The goal is to obtain favorable rewards over time.

An observation need not be identical to the full state description. The paper writes the observation as a function of the state. A map image and an agent position, for instance, can form the input from which a policy must decide what to do.

The general policy notation is:

```
π_θ(a | φ(s))
```

Here, s is the external state, φ(s) is its observation, a is a possible action, and π_θ gives the probability of choosing that action. The subscript θ denotes the trainable parameters of the policy. The vertical bar means that the action distribution is conditioned on the observation.

The architecture can be trained by imitation learning or reinforcement learning. In imitation learning, an expert provides observations paired with appropriate actions. In reinforcement learning, the agent instead receives evidence through its own actions, the resulting transitions, and rewards. The architecture is the paper’s focus; it is not tied to a single learning objective.

From an observation to a planning-informed action The steps in order.

#### Define what the planner estimates

The value of a state summarizes expected reward accumulated after starting there and following a particular policy. Later rewards are discounted so that their contribution depends on how far into the future they occur.

```
V^π(s) = E^π[Σₜ₌₀^∞ γᵗ r(sₜ, aₜ) | s₀ = s]
```

V^π(s) is the value of state s under policy π. E^π denotes an expectation over possible trajectories generated by that policy and the environment’s transitions. The index t denotes time; sₜ and aₜ are the state and action at that time. The reward is r(sₜ, aₜ). The discount factor γ lies between 0 and 1, and γᵗ reduces the contribution of rewards received later.

Different policies can produce different values from the same state. The optimal value keeps the best value achievable by any policy:

```
V*(s) = max_π V^π(s)
```

V*(s) denotes the optimal value at s, and max_π ranges over policies. The expression defines the best achievable expected discounted return from that state. It does not specify how to find the maximizing policy.

Value iteration supplies a procedure for approaching that solution. It first estimates the value of each action, combining immediate reward with discounted successor-state values:

```
Qₙ(s, a) = R(s, a) + γ Σₛ′ P(s′ | s, a) Vₙ(s′)
```

The iteration index is n. Qₙ(s, a) is the action-value estimate for action a at state s. R(s, a) is the immediate reward, while P(s′ | s, a) is the probability that the action leads to successor state s′. Vₙ(s′) is the current estimate of that successor’s value. The sum averages successor values according to their transition probabilities.

The next state-value estimate keeps the best action-value estimate:

```
Vₙ₊₁(s) = maxₐ Qₙ(s, a)
```

Vₙ₊₁ is the updated value function. The maximum ranges over available actions a. This operation is applied across the state space, after which the updated values can be used in another iteration.

For the standard setting described in the paper, repeated updates converge to the optimal value function. An optimal action can then be recovered by selecting the action with the greatest converged action value:

```
π*(s) = argmaxₐ Q∞(s, a)
```

π*(s) is the optimal action selected at state s. Q∞ denotes the limiting action-value function, and argmax returns the action attaining the greatest value. The distinction between max and argmax is useful: the former returns a value, while the latter returns the corresponding choice.

#### Construct an auxiliary decision problem

A VIN does not necessarily run this procedure on an exact copy of the external MDP. It introduces an auxiliary MDP with its own states, actions, rewards, and transitions. The authors mark these internal quantities with bars.

The observation determines the internal reward and transition descriptions through functions that can contain trainable parameters:

```
R̄ = f_R(φ(s))
```

R̄ is the reward representation for the auxiliary planning problem. The function f_R maps the external observation φ(s) into that representation. In the synthetic navigation experiment, this means turning obstacle and goal images into a reward image.

```
P̄ = f_P(φ(s))
```

P̄ is the internal transition representation, and f_P specifies how it is obtained from the observation. This notation describes the general architecture. In particular experiments, transitions may instead be shared across observations or fixed from known connectivity.

The distinction between the external and auxiliary problems allows useful simplifications. A grid planner can use spatially shared transitions even though obstacles alter what movement is actually possible. The reward map can penalize obstacle regions strongly enough to make the resulting plan useful.

This is a substantive flexibility, but also a constraint on interpretation. A successful auxiliary reward map need not recover the task’s actual reward specification. Likewise, successful transition weights need not amount to an identified account of the environment. Joint training can distribute the work of producing good behavior across these components.

#### Turn value updates into convolution

The central computational observation is that a value-iteration update resembles a convolutional operation followed by maximization. A convolution aggregates information from neighboring positions using shared weights. A transition-weighted value update also aggregates successor information using a consistent local rule.

For context, the paper describes a conventional convolutional layer as:

```
h_c,i′,j′ = σ(Σₗ,ᵢ,ⱼ Wᶜ_l,i,j X_l,i′−i,j′−j)
```

X is the input tensor, and l indexes its input channels. The spatial output position is given by i′ and j′; i and j index offsets within a convolution kernel. Wᶜ contains the kernel weights for output channel c. The function σ is a scalar activation, and h is the resulting output tensor. The letter c here labels an output channel.

Ordinary convolutional architectures may follow such a layer with spatial max-pooling:

```
hᵐᵃˣᵖᵒᵒˡ_l,i,j = max_(i′,j′)∈N(i,j) h_l,i′,j′
```

The neighborhood N(i,j) contains spatial positions around i,j. The operation retains the largest activation in that neighborhood for channel l. This background matters because the planning module uses a different pooling direction: it maximizes across action channels at a fixed state.

In the VI module, each action channel represents an action-value estimate. For the reward input, the paper writes the convolutional transformation as:

```
Q̄_ā,i′,j′ = Σₗ,ᵢ,ⱼ Wᵃ̄_l,i,j R̄_l,i′−i,j′−j
```

Q̄ is the internal action-value tensor. The index ā identifies an internal action channel. R̄ is the reward input, with channel index l and spatial indices determined by the kernel offsets. Wᵃ̄ contains the weights for the corresponding output channel. The transformation uses a linear activation.

The value layer then selects the largest action value at each position:

```
V̄_i,j = max_ā Q̄(ā, i, j)
```

V̄ is the internal value map. The spatial position i,j corresponds to a state in the planning grid. Maximizing over ā keeps the best action-value estimate at that state.

The value map is subsequently combined with the reward input and sent through the shared transformation again. Repeating this process K times creates a finite planning computation. The transition-related weights carry information between neighboring positions, while the maximum implements the choice among actions.

The recurrence is important because distant rewards cannot influence every state immediately when updates are local. Each pass expands the reach of information. K therefore determines part of the planner’s computational horizon, and the experiments choose it in relation to map size.

#### Read the plan through attention

The planning module produces information across its internal state space. The policy must then identify the portion useful for the current external decision. This is the role of attention.

For discrete grid navigation, the correspondence is direct:

```
ψ(s) = Q̄(s, ·)
```

ψ(s) is the vector passed from the planning computation to action selection. Q̄(s, ·) denotes all internal action values at the grid position corresponding to external state s. The dot means that the action index ranges over its available values.

The final grid policy transforms that vector into action probabilities:

```
π_re(· | ψ(s)) ∝ exp(Wᵀ ψ(s))
```

π_re is the reactive output component, and W contains its learned weights. The transpose Wᵀ maps the selected planning features into action scores. Exponentiation and normalization produce a softmax distribution. The proportionality sign indicates that the expression still requires normalization across actions.

The general architecture can also allow the reactive component to receive the original observation alongside planning features. This lets it combine information about the current situation with guidance from the internal plan.

In continuous control, attention supplies a neighborhood rather than values from a single grid position. The output component also receives information needed to handle the particle’s motion. In web navigation, attention must establish a learned correspondence between the larger website and the smaller planning graph.

#### Specify the grid-world training procedure

For supervised grid navigation, the training data contains N_i=5000 randomly generated grid-world instances. Each instance contributes N_t=7 expert trajectories, obtained from an optimal planner with randomly chosen start and goal positions. Each visited state contributes an observation and an action label.

The observation image has an obstacle channel and a goal channel. Obstacle entries use 1 where an obstacle exists and 0 elsewhere; the goal channel marks the destination in the same way. The agent’s position is included separately. Labels identify an optimal movement among 8 directions.

The reward-producing network uses 150 convolution kernels of size 3 × 3, followed by a layer with a single 3 × 3 filter. Its output is the reward image. The internal transition operation also uses 3 × 3 kernels, reflecting the locality of grid movement.

The action-value layer contains 10 channels. The recurrence settings are K=10 for 8 × 8 maps, K=20 for 16 × 16 maps, and K=36 for 28 × 28 maps. The authors choose these settings to allow goal information to reach across the map without making the network unnecessarily large.

Training uses a multiclass logistic regression objective, stochastic gradient descent, and RMSProp for step-size adaptation. The implementation uses [Theano](https://md.research.elamur.ai/free/en/papers/the-theano-development-team-2016-theano-python-framework-fast-computation/). The paper also names an official source-code repository, making the architecture and experiment implementation available alongside the methodological description.

#### Adapt the interface for language-based navigation

WebNav uses pages as states and hyperlinks as available actions. Both page text and the query are represented through bag-of-words features built from pretrained [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/). The task therefore connects a graph-navigation problem with [information retrieval and search](https://md.research.elamur.ai/free/en/topics/information-retrieval/).

The reactive baseline first combines the current page and query features:

```
h(s, q) = tanh(W[φ(s); φ(q)])
```

h(s,q) is a hidden vector for page s and query q. The semicolon denotes concatenation of the feature vectors φ(s) and φ(q). W is a learned weight matrix, and tanh applies the hyperbolic tangent function element by element.

It scores a linked page by comparing that hidden vector with the page’s features:

```
π_bsl(s′ | s, q) ∝ exp(h(s, q)ᵀ φ(s′))
```

π_bsl is the baseline action distribution. The candidate successor page is s′, restricted to valid outgoing links from s. The inner product gives its score, and exponentiation followed by normalization converts scores into probabilities.

The VIN adds planning over a smaller graph. Its internal reward depends on the query and an internal page:

```
f_R(s̄ | q) = tanh((W_R φ(q) + b_R)ᵀ φ(s̄))
```

s̄ is a node in the smaller planning graph. W_R is a learned diagonal matrix, and b_R is a learned bias vector. The expression transforms the query features and compares them with the internal node’s features φ(s̄). The resulting scalar supplies that node’s reward.

The attention function uses another learned similarity transformation:

```
Π(V̄*, s) = Σ_s̄∈S̄ sigmoid((W_Π φ(s) + b_Π)ᵀ φ(s̄)) V̄*(s̄)
```

Π is the attention output associated with page s. S̄ is the internal node set, and V̄*(s̄) is the planning value at an internal node. W_Π is diagonal and b_Π is a bias vector. The sigmoid produces a weight for each internal node, and the weighted values are summed. Unlike a normalized probability distribution, these sigmoid weights are not required to sum to a fixed total.

The implementation also computes a state-and-query-dependent coefficient:

```
γ(s, q) = tanh(W_γ[φ(s); φ(q)])
```

W_γ contains learned parameters, and the concatenated inputs describe the current page and query. This coefficient belongs to the WebNav combination mechanism and should be distinguished from the fixed discount factor used to introduce standard value iteration. The final architecture combines the planning contribution with the baseline network’s output.

#### Train the recurrence as part of the policy

Once the internal state space, transitions, reward function, and attention interface have been chosen, the entire computation is trainable through gradients. The paper’s differentiability claim concerns this ability to propagate learning signals through the finite planning module and into the functions that construct its inputs.

This does not mean that training must provide correct values for every internal state. In the supervised navigation experiments, the primary evidence is the expert action. If a different reward map or transition weighting helps predict those actions, learning can adjust it accordingly.

Nor does joint training eliminate architectural decisions. The designer still chooses what internal states mean, how they connect, how often updates repeat, and what the output component receives. The paper’s different experiments demonstrate several workable designs instead of a procedure that automatically discovers every aspect of the planner.

### Experiments and results

#### What counts as generalization

The experiments ask whether policies learn behavior that transfers to task instances absent from training. In navigation, an instance changes the placement of obstacles, the goal, and the initial state. A successful policy must use the new observation to choose a useful route.

This is a specific form of [evaluation and benchmarking](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/). It tests transfer within a task family, rather than transfer to arbitrary new physical laws or unrelated objectives. For continuous control, the distribution used to sample training instances is explicitly also used to sample test instances.

The authors use different metrics because the tasks require different forms of behavior. Discrete navigation includes action prediction loss, trajectory success, and excess path length among successful trajectories. Continuous control measures final distance to the target. Web navigation evaluates predictions over outgoing links and whether the complete required sequence remains within the allowed choices.

These distinctions matter when interpreting the paper’s overall claim. A better action prediction metric is not identical to a better success rate, and a successful top-4 web query is not identical to an autonomous run choosing only its highest-scoring link.

#### Synthetic maps: local accuracy and complete routes

The supervised grid-world comparison includes the VIN and reactive CNN and FCN alternatives. The CNN uses 5 convolutional layers with a fully connected action output. The FCN uses 3 convolutional layers and produces location-specific features, selecting the features corresponding to the agent position before predicting an action.

The FCN is an important baseline because it is designed to give every location access to goal information. Its first filter spans the image, so its limitations cannot simply be attributed to an inability to see the destination. It differs from the VIN in the structure of the computation applied to that information.

Held-out maps provide the test cases. For each map, the authors measure action prediction error and roll the policy forward to obtain a complete trajectory. A trajectory succeeds when it reaches the destination without encountering an obstacle. For successful trajectories, the authors also compare the route length with an optimal route.

The paper reports that VINs outperform the reactive alternatives, with the separation becoming more pronounced on larger maps. It also reports that the action prediction losses can be comparable in spite of much poorer trajectory success for the reactive policies.

That combination is central to the result. The advantage is not adequately described as simply getting more individual labels right. It concerns where the remaining errors occur and how damaging those errors are when behavior unfolds over time.

The available numerical account does not give the cells of the synthetic-grid results table. Exact success percentages and path-length differences therefore cannot be assigned to these comparisons. The supported conclusion is the reported ordering and its relationship to task size, together with the contrast between local prediction loss and complete-route success.

#### Mars terrain: learning from images without obstacle labels

The Mars experiment replaces an explicit obstacle image with a terrain photograph. Its purpose is to test whether the planning architecture can operate with a learned visual front end, instead of requiring the relevant geometry to be directly supplied.

Each task uses a 128 × 128 image patch and a corresponding 16 × 16 planning grid. A grid cell represents an 8 × 8 image region. Elevation information determines whether that region contains a slope of 10 degrees or more and should count as an obstacle.

The image data comes from the High Resolution Imaging Science Experiment. The experiment uses grayscale terrain imagery with matching elevation information. Crucially, the elevation information defines the task and generates supervision, but it is not an input to the VIN.

The reward-producing component receives additional convolution and pooling layers to process the raw image. These visual layers are trained with the rest of the architecture, without a separate pretraining stage for the input filters. The agent must learn image features that support the trajectory objective.

The training dataset contains 10K image patches with 7 random trajectories per patch. Evaluation uses a held-out set of 1K patches. The VIN’s trajectory success rate is 84.8%.

For context, the authors train a separate obstacle classifier on image patches using obstacle labels derived from elevation. A planner then operates on the predicted obstacle map. This comparison receives stronger intermediate supervision than the VIN and obtains a 90.3% success rate.

Mars terrain navigation, trajectory success rate The VIN approaches the separately supervised obstacle-based planner while learning from trajectory supervision.

**The numbers**

| System or setting | success rate % |
| --- | --- |
| VIN without obstacle labels (this paper) | 84.8 |
| Planner with supervised obstacle predictions | 90.3 |

The comparison supports the claim that direct obstacle annotations are not necessary for learning useful image-to-planning behavior in this experiment. It also shows that interpreting the terrain image is difficult: even the separately supervised obstacle pipeline does not produce universally successful navigation.

The paper describes that pipeline as an upper reference for performance without elevation input. A careful reading should keep the qualification attached to its construction. It is the performance of the particular image classifier and planner used for comparison, instead of a proof that no other image-based method could do better.

#### Continuous control: planning above the physical state

The continuous task involves a particle controlled through horizontal and vertical forces. The particle has mass and inertia. Obstacles exert elastic and frictional effects when contacted, so producing a route requires more than selecting neighboring grid cells.

The observation contains continuous position and velocity, together with a 16 × 16 image of obstacles and the goal. The VIN plans over this coarse image representation while its output component predicts continuous controls.

Training uses 200 randomly generated instances. Testing uses 40 different instances from the same distribution. The learning procedure is guided policy search with unknown dynamics, using the publicly available GPS implementation and MuJoCo for simulation.

The technical setup runs 10 iLQG iterations with a quadratic goal-distance cost, followed by one neural-policy fitting iteration. The authors choose this arrangement to compare the policy architectures while limiting additional effects from the full guided-policy-search procedure.

The VIN’s attention selects a 5 × 5 value patch around the discretized particle position. A 3-layer fully connected component turns the relevant information into a 2-dimensional control output. The reactive CNN baseline uses 2 convolutional layers for the image and a comparable 3-layer fully connected output component.

The VIN receives an informative initialization for its transition weights, based on discounted grid-world movement. The authors use this prior because the number of training environments is limited. The reward map still has to be learned, so the initialization does not itself supply a meaningful value landscape.

Final distance to the target is the reported metric. The plotted results favor the VIN on test environments, and the displayed trajectories support the authors’ interpretation that it transfers more sensibly to new arrangements. Exact distances are not stated in the numerical text, so the result supports a qualitative comparison without supplying defensible numerical distances.

#### Reinforcement learning on grid maps

The appendix checks whether the architecture also works when expert actions are unavailable. Both architecture families train on randomly generated maps and are evaluated on a separate set generated in the same way.

This setting uses deterministic movements up, down, left, and right. The reward is +1 upon reaching the destination, −1 for entering a hole, and −0.01 otherwise. The negative intermediate reward encourages shorter routes.

Training uses trust region policy optimization through the publicly available RLLab implementation. A curriculum begins with easy tasks and advances as performance improves. Task difficulty is measured by optimal path length.

For 8 × 8 maps, the VIN and CNN receive the same number of training iterations. For 16 × 16 maps, the CNN is allowed twice as many iterations because it is struggling, yet the authors report that it still remains well below the VIN’s test performance.

Evaluation measures whether the destination is reached, instead of reporting the exact accumulated reward. The appendix supports the broader claim that the architecture can learn through reinforcement as well as imitation. As with the supervised grid comparison, exact success percentages are not supplied in the table captions and accompanying numerical account.

#### WebNav from the root and from unfamiliar starting points

The main WebNav experiment uses Wikipedia for Schools, containing over 6,000 pages and at most 292 outgoing links on a page. A query comprises 4 sentences associated with the destination page.

The VIN’s planning graph includes only the 1st and 2nd category levels, accounting for less than 3% of the website graph. This makes the experiment a test of planning through an abstraction instead of solving the full navigation graph directly.

Both policies learn from random trajectories that begin at the root. A query counts as successful when each required action along the route appears within the policy’s top-4 predictions. The appendix specifies a shortest-path success requirement, making the evaluation stricter than accepting any sufficiently short route to the destination.

On 2000 held-out queries beginning at the root, the policies perform similarly:

Wikipedia for Schools, successful queries from the root Starting at the root produces only a small separation between the policies.

**The numbers**

| System or setting | successful queries out of 2000 |
| --- | --- |
| Reactive baseline | 1025 |
| VIN (this paper) | 1030 |

The authors explain this result through the website’s category structure. When traversal begins at the root, page features frequently already indicate which branch is relevant. A reactive policy can make useful progress by following that semantic organization.

Starting at a random page creates a harder navigation problem. The useful route may require leaving a locally plausible region and moving toward a different branch. On 4000 test queries under this condition, the VIN achieves more successful runs:

Wikipedia for Schools, successful queries from random starts The VIN has a clearer advantage when navigation begins away from the root.

**The numbers**

| System or setting | successful queries out of 4000 |
| --- | --- |
| Reactive baseline | 304 |
| VIN (this paper) | 346 |

This comparison is consistent with the proposed role of planning, although it does not directly reveal the internal strategy used on every successful query. The task change makes simple local similarity less sufficient, and the planning architecture becomes more useful under that change.

#### Preliminary results on the larger website

The appendix also reports a larger WebNav experiment using full Wikipedia for navigation and Wikipedia for Schools as the planning graph. The navigation website contains 4.8 million pages, with a maximum of 300 links per page.

The dataset includes 779,169 training queries and 20,004 test queries. The text also specifies 3 million training samples and 76,664 test samples, distinguishing individual decision examples from complete queries.

Training initially fits the VI component with K=0. The learned reward representation is then held fixed while the combined system is trained with K=4. This staged procedure is specific to the larger experiment and should not be confused with a claim that all VIN training uses this schedule.

The authors report prediction accuracy that is 1.5% better than the baseline and a success rate that is 2.5% better. They relate the latter result to the need for 4 consecutive correct predictions. The account does not supply the absolute values or resolve the precise denominator convention behind those improvement statements, so they should remain in the form reported.

### What the ablations show

#### Sharing the update rule matters

The most direct architectural control unties the weights across the VIN’s recurrent layers. This comparison addresses a natural alternative explanation: perhaps the VIN works well simply because it performs a deeper computation than the reactive baselines.

A sufficiently expressive deep CNN or FCN could, in principle, carry out the same transformations. But allowing each depth position to learn an independent transformation introduces more parameters and removes the requirement that planning iterations reuse one rule.

The authors test this by retaining the recurrent computation’s depth while removing weight sharing. Performance worsens, and the degradation is stronger with smaller training datasets. The experiment is reported for 16 × 16 grid-world navigation.

This supports the interpretation that repeated structure contributes to generalization. The benefit cannot be attributed solely to having many computational stages. Reusing the update rule constrains what must be learned and makes the architecture more economical with data.

The numerical cells of the weight-sharing table are not stated in the accompanying account. The evidence therefore supports the direction of the effect and its relationship to data size, without supporting a precise effect size.

#### Learned rewards and values resemble useful navigation quantities

The appendix visualizes the learned reward map and the resulting value map. Obstacles receive strongly unfavorable rewards, the destination receives favorable reward, and ordinary free space receives a modest negative reward.

The value map then provides directions that lead toward the destination while respecting obstacles. This is evidence that the internal computation has acquired a recognizable planning function, rather than merely serving as an arbitrary collection of hidden features.

It also clarifies how the architecture handles a simplifying assumption. The transition kernels are spatially shared, so they do not individually encode every obstacle-dependent restriction. The learned reward map can compensate by making obstacle regions undesirable.

The visualization is an analysis, not a comprehensive causal test. It illustrates a useful internal organization in a sample task. It does not prove that all learned internal quantities have the same interpretation across every instance or that the reward map matches the external task’s true reward.

#### Coarse planning can help a finer planner

The hierarchical extension tests whether planning at different resolutions helps information travel across larger maps. It first downsamples the input, runs a high-level VI module, upsamples its values, and supplies those values as an additional input to the ordinary-resolution planner.

The experiment uses 2 × 2 downsampling. Both planning levels use 3 × 3 kernels, hidden representations with 150 channels, and action-value representations with 10 channels.

The hierarchical recurrence settings are K=4 for 8 × 8 maps, K=10 for 16 × 16 maps, and K=16 for 28 × 28 maps. The corresponding ordinary VIN settings are K=10, K=20, and K=36.

These settings show that the hierarchical design is intended to reduce the required recurrence while retaining useful guidance. The authors report improved performance on the larger 28 × 28 maps and attribute it to better transmission of information.

The evidence supports hierarchy as a useful extension in this navigation setting. It does not establish that coarse planning is always preferable: downsampling reduces detail, and the fine planner still has to recover distinctions necessary for accurate movement.

#### Local errors and task failures reveal different behavior

The contrast between action prediction loss and trajectory success is another important controlled comparison. The architectures can look similar under the local metric while differing substantially under the completed-task metric.

The authors interpret this as evidence that the VIN’s remaining errors tend to be less damaging to the route. Reactive policies can predict many easy actions correctly while failing at the decisions that determine whether the goal remains reachable.

This interpretation is supported by the combination of metrics, though the paper does not provide a separate intervention on each error type. It is therefore best understood as an explanation consistent with the reported behavior, rather than an exhaustive account of why every trajectory fails.

The random-start WebNav experiment offers a related diagnostic. Altering the initial state makes reactive semantic guidance less sufficient, and the VIN’s advantage becomes clearer. That comparison helps identify conditions under which planning information is especially useful.

### Limitations

#### The authors’ stated limits and open directions

The paper makes clear that a VIN design still requires judgment. Someone must choose an internal state space, action structure, reward mapping, transition representation, and attention interface. Some tasks offer a natural grid or graph; others may require considerably more thought.

The authors do not present their designs as an exhaustive recipe for planning tasks. Their experiments are intended partly to illustrate workable choices. Learning can refine parametric components, but it does not remove the need for an appropriate initial representation.

They also identify room for improvement in WebNav. Better reward and attention functions, along with better text embeddings, could improve the results. This matters because the web experiment depends on how semantic features connect the real website with its smaller planning graph.

Planning depth is another explicit concern. With local updates, information from a goal cannot influence a distant state until enough iterations have been performed. If the relevant distance is L steps, the paper explains that at least L updates are needed for that information to arrive under the local propagation scheme.

The hierarchical extension addresses this issue by moving some computation to a coarser resolution. It is a proposed remedy with experimental support, rather than a removal of the underlying tradeoff. Coarse computation is faster at carrying distant information but less precise.

Runtime depends on implementation and task structure. In spatial navigation, observations from the same map can share a planning computation, making the approach competitive with the baselines in the authors’ implementation. In the language task, the authors report substantially slower VIN execution because their Theano implementation lacks suitable graph convolution and sparse GPU operations.

The conclusion also leaves other kinds of planning computation open. The authors propose investigating simulation-based planning and optimal linear-control computations, potentially connected with task and motion planning. These are future directions within the paper, not demonstrated capabilities of the VIN experiments.

#### What the experiments cannot establish

A careful reader should distinguish unfamiliar instances from unrestricted distributional change. The maps and test cases vary, but they remain within the defined experimental families. The continuous-control test environments come from the same distribution as training. The experiments do not establish reliable transfer to arbitrary dynamics, observation changes, or different objectives.

The synthetic navigation tasks provide unusually clear structure. Maps expose obstacles and goals directly, and optimal demonstrations can be generated with an exact planner. These conditions make the architectural question easier to isolate, but they do not represent every difficulty faced by an autonomous system.

The Mars experiment adds learned perception, yet it remains a path-planning task defined through image patches and an elevation-based obstacle rule. Its success rate does not establish performance for a deployed rover facing every source of uncertainty or operational constraint. The reported experiment concerns the stated image-to-grid navigation setup.

The continuous-control result is also conditional on its training procedure and initialization. Transition weights begin with a meaningful spatial prior, and the policy is fitted using guided-policy-search supervision. The experiment demonstrates that coarse planning features can help continuous control under those conditions. It does not isolate how much benefit would remain with an uninformative transition initialization.

The baseline comparisons are informative but specific. The paper tests selected CNN and FCN architectures, not every possible reactive policy. Its own acknowledgment that sufficiently expressive reactive systems could represent the desired behavior remains important. The results favor the VIN’s inductive structure under the tested data and training conditions.

Nor is the internal planning process guaranteed to be exact. The module performs a finite number of learned updates, and its parameters are optimized for the final policy. Standard value-iteration convergence statements introduce the architecture, but they do not by themselves prove optimality for every trained finite VIN.

The terminology of rewards and transitions should therefore be interpreted functionally. A learned reward may encode useful penalties that compensate for simplified transitions. This can help behavior without recovering the external environment’s true structure. Internal plausibility and external fidelity are different claims.

#### Evaluation leaves some questions unresolved

Several comparisons are described through tables whose numerical cells are not stated in the surrounding account. The synthetic-grid, weight-sharing, reinforcement-learning, and hierarchical results support reported trends, but exact success rates or numerical gains cannot be reconstructed from captions.

The continuous-control results are presented visually. Their stated conclusion is that the VIN performs better on unfamiliar instances, but exact final-distance values cannot be reported without extracting numbers from the image. This limits the quantitative precision available for comparing the magnitude of the benefit across tasks.

The Mars comparison deserves a separate qualification. The 90.3% result comes from a specific obstacle classifier followed by planning. Though it serves as an upper reference in the experiment, it is not a mathematical ceiling for every possible system using the image.

WebNav success also has a particular meaning. Allowing top-4 predictions at every required step evaluates whether the correct route remains among selected alternatives. It does not show that the policy would choose the correct link at every step if forced to take only its highest-ranked action.

The shortest-path condition further shapes the task. A system can fail the reported criterion even if another route would eventually reach the destination. Conversely, maintaining the correct action among several candidates is less demanding than executing an entirely correct single-choice route. Both aspects belong to the metric’s interpretation.

Finally, the larger Wikipedia findings are explicitly preliminary. Their reported improvements are useful evidence that planning features can help beyond the smaller website, but the account does not provide enough absolute results to support a detailed assessment of practical success.

Taken together, these limits do not undermine the central architectural finding. They define it: under several structured sequential tasks, a learned approximate planner improves generalization relative to the tested reactive alternatives. Claims about universal planning ability, exact internal understanding, or deployment reliability would go beyond the experiments.

### What came after

[Automatic Goal Generation for Reinforcement Learning Agents](https://md.research.elamur.ai/free/en/papers/florensa-2017-automatic-goal-generation-reinforcement-learning/), published in 2017, is a later work that cites Value Iteration Networks. Its title places it in the study of how reinforcement-learning agents obtain goals for learning.

The citation establishes a connection, but it does not establish that the later work adopts the VIN architecture, differentiates through value iteration, or plans over an auxiliary graph. Without a description of how that work uses the idea, a more specific account would risk attributing a mechanism or result that has not been established.

There is nonetheless a useful distinction between the research questions. Value Iteration Networks asks how a policy’s computation can incorporate planning once a task and goal are available. Goal generation, as named by the later work, concerns the goals presented to a learning agent. These questions can be discussed alongside each other without claiming that they are solved by the same mechanism.

The original paper itself outlines a broader research direction: place other planning computations inside trainable policies and connect their outputs to reactive control. Its proposed next steps include simulation-based computation, optimal linear control, and combinations relevant to task and motion planning. Those proposals extend the architectural principle beyond the particular recurrence tested here.

The lasting idea is concrete enough to assess independently of any broad historical claim. Instead of asking an unrestricted network to discover an entire planning procedure from examples, give it a repeated planning operation and let learning determine the quantities that make that operation useful. The experiments show why that choice can matter, while the design requirements and evaluation limits show where further evidence is needed.

## Cite

Cite as Aviv Tamar, Yi Wu, Garrett Thomas, Sergey Levine and Pieter Abbeel. 2016. Value Iteration Networks. arXiv:1602.02867 · Advances in Neural Information Processing Systems 29 pages 2154–2162, 2016.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.1602.02867](https://doi.org/10.48550/arxiv.1602.02867) · [arXiv 1602.02867](https://arxiv.org/abs/1602.02867)

```bibtex
@misc{tamar2016value,
  title = {{Value Iteration Networks}},
  author = {Aviv Tamar, Yi Wu, Garrett Thomas, Sergey Levine and Pieter Abbeel},
  year = {2016},
  doi = {10.48550/arxiv.1602.02867},
  eprint = {1602.02867},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1602.02867}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
