PDPP: Projected Diffusion for Procedure Planning in Instructional Videos

Hanlin Wang, Yilu Wu, Sheng Guo, Limin Wang · DOI

TL;DR

This paper introduces PDPP, a novel diffusion-based framework for procedure planning in instructional videos. PDPP models the entire action sequence distribution directly, enabling it to generate diverse and plausible plans with less supervision and a simpler training scheme than previous methods. It achieves state-of-the-art results on multiple benchmarks, demonstrating its effectiveness and generalization capabilities.

What Problem Does This Paper Address?

Instructional videos are rich sources of knowledge for learning new skills, but extracting actionable plans from them is a significant challenge for AI. The task of "procedure planning" aims to generate a sequence of actions that transform a given starting state to a desired goal state, as observed in these videos. Existing approaches often rely on complex autoregressive models that require extensive intermediate supervision (e.g., visual observations or language descriptions at each step), leading to error accumulation and costly annotation. Furthermore, these methods typically train separate models for different planning horizons (number of action steps), which is inefficient and impractical for real-world tasks where the number of actions can vary. This paper addresses these limitations by proposing a more efficient, less supervised, and flexible approach to procedure planning.

Methods

The core of PDPP is a Projected Diffusion Model (PDPP). Instead of predicting actions step-by-step, PDPP treats procedure planning as a distribution fitting problem, directly modeling the joint distribution of the entire action sequence. This is achieved using a diffusion model, which iteratively denoises a random Gaussian noise to generate a plan.

Key innovations include:

  • Diffusion-Based Modeling: Leverages diffusion models to inherently handle the uncertainty in procedure planning, allowing for the generation of multiple plausible action sequences.
  • Task Class Supervision: Reduces the need for expensive intermediate supervision by using only the task label (e.g., "make a cake") as a condition for training. This task label is extracted using a simple MLP classifier.
  • Joint Training for Varied Horizons: PDPP is designed to handle planning with different horizon lengths using a single model. This is achieved through techniques like horizon embedding and Mixture-of-Experts (MoEs) to manage parameters efficiently.
  • Projected Gradient Descent: A projection operation is incorporated into the diffusion process to ensure that conditional information (like task and observation) remains stable and guides the learning process effectively.
  • Two-Stage Prediction (Optional): For larger datasets, a two-stage approach is proposed where the first and last actions are predicted first, and then used as conditions to predict intermediate actions. This can improve performance but may lead to overfitting on smaller datasets.
  • Extension to VPA: The framework is extended to the Visual Planners for Human Assistance (VPA) task by replacing the visual goal observation with a language-described goal.

Datasets

The paper evaluates PDPP on three large-scale instructional video datasets:

  • CrossTask: Contains 2,750 videos across 18 tasks.
  • NIV: Features 150 videos across 5 daily tasks.
  • COIN: A significantly larger dataset with 11,827 videos and 180 tasks.

The paper also mentions using features extracted from the HowTo100M dataset for some experiments.

Key Insights and Ideas

  • Diffusion Models Excel at Uncertainty: The inherent probabilistic nature of diffusion models makes them well-suited for procedure planning, where multiple valid action sequences can lead to the same goal.
  • Task Labels are Sufficient: Surprisingly, relying solely on task labels for supervision, rather than detailed intermediate observations or language, is sufficient to achieve state-of-the-art performance, significantly reducing annotation costs.
  • Joint Training is Efficient: Training a single model for multiple planning horizons is feasible and parameter-efficient, though it can introduce challenges like overfitting on very large datasets if not managed carefully.
  • Condition Projection is Crucial: Stabilizing conditional information during the diffusion process is vital for effective learning and accurate planning.
  • Dataset Scale Matters for Architecture Choice: Smaller datasets benefit from simpler architectures like Unet, while larger datasets like COIN are better handled by more complex models like Transformers. Task masks are particularly effective for large datasets.

Key Results

  • PDPP achieves state-of-the-art performance on the CrossTask, NIV, and COIN datasets for procedure planning, outperforming previous methods across various metrics (Success Rate, Mean Accuracy, Mean IoU).
  • The model demonstrates significant improvements, for instance, outperforming previous methods by over 14% in SR on CrossTask with HowTo100M features.
  • PDPP also achieves state-of-the-art results on the VPA task, showcasing its generalization capabilities.
  • Joint training significantly reduces the number of training parameters and steps required, making the model more practical.
  • Ablation studies confirm the effectiveness of task supervision, joint training, and the proposed projection mechanism.

Limitations and Future Work

  • Overfitting on Small Datasets with Joint Training: While joint training is efficient, it can lead to overfitting on smaller datasets if not carefully managed.
  • Task Prediction Errors: Errors in predicting the task class can occur, especially for imbalanced datasets or tasks with similar appearances.
  • Start-End Action Prediction Bottleneck: Inferring semantic action information directly from start and end observations remains a key challenge, requiring finer detail recognition.
  • Future Work: The authors suggest extending PDPP to open-domain planning and incorporating language-described actions and task labels for even greater flexibility.

Summary updated

BibTeX
@article{wang2023pdpp,
  author = {Hanlin Wang and Yilu Wu and Sheng Guo and Limin Wang},
  title = {{PDPP: Projected Diffusion for Procedure Planning in Instructional Videos}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2024.3518762},
}
Figure