TL;DR
StoryGen is a new auto-regressive framework that enables Latent Diffusion Models to generate visually coherent image sequences for open-ended storytelling. By introducing a novel vision-language context module and a massive new dataset called StorySalon, the authors demonstrate that AI can maintain character and style consistency across a narrative without needing character-specific fine-tuning.
What Problem Does This Paper Address?
While modern text-to-image models like Stable Diffusion can create stunning individual images, they struggle with visual storytelling. If you ask a standard model to generate a sequence of images for a story, the characters, art style, and backgrounds often change drastically from one frame to the next.
Existing solutions for "story visualization" typically suffer from two major flaws:
- Closed-set limitations: They are trained on tiny datasets (like The Flintstones or Pororo) and can only generate a handful of specific characters.
- Optimization overhead: To maintain consistency for a new character, many methods require costly per-character fine-tuning (e.g., using LoRA).
The authors aim to create an open-ended system that can take any storyline—even one freshly minted by an LLM—and generate a coherent visual narrative featuring unseen characters on the fly.
Methods
The core of the paper is StoryGen, an auto-regressive image generation model built upon Stable Diffusion.
1. Auto-regressive Generation
Instead of generating images in isolation, StoryGen generates the $k$-th frame by conditioning on the current text prompt plus the preceding image-caption pairs. This allows the model to "remember" what the character and environment looked like in previous frames.
2. Vision-Language Context Module
The authors introduce a novel module to fuse these conditions. As shown in the architecture overview, they add an Image Cross-Attention Layer in parallel to the standard text cross-attention layer.
Crucially, rather than using generic image embeddings (like CLIP), they extract diffusion denoising features directly from the UNet of the previous frames. This preserves much finer visual details, which is essential for maintaining character identity.
3. Temporal Positional Encoding
To help the model distinguish the order of previous frames, the authors use a clever trick: they add different levels of noise to reference frames based on their temporal distance. Frames further in the past get more noise, signaling to the model that they should have less influence on the current frame than the immediate predecessor.
Datasets
A major contribution of this work is StorySalon, a large-scale dataset designed to move beyond the "closed-set" problem.
- Scale: It contains ~160,000 animation-style images across 11,280 stories.
- Diversity: It covers 446 character categories (compared to <10 in previous benchmarks).
- Source: Data was scraped from YouTube storytelling videos and open-source E-books.
- Pipeline: The authors developed a sophisticated pipeline involving frame extraction, Dynamic Time Warping (DTW) for subtitle alignment, and automated captioning to bridge the gap between "narrative text" and "descriptive captions."
Key Insights and Ideas
- Internal Features > Global Embeddings: The "aha moment" here is that the internal features of a diffusion model's own UNet are far better at capturing character consistency than external encoders like CLIP or BLIP.
- Noise as a Time Signal: Using diffusion timesteps ($t$) as a proxy for temporal distance is an elegant way to provide positional encoding without adding complex new layers.
- Generalization through Scale: By training on hundreds of character types in StorySalon, the model learns the concept of consistency, allowing it to generalize to entirely new characters it has never seen before.
Key Results
StoryGen significantly outperforms existing baselines in both automated metrics and human preference.
- Quantitative: On the StorySalon test set, StoryGen achieved a FID of 33.90 (lower is better), significantly beating AR-LDM (39.55) and StoryDALL-E (38.34). It also showed the highest CLIP-I score (0.7467), indicating superior image-to-image consistency.
- Human Evaluation: In "Story Generation" tasks, humans preferred StoryGen's results 67.14% of the time compared to standard Stable Diffusion (14.05%). In "Story Continuation" (where a starting image is provided), StoryGen was preferred a staggering 96.87% of the time.
Limitations and Future Work
Despite its success, StoryGen inherits the fundamental weaknesses of its base model (Stable Diffusion v1.5), such as:
- Limb Inaccuracies: Occasional issues with the number of fingers or legs.
- Multi-Object Quality: Difficulty rendering complex scenes with many interacting characters.
- Context Conflicts: Sometimes the model struggles to balance the text prompt (e.g., "in the forest") with a reference image that has a strong conflicting background (e.g., "in a bedroom").
The authors suggest that moving to more robust foundational architectures like SD-XL or DALL-E 3 could resolve many of these issues in the future.
Summary updated