Introduction
Reinforcement Learning (RL) has achieved remarkable milestones, such as mastering the game of Go. However, these successes often come at the cost of extreme sample inefficiency, requiring millions of interactions to learn even basic behaviors. Furthermore, traditional RL agents are notoriously brittle; minor environmental perturbations often necessitate complete retraining.
A fundamental observation driving recent research is that humans do not learn in a vacuum. We leverage natural language to encode abstractions, communicate intentions, and transmit knowledge across generations through manuals and tutorials. This survey explores how natural language can be integrated as a "first-class citizen" in RL to bridge the gap between high-level compositional reasoning and low-level trial-and-error learning.
Taxonomy of Language-Informed RL
The intersection of Natural Language Processing (NLP) and RL can be categorized into several distinct paradigms:
- Language-Conditional RL: Tasks where language is a prerequisite for success. This includes Instruction Following (e.g., "Go to the red room") and Text Games (e.g., Zork), where both observations and actions are linguistic.
- Language-Assisted RL: Scenarios where language is optional but provides a significant advantage. Agents might consult a game manual to understand dynamics or use language to structure hierarchical policies by labeling sub-tasks.
- Grounding: The process of mapping linguistic symbols (e.g., the word "water") to specific environmental features (e.g., blue pixels) or rewards.
- Transfer Learning from NLP: Utilizing pre-trained models (like BERT) or word embeddings to provide agents with semantic relationships. For instance, an agent can infer that a "scorpion" is dangerous based on its linguistic similarity to "spider" before ever encountering one.
Key Insights and Ideas
Language as a Prior
One of the most powerful applications of language in RL is providing "commonsense priors." Instead of learning every object interaction from scratch, agents can inherit knowledge from large text corpora.
As shown in the figure above, pre-training on text snippets—such as "having the correct key can open the lock"—allows the agent to associate the vector representation $v_{key}$ with specific functional outcomes in the environment. This prior knowledge guides exploration, making it more likely the agent will attempt to use a key on a door rather than performing random actions.
Compositionality and the "Synthetic Trap"
The hierarchical structure of language (words forming phrases, which form instructions) naturally mirrors the structure of complex tasks. Defining sub-goals through language helps agents decompose long-horizon problems. However, the authors warn against the "Synthetic Language Trap"—the reliance on simple, template-based sentences. Such synthetic data lacks the statistical complexity and "long tail" of real human language, which is necessary for robust generalization.
Benchmarking Environments
The survey identifies several key environments used to test these capabilities:
- Classic Text Games: Zork and the TextWorld framework.
- Embodied AI: BabyAI, CHALET, and EQA, which require navigation and manipulation based on verbal prompts in 3D spaces.
- Strategy and Open-Worlds: Games like Civilization II, where agents can read manuals, and Minecraft (Project Malmo), which offers a vast, compositional playground for complex instruction following.
Landmark Results
- Manual Reading: In Civilization II, agents that extracted features from the game manual significantly outperformed those relying solely on environmental rewards.
- Zero-Shot Transfer: Linguistic representations enable agents to perform novel tasks by understanding how new instructions relate to previously learned concepts.
- Sample Efficiency: Using "policy sketches" (linguistic structures for policies) allows agents to learn multi-step tasks much faster than standard hierarchical RL methods.
Limitations and Future Directions
Despite progress, several challenges remain:
- The Grounding Gap: Connecting words to physical entities in complex 3D worlds remains computationally expensive and difficult.
- Statistical Realism: There is a pressing need to move from synthetic grammars to "in the wild" text from sources like Wikipedia or WikiHow.
- Interactive Querying: Future research should focus on agents that can actively ask for information to resolve ambiguity, rather than just passively receiving instructions.
Summary updated