arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1910.00932cs.CVcs.LGeess.IV
收藏

15分钟训练动力学:大规模分布式视频训练

Training Kinetics in 15 Minutes: Large-scale Distributed Training on Videos

MIT(麻省理工学院);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)

Ji Lin, Chuang Gan, Song Han

摘要:

深度视频识别比图像识别在计算上更昂贵,特别是在像Kinetics这样的大规模数据集上。因此,训练可扩展性对于处理大量视频至关重要。在本文中,我们研究了影响视频网络训练可扩展性的因素。我们认识到三个瓶颈,包括数据加载(从磁盘到GPU的数据移动),通信(通过网络的数据移动)和计算FLOP。我们提出了三个设计准则来提高可扩展性:(1)更少的FLOP和硬件友好的算子,以提高计算效率;(2)更少的输入帧,以减少数据移动,提高数据加载效率;(3)更小的模型大小,以减少网络流量,提高网络效率。根据这些指导原则,我们设计了一个新的操作符时间偏移模块(TSM),该模块对于分布式训练是有效的和可扩展的。与以前的I3 D模型相比,TSM模型可以实现1.8倍的吞吐量。我们将TSM模型的训练规模扩大到1,536个GPU,小批量为12,288个视频剪辑/98,304张图像,而不会失去准确性。通过这种硬件感知的模型设计,我们能够在Summit超级计算机上扩展训练,并将Kinetics数据集的训练时间从49小时55分钟减少到14分13秒,实现了74.0%的top-1准确率,比以前的3D视频模型快1.6倍和2.9倍,精度更高。代码和更多细节可以在这里找到:http://tsm-hanlab.mit.edu。

英文摘要:

Deep video recognition is more computationally expensive than image recognition, especially on large-scale datasets like Kinetics [1]. Therefore, training scalability is essential to handle a large amount of videos. In this paper, we study the factors that impact the training scalability of video networks. We recognize three bottlenecks, including data loading (data movement from disk to GPU), communication (data movement over networking), and computation FLOPs. We propose three design guidelines to improve the scalability: (1) fewer FLOPs and hardware-friendly operator to increase the computation efficiency; (2) fewer input frames to reduce the data movement and increase the data loading efficiency; (3) smaller model size to reduce the networking traffic and increase the networking efficiency. With these guidelines, we designed a new operator Temporal Shift Module (TSM) that is efficient and scalable for distributed training. TSM model can achieve 1.8x higher throughput compared to previous I3D models. We scale up the training of the TSM model to 1,536 GPUs, with a mini-batch of 12,288 video clips/98,304 images, without losing the accuracy. With such hardware-aware model design, we are able to scale up the training on Summit supercomputer and reduce the training time on Kinetics dataset from 49 hours 55 minutes to 14 minutes 13 seconds, achieving a top-1 accuracy of 74.0%, which is 1.6x and 2.9x faster than previous 3D video models with higher accuracy. The code and more details can be found here: http://tsm-hanlab.mit.edu.

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

↑