Sync from the Sea: Retrieving Alignable Videos from Large-Scale Datasets

Ishan Rajendrakumar Dave, Fabian Caba Heilbron, Mubarak Shah, Simon Jenni

Introduction: The Challenge of Alignable Video Retrieval

Temporal video alignment is the process of synchronizing two videos so that key events—such as a baseball bat hitting a ball or a chef finishing a slice—occur simultaneously. While existing research has focused on aligning pre-selected pairs, this assumes a "perfect match" is already available. In real-world scenarios, one must first identify which video from a massive dataset is actually "alignable" with a query.

The Alignable Video Retrieval (AVR) task: identifying the most alignable candidate from a large-scale collection.

This paper introduces Alignable Video Retrieval (AVR), a task that moves beyond simple alignment to finding the best match for synchronization within large-scale datasets. This is critical because two videos of the same action (e.g., "cutting a pineapple") can be performed with vastly different temporal structures.

Methodology: DRAQ and Feature Contextualization

The authors propose a three-stage pipeline to solve the AVR problem: candidate retrieval, alignability scoring, and fine alignment.

Dynamic Relative Alignment Quality (DRAQ)

The core innovation is DRAQ, a metric designed to overcome "appearance bias." Standard Dynamic Time Warping (DTW) costs often favor videos with similar backgrounds or lighting rather than similar temporal structures. DRAQ instead compares the optimal alignment cost against the average cost of several random alignment paths. A significantly lower optimal cost indicates a high-quality temporal match.

Temporal alignment synchronizes key phases (e.g., Start, Knee Fully Up, Arm Stretched, Ball Release) between two different videos.

Feature Contextualization

To improve frame-level alignment, the researchers found that standard features (e.g., from BYOL) lack temporal awareness. They introduced a simple yet effective Feature Contextualization method: concatenating each frame's feature with a cumulative sum of all preceding features. This provides the necessary global context for high-quality synchronization, allowing even "blind" image encoders to perform competitively with state-of-the-art video models.

Evaluation and Key Insights

The approach was validated on PennAction, UCF101, and Kinetics700. For Kinetics700, which lacks fine-grained labels, the authors introduced a cycle-consistency protocol (A → B → A) to measure alignment "drift" or error in frame positions.

Key results include:

  • Retrieval Performance: DRAQ consistently improved Recall@k, helping pick the best match from initial candidates. On UCF101, R@1 improved from 81.60 to 81.81 when using DRAQ to re-rank the top 25 candidates.
  • Alignment Accuracy: Feature contextualization led to dramatic improvements; for instance, the Kendall Tau (measuring temporal ordering) for a BYOL encoder on PennAction rose from 0.216 to 0.776.
  • Robustness: Qualitative results show that pairs selected via DRAQ achieve higher Aligned Phase Agreement (APA) than those selected by raw DTW costs.

Conclusion

By addressing the "blind spot" of video alignment, this work enables practical applications in video editing, action analysis, and automated effects. Future work may involve end-to-end "alignability-aware" models and the use of retrieved temporal "skeletons" for retrieval-augmented video generation, where aligned videos provide the structure for synchronized content creation.

Summary updated

BibTeX
@inproceedings{dave2024sync,
  author = {Ishan Rajendrakumar Dave and Fabian Caba Heilbron and Mubarak Shah and Simon Jenni},
  title = {{Sync from the Sea: Retrieving Alignable Videos from Large-Scale Datasets}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73242-3\_21},
}
Figure