paper-with-me

Papers

Efficient Video Transformers with Spatial-Temporal Token Selection

2021-11-23 · Junke Wang, Xitong Yang, Hengduo Li, Li Liu, Zuxuan Wu, Yu-Gang Jiang

Video transformers have achieved impressive results on major video recognition benchmarks, which however suffer from high computational cost. In this paper, we present STTS, a token selection framework that dynamically selects a few informative tokens in both temporal and spatial dimensions conditioned on input video samples. Specifically, we formulate token selection as a ranking problem, which estimates the importance of each token through a lightweight scorer network and only those with top scores will be used for downstream evaluation. In the temporal dimension, we keep the frames that are most relevant to the action categories, while in the spatial dimension, we identify the most discriminative region in feature maps without affecting the spatial context used in a hierarchical way in most video transformers. Since the decision of token selection is non-differentiable, we employ a perturbed-maximum based differentiable Top-K operator for end-to-end training. We mainly conduct extensive experiments on Kinetics-400 with a recently introduced video transformer backbone, MViT. Our framework achieves similar results while requiring 20% less computation. We also demonstrate our approach is generic for different transformer architectures and video datasets. Code is available at https://github.com/wangjk666/STTS.

📄 PDF Abstract BibTeX arXiv:2111.11591

Code (1)

wangjk666/stts 공식 구현 pytorch

Tasks

Video Recognition

Methods 이 논문이 사용한 방법론

MViT Multiscale Vision Transformer, or MViT, is a transformer architecture for modeling visual data such as images and videos.…

Similar Papers 제목 키워드 기반

TS2-Net: Token Shift and Selection Transformer for Text-Video Retrieval

2022-07-16 · Yuqi Liu, Pengfei Xiong, Luhui Xu, Shengming Cao 외

Text-Video retrieval is a task of great practical value and has received increasing attention, among which learning spatial-temporal video representation is one of the research hotspots. The video encoders in the state-o…

RetrievalVideo Retrieval

VDT: General-purpose Video Diffusion Transformers via Mask Modeling

2023-05-22 · Haoyu Lu, Guoxing Yang, Nanyi Fei, Yuqi Huo 외

This work introduces Video Diffusion Transformer (VDT), which pioneers the use of transformers in diffusion-based video generation. It features transformer blocks with modularized temporal and spatial attention modules t…

Autonomous DrivingVideo GenerationVideo Prediction

Time Is MattEr: Temporal Self-supervision for Video Transformers

2022-07-19 · Sukmin Yun, Jaehyung Kim, Dongyoon Han, Hwanjun Song 외

Understanding temporal dynamics of video is an essential aspect of learning better video representations. Recently, transformer-based architectural designs have been extensively explored for video tasks due to their capa…

Action RecognitionTemporal Action Localization

SViTT: Temporal Learning of Sparse Video-Text Transformers

2023-04-18 · CVPR 2023 1 · Yi Li, Kyle Min, Subarna Tripathi, Nuno Vasconcelos

Do video-text transformers learn to model temporal relationships across frames? Despite their immense capacity and the abundance of multimodal training data, recent work has revealed the strong tendency of video-text mod…

Question AnsweringRetrievalText RetrievalVideo Question Answering+1

Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity

2025-02-03 · Haocheng Xi, Shuo Yang, Yilong Zhao, Chenfeng Xu 외

Diffusion Transformers (DiTs) dominate video generation but their high computational cost severely limits real-world applicability, usually requiring tens of minutes to generate a few seconds of video even on high-perfor…

Video Generation