arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.05624cs.LGcs.NEstat.ML
收藏

Adjoined Networks:一种训练范例及其在网络压缩中的应用

Adjoined Networks: A Training Paradigm with Applications to Network Compression

Arizona State University(亚利桑那州立大学);University of Waterloo(滑铁卢大学)

Utkarsh Nath, Shrinu Kushagra, Yingzhen Yang

摘要:

当我们想要在生产和/或边缘设备中部署大型、强大的模型时,压缩深度神经网络同时保持准确性非常重要。实现这一目标的一种常用技术是知识蒸馏。通常,静态预定义教师(大型基础网络)的输出用作软标签,以训练并将信息传输到学生(或较小)网络。在本文中,我们介绍了邻接网络(Adjoined Networks,简称AN),这是一种同时训练原始基础网络和较小压缩网络的学习范式。在我们的训练方法中,较小网络的参数在基础网络和压缩网络之间共享。使用我们的训练范式,我们可以同时压缩(学生网络)和正则化(教师网络)任何架构。在本文中,我们专注于流行的基于CNN的架构用于计算机视觉任务。我们在各种大规模数据集上对我们的训练范式进行了广泛的实验评估。使用ResNet-50作为基础网络,AN在ImageNet数据集上仅用1.8M参数和1.6 GFLOP就实现了71.8%的top-1准确率。我们进一步提出了可区分的邻接网络(DAN),这是一种训练范例,通过使用神经架构搜索来共同学习较小网络的每一层的宽度和权重,从而增强AN。DAN在ImageNet上实现了ResNet-50级的准确度,参数和FLOP都更少,参数数更少,$3.8\times$和$2.2\times$更少。

英文摘要:

Compressing deep neural networks while maintaining accuracy is important when we want to deploy large, powerful models in production and/or edge devices. One common technique used to achieve this goal is knowledge distillation. Typically, the output of a static pre-defined teacher (a large base network) is used as soft labels to train and transfer information to a student (or smaller) network. In this paper, we introduce Adjoined Networks, or AN, a learning paradigm that trains both the original base network and the smaller compressed network together. In our training approach, the parameters of the smaller network are shared across both the base and the compressed networks. Using our training paradigm, we can simultaneously compress (the student network) and regularize (the teacher network) any architecture. In this paper, we focus on popular CNN-based architectures used for computer vision tasks. We conduct an extensive experimental evaluation of our training paradigm on various large-scale datasets. Using ResNet-50 as the base network, AN achieves 71.8% top-1 accuracy with only 1.8M parameters and 1.6 GFLOPs on the ImageNet data-set. We further propose Differentiable Adjoined Networks (DAN), a training paradigm that augments AN by using neural architecture search to jointly learn both the width and the weights for each layer of the smaller network. DAN achieves ResNet-50 level accuracy on ImageNet with $3.8\times$ fewer parameters and $2.2\times$ fewer FLOPs.

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

↑