Introduction
Procedure planning in instructional videos involves generating a sequence of goal-oriented actions to transition from a current visual state to a desired end state. For example, given an image of raw ingredients and a photo of a finished dish, a model must infer the intermediate steps such as "whisking," "folding," and "baking." While human cognition naturally fills these gaps by visualizing the evolution of the scene, artificial intelligence models often struggle with this "temporal logic."
Traditional approaches typically rely on high-level text labels or knowledge graphs to bridge the gap between start and end observations. However, text is often too abstract to capture the nuanced visual transitions required for complex tasks. Furthermore, many existing methods decouple the learning of intermediate states from the action reasoning process, leading to suboptimal performance. To address these challenges, we present Masked Temporal Interpolation Diffusion (MTID), a framework that leverages learnable latent visual features and a task-aware diffusion process to achieve state-of-the-art procedure planning.
Methodology
MTID operates through a three-stage pipeline designed to integrate visual reasoning directly into the action-generation process.
1. Task Classification
The process begins with a transformer-based classifier that analyzes the initial and goal observations. By identifying the overarching task (e.g., "Changing a Tire" or "Making a Meringue"), the model establishes a logical boundary for the action space, ensuring that the predicted steps remain relevant to the specific context.
2. Latent Space Temporal Interpolation
The core innovation of MTID is its learnable latent interpolation module. Rather than relying solely on discrete action labels, the model generates intermediate latent visual features that represent the transition between the start and end states. This creates a mathematical "mental movie" of the procedure. These features are refined through transformer blocks to ensure temporal coherence, providing a rich supervisory signal that helps the model understand how and why the environment changes between steps.
3. Masked Diffusion Process
For the final action sequence generation, MTID utilizes a Denoising Diffusion Implicit Model (DDIM). This generative process is enhanced by two specific mechanisms:
- Masked Projection: This restricts the diffusion search space to actions relevant to the identified task, effectively preventing the model from "hallucinating" irrelevant or impossible steps.
- Task-Adaptive Masked Proximity Loss: This loss function prioritizes accuracy at the temporal boundaries (the start and end points) where visual certainty is highest, while using the interpolated latent features to guide the reasoning for the middle steps.
Experimental Evaluation
MTID was evaluated on three benchmark datasets for instructional videos:
- CrossTask: 2,750 videos covering 18 diverse tasks.
- COIN: A large-scale dataset featuring 11,827 videos across 180 tasks.
- NIV (Narratives in Video): A complex dataset focusing on long-form action sequences.
Key Results
MTID consistently outperformed previous state-of-the-art models, such as PDPP and SCHEMA, across multiple metrics. On the CrossTask dataset with a planning horizon of $T=3$, MTID achieved a Success Rate (SR) of 40.45%, a significant improvement over the previous benchmark of 38.93%.
The model also demonstrated superior performance in mean Accuracy (mAcc) and mean Intersection over Union (mIoU). Notably, MTID showed increased robustness as the planning horizon grew longer, suggesting that the latent interpolation module provides critical guidance for complex, multi-step procedures. Furthermore, the diffusion-based approach allowed the model to generate diverse yet plausible plans, effectively modeling the inherent uncertainty of real-world tasks where multiple paths to a goal may exist.
Discussion and Future Work
While MTID represents a significant step forward, certain limitations remain. The model occasionally faces alignment issues in very long sequences, where the logical consistency of actions may drift. Additionally, the current reliance on specific data IDs for action mapping can create numerical challenges in highly diverse multi-task environments.
Future research will focus on optimizing memory efficiency to support even larger datasets and exploring conditional planning. This would enable the model to dynamically adjust its plan in response to mid-procedure obstacles or environmental changes, moving closer to truly autonomous robotic assistance in human environments.
Conclusion
By integrating latent visual interpolation with a masked diffusion process, MTID provides a more coherent and task-aware approach to procedure planning. The shift from purely verbal supervision to visual-temporal reasoning allows the model to capture the underlying logic of instructional videos, setting a new standard for the field.
Summary updated