Action Dynamics Task Graphs for Learning Plannable Representations of Procedural Tasks

Weichao Mao, Ruta Desai, Michael Louis Iuzzolino, Nitin KamraarXiv 2023

Abstract

Given video demonstrations and paired narrations of an at-home procedural task such as changing a tire, we present an approach to extract the underlying task structure -- relevant actions and their temporal dependencies -- via action-centric task graphs. Learnt structured representations from our method, Action Dynamics Task Graphs (ADTG), can then be used for understanding such tasks in unseen videos of humans performing them. Furthermore, ADTG can enable providing user-centric guidance to humans in these tasks, either for performing them better or for learning new tasks. Specifically, we show how ADTG can be used for: (1) tracking an ongoing task, (2) recommending next actions, and (3) planning a sequence of actions to accomplish a procedural task. We compare against state-of-the-art Neural Task Graph method and demonstrate substantial gains on 18 procedural tasks from the CrossTask dataset, including 30.1% improvement in task tracking accuracy and 20.3% accuracy gain in next action prediction.

Introduction

Researchers from Meta’s Reality Labs and UIUC have introduced Action Dynamics Task Graphs (ADTG), a novel framework for AI to understand and plan complex procedural tasks by observing video demonstrations. Procedural tasks, such as assembling furniture or cooking, present significant challenges for AI assistants. Traditional "state-centric" models struggle with visual noise—where diverse environments make defining stable "states" difficult—and flexible ordering, where steps can often be performed in multiple valid sequences. By focusing on actions rather than raw visual states, ADTG achieves substantial improvements in task tracking and next-action prediction.

Methods: Action-Centric Representation

The core innovation of ADTG is its action-centric graph structure. Unlike traditional task graphs where nodes represent world states and edges represent actions, ADTG utilizes a "Conjugate Task Graph" where nodes represent specific actions (e.g., "pour oil") and edges represent the states between them.

Comparison of a standard state-centric Task Graph (a) and the action-centric Conjugate Task Graph (b) used in ADTG.

Action Embedding and Dynamics

To capture the semantics of an action, the model treats it as a transformation between visual states. An Action Embedding Network looks at video frames immediately before and after an action, learning an embedding that "transforms" pre-condition features into post-condition features. A contrastive loss is employed to ensure the model distinguishes between actions with similar visual appearances but different functional effects.

Modular Guidance System

The ADTG framework consists of three primary components:

  1. Task Tracking: Localizes the user’s current progress within the graph.
  2. Next Action Recommendation: Suggests the most probable next step based on the current node and action history, managed via an RNN.
  3. Plan Generation: Employs autoregressive beam search to generate complete action sequences to reach a goal state.

Results and Key Insights

The model was evaluated on the CrossTask dataset, which includes 2,750 instructional videos across 18 tasks. ADTG significantly outperformed the previous state-of-the-art, Neural Task Graphs (NTG), in several key metrics:

  • Task Tracking: 0.557 accuracy (30.1% absolute improvement over NTG).
  • Next Action Prediction: 0.523 accuracy (20.3% improvement over NTG).
  • Planning: Achieved a Mean Intersection over Union (mIoU) of 0.628 for multi-step plan generation.
Learned Action Dynamics Task Graphs for three real-world procedural tasks: making jello shots, adding oil to a car, and changing a tire.

A key finding was that history is crucial: knowing the sequence of prior actions is often more predictive of the next step than the current visual observation alone. By abstracting away complex visual states into discrete action nodes, the model avoids "state explosion" and remains computationally efficient for planning.

Discussion and Future Work

While ADTG represents a major step forward, some limitations remain. The autoregressive nature of planning means early errors can propagate through a sequence. Additionally, the current model lacks fine-grained state information (e.g., the volume of liquid in a container). Future work involves incorporating object-level attributes and testing the system in live, interactive AR environments to provide real-time human guidance.

Summary updated

BibTeX
@misc{mao2023action,
  author = {Weichao Mao and Ruta Desai and Michael Louis Iuzzolino and Nitin Kamra},
  title = {{Action Dynamics Task Graphs for Learning Plannable Representations of Procedural Tasks}},
  year = {2023},
  eprint = {2302.05330},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.05330},
}
Figure