Hierarchical Decision Making by Generating and Following Natural Language Instructions
Hengyuan Hu, Denis Yarats, Qucheng Gong, Yuandong Tian, Mike Lewis
TL;DR
The paper addresses hierarchical decision making by representing high-level plans as latent natural language instructions that are generated by an instructor and executed by a separate executor. It introduces a challenging MiniRTS RTS environment and a large instruction-execution dataset, demonstrating that latent language plans with compositional encoders improve grounding and performance over direct imitation. Key contributions include a detailed multi-encoder architecture for state and instruction representation, attention over instruction history, and distinct training losses for both instruction generation and action grounding, leading to improved generalization across a large set of instructions. The work provides substantial resources, including code, models, and data, to advance language-grounded hierarchical control in complex, partially observable domains.
Abstract
We explore using latent natural language instructions as an expressive and compositional representation of complex actions for hierarchical decision making. Rather than directly selecting micro-actions, our agent first generates a latent plan in natural language, which is then executed by a separate model. We introduce a challenging real-time strategy game environment in which the actions of a large number of units must be coordinated across long time scales. We gather a dataset of 76 thousand pairs of instructions and executions from human play, and train instructor and executor models. Experiments show that models using natural language as a latent variable significantly outperform models that directly imitate human actions. The compositional structure of language proves crucial to its effectiveness for action representation. We also release our code, models and data.
