Introduction
Human language is inherently systematic: if an individual understands the concepts of a "laptop" and a "fridge," they can interpret the instruction "put the laptop in the fridge" even if they have never performed that specific action before. For artificial intelligence agents, however, this level of "systematic generalization" remains a significant hurdle. Most reinforcement learning (RL) agents treat instructions as monolithic strings; if they have not encountered a specific combination of action and object during training, they typically fail to generalize to the new task.
This research addresses the challenge of grounding natural language into reusable, composable behavioral "building blocks." By simplifying the environment to focus on compositionality, the authors demonstrate how an agent can learn to follow complex, multi-stage instructions for tasks it has never seen before.
The Challenge of Systematicity
Standard RL benchmarks often conflate the difficulty of language grounding with other challenges like visual perception and long-term planning. To isolate the problem of compositionality, the authors utilized a controlled environment where the agent must map linguistic sub-components to physical actions and objects.
As shown in the figure above, the goal is for an agent trained on tasks like "chopping bread" or "cutting an apple on a white table" to successfully execute a novel test instruction like "slice the apple" in a different spatial context. This requires the agent to decouple the verb ("slice") from the noun ("apple") and recombine them dynamically.
Methodology: Compositional Inductive Bias
The authors propose an architecture designed with a "compositional inductive bias," moving away from static instruction representations toward a dynamic, attention-based system.
Key Components
- Text Subgoal Inference: Instead of processing the instruction as a single vector, the agent uses an RNN and an attention mechanism to focus on specific segments of the text (e.g., "pick up the knife"). This allows the agent to identify and track the current latent subgoal.
- Cross-modal Reasoning: The inferred text subgoal is used to attend to specific objects within the environment. By grounding words to physical entities (object embeddings), the agent can focus its policy on relevant items while ignoring distractors.
- Additive Action-Value Decomposition: The core innovation is the decomposition of the action-value function: $Q(s, \text{action}, \text{object}) = f_{action}(s) + f_{object}(s)$. By learning the value of an action (like "slicing") and an object (like "apple") separately, the agent can estimate the utility of "slicing an apple" even if that specific combination was absent from the training set.
Experimental Setup and Datasets
The model was evaluated within AI2Thor, a photo-realistic virtual home simulator. The researchers developed a custom task set comprising 35 task types, including pickup x, place x in y, and slice x with y. To ensure linguistic variety, they collected natural language descriptions from human workers via Amazon Mechanical Turk, resulting in a dataset of 170 unique tokens and multiple ways to describe the same underlying task.
Training followed a curriculum learning strategy. The agent first mastered simple "pickup" tasks before progressing to multi-stage "place" and "slice" operations. This pre-training significantly accelerated learning, with the pre-trained agent reaching high success rates twice as fast as an agent learning from scratch.
Results and Generalization
The agent was tested on two difficult generalization settings: obj-obj (unseen combinations of objects, such as placing a potato in a plate instead of a pan) and task-obj (using an object in a completely new task context, such as slicing lettuce when it had only ever been picked up).
| Model | Seen Tasks | Unseen (obj-obj) | Unseen (task-obj) |
|---|---|---|---|
| RNN Baseline | 0.65 | 0.26 | 0.13 |
| Gated Attention | 0.85 | 0.66 | 0.34 |
| Proposed Model | 0.87 | 0.94 | 0.91 |
While standard baselines saw performance drop to as low as 13% on novel task-object combinations, the proposed compositional model maintained success rates above 90%. This confirms that decoupling verbs and nouns allows for robust zero-shot generalization.
Conclusion and Future Work
This research demonstrates that systematicity in RL can be achieved by designing architectures that treat actions and objects as independent, composable modules. While the current work relies on "oracle" object recognition and a single environment layout, it provides a blueprint for more scalable instruction-following agents. Future directions include integrating these compositional biases with raw visual perception and testing generalization across diverse spatial layouts.
Summary updated