Temporally Efficient Vision Transformer for Video Instance Segmentation

Shusheng Yang, Xinggang Wang, Yu Li, Yuxin Fang, Jiemin Fang +3 more
4/18/2022
91 citations
cs.CV
transformer-attention

Official code: hustvl/TeViT (241 stars, Python, MIT, last commit 2023-03-04).

Abstract

Recently vision transformer has achieved tremendous success on image-level visual recognition tasks. To effectively and efficiently model the crucial temporal information within a video clip, we propose a Temporally Efficient Vision Transformer (TeViT) for video instance segmentation (VIS).

Show full abstract

Different from previous transformer-based VIS methods, TeViT is nearly convolution-free, which contains a transformer backbone and a query-based video instance segmentation head. In the backbone stage, we propose a nearly parameter-free messenger shift mechanism for early temporal context fusion. In the head stages, we propose a parameter-shared spatiotemporal query interaction mechanism to build the one-to-one correspondence between video instances and queries. Thus, TeViT fully utilizes both framelevel and instance-level temporal context information and obtains strong temporal modeling capacity with negligible extra computational cost. On three widely adopted VIS benchmarks, i.e., YouTube-VIS-2019, YouTube-VIS-2021, and OVIS, TeViT obtains state-of-the-art results and maintains high inference speed, e.g., 46.6 AP with 68.9 FPS on YouTube-VIS-2019. Code is available at https://github.com/hustvl/TeViT.

View on arXivView PDF

Code Implementations(1)

hustvl/TeViTOfficial100%
MIT

Temporally Efficient Vision Transformer for Video Instance Segmentation, CVPR 2022, Oral

24118Python, ShellMar 21, 20223 years agoMIT
instance-segmentationvideo-instance-segmentationvideo-understanding

Similar Papers

Cite this paper

@article{yang2022temporally,
  title  = {Temporally Efficient Vision Transformer for Video Instance Segmentation},
  author = {Shusheng Yang and Xinggang Wang and Yu Li and Yuxin Fang and Jiemin Fang and Wenyu Liu and Xun Zhao and Ying Shan},
  year   = {2022},
  eprint = {2204.08412},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.08412}
}

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/2204.08412.svg)](https://codeofpaper.com/paper/2204.08412)

Discussion