Saved in:
Bibliographic Details
Main Authors: Oei, Keyne, Gomaa, Amr, Feit, Anna Maria, Belo, João
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.04607
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909518887124992
author Oei, Keyne
Gomaa, Amr
Feit, Anna Maria
Belo, João
author_facet Oei, Keyne
Gomaa, Amr
Feit, Anna Maria
Belo, João
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_04607
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Self-Supervised Contrastive Learning for Videos using Differentiable Local Alignment
Oei, Keyne
Gomaa, Amr
Feit, Anna Maria
Belo, João
Computer Vision and Pattern Recognition
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.
title Self-Supervised Contrastive Learning for Videos using Differentiable Local Alignment
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.04607