[Paper Review] UniFormerV2: Spatiotemporal Learning by Arming Image ViTs with Video UniFormer
UniFormerV2 marries image-pretrained ViTs with concise UniFormer video designs to learn spatiotemporal representations, achieving state-of-the-art results across 8 video benchmarks and 90.0% top-1 on Kinetics-400.
Learning discriminative spatiotemporal representation is the key problem of video understanding. Recently, Vision Transformers (ViTs) have shown their power in learning long-term video dependency with self-attention. Unfortunately, they exhibit limitations in tackling local video redundancy, due to the blind global comparison among tokens. UniFormer has successfully alleviated this issue, by unifying convolution and self-attention as a relation aggregator in the transformer format. However, this model has to require a tiresome and complicated image-pretraining phrase, before being finetuned on videos. This blocks its wide usage in practice. On the contrary, open-sourced ViTs are readily available and well-pretrained with rich image supervision. Based on these observations, we propose a generic paradigm to build a powerful family of video networks, by arming the pretrained ViTs with efficient UniFormer designs. We call this family UniFormerV2, since it inherits the concise style of the UniFormer block. But it contains brand-new local and global relation aggregators, which allow for preferable accuracy-computation balance by seamlessly integrating advantages from both ViTs and UniFormer. Without any bells and whistles, our UniFormerV2 gets the state-of-the-art recognition performance on 8 popular video benchmarks, including scene-related Kinetics-400/600/700 and Moments in Time, temporal-related Something-Something V1/V2, untrimmed ActivityNet and HACS. In particular, it is the first model to achieve 90% top-1 accuracy on Kinetics-400, to our best knowledge. Code will be available at https://github.com/OpenGVLab/UniFormerV2.
Motivation & Objective
- Motivate a practical paradigm to build powerful video models by arming open-image-pretrained ViTs with UniFormer-style video blocks.
- Design local and global relation aggregators to balance accuracy and computation.
- Enable multi-stage fusion to integrate multi-scale spatiotemporal representations.
- Validate the approach on diverse benchmarks (Kinetics-400/600/700, Moments in Time, Something-Something V1/V2, ActivityNet, HACS).
- Demonstrate the effectiveness with a unified post-pretraining benchmark (Kinetics-710).
Proposed method
- Introduce a local UniBlock by inserting a local temporal MHRA before the ViT block to reduce temporal redundancy while leveraging pretrained spatial features.
- Add a global UniBlock on top of each local block using a query-based cross MHRA to summarize tokens into a video token with linear-time complexity.
- Employ a multi-stage fusion block to integrate global tokens from multiple stages into a final video representation.
- Reuse and adapt MHRA from UniFormer, with local LT_MHRA and global GS_MHRA for efficient spatiotemporal modeling.
- .Project inputs as spatiotemporal tokens via 3D convolution; downsample temporally; apply local and global UniBlocks; fuse multi-stage outputs; optional final fusion with class token.
- Explore four fusion strategies (Sequential, Parallel, Hierarchical KV, Hierarchical Q) to combine global tokens across stages.
Experimental results
Research questions
- RQ1Can image-pretrained ViTs be effectively combined with UniFormer-style video designs to improve spatiotemporal learning?
- RQ2What is the accuracy-efficiency trade-off of UniFormerV2 compared to prior video models on standard benchmarks?
- RQ3How does multi-stage fusion of global tokens affect final video representations?
- RQ4Does post-pretraining on a unified Kinetics-710 benchmark yield consistent gains across Kinetics-400/600/700, MiT, and other datasets?
- RQ5Is the proposed cross MHRA global block computationally efficient while maintaining or improving performance?
Key findings
- Achieves state-of-the-art results on 8 popular video benchmarks including Kinetics-400/600/700, Moments in Time, Something-Something V1/V2, ActivityNet, and HACS.
- First model to reach 90.0% top-1 accuracy on Kinetics-400.
- Consistently strong performance across datasets with favorable accuracy-parameter and FLOP trade-offs.
- Post-pretraining on Kinetics-710 enables strong transfer, with minimal additional finetuning (demonstrated across K400/600/700).
- Demonstrates that arming image-pretrained ViTs with UniFormer designs yields robust spatiotemporal representations without extensive image pretraining for video tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.