Skip to main content
QUICK REVIEW

[Paper Review] StoryDALL-E: Adapting Pretrained Text-to-Image Transformers for Story Continuation

Adyasha Maharana, Darryl Hannan|arXiv (Cornell University)|Sep 13, 2022
Generative Adversarial Networks and Image SynthesisComputer Science5 citations
TL;DR

This paper introduces StoryDALL-E, a method that adapts pretrained text-to-image transformers like DALL-E Mega for story continuation by retro-fitting them with cross-attention for source image copying and a global story encoder for sequential context. It achieves state-of-the-art performance on story continuation benchmarks, outperforming GAN-based models and enabling coherent, character-consistent visual narratives with improved generalization to unseen plots.

ABSTRACT

Recent advances in text-to-image synthesis have led to large pretrained transformers with excellent capabilities to generate visualizations from a given text. However, these models are ill-suited for specialized tasks like story visualization, which requires an agent to produce a sequence of images given a corresponding sequence of captions, forming a narrative. Moreover, we find that the story visualization task fails to accommodate generalization to unseen plots and characters in new narratives. Hence, we first propose the task of story continuation, where the generated visual story is conditioned on a source image, allowing for better generalization to narratives with new characters. Then, we enhance or 'retro-fit' the pretrained text-to-image synthesis models with task-specific modules for (a) sequential image generation and (b) copying relevant elements from an initial frame. Then, we explore full-model finetuning, as well as prompt-based tuning for parameter-efficient adaptation, of the pre-trained model. We evaluate our approach StoryDALL-E on two existing datasets, PororoSV and FlintstonesSV, and introduce a new dataset DiDeMoSV collected from a video-captioning dataset. We also develop a model StoryGANc based on Generative Adversarial Networks (GAN) for story continuation, and compare it with the StoryDALL-E model to demonstrate the advantages of our approach. We show that our retro-fitting approach outperforms GAN-based models for story continuation and facilitates copying of visual elements from the source image, thereby improving continuity in the generated visual story. Finally, our analysis suggests that pretrained transformers struggle to comprehend narratives containing several characters. Overall, our work demonstrates that pretrained text-to-image synthesis models can be adapted for complex and low-resource tasks like story continuation.

Motivation & Objective

  • To address the limitation of existing story visualization models in generalizing to unseen characters and plots by introducing a new task: story continuation.
  • To enable pretrained text-to-image models to generate coherent, sequential image stories conditioned on an initial source image for improved visual consistency.
  • To develop a parameter-efficient, retro-fitted adaptation of pretrained transformers (e.g., DALL-E Mega) for low-resource story continuation tasks.
  • To introduce a new dataset, DiDeMoSV, and reformat existing datasets (PororoSV, FlintstonesSV) into the story continuation setting for evaluation.
  • To compare the performance of retro-fitted transformer models against GAN-based baselines (StoryGANc) in generating narrative-consistent image sequences.

Proposed method

  • Retro-fit pretrained text-to-image transformers with cross-attention layers to copy visual elements from a source image into subsequent frames.
  • Introduce a global story encoder with self-attention to model long-range narrative context across multiple captions and frames.
  • Fine-tune the entire model end-to-end on story continuation datasets to adapt the pretrained knowledge to sequential image generation.
  • Explore prompt-based tuning as a parameter-efficient alternative to full fine-tuning for adaptation.
  • Use the DALL-E Mega architecture—based on BART encoder and VQGAN-VAE—for improved image and caption representation.
  • Train and evaluate on three datasets: PororoSV, FlintstonesSV, and the newly introduced DiDeMoSV, derived from a video-captioning dataset.

Experimental results

Research questions

  • RQ1Can pretrained text-to-image models be effectively adapted for story continuation using retro-fitted modules to improve visual consistency and narrative coherence?
  • RQ2Does conditioning on a source image enable better generalization to unseen characters and plots in story visualization?
  • RQ3How does the performance of a retro-fitted transformer-based model compare to a GAN-based model (StoryGANc) in story continuation tasks?
  • RQ4To what extent can the model leverage pretrained knowledge to generate novel visual concepts not seen in the training data?
  • RQ5How does the number of characters in a narrative affect the model’s ability to maintain visual consistency across frames?

Key findings

  • The mega-StoryDALL-E model achieves a 23.48 FID score on PororoSV, representing a 2.42-point improvement over StoryDALL-E (25.90), demonstrating the benefit of using larger, more capable pretrained models.
  • The model improves character classification F1 from 38.48 to 39.91 on PororoSV, indicating better recognition of character identities across frames.
  • Frame accuracy increases from 17.26 to 18.01 on PororoSV, showing enhanced alignment between generated images and captions.
  • The model successfully copies visual elements from the source image to subsequent frames, maintaining narrative continuity and reducing visual drift.
  • The model performs best on overtly visual actions like 'making cookies' and 'walking', suggesting strong capability for action-centric visual generation.
  • Despite improvements, the model struggles with narratives involving more than three characters, indicating a key limitation in multi-character consistency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.