[Paper Review] Zero-shot Task Adaptation using Natural Language
This paper proposes Language-Aided Reward and Value Adaptation (LARVA), a zero-shot framework that enables agents to perform a new task using a demonstration of a related source task and a natural language description of the differences. By decomposing the problem into target goal prediction and value/reward function adaptation, LARVA achieves over 95% success with template-based language and over 70% with free-form natural language.
Imitation learning and instruction-following are two common approaches to communicate a user's intent to a learning agent. However, as the complexity of tasks grows, it could be beneficial to use both demonstrations and language to communicate with an agent. In this work, we propose a novel setting where an agent is given both a demonstration and a description, and must combine information from both the modalities. Specifically, given a demonstration for a task (the source task), and a natural language description of the differences between the demonstrated task and a related but different task (the target task), our goal is to train an agent to complete the target task in a zero-shot setting, that is, without any demonstrations for the target task. To this end, we introduce Language-Aided Reward and Value Adaptation (LARVA) which, given a source demonstration and a linguistic description of how the target task differs, learns to output a reward / value function that accurately describes the target task. Our experiments show that on a diverse set of adaptations, our approach is able to complete more than 95% of target tasks when using template-based descriptions, and more than 70% when using free-form natural language.
Motivation & Objective
- To enable zero-shot task adaptation where an agent learns a new task without demonstrations by combining a source task demonstration and a natural language description of the differences.
- To address the limitations of imitation learning (requiring demonstrations per task) and instruction-following (struggling with complex task details) by unifying both modalities.
- To develop a scalable, data-driven model that generalizes across diverse task adaptations without handcrafted features.
- To evaluate the model's ability to compose novel concepts from training data, such as 'blue cylinder' from 'blue' and 'cylinder' separately.
- To demonstrate that decomposing the learning problem into goal prediction and value/reward adaptation improves performance and enables intermediate supervision.
Proposed method
- LARVA takes as input a source demonstration, a natural language description of task differences, and either the target task's reward or value function.
- The model decomposes the task into two subproblems: predicting the target task's goal state and predicting the corresponding reward or value function.
- It uses neural networks to encode the source demonstration and the natural language description, with cross-attention mechanisms to align language concepts with objects and actions in the demonstration.
- The framework employs intermediate supervision by training the goal prediction head independently before joint training of the value/reward head.
- For generalization, the model is evaluated on out-of-distribution concepts (e.g., 'blue cylinder') not seen during training, testing its compositional generalization ability.
- The architecture is trained end-to-end on a synthetic environment with discrete actions and states, abstracting low-level control to focus on high-level planning.
Experimental results
Research questions
- RQ1Can an agent successfully perform a target task in a zero-shot setting when given only a source demonstration and a natural language description of the differences?
- RQ2How does combining demonstrations and language improve performance compared to using either modality alone?
- RQ3To what extent can the model generalize to novel combinations of objects and actions not seen during training?
- RQ4Does decomposing the learning problem into goal prediction and value/reward adaptation lead to better performance and training stability?
- RQ5How does performance vary between template-based and free-form natural language descriptions?
Key findings
- LARVA achieves over 95% success rate in completing target tasks when using template-based natural language descriptions of task differences.
- With free-form natural language, the model successfully completes more than 70% of target tasks, demonstrating robustness to natural language variation.
- Ablation studies show that using only demonstrations or only language results in a substantial performance drop, highlighting the necessity of multimodal fusion.
- The model's performance drops significantly when the problem is not decomposed into goal and value prediction, confirming the importance of the two-stage design.
- The model generalizes to novel object-action combinations (e.g., 'blue cylinder') not present in training, indicating compositional generalization capability.
- Despite strong performance, there remains a significant gap between template-based and free-form language, suggesting room for improvement with better language modeling and data filtering.
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.