Skip to content

(CVPR 2023) Official implemention of the paper "Weakly Supervised Video Representation Learning with Unaligned Text for Sequential Videos"

License

Notifications You must be signed in to change notification settings

svip-lab/WeakSVR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeakSVR: Weakly Supervised Video Representation Learning with Unaligned Text for Sequential Videos (CVPR2023)

Here is the official implementation for CVPR 2023 paper "Weakly Supervised Video Representation Learning with Unaligned Text for Sequential Videos".

🌱News

  • 2024-03-25: The configurations for the downstream tasks (cls and v-t matching) are now available. We will update the introduction and fix the code bug in the future (in 2 months).
  • 2023-08-14: The model ckpt has been available.
  • 2023-06-01: The oral presentation of our work is available. [Youtube] [Bilibili]
  • 2023-03-29: We have updated the Chinese introduction of the paper. [Zhihu]
  • 2023-03-24: The code has been released (need revisions).
  • 2023-03-22: The preprint of the paper is available. [Paper]
  • 2023-02-28: This paper has been accepted by CVPR 2023.

Introduction

Sequential video understanding, as an emerging video understanding task, has driven lots of researchers’ attention because of its goal-oriented nature. This paper studies weakly supervised sequential video understanding where the accurate time-stamp level text-video alignment is not provided. We solve this task by borrowing ideas from CLIP. Specifically, we use a transformer to aggregate frame-level features for video representation and use a pre-trained text encoder to encode the texts corresponding to each action and the whole video, respectively. To model the correspondence between text and video, we propose a multiple granularity loss, where the video-paragraph contrastive loss enforces matching between the whole video and the complete script, and a fine-grained frame-sentence contrastive loss enforces the matching between each action and its description. As the frame-sentence correspondence is not available, we propose to use the fact that video actions happen sequentially in the temporal domain to generate pseudo frame-sentence correspondence and supervise the network training with the pseudo labels. Extensive experiments on video sequence verification and texttovideo matching show that our method outperforms baselines by a large margin, which validates the effectiveness of our proposed approach.

Video Presentation

Bilibili
YouTube

Usage

Preparing

  • Sorry for so long wait, we are busy doing new work and you could refer to SVIP to prepare the environment and dataset. Please try this repo first, and if you have any trouble with installation, feel free to contact us.

Model Zoo

Weakly Supervised (w/o CLS)
Method CSV Diving-SV COIN-SV
Ours 80.81 (BaiduDisk(code:cvpr)) 85.46 (BaiduDisk(code:cvpr)) -
We will upload more trained models soon which may help you.

Acknowledgment

Codebase from SVIP

Citation

If you find the project or our method is useful, please consider citing the paper.

@inproceedings{dong2023weakly,
  title={Weakly Supervised Video Representation Learning with Unaligned Text for Sequential Videos},
  author={Dong, Sixun and Hu, Huazhang and Lian, Dongze and Luo, Weixin and Qian, Yicheng and Gao, Shenghua},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={2437--2447},
  year={2023}
}

About

(CVPR 2023) Official implemention of the paper "Weakly Supervised Video Representation Learning with Unaligned Text for Sequential Videos"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages