Zero-shot World Models via Search in Memory
Federico Malato, Ville Hautamäki
TL;DR
The paper proposes zero-shot World Models that predict environment dynamics by retrieving latent transitions from a memory of VAE-encoded trajectories, avoiding gradient-based training. It introduces Rollout and Replay memory structures, with L2 and KL-based retrieval, to estimate next states and extend predictions over horizons up to $h$, while optionally conditioning on future actions. Across SuperTuxKart, Minecraft, and Atari, the memory-based approach achieves competitive latent reconstruction and image-prediction quality compared with PlaNet, with strong performance on long-horizon dynamics in several visually diverse environments. The work highlights trade-offs between memory structure, retrieval metric, action conditioning, and latent-space coverage, arguing that these zero-shot models are a lightweight and effective alternative in smaller-scale tasks, though their efficacy scales with memory coverage of latent trajectories.
Abstract
World Models have vastly permeated the field of Reinforcement Learning. Their ability to model the transition dynamics of an environment have greatly improved sample efficiency in online RL. Among them, the most notorious example is Dreamer, a model that learns to act in a diverse set of image-based environments. In this paper, we leverage similarity search and stochastic representations to approximate a world model without a training procedure. We establish a comparison with PlaNet, a well-established world model of the Dreamer family. We evaluate the models on the quality of latent reconstruction and on the perceived similarity of the reconstructed image, on both next-step and long horizon dynamics prediction. The results of our study demonstrate that a search-based world model is comparable to a training based one in both cases. Notably, our model show stronger performance in long-horizon prediction with respect to the baseline on a range of visually different environments.
