arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.14568cs.LGcs.CV
收藏

深度集成无额外开销:动态稀疏性对训练和测试的全方位祝福

Deep Ensembling with No Overhead for either Training or Testing: The All-Round Blessings of Dynamic Sparsity

Eindhoven University of Technology(埃因霍温理工大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Twente(特文特大学)

Shiwei Liu, Tianlong Chen, Zahra Atashgahi, Xiaohan Chen, Ghada Sokar, Elena Mocanu, Mykola Pechenizkiy, Zhangyang Wang, Decebal Constantin Mocanu

AI总结:

FreeTickets通过动态稀疏训练实现高效集成,以更低的计算成本提升预测精度和鲁棒性。

摘要:

深度集成在提升预测性能、不确定性估计和分布外鲁棒性方面取得了显著成效,已在机器学习文献中被广泛研究。尽管结果令人鼓舞,但直接训练多个深度神经网络并在推理时合并预测会导致计算成本和内存需求过高。最近提出的高效集成方法在性能上可与传统深度集成方法相媲美,但训练资源仍至少与训练单个密集模型相当。在本工作中,我们建立了稀疏神经网络训练与深度集成之间的独特联系,提出了一种新的高效集成学习框架,称为FreeTickets。不同于训练多个密集网络并取平均,我们直接从头开始训练稀疏子网络,并在高效、稀疏到稀疏的训练过程中提取出多样且准确的子网络。我们的框架FreeTickets被定义为这些相对便宜的稀疏子网络的集成。尽管是一种集成方法,FreeTickets的参数和训练FLOPs都比单个密集模型更少。这种看似矛盾的结果源于动态稀疏训练的超高训练/推理效率。FreeTickets在预测精度、不确定性估计、分布外(OoD)鲁棒性以及训练和推理效率方面均优于密集基线。令人印象深刻的是,使用大约仅需后者1/5的训练FLOPs,FreeTickets在ImageNet上超越了使用ResNet50的朴素深度集成方法。我们已发布源代码至https://github.com/VITA-Group/FreeTickets。

英文摘要:

The success of deep ensembles on improving predictive performance, uncertainty estimation, and out-of-distribution robustness has been extensively studied in the machine learning literature. Albeit the promising results, naively training multiple deep neural networks and combining their predictions at inference leads to prohibitive computational costs and memory requirements. Recently proposed efficient ensemble approaches reach the performance of the traditional deep ensembles with significantly lower costs. However, the training resources required by these approaches are still at least the same as training a single dense model. In this work, we draw a unique connection between sparse neural network training and deep ensembles, yielding a novel efficient ensemble learning framework called FreeTickets. Instead of training multiple dense networks and averaging them, we directly train sparse subnetworks from scratch and extract diverse yet accurate subnetworks during this efficient, sparse-to-sparse training. Our framework, FreeTickets, is defined as the ensemble of these relatively cheap sparse subnetworks. Despite being an ensemble method, FreeTickets has even fewer parameters and training FLOPs than a single dense model. This seemingly counter-intuitive outcome is due to the ultra training/inference efficiency of dynamic sparse training. FreeTickets surpasses the dense baseline in all the following criteria: prediction accuracy, uncertainty estimation, out-of-distribution (OoD) robustness, as well as efficiency for both training and inference. Impressively, FreeTickets outperforms the naive deep ensemble with ResNet50 on ImageNet using around only 1/5 of the training FLOPs required by the latter. We have released our source code at https://github.com/VITA-Group/FreeTickets.

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

↑