TL;DR
This paper introduces "ShowMe," a unified framework that leverages video diffusion models (VDMs) to generate both instructional images and videos from text prompts. By selectively activating spatial and temporal components of VDMs and incorporating novel structure and motion consistency rewards, ShowMe achieves state-of-the-art performance in generating visually grounded and temporally coherent instructional content.
What Problem Does This Paper Address?
Generating clear visual instructions is crucial for interactive simulators and for helping humans learn tasks. While existing methods have focused on either manipulating static images to show an action's outcome or predicting future video frames, these approaches often operate in isolation. Image manipulation methods lack an understanding of temporal dynamics, while video prediction models can miss the intended final state. This separation leads to a fundamental issue: a disconnect between how actions unfold and their ultimate goals. ShowMe aims to bridge this gap by creating a single, unified model capable of both transforming an image to reflect an action's execution and generating a video sequence that demonstrates the action's progression over time, all grounded in natural language instructions.
Methods
ShowMe repurposes pretrained video diffusion models (VDMs) as "action-object state transformers." The core idea is to leverage the inherent spatial and temporal understanding within VDMs. The framework employs a two-stage tuning strategy:
- Action-Object State Manipulation (Image Generation): The temporal modules of the VDM are disabled, and Low-Rank Adaptation (LoRA) is applied to the spatial layers. This stage focuses on learning to manipulate an image based on an instruction. To improve structural fidelity and spatial grounding, "structure consistency rewards" are introduced, utilizing depth and edge priors derived from pre-trained models. This helps the model better understand rigid structures and 3D layouts.
- Action-Object State Prediction (Video Generation): The temporal modules are reactivated, and a separate set of LoRA adapters are trained. Crucially, the LoRA modules from the first stage are frozen, retaining the spatial reasoning capabilities. This stage focuses on generating temporally coherent video sequences. To ensure smooth and consistent motion, a "motion consistency reward" is introduced, which aligns the temporal magnitude of latent features with optical flow, promoting realistic movement without requiring expensive pixel-space decoding.
By selectively activating these spatial or temporal LoRAs, ShowMe can seamlessly switch between image and video generation tasks.
Datasets
The paper evaluates ShowMe on two video datasets:
- Something-Something V2 (SSv2): A large dataset of human interactions with everyday objects, filtered to focus on instructional actions.
- Epic-Kitchens 100 (Epic100): A dataset of egocentric kitchen activities with detailed narrations, also filtered for instructional relevance.
The authors curated these datasets by filtering out static or irrelevant actions to create a more suitable benchmark for instructional video generation.
Key Insights and Ideas
- VDMs as Unified Action-Object State Transformers: The central insight is that VDMs, with their inherent understanding of both spatial consistency and temporal dynamics, are naturally suited for unifying image and video generation tasks related to action-object transformations.
- Selective Activation of VDM Components: The ability to selectively enable or disable spatial and temporal modules, coupled with task-specific LoRA adapters, is key to repurposing a single VDM for distinct generation tasks.
- Structure and Motion Rewards Enhance Grounding: Introducing explicit rewards for structural fidelity (depth/edge) in image generation and motion consistency (latent magnitude/optical flow) in video generation significantly improves the quality and realism of the generated content.
- Spatial Knowledge Boosts Temporal Coherence: Pretraining for image manipulation (spatial knowledge) enhances the contextual consistency and realism of edits, while this learned spatial reasoning capability also strengthens goal-oriented video prediction.
Key Results
- Instructional Image Generation: ShowMe outperforms state-of-the-art methods like ControlNet, SDEdit, and InstructPix2Pix on SSv2 and Epic100 datasets, achieving the highest CLIP-I and DINO-I scores and the lowest LPIPS. This indicates superior semantic alignment and structural detail preservation.
- Instructional Video Generation: ShowMe achieves consistently strong performance, delivering the lowest Fréchet Video Distance (FVD) scores on both datasets compared to methods like AnimateAnything, Seer, ConsistI2V, and DynamiCrafter. It also demonstrates a better balance of motion quality and semantic alignment (VQA).
- Human Evaluation: A user study showed ShowMe significantly outperformed baselines, achieving over 90% win rates against some methods for image generation on SSv2 and demonstrating a substantial preference rate for video generation on SSv2.
Limitations and Future Work
- Complex Edits and Non-Salient Objects: ShowMe struggles with very complex edits from short instructions and may sometimes generate objects that are not present in the original scene.
- Foreground Distinction in Dynamic Scenes: Despite structural rewards, the model can still have difficulty distinguishing foreground elements in highly dynamic scenes, leading to distortions.
- Short Clip Generation: The current method generates short video clips, not full-length videos. Extending ShowMe to long-term instructional tasks is identified as a promising future direction.
Summary updated