TL;DR
Real-world instructional videos are messy: demonstrators routinely skip steps, and annotations are often missing or noisy. MSG$^2$ (Multimodal Subtask Graph Generation) tackles this challenge by first reconstructing missing subtask states using video and speech transcripts, then applying a complexity-regularized logic induction algorithm to infer the underlying causal dependencies. The resulting subtask graphs significantly outperform existing approaches in graph accuracy and beat state-of-the-art video transformers at predicting next steps.
What Problem Does This Paper Address?
To autonomously plan and execute complex tasks (e.g., performing CPR, changing a tire, or assembling a clarinet), agents must understand causal dependencies: which subtasks are mandatory prerequisites for others.
While instructional web videos provide rich demonstrations, learning causal graphs directly from them is surprisingly hard:
- Pervasive data noise: Demonstrators frequently omit steps, and human annotations miss actions that are clearly visible or spoken.
- Positive-only bias: We only observe subtasks being executed (eligible states), never explicit counterfactual negative feedback ("subtask $X$ cannot be done now"). Naive inductive logic programming (ILP) collapses into trivial solutions where all steps are assumed to have no preconditions.
- Causal cycles: Inferring prerequisites independently per subtask easily introduces circular dependencies (e.g., $A$ requires $B$ and $B$ requires $A$).
Methods
MSG$^2$ addresses these challenges in a two-stage pipeline:
- Multimodal Subtask State Prediction:
- Cross-modal Attention: Frame features and ASR transcript verb phrases are encoded via CLIP (ViT-B/32), fused through multi-head attention, and passed to a pretrained T5 encoder.
- Ordinal State Modeling: Instead of predicting noisy step-by-step frames, the network predicts subtask states (not started, in progress, completed) at action boundaries using an ordinal regression loss. This fills in unannotated or skipped steps across the video.
- Complexity-Regularized Graph Induction:
- Precision Maximization: Rather than raw accuracy (which yields trivial, precondition-free graphs), the model optimizes a precision-based objective that penalizes overly optimistic preconditions.
- Complexity Penalty: A regularizer $\alpha C(f_n)$ penalizes overly complex Boolean formulas (number of AND/OR operations), preventing the model from fitting to spurious noise.
- Cycle Prevention via Transition Purity: Before logic search, subtasks are partitioned into ordered layers using a pairwise "transition purity" metric (how consistently subtask $A$ precedes subtask $B$). Logic preconditions for depth $l$ are restricted to subtasks at depths $< l$.
- Recency Weighting: Closer prerequisites are assigned higher weight using exponential temporal discounting.
Datasets
- ProceL: 12 diverse real-world tasks (e.g., Perform CPR, Tie Tie, Setup Chromecast, Assemble Clarinet), averaging 54.5 videos and 13.1 subtasks per task. Evaluated on both graph generation quality (using newly validated ground-truth graphs) and next subtask prediction.
- CrossTask: 18 instructional tasks used to evaluate zero-shot and downstream next-step prediction accuracy.
Key Insights and Ideas
- Fix the data before extracting the logic: Symbolic logic solvers are notoriously brittle to missing data. Using multimodal deep learning as a denoising "front-end" to infer missing intermediate states allows symbolic induction to find true causal structures.
- Regularized precision beats accuracy for positive-only data: When training data contains only successful executions ($e_n = 1$), accuracy metrics reward trivial "always eligible" hypotheses. Maximizing precision while penalizing the number of Boolean operators strikes the right balance between coverage and simplicity.
- Text priors matter for procedure progression: In ablations, pretrained language models (T5) outperformed pure vision architectures (ViT) and Vision-Language models (VisualBERT) at predicting subtask progression, highlighting the importance of linguistic priors in procedural reasoning.
Key Results
- Graph Generation (ProceL):
- Accuracy: MSG$^2$ achieves 83.16%, substantially outperforming rule-based ILP baselines (MSGI: 54.23%, MSGI+: 73.59%) and language-based script predictors (ProScript: 57.50%).
- Graph Structure (SPOC): Reaches 89.91% Strict Partial Order Consistency (vs. 72.39% for MSGI+ and 62.34% for ProScript).
- Removing the subtask state predictor (MSG$^2$-noSSP) drops accuracy to 81.62% and SPOC to 88.35%, confirming the necessity of denoising.
- Next Subtask Prediction:
- On ProceL, MSG$^2$ achieves 55.38% accuracy, outperforming end-to-end video transformers STAM (29.86%) and ViViT (26.98%) by ~85% relative improvement.
- On CrossTask, MSG$^2$ scores 54.42% (vs. 40.17% for STAM and 41.96% for ViViT, a ~30% relative improvement).
Limitations and Future Work
- Imperfect State Recovery: When visual and audio cues are subtle, the multimodal predictor can still miss steps or introduce false positive preconditions (e.g., incorrectly treating Call emergency as a strict prerequisite for Check pulse in CPR).
- Predefined Subtask Vocabulary: The approach requires predefined subtask categories and segment boundaries during training rather than discovering novel subtasks open-vocabulary.
- Heuristic Layer Thresholds: Transition purity thresholds ($\delta$) must be tuned depending on the dataset's noise level ($\delta = 0.96$ for ProceL vs. $\delta = 0.55$ for CrossTask).
Summary updated