Intelligent Grimm - Open-ended Visual Storytelling via Latent Diffusion Models

Chang Liu, Haoning Wu, Yujie Zhong, Xiaoyun Zhang, Yanfeng Wang, Weidi Xie

Introduction

While text-to-image (T2I) models like Stable Diffusion have achieved remarkable success in generating high-quality single images, they often struggle with visual storytelling. In a narrative sequence, maintaining the consistency of characters, art styles, and backgrounds is paramount. Standard models typically generate frames independently, leading to significant fluctuations in appearance between images. This paper introduces StoryGen, an auto-regressive framework designed to enable "open-ended" visual storytelling by generalizing to new characters and storylines without per-character fine-tuning.

The StoryGen workflow demonstrates an open-ended interaction where the model generates a visual narrative based on user prompts and maintains character consistency across frames.

Challenges in Visual Storytelling

The authors identify three primary obstacles to consistent visual narratives:

  1. Lack of Context: Most models do not account for preceding frames during generation.
  2. Description Ambiguity: Text prompts are often too sparse to capture the intricate details required for character persistence.
  3. Data Scarcity: Existing datasets are often "closed-set," featuring a limited number of characters, which causes models to overfit and fail on novel, user-defined protagonists.

The StoryGen Framework

StoryGen addresses these challenges through an auto-regressive approach built upon Stable Diffusion. The core innovation is a Vision-Language Context Module that fuses the current text prompt with "memory" from previous frames. Instead of relying solely on high-level CLIP embeddings, the model extracts diffusion denoising features from previous frames to preserve fine-grained details.

To help the model understand the temporal sequence, the authors employ a novel Temporal Positional Encoding via Noise. By adding increasing levels of noise to reference frames based on their distance in the story, the model can distinguish between immediate and distant "memories" without the need for complex additional layers.

The StorySalon Dataset

To overcome the limitations of existing datasets, the researchers introduced StorySalon, a large-scale dataset for open-vocabulary storytelling. It contains approximately 160,000 animation-style images across 11,280 storybooks, covering 446 character categories. This diversity allows StoryGen to achieve zero-shot consistency for entirely new characters.

A key insight during data preparation was the "Narrative vs. Descriptive Gap." Narrative text (e.g., "He felt a surge of joy") is often poor for training T2I models. The authors utilized a pipeline to align images with descriptive captions (e.g., "A man smiling in a meadow") while maintaining the broader narrative context.

Results and Evaluation

StoryGen significantly outperforms baselines like StoryDALL-E and AR-LDM. Quantitatively, on the StorySalon test set, StoryGen achieved a FID of 33.90 and a CLIP-I (image similarity) of 0.7467, compared to Stable Diffusion's FID of 73.50 and CLIP-I of 0.6155. Qualitatively, human judges preferred StoryGen’s results in open-ended story continuation tasks over 96% of the time.

An example of StoryGen's output showing high-quality character consistency and environmental detail in a generated narrative frame.

Conclusion

StoryGen represents a significant step forward in consistent visual storytelling. By leveraging a vision-language context module and the diverse StorySalon dataset, it achieves character consistency "out of the box." While the model still inherits some diffusion artifacts from its base architecture (SD v1.5), future work involving more robust base models like SD-XL promises to further enhance the structural integrity and visual quality of generated stories.

Summary updated

BibTeX
@inproceedings{liu2023intelligent,
  author = {Chang Liu and Haoning Wu and Yujie Zhong and Xiaoyun Zhang and Yanfeng Wang and Weidi Xie},
  title = {{Intelligent Grimm - Open-ended Visual Storytelling via Latent Diffusion Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure