Abstract
Comparing a user video to a reference how-to video is a key requirement for AR/VR technology delivering personalized assistance tailored to the user's progress. However, current approaches for language-based assistance can only answer questions about a single video. We propose an approach that first automatically generates large amounts of visual instruction tuning data involving pairs of videos from HowTo100M by leveraging existing step annotations and accompanying narrations, and then trains a video-conditioned language model to jointly reason across multiple raw videos. Our model achieves state-of-the-art performance at identifying differences between video pairs and ranking videos based on the severity of these differences, and shows promising ability to perform general reasoning over multiple videos.
Introduction
Imagine learning a complex task, like cooking a new recipe, while wearing AR glasses. An ideal AI assistant would not just describe the steps but provide real-time, personalized feedback: "You're stirring too fast compared to the chef," or "You're using a whisk instead of a spatula." While current AI models excel at describing single videos, they struggle with the complex task of comparing two videos to identify procedural nuances like tool choice, technique variations, or ingredient states.
Methodology: The StepDiff Approach
To address the lack of comparative instructional data, researchers developed StepDiff, which combines an automated data generation pipeline with a specialized model architecture.
Automated Data Generation
Manual annotation of video differences is prohibitively expensive. The team employed a "weak supervision" approach, pairing video clips from the HowTo100M dataset that share the same "keystep" label. By extracting action captions, object detections, and speech narrations using off-the-shelf models, they prompted a Large Language Model (Llama 2) to synthesize these into comparative Question-Answer (QA) pairs. This process generated over 87,000 unique training pairs.
Model Architecture (VCLM)
The core of StepDiff is a Video-Conditioned Language Model. It utilizes an InternVideo backbone for visual processing and a Llama 2 LLM for reasoning. Unlike standard models, StepDiff is fed tokens from both a reference and a candidate video simultaneously, enabling joint reasoning across the pair.
Datasets and Benchmarking
Beyond training on the generated HowTo100M pairs, the authors introduced the StepDiff Benchmark, a manually annotated dataset of 6,292 video pairs. This benchmark includes ~36,000 difference captions across five categories: Ingredients, Tools, Techniques, Actions, and Visuals. It also incorporates "severity scores" (1-5) to quantify the degree of difference between videos.
Key Results and Insights
StepDiff was evaluated on three primary tasks: DiffCap (describing differences), DiffMCQ (recognizing correct differences), and DiffRank (ranking videos by similarity).
- State-of-the-Art Performance: StepDiff outperformed existing models like LLaVA and AnyMAL. In the DiffMCQ task, it achieved a 5% accuracy improvement over the strongest baseline.
- Fine-Grained Understanding: The model showed significant improvements (up to 46%) in identifying differences in technique and tool use, which are traditionally difficult for procedural AI to capture.
- The Socratic Failure: The study found that "Socratic" baselines—which convert video to text before comparing—often miss critical details. Direct video-to-video reasoning is essential for capturing subtle differences like the specific type of ingredient used.
Limitations and Future Directions
While StepDiff represents a significant step forward, challenges remain. The model occasionally suffers from hallucinations, particularly with low-quality video or subtle visual cues. It also tends to "force" a difference when comparing identical videos. Future work will focus on bridging the "egocentric gap" by training more extensively on first-person wearable camera data to better support real-world AR applications.
Summary updated