[Paper Review] Neural Task Graphs: Generalizing to Unseen Tasks from a Single Video Demonstration
Neural Task Graph (NTG) Networks enable one-shot visual imitation learning by modeling task compositionality through a Conjugate Task Graph (CTG), where actions are nodes and state transitions are edges. This approach achieves strong generalization to unseen long-horizon tasks from a single video demonstration, outperforming unstructured and hierarchically supervised methods in simulation and real-world surgical data.
Our goal is to generate a policy to complete an unseen task given just a single video demonstration of the task in a given domain. We hypothesize that to successfully generalize to unseen complex tasks from a single video demonstration, it is necessary to explicitly incorporate the compositional structure of the tasks into the model. To this end, we propose Neural Task Graph (NTG) Networks, which use conjugate task graph as the intermediate representation to modularize both the video demonstration and the derived policy. We empirically show NTG achieves inter-task generalization on two complex tasks: Block Stacking in BulletPhysics and Object Collection in AI2-THOR. NTG improves data efficiency with visual input as well as achieve strong generalization without the need for dense hierarchical supervision. We further show that similar performance trends hold when applied to real-world data. We show that NTG can effectively predict task structure on the JIGSAWS surgical dataset and generalize to unseen tasks.
Motivation & Objective
- To enable one-shot visual imitation learning for complex, long-horizon tasks using only a single video demonstration.
- To address the challenge of generalizing to unseen tasks with unknown visual states and limited supervision.
- To improve data efficiency and generalization by explicitly modeling task compositionality in both task structure and policy.
- To develop a method that generalizes effectively without requiring dense hierarchical supervision or prior state annotations.
Proposed method
- NTG Networks use a Conjugate Task Graph (CTG) as an intermediate representation, where nodes represent actions and edges represent state transitions.
- The generator component infers the CTG from a single video demonstration by identifying action sequences and their dependencies.
- The execution engine uses the inferred CTG to generate a reactive, executable policy that can adapt to novel visual states.
- The CTG formulation decouples policy learning from explicit state space modeling, enabling generalization to unseen states in high-dimensional visual space.
- The model leverages attention mechanisms in the demo interpreter to extract relevant visual and action cues from the video.
- The framework is trained end-to-end on seen tasks and generalizes to unseen tasks via structural transfer without retraining.
Experimental results
Research questions
- RQ1Can a single video demonstration enable effective policy learning for unseen, complex, long-horizon tasks?
- RQ2How can task compositionality be effectively modeled in visual imitation learning to improve generalization?
- RQ3Can a Conjugate Task Graph (CTG) representation handle unseen visual states without explicit state labeling?
- RQ4Does modeling task structure lead to better data efficiency and generalization compared to unstructured policy learning?
- RQ5Can the proposed method generalize to real-world, high-variation scenarios such as surgical tasks?
Key findings
- NTG significantly outperforms a flat policy baseline on both Block Stacking and Object Collection tasks, demonstrating the importance of structural modeling.
- On the Object Collection task, NTG generalizes to 1, 3, and 5 objects despite being trained only on 2 and 4 objects, showing strong inter-task generalization.
- In the JIGSAWS surgical dataset, the full NTG model achieves the lowest negative log-likelihood (NLL) on unseen 'Needle Passing' demonstrations, indicating better capture of expert behavior.
- The predicted task graph on JIGSAWS correctly identifies the need to return to 'Orienting Needle' after failure, aligning with expert intuition and ground truth.
- The no-graph variant of NTG performs better than a uniform policy but is outperformed by the full model, confirming the value of structural modeling.
- NTG generalizes effectively to real-world data without requiring dense supervision, showing robustness to visual variation and unseen configurations.
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.