arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.04113cs.LGstat.ML
收藏

BlockSwap:基于预算的网络压缩的Fisher引导块替换

BlockSwap: Fisher-guided Block Substitution for Network Compression on a Budget

School of Informatics(信息学院);University of Edinburgh(爱丁堡大学);University of Toronto(多伦多大学)

Jack Turner, Elliot J. Crowley, Michael O'Boyle, Amos Storkey, Gavin Gray

摘要:

将神经网络映射到可变容量设备的愿望导致了大量压缩技术的发展,其中许多涉及用廉价的替代块替换大型网络中的标准卷积块。然而,并非所有的块都是平等地创建的;对于所需的计算预算,可能存在许多不同的廉价块的有效组合,尽管穷尽地搜索这样的组合是非常昂贵的。在这项工作中,我们开发BlockSwap:一种快速算法,用于通过随机初始化的网络和测量其Fisher潜力的一个小批量的训练数据通过交错块类型选择网络。然后,这些网络可以作为学生使用,并与原始的大型网络一起作为教师使用。我们展示了CIFAR-10和ImageNet中所选网络的有效性,以及COCO的有效性,并对我们的方法进行了全面的消融研究。BlockSwap使用简单的架构排名系统快速探索可能的块配置,产生具有高度竞争力的网络,其时间比大多数架构搜索技术少几个数量级(例如,在CIFAR-10的单个GPU上不到5分钟)。代码可在https://github.com/BayesWatch/pytorch-blockswap上获得。

英文摘要:

The desire to map neural networks to varying-capacity devices has led to the development of a wealth of compression techniques, many of which involve replacing standard convolutional blocks in a large network with cheap alternative blocks. However, not all blocks are created equally; for a required compute budget there may exist a potent combination of many different cheap blocks, though exhaustively searching for such a combination is prohibitively expensive. In this work, we develop BlockSwap: a fast algorithm for choosing networks with interleaved block types by passing a single minibatch of training data through randomly initialised networks and gauging their Fisher potential. These networks can then be used as students and distilled with the original large network as a teacher. We demonstrate the effectiveness of the chosen networks across CIFAR-10 and ImageNet for classification, and COCO for detection, and provide a comprehensive ablation study of our approach. BlockSwap quickly explores possible block configurations using a simple architecture ranking system, yielding highly competitive networks in orders of magnitude less time than most architecture search techniques (e.g. under 5 minutes on a single GPU for CIFAR-10). Code is available at https://github.com/BayesWatch/pytorch-blockswap.

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

↑