arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.00586cs.LGcs.CVcs.NE
收藏

发现神经线路

Discovering Neural Wirings

Allen Institute for AI(艾伦人工智能研究所);University of Washington(华盛顿大学)

Mitchell Wortsman, Ali Farhadi, Mohammad Rastegari

摘要:

神经网络的成功推动了从特征工程到架构工程的重点转移。然而,今天成功的网络是使用一组小的手动定义的构建块构建的。即使在神经结构搜索(NAS)方法中,网络连接模式也在很大程度上受到约束。在这项工作中,我们提出了一种发现神经线路的方法。我们放松了层的典型概念,而是使通道能够形成相互独立的连接。这允许可能的网络的更大空间。我们的网络的布线在训练过程中并不是固定的-当我们学习网络参数时,我们也学习了结构本身。我们的实验表明,我们学习的连接性能优于手工设计和随机连接的网络。通过学习MobileNetV 1的连接性,我们将ImageNet的准确性提高了10%,达到了约4100万FLOPs。此外,我们表明,我们的方法推广到经常性和连续时间网络。我们的工作也可以被视为统一的神经架构搜索问题的核心方面与稀疏神经网络学习。随着NAS变得越来越细粒度,找到一个好的架构就类似于找到完整图的稀疏子网络。因此,DNW提供了一种有效的机制,用于在单个训练运行中发现预定义架构的稀疏子网络。虽然我们在前向传递过程中只使用了一小部分权重,但我们仍然使用了所谓的初始化彩票,其中包含了一定数量的子网络。代码和预训练模型可在https://github.com/allenai/dnw上获得,而其他可视化可在https://mitchellnw.github.io/blog/2019/dnw/上找到。

英文摘要:

The success of neural networks has driven a shift in focus from feature engineering to architecture engineering. However, successful networks today are constructed using a small and manually defined set of building blocks. Even in methods of neural architecture search (NAS) the network connectivity patterns are largely constrained. In this work we propose a method for discovering neural wirings. We relax the typical notion of layers and instead enable channels to form connections independent of each other. This allows for a much larger space of possible networks. The wiring of our network is not fixed during training -- as we learn the network parameters we also learn the structure itself. Our experiments demonstrate that our learned connectivity outperforms hand engineered and randomly wired networks. By learning the connectivity of MobileNetV1we boost the ImageNet accuracy by 10% at ~41M FLOPs. Moreover, we show that our method generalizes to recurrent and continuous time networks. Our work may also be regarded as unifying core aspects of the neural architecture search problem with sparse neural network learning. As NAS becomes more fine grained, finding a good architecture is akin to finding a sparse subnetwork of the complete graph. Accordingly, DNW provides an effective mechanism for discovering sparse subnetworks of predefined architectures in a single training run. Though we only ever use a small percentage of the weights during the forward pass, we still play the so-called initialization lottery with a combinatorial number of subnetworks. Code and pretrained models are available at https://github.com/allenai/dnw while additional visualizations may be found at https://mitchellnw.github.io/blog/2019/dnw/.

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

↑