SPIN: An Empirical Evaluation on Sharing Parameters of Isotropic Networks

Abstract

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. 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.

Cite

Text

Lin et al. "SPIN: An Empirical Evaluation on Sharing Parameters of Isotropic Networks." Proceedings of the European Conference on Computer Vision (ECCV), 2022. doi:10.1007/978-3-031-20083-0_33

Markdown

[Lin et al. "SPIN: An Empirical Evaluation on Sharing Parameters of Isotropic Networks." Proceedings of the European Conference on Computer Vision (ECCV), 2022.](https://mlanthology.org/eccv/2022/lin2022eccv-spin/) doi:10.1007/978-3-031-20083-0_33

BibTeX

@inproceedings{lin2022eccv-spin,
  title     = {{SPIN: An Empirical Evaluation on Sharing Parameters of Isotropic Networks}},
  author    = {Lin, Chien-Yu and Prabhu, Anish and Merth, Thomas and Mehta, Sachin and Ranjan, Anurag and Horton, Maxwell and Rastegari, Mohammad},
  booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year      = {2022},
  doi       = {10.1007/978-3-031-20083-0_33},
  url       = {https://mlanthology.org/eccv/2022/lin2022eccv-spin/}
}