Abstract: To be successful in real-world tasks, Reinforcement Learning (RL) needs to exploit the compositional, relational, and hierarchical structure of the world, and learn to transfer it to the task at hand. Recent advances in representation learning for language make it possible to build models that acquire world knowledge from text corpora and integrate this knowledge into downstream decision making problems. We thus argue that the time is right to investigate a tight integration of natural language understanding into RL in particular. We survey the state of the field, including work on instruction following, text games, and learning from textual domain knowledge. Finally, we call for the development of new environments as well as further investigation into the potential uses of recent Natural Language Processing (NLP) techniques for such tasks.
The Challenge of Sample Efficiency and Generalization
Traditional Reinforcement Learning (RL) agents are notoriously sample-inefficient, often requiring millions of interactions to learn simple behaviors. Because they typically start with no "commonsense" knowledge about how the world works—a state often referred to as tabula rasa—they struggle to generalize to even slightly different environments.
Humans, by contrast, do not learn in a vacuum. We use language to communicate goals, constraints, and world dynamics. This survey explores the bridge between Natural Language Processing (NLP) and RL, arguing that agents can leverage human-like linguistic priors to improve sample efficiency, generalization, and the ability to solve complex, hierarchical tasks.
Taxonomy of Language-Informed RL
The integration of language into RL can be categorized into two primary dimensions based on how the linguistic information relates to the task at hand: task-independent pre-training and task-dependent guidance.
1. Task-Independent Knowledge
This involves using "wild" natural language from task-independent corpora (like Wikipedia or books) to give agents a head start on commonsense reasoning. By pre-training on large text datasets, agents can learn semantic relationships—such as the fact that a "key" is used to open a "lock"—before ever entering a specific environment.
2. Task-Dependent Information
This category describes language that is specific to the environment or goal, further divided into:
- Language-Conditional RL: The task itself is defined by language. This includes instruction following (e.g., "Go to the red hat") and environments where the state or action space is entirely text-based, such as text adventure games.
- Language-Assisted RL: Language is not required to define the task but serves as a scaffold to help the agent learn faster. This includes reward induction (using text to shape rewards) and communicating domain knowledge, such as an agent reading a game manual to inform its policy.
Key Insights: Language as a Structured Prior
Language is more than just a communication medium; it is a repository of world knowledge. The survey highlights several key concepts in this integration:
- The Grounding Problem: A central hurdle is connecting abstract symbols (the word "water") to high-dimensional sensory inputs (blue pixels or specific reward states).
- Compositionality: The compositional nature of language (combining "pick up" and "red ball") mirrors the hierarchical nature of complex tasks. This makes language an ideal candidate for specifying sub-goals in Hierarchical RL.
- Zero-Shot Generalization: By leveraging semantic relationships between labels (e.g., word embeddings), agents can generalize to unseen objects. If an agent understands "red ball" and the concept of "blue," it can often infer how to interact with a "blue ball" without explicit training.
Benchmarks and Landmark Results
The field utilizes a variety of benchmarks to test these hybrid agents, ranging from classic text games like Zork to strategy games like Civilization II. In the latter, agents that extracted features from the game manual significantly improved their Monte-Carlo tree search performance compared to those that did not. Other environments include navigation simulators like BabyAI and Room-to-Room (R2R), which require agents to interpret complex spatial relations and predicates.
Future Directions
Despite recent progress, several critical gaps remain. Most current RL environments rely on synthetic, "toy" language with limited vocabularies that do not capture the nuance of real human speech. Furthermore, if an environment's physics or logic contradicts real-world semantics, pre-trained models like BERT may actually hinder learning.
The authors call for the development of standardized, complex environments that require reading unstructured text—such as wikis or "how-to" guides—to solve efficiently. Future agents should also move toward active learning, where they can query a knowledge base or "ask" for information when they encounter an impasse.
Summary updated