Self-Supervised Contrastive Learning for Videos using Differentiable Local Alignment

Keyne Oei, Amr Gomaa, Anna Maria Feit, João Belo
9/6/2024
cs.CV

No official code found. Best implementation: keynekassapa13/LAC (5 stars, last commit 2024-09-16).

Abstract

Robust frame-wise embeddings are essential to perform video analysis and understanding tasks. We present a self-supervised method for representation learning based on aligning temporal video sequences. Our framework uses a transformer-based encoder to extract frame-level features and leverages them to find the optimal alignment path between video sequences. We introduce the novel Local-Alignment Contrastive (LAC) loss, which combines a differentiable local alignment loss to capture local temporal dependencies with a contrastive loss to enhance discriminative learning. Prior works on video alignment have focused on using global temporal ordering across sequence pairs, whereas our loss encourages identifying the best-scoring subsequence alignment. LAC uses the differentiable Smith-Waterman (SW) affine method, which features a flexible parameterization learned through the training phase, enabling the model to adjust the temporal gap penalty length dynamically. Evaluations show that our learned representations outperform existing state-of-the-art approaches on action recognition tasks.

View on arXivView PDF

Code Implementations(1)

keynekassapa13/LACCommunity100%

[BMVC VUA 2024] Self-Supervised Contrastive Learning for Videos using Differentiable Local Alignment

50PythonApr 1, 20242 years ago
action-recognitionself-supervisedself-supervised-learningvideo-understanding

Similar Papers

Cite this paper

@article{oei2024selfsupervised,
  title  = {Self-Supervised Contrastive Learning for Videos using Differentiable Local Alignment},
  author = {Keyne Oei and Amr Gomaa and Anna Maria Feit and João Belo},
  year   = {2024},
  eprint = {2409.04607},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.04607v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.04607.svg)](https://codeofpaper.com/paper/2409.04607)

Discussion