Multimedia Generative Script Learning for Task Planning

Qingyun Wang, Manling Li, Hou Pong Chan, Lifu Huang, Julia Hockenmaier, Girish Chowdhary, Heng Ji

Introduction

To assist humans or operate autonomously, AI systems must understand "scripts"—the stereotypical sequences of events required to achieve a goal. While traditional script learning has relied on text, this approach often suffers from reporting bias, where obvious visual details are omitted in writing. This paper introduces Multimedia Generative Script Learning, a task where models predict the next steps of an activity by observing both textual instructions and visual states.

The Multimedia Challenge

A primary hurdle in script learning is capturing visual state changes. For instance, while a text instruction might say "string the beads," only an accompanying image can reveal which specific beads and tools are available on the table. The authors identify three core challenges: effectively capturing visual state changes (Multimedia), performing unseen tasks by transferring knowledge (Induction), and ensuring output variety (Diversity).

Figure 1: An example of a multimedia script for making a bracelet, showing sequential steps with both text and images.

Methodology: Selective Encoding and Retrieval

The proposed framework enhances the BART language model with three key innovations designed to address these challenges:

  • Selective Multimedia Encoder: Instead of raw pixels, the model uses BLIP to generate image captions. A "selection gate" then filters these captions to focus only on information relevant to future steps, ignoring visual noise.
  • Retrieval-Augmented Decoder: To handle novel tasks, the model retrieves "historically relevant steps" from its training data. For example, knowledge of "threading a bobbin" from a sewing task can help the model understand the mechanics of "threading beads" in a jewelry-making task.
  • Diversity-Oriented Contrastive Learning: A contrastive loss function (InfoNCE) prevents the model from generating repetitive or generic advice by forcing it to distinguish the correct next step from similar but incorrect "hard negatives."
Figure 4: The model architecture in action, showing how historically relevant steps are retrieved to predict the next step in a bracelet-making task.

Dataset and Results

The researchers introduced a first-of-its-kind benchmark crawled from WikiHow, containing 79,089 multimedia steps across Gardening and Crafts. The proposed model significantly outperformed strong baselines like GPT-2, T5, and vanilla BART. In the Gardening domain, it achieved a BLEU-4 score of 3.31 (compared to BART's 2.61) and showed marked improvement in grounding instructions in visual context. Human evaluations also ranked the model highest in correctness, diversity, and executability.

Conclusion

By bridging the gap between visual perception and linguistic reasoning, Multimedia Generative Script Learning moves AI closer to practical task planning. While limitations like domain specificity and occasional hallucinations remain, the use of selective encoding and retrieval-augmented generation provides a robust foundation for future autonomous assistants.

Summary updated

BibTeX
@inproceedings{wang2023multimedia,
  author = {Qingyun Wang and Manling Li and Hou Pong Chan and Lifu Huang and Julia Hockenmaier and Girish Chowdhary and Heng Ji},
  title = {{Multimedia Generative Script Learning for Task Planning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.63},
}
Figure