Skip to content

Latest commit

 

History

History
79 lines (61 loc) · 10.7 KB

README.md

File metadata and controls

79 lines (61 loc) · 10.7 KB

Unmasked Teacher

This repo is the official implementation of "Unmasked Teacher: Towards Training-Efficient Video Foundation Models". By Kunchang Li, Yali Wang, Yizhuo Li, Yi Wang, Yinan He, Limin Wang and Yu Qiao. teaser

Update

  • 🤩 2023/11/06: Glad to see that UMTScore’s ranking of video-text alignment is most consistent with humans. Check FETV.

  • 🥇 2023/10/01: Get Champion with unmasked teacher on Perception Test Challenge, ICCV 2023. Check our solutions.

  • ⚠️ 2023/09/25: Bug for MSVD retrieval. Check #12. Results have been updated.

  • 🚀 2023/09/20: Fix bug in UMT pretraining. Add autocast for teacher forward, which can halve the pretraining time.

  • 🔥 2023/07/19: All the code and models are released.

  • 2023/07/14: Unmasked Teacher is accpeted by ICCV2023! 🎉🎉

  • 2023/03/17: We gave a blog in Chinese Zhihu.

Introduction

Video Foundation Models (VFMs) have received limited exploration due to high computational costs and data scarcity. Previous VFMs rely on Image Foundation Models (IFMs), which face challenges in transferring to the video domain. Although VideoMAE has trained a robust ViT from limited data, its low-level reconstruction poses convergence difficulties and conflicts with high-level cross-modal alignment. This paper proposes a training-efficient method for temporal-sensitive VFMs that integrates the benefits of existing methods. To increase data efficiency, we mask out most of the low-semantics video tokens, but selectively align the unmasked tokens with IFM, which serves as the UnMasked Teacher (UMT). By providing semantic guidance, our method enables faster convergence and multimodal friendliness. With a progressive pre-training framework, our model can handle various tasks including scene-related, temporal-related, and complex video-language understanding. Using only public sources for pre-training in 6 days on 32 A100 GPUs, our scratch-built ViT-L/16 achieves state-of-the-art performances on various video tasks. teaser

PWC PWC PWC PWC PWC PWC PWC PWC PWC

PWC PWC PWC PWC PWC PWC

PWC PWC PWC

Cite

If you find this repository useful, please use the following BibTeX entry for citation.

@misc{li2023unmasked,
      title={Unmasked Teacher: Towards Training-Efficient Video Foundation Models}, 
      author={Kunchang Li and Yali Wang and Yizhuo Li and Yi Wang and Yinan He and Limin Wang and Yu Qiao},
      year={2023},
      eprint={2303.16058},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Acknowledgement

This repository is built based on UniFormer, VideoMAE and VINDLU repository.

Discussion Group

If you have any questions during the trial, running or deployment, feel free to join our WeChat group discussion! If you have any ideas or suggestions for the project, you are also welcome to join our WeChat group discussion!

image