Abstract
Following complex textual instructions is significantly easier with visual aids. However, generic instructional videos often fail to match a user's specific tools and environment. We present ShowHowTo, a framework designed for personalized, scene-conditioned step-by-step visual instruction generation. By leveraging a massive new dataset of 0.6M sequences mined from the web and a specialized latent video diffusion model, ShowHowTo can transform a single photo of a user's environment and a list of text steps into a consistent sequence of images. Our model achieves state-of-the-art performance in step faithfulness and scene consistency, with user studies showing a strong preference for our generated sequences.
Introduction
While Large Language Models (LLMs) excel at generating textual steps for tasks like cooking or DIY repairs, visual guidance remains superior for clarity. The primary challenge in providing such guidance is scene-conditioned generation: creating a sequence of images that are "step-faithful" (accurately depicting the action) while remaining "scene-consistent" (maintaining the user's specific environment, such as countertops and lighting).
Existing generative methods often produce single images or generic illustrations that ignore the user's context. ShowHowTo addresses this by training on a large-scale dataset of real-world video sequences and employing a model architecture that enforces temporal and environmental consistency across long sequences of up to 15 steps.
Data Pipeline
To facilitate training, we developed an automated four-stage pipeline to mine high-quality image-text sequences from YouTube, distilling the vast HowTo100M source pool:
- Transcription: WhisperX provides high-fidelity speech-to-text with precise timestamps.
- Filtering: Llama 3.1 identifies and retains only instructional content, filtering out "noise" like vlogs or reviews.
- Step Extraction: An LLM extracts key instructional steps and their corresponding time windows from the transcript.
- Cross-modal Alignment: DFN-CLIP identifies the specific frame within each window that best represents the textual instruction.
This pipeline resulted in the ShowHowTo Dataset, containing 578K sequences (4.5M image-text pairs) across 25,000 diverse tasks including cooking, DIY, and gardening.
The ShowHowTo Model
The core of our framework is a latent video diffusion model optimized for variable-length sequences.
The model employs two key mechanisms to ensure high-quality generation:
- Scene Conditioning: An initial "scene" image ($I_0$) is encoded and concatenated with the noise for every frame in the sequence, grounding the entire generation in the user's specific environment.
- Per-Frame Guidance: Unlike standard video models that use a single prompt for a whole clip, ShowHowTo uses distinct text conditioning for each frame. This allows for semantic transitions—such as moving from "cutting chicken" to "grilling chicken"—while temporal attention layers ensure that background elements remain consistent.
Results and Evaluation
ShowHowTo was evaluated against several baselines, including InstructPix2Pix, AURORA, and GenHowTo. We introduced a consistency metric using DINOv2 features to verify if generated frames visually match the original source context.
Key findings include:
- State-of-the-Art Performance: ShowHowTo significantly outperforms existing methods in both step faithfulness and scene consistency.
- User Preference: In human evaluations, participants preferred ShowHowTo's outputs in 84% to 97% of cases across various metrics.
- Robustness: The model demonstrates strong zero-shot performance on the WikiHow dataset, proving its ability to generalize beyond its training distribution.
Conclusion
ShowHowTo represents a significant step toward personalized AI visual assistants. By combining large-scale data distillation with scene-conditioned diffusion, we enable the generation of tailored visual guides. While challenges remain regarding long-term object state persistence (e.g., ensuring meat doesn't revert to a raw state after cooking), this technology holds immense potential for applications in robotics planning and augmented reality assistants.
Summary updated