Abstract
Temporal alignment is a critical task in video analysis, enabling the synchronization of corresponding events across different sequences of the same action. However, obtaining frame-level annotations for training is labor-intensive and often impractical. This paper presents LRProp (Learning Representations by position PROPagation), a weakly-supervised framework that learns robust video representations for alignment without requiring dense labels. By integrating Dynamic Time Warping (DTW) as a "teacher" for temporal propagation alongside a differentiable SoftDTW loss, LRProp achieves state-of-the-art performance in fine-grained phase detection and temporal correlation across diverse datasets.
Introduction
Analyzing complex actions—such as industrial processes or athletic maneuvers—requires the ability to match specific moments across different video instances. While we can easily identify that two videos depict the same general activity (e.g., "pouring water"), pinpointing the exact frame where the pouring begins in each video is challenging. Manual labeling is expensive, and existing self-supervised methods often lack the temporal precision needed for fine-grained analysis. LRProp addresses this by leveraging the inherent temporal structure of videos through a novel propagation mechanism.
Methodology
The LRProp framework utilizes a Transformer-based encoder to extract frame-level features, benefiting from the Transformer's explicit positional encoding to maintain temporal context. The training process is driven by two complementary loss functions:
- Pair-wise Position Propagation: For any pair of videos, the model computes the optimal alignment path using the standard, non-differentiable DTW algorithm. This path serves as a "prior" distribution (modeled as a Gaussian centered on the aligned frame). The model is then trained to minimize the KL-divergence between this prior and the learned feature similarities. This allows the model to learn from the logical structure of the alignment without requiring the DTW path itself to be differentiable.
- Regularized SoftDTW: To enable end-to-end optimization and prevent feature collapse, a differentiable SoftDTW loss is incorporated. This ensures global alignment smoothness while the propagation loss provides local "anchors" for specific correspondences.
Experimental Results
The model was evaluated on the Pouring Dataset and PennAction.
Fine-Grained Alignment
On the Pouring dataset, which requires distinguishing between subtle phases like "reaching" and "setting down," LRProp demonstrated exceptional label efficiency. It achieved a 93.88% Phase Classification Accuracy using only 25% of available labels, surpassing competing methods that utilized the full label set.
Large-Scale Consistency
On the PennAction dataset, LRProp showed significant improvements in Kendall’s Tau and Average Precision across 13 different sports activities. These results indicate that the learned representations are highly reliable for frame retrieval and temporal correlation, even in diverse and cluttered environments.
Conclusion
LRProp introduces a powerful paradigm for weakly-supervised video representation learning. By treating the DTW alignment path as a source of supervision rather than just a metric, the model effectively "propagates" temporal knowledge across sequences. Future work will focus on improving robustness to outlier frames and optimizing the quadratic complexity of DTW for longer video sequences.
Summary updated