TL;DR
This paper introduces the novel task of aligning abstract, step-by-step assembly diagrams (like IKEA manuals) with real-world, "in-the-wild" instructional videos. To tackle this, the authors present IAW (IKEA Assembly in the Wild), a massive new dataset, alongside a specialized contrastive learning framework that leverages temporal progress priors and task-specific losses to outperform standard multimodal models like CLIP.
What Problem Does This Paper Address?
While multimodal alignment has made massive strides in linking text or audio to video, aligning abstract line drawings to real-world video sequences remains a significant challenge.
When you watch an amateur YouTube video of someone assembling a flat-pack bookshelf, the video is messy: it contains varying camera angles, lighting changes, irrelevant commentary, and mistakes. On the other side, the instruction manual consists of highly stylized, text-free, black-and-white diagrams where successive steps often look nearly identical (e.g., adding a single screw). Standard text-to-video or image-to-video models fail here because they cannot easily bridge the massive domain gap between abstract sketches and complex physical environments, nor can they easily distinguish the subtle, fine-grained differences between sequential assembly steps.
Methods
The authors propose a supervised contrastive learning framework designed to map both video clips and instructional diagrams into a shared embedding space.
The core architecture relies on several clever domain-specific modifications:
- Sinusoidal Progress Rate Feature (SPRF): Since assembly follows a sequential order, the authors inject a temporal prior. They calculate the relative progress through a video and a manual (e.g., step 5 out of 10 is 50% progress) and map this progress onto a half-circle using sine and cosine functions. This ensures that temporal proximity naturally aligns with cosine similarity in the embedding space.
- Three Tailored Contrastive Losses: Instead of relying solely on a standard InfoNCE loss, the model optimizes three distinct objectives:
- Video-Diagram Contrastive Loss: Uses Jensen-Shannon divergence to gracefully handle many-to-one mappings (where multiple video segments correspond to a single manual step).
- Video-Manual Contrastive Loss: Exploits the prior knowledge that a video clip only needs to match steps within its own manual, drastically reducing the false-positive space during training.
- Intra-Manual Contrastive Loss: Explicitly pushes diagrams from the same manual apart from one another, forcing the model to learn fine-grained visual discrimination between similar-looking steps.
During inference, the model generates a similarity matrix across the entire video and manual. It then applies Optimal Transport (OT) or Dynamic Time Warping (DTW) to globally align the sequences.
Datasets
The authors introduce the IKEA Assembly in the Wild (IAW) dataset, a large-scale benchmark containing:
- 1,005 raw videos totaling 183 hours of footage scraped from YouTube.
- 8,263 illustrative diagrams extracted from 420 unique furniture types across 14 categories (beds, chairs, sofas, etc.).
- 15,649 precisely annotated actions mapping video segments directly to manual steps, crowdsourced via Amazon Mechanical Turk.
Key Insights and Ideas
- The Power of the Manual Prior: The single biggest performance jump came from the Video-Manual Contrastive Loss. Restricting the contrastive learning pool to the steps of the specific manual being assembled—rather than contrasting against every manual in the dataset—drastically simplifies the optimization landscape.
- Optimal Transport Beats Time Warping: Intuitively, one might think Dynamic Time Warping (DTW) would perform best because it strictly enforces chronological order. However, the authors found that Optimal Transport (OT) yielded better results. This is because real-world builders often perform steps out of order, or the model encounters strong false matches that DTW's rigid constraints propagate downstream.
- Page-Level Regularization: Training the model to match video clips to entire manual pages (in addition to individual cropped steps) acted as an effective regularizer, improving the model's performance even when it was evaluated purely on step-level retrieval.
Key Results
The proposed framework was evaluated on two primary tasks: video-to-diagram retrieval and sequence alignment.
- Retrieval Superiority: The proposed method achieved a 28.62% Top-1 Accuracy for video-to-diagram step retrieval, outperforming a competitive CLIP baseline (19.61%) by 9.68%.
- Sequence Alignment Boost: When performing full video-to-manual alignment using Optimal Transport post-processing, the framework achieved 31.61% accuracy on steps and 36.71% accuracy on pages, marking a 12% improvement over baseline alternatives.
Limitations and Future Work
Despite its strong performance, the method has a few limitations:
- Fully Supervised: The framework relies heavily on expensive, human-annotated ground-truth alignments between videos and diagrams. Moving toward weakly supervised or unsupervised alignment is a key next step.
- Single-Modal Video Processing: The model currently ignores audio and speech. Integrating video narrations (e.g., the presenter saying, "Now, take the long wooden dowel...") could significantly resolve visual ambiguities.
The authors envision this work paving the way for AR applications that can automatically monitor and guide a human through a DIY project, or help robots learn to perform complex physical tasks directly from human manuals.
Summary updated