Proceedings

Optimal Policy for Deployment of Machine Learning Models on Energy-Bounded Systems

Video Download BibTeX Cite

Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence. Main track. Pages 3422-3429.

https://doi.org/10.24963/ijcai.2020/473

Abstract

With the recent advances in both machine learning and embedded systems research, the demand to deploy computational models for real-time execution on edge devices has increased substantially. Without deploying computational models on edge devices, the frequent transmission of sensor data to the cloud results in rapid battery draining due to the energy consumption of wireless data transmission. This rapid power dissipation leads to a considerable reduction in the battery lifetime of the system, therefore jeopardizing the real-world utility of smart devices. It is well-established that for difficult machine learning tasks, models with higher performance often require more computation power and thus are not power-efficient choices for deployment on edge devices. However, the trade-offs between performance and power consumption are not well studied. While numerous methods (e.g., model compression) have been developed to obtain an optimal model, these methods focus on improving the efficiency of a "single" model. In an entirely new direction, we introduce an effective method to find a combination of "multiple" models that are optimal in terms of power-efficiency and performance by solving an optimization problem in which both performance and power consumption are taken into account. Experimental results demonstrate that on the ImageNet dataset, we can achieve a 20% energy reduction with only 0.3% accuracy drop compared to Squeeze-and-Excitation Networks. Compared to a pruned convolutional neural network for human activity recognition, while consuming 1.7% less energy, our proposed policy achieves 1.3% higher accuracy.

  1. [Akshay Agrawal and Boyd, 2018] Steven Diamond Ak- shay Agrawal, Robin Verschueren and Stephen Boyd. A rewriting system for convex optimization problems. Journal of Control and Decision, 5(1), 2018.
  2. [Alinia et al., 2020] Parastoo Alinia, Seyed-Iman Mirzadeh, and Hassan Ghasemzadeh. Actilabel: A combinato- rial transfer learning framework for activity recognition. ArXiv, abs/2003.07415, 2020.
  3. [Anguita et al., 2013] Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra, and Jorge Luis Reyes-Ortiz. A public domain dataset for human activity recognition using smartphones. In ESANN, 2013.
  4. [Caprara et al., 2000] Alberto Caprara, Hans Kellerer, Ul- rich Pferschy, and David Pisinger. Approximation algo- rithms for knapsack problems with cardinality constraints. European Journal of Operational Research, 123, 2000.
  5. [Center, 2019] Erlangen Regional Computing Center. Lik- wid: Performance monitoring and benchmarking suite. https://github.com/RRZE-HPC/likwid, 2019. [Online], Last accessed on 05/2020. Link
  6. [Courbariaux and Bengio, 2016] Matthieu Courbariaux and Yoshua Bengio. Binarynet: Training deep neural net- works with weights and activations constrained to +1 or -1. ArXiv, abs/1602.02830, 2016.
  7. [Daquila and Shirer, 2019] Marianne Daquila and Michael Shirer. Worldwide Spending on Artificial Intelli- gence Systems Will Be Nearly 98 Billion Dollars in 2023. https://www.idc.com/getdoc.jsp?containerId= prUS45481219, 2019. [Online], Last accessed on 052020. Link
  8. [Denton et al., 2014] Emily L. Denton, Wojciech Zaremba, Joan Bruna, and et. al. Exploiting linear structure within convolutional networks for efficient evaluation. In NIPS, 2014.
  9. [Diamond and Boyd, 2016] Steven Diamond and Stephen Boyd. CVXPY: A Python-embedded modeling language for convex optimization. Journal of Machine Learning Re- search, 17(83), 2016.
  10. [Domahidi et al., 2013] Alexander Domahidi, Eric Chu, and Stephen P. Boyd. ECOS: an SOCP solver for embedded systems. In European Control Conference, ECC, 2013.
  11. [Franklin, 2019] Dustin Franklin. Jetson Nano Brings AI Computing to Everyone. https://devblogs.nvidia.com/ jetson-nano-ai-computing/, 2019. [Online], Last accessed on 05/2020. Link
  12. [Han et al., 2015] Song Han, Jeff Pool, John Tran, and William J. Dally. Learning both weights and connections for efficient neural networks. In NIPS, 2015.
  13. [Hassibi et al., 1993] Babak Hassibi, David G. Stork, and Gregory J. Wolff. Optimal brain surgeon and general net- work pruning. IEEE International Conference on Neural Networks, 1993.
  14. [He et al., 2015] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2015.
  15. [Hinton et al., 2015] Geoffrey E. Hinton, Oriol Vinyals, and Jeffrey Dean. Distilling the knowledge in a neural net- work. ArXiv, abs/1503.02531, 2015.
  16. [Hu et al., 2018] Jie Hu, Li Shen, and Gang Sun. Squeeze- and-excitation networks. 2018.
  17. [Intel, 2019] Intel. Intel Nervana Neural Network Proces- sors. https://www.intel.ai/nervana-nnp, 2019. [Online], Last accessed on 05/2020. Link
  18. [Ioffe and Szegedy, 2015] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep net- work training by reducing internal covariate shift. ArXiv, abs/1502.03167, 2015.
  19. [Jacob et al., 2017] Benoit Jacob, Skirmantas Kligys, Bo Chen, and et. al. Quantization and training of neural networks for efficient integer-arithmetic-only inference. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2017.
  20. [Jayakodi et al., 2020] Nitthilan Kanappan Jayakodi, Syrine Belakaria, Aryan Deshwal, and Janardhan Rao Doppa. Design and optimization of energy-accuracy tradeoff net- works for mobile platforms via pretrained deep mod- els. ACM Transactions on Embedded Computing Systems (TECS), 19, 2020.
  21. [Jouppi et al., 2017] Norman P. Jouppi, Cliff Young, Nishant Patil, and et. al. In-datacenter performance analysis of a tensor processing unit. 2017 ACM/IEEE 44th Annual In- ternational Symposium on Computer Architecture (ISCA), 2017.
  22. [Keerthi et al., 2006] S. Sathiya Keerthi, Olivier Chapelle, and Dennis DeCoste. Building support vector machines with reduced classifier complexity. J. Mach. Learn. Res., 7, 2006.
  23. [Kellerer et al., 2004] Hans Kellerer, Ulrich Pferschy, and David Pisinger. Knapsack problems. Springer, 2004.
  24. [Kingma and Ba, 2014] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR, abs/1412.6980, 2014.
  25. [Li et al., 2019] Wenxin Li, Joohyun Lee, and Ness B. Shroff. A faster fptas for knapsack problem with cardi- nality constraint. ArXiv, abs/1902.00919, 2019.
  26. [Ma et al., 2018] Ningning Ma, Xiangyu Zhang, Hai-Tao Zheng, and Jian Sun. Shufflenet V2: practical guidelines for efficient CNN architecture design. In Computer Vision -ECCV, 2018.
  27. [Mirzadeh et al., 2019] Seyed-Iman Mirzadeh, Mehrdad Farajtabar, Ang Li, and Hassan Ghasemzadeh. Improved knowledge distillation via teacher assistant: Bridging the gap between student and teacher. ArXiv, abs/1902.03393, 2019.
  28. [Paszke et al., 2019] Adam Paszke, Sam Gross, Soumith Chintala, and et. al. Pytorch: An imperative style, high- performance deep learning library. In Advances in Neural Information Processing Systems 32, 2019.
  29. [Pedregosa et al., 2011] F. Pedregosa, G. Varoquaux, Gram- fort, and et. al. Scikit-learn: Machine learning in python. Journal of Machine Learning Research, 12, 2011.
  30. [Pham et al., 2018] Hieu Pham, Melody Y. Guan, Barret Zoph, Quoc V. Le, and Jeff Dean. Efficient neural architec- ture search via parameter sharing. ArXiv, abs/1802.03268, 2018.
  31. [Russakovsky et al., 2014] Olga Russakovsky, Jun Deng, Hao Su, Jonathan Krause, and et. al. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115, 2014.
  32. [Sandler et al., 2018] Mark Sandler, Andrew G. Howard, Menglong Zhu, and et. al. Mobilenetv2: Inverted resid- uals and linear bottlenecks. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR, 2018.
  33. [Shirer and MacGillivray, 2019] Michael Shirer and Carrie MacGillivray. The Growth in Connected IoT Devices Is Expected to Generate 79.4ZB of Data in 2025, Accord- ing to a New IDC Forecast. https://www.idc.com/getdoc. jsp?containerId=prUS45213219, 2019. [Online], Last ac- cessed on 05/2020. Link
  34. [Shirer and Palma, 2019] Michael Shirer and Carrie Michael Palma. Annual Edge AI Processor Shipments Fore- cast to Reach 1.5 Billion Units by 2023, According to IDC. https://www.idc.com/getdoc.jsp?containerId= prUS45124019, 2019. [Online], Last accessed on 05/2020. Link
  35. [Simonyan and Zisserman, 2015] Karen Simonyan and An- drew Zisserman. Very deep convolutional networks for large-scale image recognition. In 3rd International Con- ference on Learning Representations, ICLR, 2015.
  36. [Weaver et al., 2012] V. M. Weaver, M. Johnson, K. Ka- sichayanula, J. Ralph, and et. al. Measuring energy and power with papi. In 2012 41st International Conference on Parallel Processing Workshops, Sep. 2012.
  37. [Zhu and Gupta, 2017] Michael Zhu and Suyog Gupta. To prune, or not to prune: Exploring the efficacy of pruning for model compression. ArXiv, abs/1710.01878, 2017.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards