Skip to main content
QUICK REVIEW

[Paper Review] StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generation

Yupeng Zhou, Daquan Zhou|arXiv (Cornell University)|May 2, 2024
Video Analysis and SummarizationComputer Science4 citations
TL;DR

This paper introduces StoryDiffusion, a training-free method for consistent image and video generation using Consistent Self-Attention, which enhances identity and attire consistency across images by incorporating reference tokens into self-attention computation. It further proposes a Semantic Motion Predictor for smooth, stable video generation, outperforming state-of-the-art methods in both quantitative metrics and user studies.

ABSTRACT

For recent diffusion-based generative models, maintaining consistent content across a series of generated images, especially those containing subjects and complex details, presents a significant challenge. In this paper, we propose a new way of self-attention calculation, termed Consistent Self-Attention, that significantly boosts the consistency between the generated images and augments prevalent pretrained diffusion-based text-to-image models in a zero-shot manner. To extend our method to long-range video generation, we further introduce a novel semantic space temporal motion prediction module, named Semantic Motion Predictor. It is trained to estimate the motion conditions between two provided images in the semantic spaces. This module converts the generated sequence of images into videos with smooth transitions and consistent subjects that are significantly more stable than the modules based on latent spaces only, especially in the context of long video generation. By merging these two novel components, our framework, referred to as StoryDiffusion, can describe a text-based story with consistent images or videos encompassing a rich variety of contents. The proposed StoryDiffusion encompasses pioneering explorations in visual story generation with the presentation of images and videos, which we hope could inspire more research from the aspect of architectural modifications. Our code is made publicly available at https://github.com/HVision-NKU/StoryDiffusion.

Motivation & Objective

  • To address the challenge of maintaining subject consistency—especially identity and attire—across long sequences of generated images and videos in text-to-image and text-to-video diffusion models.
  • To develop a lightweight, training-free method that improves consistency without requiring fine-tuning or extensive data.
  • To enable high-quality, long-range visual storytelling by extending consistency to video generation with smooth transitions.
  • To explore architectural modifications that enhance controllability and consistency in diffusion-based generative models.

Proposed method

  • Introduces Consistent Self-Attention, a plug-and-play module that enhances self-attention by incorporating sampled tokens from reference images into the key and value matrices, using shared Q-K-V weights to avoid retraining.
  • Employs a sliding window mechanism along the temporal dimension to reduce memory consumption and support long-form story generation.
  • Proposes a Semantic Motion Predictor that estimates motion between two images in the semantic space, enabling stable and coherent video transition generation.
  • Combines Consistent Self-Attention with a pre-trained motion module to generate videos with improved visual consistency and temporal smoothness.
  • Uses a zero-shot, inference-time approach that integrates with existing pre-trained diffusion models without additional training.
  • Employs a prompt-based story decomposition strategy, where each story segment is mapped to a single image or video frame for consistent generation.

Experimental results

Research questions

  • RQ1Can self-attention be modified to improve cross-image consistency in text-to-image generation without fine-tuning or additional training?
  • RQ2How can consistent subject identity and attire be preserved across long sequences of generated images and videos?
  • RQ3Does motion prediction in the semantic space yield more stable video transitions than latent space-based motion prediction?
  • RQ4Can a lightweight, plug-and-play module achieve state-of-the-art performance in visual story generation with minimal computational overhead?
  • RQ5How does the proposed method compare to existing control methods like IP-Adapter and PhotoMaker in terms of user-perceived consistency and controllability?

Key findings

  • StoryDiffusion achieves a user preference score of 72.8% in subject-consistent image generation, significantly outperforming IP-Adapter (10.4%) and PhotoMaker (16.8%).
  • In transition video generation, StoryDiffusion achieves a user preference of 82%, surpassing SEINE (11.6%) and SparseCtrl (6.4%).
  • Quantitatively, StoryDiffusion achieves LPIPS-frames of 0.1635 and CLIPSIM-frames of 0.9870, outperforming SEINE and SparseCtrl across all four metrics.
  • The ablation study confirms that a sampling rate of 0.5 in Consistent Self-Attention optimally balances consistency and minimal interference with the diffusion process.
  • The method successfully preserves identity and attire even when combined with PhotoMaker, demonstrating scalability and plug-and-play compatibility.
  • Semantic Motion Predictor generates more stable videos than latent-space-based methods, as validated by both quantitative metrics and qualitative user evaluation.

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.