Abstract
This paper introduces the novel task of space-time semantic correspondence, which involves matching specific functional keypoints (e.g., a golfer's wrist or a bowling ball) across different videos by aligning them in both space and time simultaneously. We demonstrate that approaching this as a joint 3D problem significantly outperforms traditional sequential methods that attempt to align time before space. Our proposed architectures, including Space-Time Cost Aggregation Transformers (st-CATs) and Aggregation NeTworks (ANTs), achieve substantial performance gains on newly established benchmarks.
Introduction and Problem Definition
In computer vision, "semantic correspondence" typically refers to finding the same functional part across two different images of different subjects. Extending this to the video domain introduces a significant layer of complexity: temporal alignment.
To compare actions across videos—such as a professional athlete's technique versus a novice's—one must find the exact moment of a specific event (temporal alignment) and then identify the corresponding body joints or objects at that moment (spatial alignment). Existing methods often treat these as two separate, sequential steps. However, this approach frequently fails because temporal alignment is difficult without spatial context, and spatial matching is prone to error without temporal synchronization.
Methodology
We propose a supervised learning framework to solve space-time alignment jointly. The core approach consists of:
- 3D Feature Extraction: Utilizing a 3D CNN backbone (such as R(2+1)D) to extract features that capture both appearance and motion.
- 6D Correlation Volumes: We construct a massive 6D tensor encoding the matching likelihood between every pixel-time coordinate in a source video and every coordinate in a target video.
- Aggregator Networks: We introduce two primary architectures to process these volumes:
- st-CATs (Space-Time Cost Aggregation Transformers): An evolution of state-of-the-art image matching transformers adapted for the temporal dimension.
- ANTs (Aggregation NeTworks): A simpler, more efficient baseline utilizing 3D convolutions.
Datasets and Benchmarks
Due to a lack of existing annotations for this specific task, we created two new benchmarks:
- Penn Action (Augmented): We added new annotations for objects (balls, bats, rackets) at specific "key moments" (e.g., the release of a pitch) to the standard Penn Action dataset.
- Pouring: A dataset focused on fine-grained liquid transfer, featuring keypoints like cup corners and liquid surfaces.
Key Results and Insights
Our experiments yield several critical findings:
- Joint Modeling Superiority: Joint space-time models (ANTs/st-CATs) significantly outperform sequential models. On the Penn Action "3+3" setup, sequential models peaked at ~8.1% accuracy (T@[email protected]), while our joint ANTs model reached 38.1%.
- Convolutional Efficiency: Interestingly, the convolution-based ANTs slightly outperformed the transformer-based st-CATs. On the relatively small feature maps used (8x8x8), the global receptive field of a transformer is less critical than the parameter efficiency of 3D convolutions.
- Generalization and Transfer: Models pre-trained on Penn Action showed robust generalization, achieving 64.2% accuracy when fine-tuned on the smaller Pouring dataset, indicating that the learned features are transferable across diverse action types.
Limitations and Future Work
The current approach is constrained by the memory intensity of 6D correlation volumes, requiring low-resolution feature maps (8x8x8). This can lead to spatial jitter for small objects. Additionally, extremely fast motions with significant motion blur remain challenging. Future research will explore higher-resolution processing and the application of these correspondences to single-shot video retrieval and automated coaching systems.
Summary updated