[Paper Review] Grounding Language to Entities and Dynamics for Generalization in Reinforcement Learning
This paper introduces Messenger, a multi-task reinforcement learning environment where agents must ground natural language manuals to entities and dynamics in the environment without prior text-observation mappings. The proposed model, Emma (Entity Mapper with Multi-modal Attention), uses entity-conditioned attention to selectively attend to relevant manual descriptions and learns end-to-end from sparse rewards, achieving 40% higher zero-shot generalization win rates than baselines on unseen games.
We investigate the use of natural language to drive the generalization of control policies and introduce the new multi-task environment Messenger with free-form text manuals describing the environment dynamics. Unlike previous work, Messenger does not assume prior knowledge connecting text and state observations $-$ the control policy must simultaneously ground the game manual to entity symbols and dynamics in the environment. We develop a new model, EMMA (Entity Mapper with Multi-modal Attention) which uses an entity-conditioned attention module that allows for selective focus over relevant descriptions in the manual for each entity in the environment. EMMA is end-to-end differentiable and learns a latent grounding of entities and dynamics from text to observations using only environment rewards. EMMA achieves successful zero-shot generalization to unseen games with new dynamics, obtaining a 40% higher win rate compared to multiple baselines. However, win rate on the hardest stage of Messenger remains low (10%), demonstrating the need for additional work in this direction.
Motivation & Objective
- To develop a reinforcement learning environment that requires agents to ground natural language manuals to entities and dynamics without prior text-observation mappings.
- To investigate zero-shot generalization in RL using free-form text manuals describing environment dynamics.
- To design a model capable of learning entity and dynamic grounding from only scalar rewards and raw text.
- To evaluate robustness to negation, neutral entities, and unseen synonyms in text descriptions.
- To demonstrate improved generalization and grounding performance over existing baselines in complex, multi-entity, multi-dynamic settings.
Proposed method
- Introduces Messenger, a multi-task environment with 12 game variants, each featuring crowd-sourced, free-form English manuals describing entities and dynamics.
- Develops Emma, a differentiable model with an entity-conditioned multi-modal attention mechanism that uses entity representations as queries to attend over tokens in the manual.
- Employs a text-conditioned representation for each entity by attending to relevant manual descriptions, which are then processed by a deep neural network to generate actions.
- Trains the entire model end-to-end via reinforcement learning using only environment return as a signal, enabling joint learning of grounding and control policy.
- Uses attention weights to visualize and verify that Emma learns to map each entity to its corresponding descriptive sentence in the manual.
- Evaluates robustness via ablation studies on negated descriptions, neutral entities, and unseen synonyms in test-time variations.
Experimental results
Research questions
- RQ1Can an agent learn to ground natural language references to entities and dynamics in a reinforcement learning environment without prior text-observation mappings?
- RQ2To what extent can a model generalize zero-shot to new games with unseen entities and novel dynamics?
- RQ3How robust is the grounding mechanism to textual variations such as added descriptors, deleted descriptions, or unseen synonyms?
- RQ4Can multi-modal attention effectively learn to disambiguate entities with similar names but different roles based on dynamic behavior?
- RQ5What is the impact of negated descriptions on grounding performance and policy generalization?
Key findings
- Emma achieves a 40% higher win rate than multiple baselines on zero-shot generalization to unseen games in the Messenger environment.
- On the hardest stage of Messenger, win rates remain low (≤10%) for all models, indicating that grounding language to subtle dynamic differences remains a significant challenge.
- Emma demonstrates strong robustness to extraneous descriptors, maintaining 78% win rate, compared to 36% for the BAM baseline.
- Emma generalizes effectively to unseen synonyms, achieving 75% win rate on synonym variation tasks, compared to only 8.5% for the BAM model.
- Attention visualization confirms that Emma learns to map each entity to its corresponding descriptive sentence in the manual, even for entities with no co-occurrence-based alignment cues.
- Performance degrades significantly under negated descriptions, with test win rates dropping to 59% on S2, indicating limitations in reasoning about negative or counterfactual statements.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.