Abstract
Maintaining character and stylistic consistency across multiple generated images or long video sequences remains a significant challenge for diffusion-based models. This paper introduces StoryDiffusion, a framework featuring two novel components: Consistent Self-Attention (CSA) and the Semantic Motion Predictor (SMP). CSA enables training-free, batch-level attention to ensure identity and attire consistency across image sequences. SMP facilitates stable video transitions by predicting motion in semantic space rather than latent space. Experimental results show that StoryDiffusion outperforms existing methods in character similarity and perceptual video quality, providing a robust solution for automated visual storytelling.
Introduction
In the current landscape of generative AI, tools like Midjourney and DALL-E excel at creating high-quality individual images. However, they frequently encounter a "consistency wall" when tasked with generating a series of images featuring the same character in different environments or actions. This lack of identity preservation makes these models difficult to use for complex storytelling tasks such as comic book creation or storyboarding.
Existing approaches generally fall into two categories: reference-based methods (e.g., IP-Adapter) and identity-preservation methods (e.g., PhotoMaker). Reference-based methods often struggle to balance character identity with text prompt adherence, while identity-preservation methods frequently fail to maintain consistent clothing or overall scene style. Furthermore, when extending these images into video, current models often suffer from visual artifacts and "warping" during significant transitions. StoryDiffusion addresses these limitations by focusing on cross-image attention and semantic-level motion prediction.
Methodology
Consistent Self-Attention (CSA)
Consistent Self-Attention is a training-free mechanism designed to maintain character identity across a batch of generated images. In standard diffusion models, self-attention is restricted to the spatial tokens within a single image. StoryDiffusion extends this by performing self-attention across the entire batch.
During the generation process, the model samples reference tokens from other images within the same sequence. This cross-image communication forces the model to converge on a unified representation of the character's features, attire, and the overall artistic style. Because this method utilizes existing attention weights, it is "hot-pluggable" and can be integrated into pre-trained models like Stable Diffusion XL without additional fine-tuning.
Semantic Motion Predictor (SMP)
To address the instability of long-range video generation, the authors propose the Semantic Motion Predictor. Traditional video models often attempt to predict motion in latent space, which can be highly noisy and lead to physical implausibility. SMP instead operates in the semantic space using CLIP image embeddings.
The process involves:
- Identifying a start and end frame.
- Utilizing a transformer-based predictor to estimate a "semantic path" between these frames.
- Using these semantic control signals to guide the diffusion process as it fills in intermediate frames.
This approach results in transitions that are more physically plausible and visually stable compared to latent-only prediction methods.
Experimental Setup and Results
Datasets and Evaluation
The Semantic Motion Predictor was trained using the Webvid10M dataset, a large-scale collection of captioned short videos. To evaluate image consistency, the authors developed a benchmark using GPT-4 to generate 20 unique character prompts and 100 activity prompts, testing the model's ability to maintain identity across diverse scenarios.
Quantitative and Qualitative Performance
StoryDiffusion demonstrated superior performance across several key metrics:
- Image Consistency: The model achieved a Character Similarity score of 0.8950 and a Text-Image Similarity score of 0.6586, outperforming both IP-Adapter and PhotoMaker.
- Video Quality: SMP achieved lower LPIPS scores (indicating higher perceptual quality) and higher CLIPSIM scores compared to state-of-the-art models like SEINE and SparseCtrl.
- Human Preference: In a user study involving 30 participants, StoryDiffusion was preferred 72.8% of the time for image consistency and 82% of the time for the quality of video transitions.
Discussion and Limitations
While StoryDiffusion represents a significant step forward, certain limitations remain. The model may occasionally struggle with extremely fine details, such as specific intricate patterns on accessories. Additionally, the current video generation utilizes a "sliding window" approach; while this ensures local smoothness, it lacks a global memory mechanism, which can lead to identity drift in exceptionally long video sequences. Future research will focus on incorporating global information exchange to further stabilize long-form content generation.
Conclusion
StoryDiffusion provides a powerful, training-free framework for consistent visual storytelling. By leveraging Consistent Self-Attention for identity preservation and Semantic Motion Prediction for stable video transitions, it overcomes the primary hurdles of character drift and temporal instability in generative workflows.
Summary updated