# Poster 27879

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/27879

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

We present our paper Open World Reinforcement Learning Over Long Short Term Imagination. In open world reinforcement learning, agents face some tough challenges. First, they have to navigate an interactive environment with an enormous state space. Second, their policies need to be highly flexible to handle a wide variety of objects and tasks. And on top of that, they primarily rely on raw visual input, which adds a lot of uncertainty and makes learning even harder.
However, current methods have some clear limitations in addressing these challenges. Some approaches like Voyager depend on handcrafted apis, which restricts their real world applicability. Model free r l methods like Deckard's struggle with understanding environment mechanics and rely on inefficient trial and error exploration, which hampers learning efficiency. Model based r l methods like Dreamer v three, while more sample efficient, tend to be short sighted since they optimize policies based only on short term experiences generated by the world model.
To improve the behavior learning efficiency of model based r l, we introduce a novel method named l s imagine. The key idea is to enable the world model to efficiently simulate the long term effects of specific behaviors, without the need for repeatedly rolling out one step predictions. As shown in the figure, once trained, our long short term world model provides both instant and jumpy state transitions, along with corresponding intrinsic rewards, helping to optimize the policy in a space that balances short and long term imaginations.
However, this leads to a classic chicken and egg dilemma: without true data showing the agent has reached the goal, how can we effectively train the model to simulate jumpy transitions from current states to pivotal future states that suggest a high likelihood of achieving that goal? To address this issue, we propose a method for generating an affordance map that highlights task relevant regions, effectively directing the agent's attention. To achieve this, we employ a sliding bounding box that scans individual images.
Within each bounding box, we continuously zoom in to simulate the consecutive video frames as the agent approaches the region indicated by the bounding box. Next, we assess the relevance of the fake video clips to task specific goals expressed in text using the pre trained MineCLIP model. Once we scan the entire image, we fuse the relevance values from all bounding box positions to create a comprehensive affordance map.
Since affordance maps will be frequently used to determine when jumpy state transitions are needed, we train a multi modal UNet module to approximate the affordance maps annotated through the proposed generation process for the sake of efficiency. To make full use of the task relevant prior knowledge presented by the affordance map, we compute the mean of the element wise product of the affordance map and a same shaped two d Gaussian matrix as the intrinsic reward.
Additionally, to facilitate the switch between long-term and short -term state transitions, we introduce a jumping flag which indicates whether a jumpy transition should be adopted. When a distant task related target appears in the agent's observation, which can be reflected by a higher kurtosis in the affordance map, a jumpy state transition allows the agent to imagine the future state of approaching the target. For the world model of L_S_ Imagine, the state transition model includes both short-term and long-term branches.
As shown in the figure, the short-term transition model integrates the previous state and action to adopt the single step transition. In contrast, the long-term branch simulates jumpy state transitions toward the target. We also use the affordance map as an input of the encoder, which serves as the goal conditioned prior guidance to the agent.
In the behaviour learning process of L_S_ Imagine, we dynamically select either the long-term transition model or the short-term transition model to predict subsequent states based on the jumping flag predicted by the jump predictor and then employ an actor critic algorithm to learn behaviour from the latent state sequences predicted by the world model. We conduct our experiments on five challenging MindDojo tasks and compare L_S_ Imagine with strong Minecraft agents. We evaluate all the agents in terms of success rate and per episode steps for task completion, as shown in the figures.
We find that l _s_ imagine significantly outperforms the compared models, particularly in scenarios where sparse targets are distributed in the task. Additionally, we present qualitative results that showcase the reconstructed observation images and affordance maps based on the long short-term imagination state sequences. These visualizations demonstrate that the proposed world model can adaptively determine when to utilize long-term imagination based on the current visual observation.
Furthermore, the generated affordance maps align effectively with areas that are highly relevant to the final goal, thereby enabling the agent to perform more efficient policy exploration. In conclusion, we presented a novel approach to overcoming the challenges of training visual reinforcement learning agents in high-dimensional open worlds. By extending the imagination horizon and leveraging a long short term world model, our method facilitates efficient off policy exploration across expansive state spaces.
The incorporation of goal conditioned jumpy state transitions and affordance maps allows agents to better grasp long term value, enhancing their decision making abilities. For more details, please scan the QR code to visit our website. Thank you for your attention.
