Skip to content

Research Articles

Hardware-Constrained Structured Pruning: Bursty Inputs

Niko Larchvale (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing)

Vol. 1 No. 1 (2017) · pp. 86–98 · Published 10 August 2017

Abstract

For an input stream alternating between quiet periods and peaks, we construct a synthetic comparison between removing whole channel groups after measuring their contribution to runtime and pruning individual magnitude-ranked weights to the same parameter budget. Each configuration is evaluated on the same 160 cases. In the 40 stress cases, the remaining tensor shapes must align poorly with hardware tiles; peak and quiet intervals are retained at their original lengths rather than being normalized to the same arrival rate. 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 123 of 160 cases and the alternative passes 135. For the 40 stress cases alone, the counts are 19 and 27, 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, bursty inputs, synthetic evaluation

References

  1. Courbariaux, M., Hubara, I., Soudry, D., El-Yaniv, R., & Bengio, Y. (2016). Binarized neural networks: Training deep neural networks with weights and activations constrained to +1 or −1. arXiv:1602.02830.
  2. Craven, M. W., & Shavlik, J. W. (1996). Extracting tree-structured representations of trained networks. Advances in Neural Information Processing Systems, 8, 24–30.
  3. Graves, A. (2011). Practical variational inference for neural networks. Advances in Neural Information Processing Systems, 24, 2348–2356.
  4. Han, S., et al. (2016). EIE: Efficient inference engine on compressed deep neural network. Proceedings of the 43rd Annual International Symposium on Computer Architecture, 243–254.
  5. 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
  6. Henaff, M., Bruna, J., & LeCun, Y. (2015). Deep convolutional networks on graph-structured data. arXiv:1506.05163.
  7. 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.
  8. Lane, N. D., et al. (2016). DeepX: A software accelerator for low-power deep learning inference on mobile devices. Proceedings of the 15th ACM/IEEE International Conference on Information Processing in Sensor Networks, Article 23.
  9. Li, H., Kadav, A., Durdanovic, I., Samet, H., & Graf, H. P. (2016). Pruning filters for efficient ConvNets. arXiv:1608.08710.
  10. McDonald, R., Hall, K., & Mann, G. (2010). Distributed training strategies for the structured perceptron. Proceedings of NAACL HLT 2010, 456–464.
  11. Mnih, A., & Gregor, K. (2014). Neural variational inference and learning in belief networks. Proceedings of the 31st International Conference on Machine Learning, 1791–1799.
  12. Molchanov, P., Tyree, S., Karras, T., Aila, T., & Kautz, J. (2016). Pruning convolutional neural networks for resource efficient inference. arXiv:1611.06440.
  13. Niu, F., Ré, C., Doan, A., & Shavlik, J. (2011). Tuffy: Scaling up statistical inference in Markov logic networks using an RDBMS. Proceedings of the VLDB Endowment, 4(6), 373–384.
  14. 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.
  15. Toderici, G., et al. (2015). Variable rate image compression with recurrent neural networks. arXiv:1511.06085.