失败
计算机科学
变压器
移动设备
计算
动作识别
人工智能
实时计算
算法
并行计算
量子力学
操作系统
物理
电压
班级(哲学)
作者
Rui Wang,Zuxuan Wu,Dongdong Chen,Yinpeng Chen,Xiyang Dai,Mengchen Liu,Luowei Zhou,Lu Yuan,Yu–Gang Jiang
标识
DOI:10.48550/arxiv.2208.12257
摘要
Transformer-based models have achieved top performance on major video recognition benchmarks. Benefiting from the self-attention mechanism, these models show stronger ability of modeling long-range dependencies compared to CNN-based models. However, significant computation overheads, resulted from the quadratic complexity of self-attention on top of a tremendous number of tokens, limit the use of existing video transformers in applications with limited resources like mobile devices. In this paper, we extend Mobile-Former to Video Mobile-Former, which decouples the video architecture into a lightweight 3D-CNNs for local context modeling and a Transformer modules for global interaction modeling in a parallel fashion. To avoid significant computational cost incurred by computing self-attention between the large number of local patches in videos, we propose to use very few global tokens (e.g., 6) for a whole video in Transformers to exchange information with 3D-CNNs with a cross-attention mechanism. Through efficient global spatial-temporal modeling, Video Mobile-Former significantly improves the video recognition performance of alternative lightweight baselines, and outperforms other efficient CNN-based models at the low FLOP regime from 500M to 6G total FLOPs on various video recognition tasks. It is worth noting that Video Mobile-Former is the first Transformer-based video model which constrains the computational budget within 1G FLOPs.
科研通智能强力驱动
Strongly Powered by AbleSci AI