Grounding Large Language Models in Interactive Environments with Online Reinforcement Learning
About
Recent works successfully leveraged Large Language Models' (LLM) abilities to capture abstract knowledge about world's physics to solve decision-making problems. Yet, the alignment between LLMs' knowledge and the environment can be wrong and limit functional competence due to lack of grounding. In this paper, we study an approach (named GLAM) to achieve this alignment through functional grounding: we consider an agent using an LLM as a policy that is progressively updated as the agent interacts with the environment, leveraging online Reinforcement Learning to improve its performance to solve goals. Using an interactive textual environment designed to study higher-level forms of functional grounding, and a set of spatial and navigation tasks, we study several scientific questions: 1) Can LLMs boost sample efficiency for online learning of various RL tasks? 2) How can it boost different forms of generalization? 3) What is the impact of online learning? We study these questions by functionally grounding several variants (size, architecture) of FLAN-T5.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Obstacle Navigation | BabyAI-Text GoToLocal (No Change) | Success Rate91 | 5 | |
| Obstacle Navigation | BabyAI-Text GoToLocal (New Object) | Success Rate85 | 5 | |
| Object Pickup | BabyAI-Text PickupDist (No Change) | Success Rate69 | 5 | |
| Object Pickup | BabyAI-Text PickupDist (New Object) | Success Rate61 | 5 | |
| Object Pickup | BabyAI-Text PickupLocal (No Change) | Success Rate18 | 5 | |
| Multi-room Exploration | BabyAI-Text FindObj (No Change) | Success Rate13 | 4 | |
| Object Pickup | BabyAI-Text PickupLocal New Object | Success Rate16 | 3 | |
| Multi-room Exploration | BabyAI-Text FindObj New Object | Success Rate12 | 2 | |
| Multi-step Reasoning | BabyAI-Text UnlockLocal (No Change) | Success Rate1 | 2 | |
| Multi-step Reasoning | BabyAI-Text UnlockLocal (New Object) | Success Rate1 | 2 |