Improving World Models using Deep Supervision with Linear Probes
Andrii Zahorodnii
TL;DR
The paper addresses robust world representation learning in end-to-end predictive networks by introducing a linear-probe deep supervision term that encourages decoding of true world features from the hidden state. Using a lidar-based Flappy Bird setup, the authors stack an autoencoder and an MDN-LSTM to predict the next latent and an episode end, while a linear probe attempts to recover underlying world variables. They find that increasing the probe weight improves both training and test predictive performance, enhances decodability of world features (including unseen ones), reduces distribution drift in certain regimes, and improves training stability, with the added benefit that a given-size network can match the performance of a larger one. The approach offers practical advantages for compute-constrained settings and robotics by enabling more robust, data-efficient latent representations early in training, potentially reducing deployment costs and enabling on-device reasoning.
Abstract
Developing effective world models is crucial for creating artificial agents that can reason about and navigate complex environments. In this paper, we investigate a deep supervision technique for encouraging the development of a world model in a network trained end-to-end to predict the next observation. While deep supervision has been widely applied for task-specific learning, our focus is on improving the world models. Using an experimental environment based on the Flappy Bird game, where the agent receives only LIDAR measurements as observations, we explore the effect of adding a linear probe component to the network's loss function. This additional term encourages the network to encode a subset of the true underlying world features into its hidden state. Our experiments demonstrate that this supervision technique improves both training and test performance, enhances training stability, and results in more easily decodable world features -- even for those world features which were not included in the training. Furthermore, we observe a reduced distribution drift in networks trained with the linear probe, particularly during high-variability phases of the game (flying between successive pipe encounters). Including the world features loss component roughly corresponded to doubling the model size, suggesting that the linear probe technique is particularly beneficial in compute-limited settings or when aiming to achieve the best performance with smaller models. These findings contribute to our understanding of how to develop more robust and sophisticated world models in artificial agents, paving the way for further advancements in this field.
