Ask Your Humans: Using Human Instructions to Improve Generalization in Reinforcement Learning
Valerie Chen, Abhinav Gupta, Kenneth Marino
TL;DR
The paper tackles generalization in sparse-reward, multi-task reinforcement learning by leveraging human-provided natural language instructions and action demonstrations. It proposes a hierarchical model with a high-level language generator that decomposes tasks and a low-level policy conditioned on language, trained on a large-scale crafting grid-world dataset collected from humans. Through imitation learning followed by PPO-based RL with the language generator frozen, the approach achieves strong performance on seen tasks and notably improves zero-shot generalization to unseen tasks, while also offering interpretable sub-task explanations via generated instructions. The dataset and method together demonstrate that language can serve as an effective high-level abstraction for planning and transfer in complex RL settings. This work suggests practical pathways for incorporating human language annotation into multi-task RL to enhance sample efficiency, generalization, and interpretability.
Abstract
Complex, multi-task problems have proven to be difficult to solve efficiently in a sparse-reward reinforcement learning setting. In order to be sample efficient, multi-task learning requires reuse and sharing of low-level policies. To facilitate the automatic decomposition of hierarchical tasks, we propose the use of step-by-step human demonstrations in the form of natural language instructions and action trajectories. We introduce a dataset of such demonstrations in a crafting-based grid world. Our model consists of a high-level language generator and low-level policy, conditioned on language. We find that human demonstrations help solve the most complex tasks. We also find that incorporating natural language allows the model to generalize to unseen tasks in a zero-shot setting and to learn quickly from a few demonstrations. Generalization is not only reflected in the actions of the agent, but also in the generated natural language instructions in unseen tasks. Our approach also gives our trained agent interpretable behaviors because it is able to generate a sequence of high-level descriptions of its actions.
