World Models with Hints of Large Language Models for Goal Achieving
Zeyuan Liu, Ziyu Huan, Xiyao Wang, Jiafei Lyu, Jian Tao, Xiu Li, Furong Huang, Huazhe Xu
TL;DR
The paper tackles the difficulty of long-horizon reinforcement learning with sparse rewards by introducing DLLM, a multi-modal model-based framework that incorporates large language models to generate goal descriptions and intrinsic rewards during world-model rollouts. DLLM ground-ls goals in observations via SentenceBert embeddings and uses a cosine-similarity mechanism to reward transitions aligned with these goals, while a novelty-based RND component prevents repetitive behavior. The world model (RSSM) and actor-critic learner are trained end-to-end with a loss that accounts for perception, transitions, rewards, and prediction quality, integrating language-driven guidance into planning. Empirical results across HomeGrid, Crafter, and Minecraft show DLLM outperforms several strong baselines, with larger gains when using stronger LLMs, highlighting the practical value of language-informed exploration and planning for complex, sparse-reward tasks.
Abstract
Reinforcement learning struggles in the face of long-horizon tasks and sparse goals due to the difficulty in manual reward specification. While existing methods address this by adding intrinsic rewards, they may fail to provide meaningful guidance in long-horizon decision-making tasks with large state and action spaces, lacking purposeful exploration. Inspired by human cognition, we propose a new multi-modal model-based RL approach named Dreaming with Large Language Models (DLLM). DLLM integrates the proposed hinting subgoals from the LLMs into the model rollouts to encourage goal discovery and reaching in challenging tasks. By assigning higher intrinsic rewards to samples that align with the hints outlined by the language model during model rollouts, DLLM guides the agent toward meaningful and efficient exploration. Extensive experiments demonstrate that the DLLM outperforms recent methods in various challenging, sparse-reward environments such as HomeGrid, Crafter, and Minecraft by 27.7\%, 21.1\%, and 9.9\%, respectively.
