SPIN:各向同性网络共享参数的一个经验评价
SPIN: An Empirical Evaluation on Sharing Parameters of Isotropic Networks
摘要:
最近的各向同性网络,如ConvMixer和视觉Transformer,在视觉识别任务中取得了重大成功,与非各向同性卷积神经网络(CNN)相匹配或优于后者。各向同性架构特别适合于跨层权重共享,这是一种有效的神经网络压缩技术。在本文中,我们进行了经验评估的方法共享参数在各向同性网络(SPIN)。我们提出了一个框架,正式的主要重量共享的设计决策,并进行了全面的经验评估,这个设计空间。在我们的实验结果的指导下,我们提出了一种权重共享策略,以生成一系列具有更好的整体效率的模型,与传统的缩放方法相比,在FLOP和参数与精度方面,例如将ConvMixer压缩1.9倍,同时提高ImageNet的精度。最后,我们进行了定性研究,以进一步了解各向同性架构中的权重共享行为。该代码可在https://github.com/apple/ml-spin上获得。
英文摘要:
Recent isotropic networks, such as ConvMixer and vision transformers, have found significant success across visual recognition tasks, matching or outperforming non-isotropic convolutional neural networks (CNNs). Isotropic architectures are particularly well-suited to cross-layer weight sharing, an effective neural network compression technique. In this paper, we perform an empirical evaluation on methods for sharing parameters in isotropic networks (SPIN). We present a framework to formalize major weight sharing design decisions and perform a comprehensive empirical evaluation of this design space. Guided by our experimental results, we propose a weight sharing strategy to generate a family of models with better overall efficiency, in terms of FLOPs and parameters versus accuracy, compared to traditional scaling methods alone, for example compressing ConvMixer by 1.9x while improving accuracy on ImageNet. Finally, we perform a qualitative study to further understand the behavior of weight sharing in isotropic architectures. The code is available at https://github.com/apple/ml-spin.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。