Skip to content

Research Articles

Hardware-Constrained Structured Pruning: Heterogeneous Partitions

Selin Dovemere (Machine Learning Laboratory, Ravenmere Technical University)

Vol. 2 No. 1 (2018) · pp. 27–41 · Published 15 February 2018

Abstract

This synthetic study compares removing whole channel groups after measuring their contribution to runtime with pruning individual magnitude-ranked weights to the same parameter budget in a collection of partitions with different input and resource profiles. Each configuration is evaluated on the same 180 cases. In the 45 stress cases, the remaining tensor shapes must align poorly with hardware tiles; held-out partitions are selected before configuration so that tuning cannot target their particular failure cases. A case counts as a pass only if it meets this criterion: a run must satisfy both its accuracy floor and a measured inference budget. The comparison holds the training and selection splits fixed across alternatives; evaluation cases are not reused for tuning. Compute or memory assigned to an alternative counts toward its budget even if training does not finish. The comparator passes 139 of 180 cases and the alternative passes 149. For the 45 stress cases alone, the counts are 25 and 30, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that a smaller parameter count can still yield inefficient kernels. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.

Keywords: structured pruning, inference, compression, heterogeneous partitions, synthetic evaluation

References

  1. Arpit, D., Zhou, Y., Kota, B. U., & Govindaraju, V. (2016). Normalization propagation: A parametric technique for removing internal covariate shift in deep networks. Proceedings of the 33rd International Conference on Machine Learning, 1168–1176.
  2. Han, S., Mao, H., & Dally, W. J. (2016). Deep compression: Compressing deep neural networks with pruning, trained quantization and Huffman coding. International Conference on Learning Representations. Source
  3. He, Y., Zhang, X., & Sun, J. (2017). Channel pruning for accelerating very deep neural networks. Proceedings of the IEEE International Conference on Computer Vision, 1389–1397.
  4. Hinton, G., et al. (2012). Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 29(6), 82–97.
  5. Kemker, R., McClure, M., Abitino, A., Hayes, T., & Kanan, C. (2017). Measuring catastrophic forgetting in neural networks. arXiv:1708.02072.
  6. Kim, Y.-D., Park, E., Yoo, S., Choi, T., Yang, L., & Shin, D. (2015). Compression of deep convolutional neural networks for fast and low power mobile applications. arXiv:1511.06530.
  7. Li, B., et al. (2016). ClickNP: Highly flexible and high performance network processing with reconfigurable hardware. Proceedings of the ACM SIGCOMM 2016 Conference, 1–14.
  8. Li, H., Kadav, A., Durdanovic, I., Samet, H., & Graf, H. P. (2016). Pruning filters for efficient ConvNets. arXiv:1608.08710.
  9. Mnih, A., & Gregor, K. (2014). Neural variational inference and learning in belief networks. Proceedings of the 31st International Conference on Machine Learning, 1791–1799.
  10. Molchanov, P., Tyree, S., Karras, T., Aila, T., & Kautz, J. (2016). Pruning convolutional neural networks for resource efficient inference. arXiv:1611.06440.
  11. Ovtcharov, K., Ruwase, O., Kim, J.-Y., Fowers, J., Strauss, K., & Chung, E. S. (2015). Accelerating deep convolutional neural networks using specialized hardware (Microsoft Research white paper). Microsoft.
  12. Ratliff, N. D., Bagnell, J. A., & Zinkevich, M. A. (2007). (Online) subgradient methods for structured prediction. Proceedings of the 11th International Conference on Artificial Intelligence and Statistics, 380–387.
  13. Toderici, G., et al. (2015). Variable rate image compression with recurrent neural networks. arXiv:1511.06085.
  14. Toderici, G., et al. (2017). Full resolution image compression with recurrent neural networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 5306–5314.
  15. Zhu, M., & Gupta, S. (2017). To prune, or not to prune: Exploring the efficacy of pruning for model compression. arXiv:1710.01878.