GLIDE-RL: Grounded Language Instruction through DEmonstration in RL
Chaitanya Kharyal, Sai Krishna Gottipati, Tanmay Kumar Sinha, Srijita Das, Matthew E. Taylor
TL;DR
GLIDE-RL tackles the challenge of grounding natural language in reinforcement learning under sparse rewards by introducing a three-agent Teacher-Instructor-Student framework that leverages curriculum learning with multiple teachers and an LLM-based instructor to generate synonymous natural language instructions for the student. The student operates in a goal-conditioned RL setting using a $Q(s,a)$ policy learned by a $D3QN$ with frame stacking, informed by language goals embedded with each instruction and augmented by a Behavioural Cloning loss, while teachers ensure the goals are reachable and instructors translate trajectories into language. Empirical evaluation in the BabyAI BossLevel demonstrates that a larger number of teachers and the BC component improve learning and generalization to unseen instructions, with the system capable of handling synonym instructions and maintaining non-zero-sum but adversarial-like rewards. Overall, GLIDE-RL shows that combining curriculum-driven demonstrations, natural language grounding, and demonstration-based training can significantly improve data efficiency and generalization for language-conditioned RL in sparse-reward environments.
Abstract
One of the final frontiers in the development of complex human - AI collaborative systems is the ability of AI agents to comprehend the natural language and perform tasks accordingly. However, training efficient Reinforcement Learning (RL) agents grounded in natural language has been a long-standing challenge due to the complexity and ambiguity of the language and sparsity of the rewards, among other factors. Several advances in reinforcement learning, curriculum learning, continual learning, language models have independently contributed to effective training of grounded agents in various environments. Leveraging these developments, we present a novel algorithm, Grounded Language Instruction through DEmonstration in RL (GLIDE-RL) that introduces a teacher-instructor-student curriculum learning framework for training an RL agent capable of following natural language instructions that can generalize to previously unseen language instructions. In this multi-agent framework, the teacher and the student agents learn simultaneously based on the student's current skill level. We further demonstrate the necessity for training the student agent with not just one, but multiple teacher agents. Experiments on a complex sparse reward environment validates the effectiveness of our proposed approach.
