Introduction: The Consistency Challenge
Generating high-quality video clips has seen significant progress, yet creating long-form, multi-shot narratives remains a formidable challenge for AI. Current video generation models typically face a "consistency vs. quality" dilemma. Joint modeling approaches, which attempt to train a single model on long sequences, are computationally prohibitive and often suffer from degraded visual quality due to the scarcity of high-quality multi-shot training data. Conversely, decoupled pipelines—where shots are generated independently—frequently suffer from "visual drift," where characters' appearances, clothing, and environments change inconsistently between cuts.
StoryMem addresses these issues by introducing a dynamic "visual memory bank" that allows a single-shot video model to maintain long-term coherence without the overhead of joint training.
The Memory-to-Video (M2V) Paradigm
At the heart of StoryMem is the Memory-to-Video (M2V) framework. This paradigm shifts the focus from generating a single long sequence to iteratively generating shots conditioned on a curated memory of previous visual information.
The system utilizes a pre-trained single-shot model, specifically Wan2.2-I2V, adapted via Low-Rank Adaptation (LoRA). By injecting "memory latents"—encoded keyframes from prior shots—the model can reference specific visual details like a character's facial features or the texture of their clothing, ensuring they remain stable throughout the story.
Technical Innovation: Negative RoPE Shift
A critical technical hurdle in conditioning on past frames is preventing the model from confusing these "memory" frames with the current temporal sequence. StoryMem solves this using a novel Negative RoPE Shift.
In transformer-based models, Rotary Position Embeddings (RoPE) are used to signal the temporal order of frames. By assigning memory frames negative temporal indices, the model effectively treats them as a "prequel." This allows the attention mechanism to draw visual cues from the past without disrupting the motion dynamics of the current shot. This simple yet effective shift enables the model to extend its context window far beyond its original training limits.
Dynamic Memory Management
To avoid overwhelming the model with redundant information, StoryMem employs a sophisticated memory management strategy:
- Semantic Selection: Utilizing CLIP embeddings, the system identifies and stores only the most distinct and informative frames, capturing the essence of a scene without unnecessary repetition.
- Aesthetic Filtering: To ensure the model is conditioned on high-quality references, it uses HPSv3 (a human preference model) to filter out blurry or low-quality frames.
- Hybrid Storage: A "Memory-Sink + Sliding Window" approach maintains early "anchor" frames to prevent long-term drift while using a sliding window of recent frames to ensure smooth local transitions between adjacent shots.
Results and Benchmarking
To evaluate the effectiveness of StoryMem, the authors introduced ST-Bench, a new benchmark consisting of 30 complex scripts and 300 detailed video prompts generated via GPT-5.
Quantitative results on ST-Bench show that StoryMem improves cross-shot consistency by 28.7% over the base model, outperforming existing methods like StoryDiffusion and HoloCine. Qualitatively, user studies confirm that StoryMem is preferred for its ability to maintain narrative flow and character identity. Crucially, because it builds upon a high-quality single-shot model, it preserves cinematic aesthetic standards that are often lost in models trained specifically for long-form video.
Conclusion and Future Directions
StoryMem demonstrates that "selective forgetting" is a powerful tool for AI storytelling. By focusing on key visual impressions rather than every frame, the model achieves remarkable consistency with minimal computational cost.
Future work aims to address current limitations, such as "motion jumps" between shots—potentially through frame-overlapping techniques—and the development of "entity-aware" memory to better handle complex scenes with multiple interacting characters. By integrating textual context more deeply into the memory update process, future iterations could further enhance the model's understanding of narrative intent.
Summary updated