arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.11511cs.CVcs.AIcs.LG
收藏

MoViNets:用于高效视频识别的移动视频网络

MoViNets: Mobile Video Networks for Efficient Video Recognition

Google Research(谷歌研究院)

Dan Kondratyuk, Liangzhe Yuan, Yandong Li, Li Zhang, Mingxing Tan, Matthew Brown, Boqing Gong

摘要:

我们提出了移动视频网络(MoViNets),一个家庭的计算和内存高效的视频网络,可以操作流媒体视频在线推理。3D卷积神经网络(CNN)在视频识别方面是准确的,但需要大量的计算和内存预算,并且不支持在线推理,这使得它们难以在移动设备上工作。我们提出了一种三步方法来提高计算效率,同时大幅降低3D CNN的峰值内存使用量。首先,我们设计了一个视频网络搜索空间,并采用神经架构搜索来生成高效且多样化的3D CNN架构。其次,我们介绍了流缓冲区技术,该技术从视频剪辑持续时间中提取内存,允许3D CNN嵌入任意长度的流视频序列,用于训练和推理,并且内存占用量较小。第三,我们提出了一个简单的集成技术,以进一步提高精度,而不牺牲效率。这三种渐进式技术使MoViNets能够在Kinetics,Moments in Time和Charades视频动作识别数据集上实现最先进的准确性和效率。例如,MoViNet-A5-Stream在Kinetics 600上实现了与X3 D-XL相同的精度,但所需的FLOP减少了80%,内存减少了65%。代码将在https://github.com/tensorflow/models/tree/master/official/vision上提供。

英文摘要:

We present Mobile Video Networks (MoViNets), a family of computation and memory efficient video networks that can operate on streaming video for online inference. 3D convolutional neural networks (CNNs) are accurate at video recognition but require large computation and memory budgets and do not support online inference, making them difficult to work on mobile devices. We propose a three-step approach to improve computational efficiency while substantially reducing the peak memory usage of 3D CNNs. First, we design a video network search space and employ neural architecture search to generate efficient and diverse 3D CNN architectures. Second, we introduce the Stream Buffer technique that decouples memory from video clip duration, allowing 3D CNNs to embed arbitrary-length streaming video sequences for both training and inference with a small constant memory footprint. Third, we propose a simple ensembling technique to improve accuracy further without sacrificing efficiency. These three progressive techniques allow MoViNets to achieve state-of-the-art accuracy and efficiency on the Kinetics, Moments in Time, and Charades video action recognition datasets. For instance, MoViNet-A5-Stream achieves the same accuracy as X3D-XL on Kinetics 600 while requiring 80% fewer FLOPs and 65% less memory. Code will be made available at https://github.com/tensorflow/models/tree/master/official/vision.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑