Transfer Value Iteration Networks

Junyi Shen, Hankz Hankui Zhuo, Jin Xu, Bin Zhong, Sinno Jialin Pan

Introduction

Value Iteration Networks (VINs) represent a significant advancement in Reinforcement Learning (RL) by embedding a differentiable planning module directly into neural architectures. This allows agents to learn policies that incorporate the logic of the Value Iteration algorithm. However, VINs typically struggle with generalization; they assume that the source and target domains share identical action spaces and feature representations. Transferring knowledge from a 4-way grid-world to an 8-way grid-world, for instance, often results in failure. Transfer Value Iteration Networks (TVINs) address this limitation by introducing a modular framework for cross-domain planning knowledge transfer.

The TVIN Framework

TVIN decomposes the transfer process into three functional modules designed to handle variations in state observations and action dynamics.

  1. Feature Mapping (Part I): An encoder maps target domain features into the source domain's representation space. This enables the reuse of a pre-trained reward function to identify environmental features like goals and obstacles.
  2. Transition Function Transfer (Part II): This module distinguishes between "Common Actions" (shared between domains) and "New Actions" (domain-specific). Common actions leverage pre-trained weights adjusted by a learnable transfer weight, while new actions are learned from scratch.
  3. Value Iteration Module (Part III): These components are integrated into a differentiable planning module where transition probabilities are represented as convolution kernels.
The TVIN architecture, illustrating the three-part decomposition for feature mapping, transition transfer, and value iteration.

An attention mechanism is further applied to the resulting value map to guide the final policy, ensuring the agent focuses on the most relevant spatial information.

Experimental Evaluation

The authors evaluated TVIN on synthetic 2D navigation tasks across three environments: NEWS (4 actions), Moore (8 actions), and Differential Drive (complex orientation-based movement). Tests involved transferring knowledge between these domains across various maze sizes (9x9, 15x15, and 28x28) and data regimes (1k to 10k samples).

Results and Key Insights

A central finding is that while specific motor commands vary, the underlying logic of planning—how rewards propagate through a transition model—is a structural property that can be effectively transferred. By selectively reusing weights, TVIN achieves significantly higher data efficiency than standard VINs.

Average error comparison over training epochs, demonstrating TVIN's superior convergence speed and lower initial error compared to standard VIN.

Key results include:

  • Higher Accuracy: TVIN consistently outperformed VIN, particularly in low-data scenarios. For example, in a transfer from a 9x9 NEWS grid to a 28x28 Moore grid with only 1,000 samples, TVIN achieved a ~66% optimal path rate compared to VIN's ~56%.
  • Rapid Convergence: As shown in the error plots, TVIN begins with a much lower error rate and converges to high performance significantly faster than its counterparts.
  • Robustness: TVIN demonstrated greater stability across different hyperparameter settings, such as the number of planning iterations ($K$) or kernel size ($F$).

Conclusion and Future Work

TVIN provides a robust framework for transferring planning capabilities across non-identical domains. While it currently requires manual mapping of similar actions, future work aims to automate this process using external knowledge sources like large language models. This research highlights that modularity and selective weight reuse are key to achieving generalization in complex RL tasks.

Summary updated

BibTeX
@inproceedings{shen2020transfer,
  author = {Junyi Shen and Hankz Hankui Zhuo and Jin Xu and Bin Zhong and Sinno Jialin Pan},
  title = {{Transfer Value Iteration Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.6022},
}
Figure