Abstract
Energy efficient software development is a requirement to meet software quality standards. A great number of works have been done to enhance the level of information related to software energy consumption (SEC). They are generally focused on raw code data. These data can be profiled to predict SEC trends of future versions of a software. However, SEC works lack energy profiling with powerful predictive models. In this work, a deep learning-based SEC model is proposed. The model is than evaluated with 14 open-source projects. The experiment shows that deep learning performs better in SEC profiling than the alternatives such as random forest. Further, contrary to expectations, the success of the profiler is sensitive for the number of hidden layers of deep neural network.
Supported by Intel.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Arel, I., Rose, D.C., Karnowski, T.P., et al.: Deep machine learning-a new frontier in artificial intelligence research. IEEE Comput. Intell. Mag. 5(4), 13–18 (2010)
Beghoura, M.A., Boubetra, A., Boukerram, A.: Green software requirements and measurement: random decision forests-based software energy consumption profiling. Requirements Eng. 22(1), 27–40 (2017)
Chauhan, N.S., Saxena, A.: A green software development life cycle for cloud computing. IT Prof. 15(1), 28–34 (2013)
Chen, K., Chen, K., Wang, Q., He, Z., Hu, J., He, J.: Short term load forecasting with deep residual networks. IEEE Trans. Smart Grid (2018)
Chen, X.W., Lin, X.: Big data deep learning: challenges and perspectives. IEEE Access 2, 514–525 (2014)
Chen, Y., Lin, Z., Zhao, X., Wang, G., Gu, Y.: Deep learning-based classification of hyperspectral data. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 7(6), 2094–2107 (2014)
Dam, H.K., Tran, T., Pham, T.: A deep language model for software code. arXiv preprint arXiv:1608.02715 (2016)
Ding, X., Zhang, Y., Liu, T., Duan, J.: Deep learning for event-driven stock prediction. In: IJCAI, pp. 2327–2333 (2015)
Erhan, D., Bengio, Y., Courville, A., Manzagol, P.A., Vincent, P., Bengio, S.: Why does unsupervised pre-training help deep learning? J. Mach. Learn. Res. 11, 625–660 (2010)
Gal, Y., Ghahramani, Z.: Dropout as a Bayesian approximation: representing model uncertainty in deep learning. In: International Conference on Machine Learning, pp. 1050–1059 (2016)
Gulshan, V., Peng, L., Coram, M., Stumpe, M.C., Wu, D., Narayanaswamy, A., Venugopalan, S., Widner, K., Madams, T., Cuadros, J., et al.: Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs. JAMA 316(22), 2402–2410 (2016)
Gupta, R., Pal, S., Kanade, A., Shevade, S.: DeepFix: fixing common C language errors by deep learning. In: AAAI, pp. 1345–1351 (2017)
Hao, S., Li, D., Halfond, W.G., Govindan, R.: Estimating mobile application energy consumption using program analysis. In: Proceedings of the 2013 International Conference on Software Engineering, pp. 92–101. IEEE Press (2013)
Kim, D., Hong, J.E., Yoon, I., Lee, S.H.: Code refactoring techniques for reducing energy consumption in embedded computing environment. Cluster Comput. 1–17 (2016)
Lee, H., Pham, P., Largman, Y., Ng, A.Y.: Unsupervised feature learning for audio classification using convolutional deep belief networks. In: Advances in Neural Information Processing Systems, pp. 1096–1104 (2009)
Li, D., Halfond, W.G.: An investigation into energy-saving programming practices for android smartphone app development. In: Proceedings of the 3rd International Workshop on Green and Sustainable Software, pp. 46–53. ACM (2014)
Li, D., Hao, S., Gui, J., Halfond, W.G.: An empirical study of the energy consumption of android applications. In: 2014 IEEE International Conference on Software Maintenance and Evolution (ICSME), pp. 121–130. IEEE (2014)
Li, D., Lyu, Y., Gui, J., Halfond, W.G.: Automated energy optimization of http requests for mobile applications. In: Proceedings of the 38th International Conference on Software Engineering, pp. 249–260. ACM (2016)
Lv, Y., Duan, Y., Kang, W., Li, Z., Wang, F.Y., et al.: Traffic flow prediction with big data: a deep learning approach. IEEE Trans. Intell. Transp. Syst. 16(2), 865–873 (2015)
Ng, H.W., Nguyen, V.D., Vonikakis, V., Winkler, S.: Deep learning for emotion recognition on small datasets using transfer learning. In: Proceedings of the 2015 ACM on International Conference on Multimodal Interaction, pp. 443–449. ACM (2015)
Romansky, S., Borle, N.C., Chowdhury, S., Hindle, A., Greiner, R.: Deep green: modelling time-series of software energy consumption. In: 2017 IEEE International Conference on Software Maintenance and Evolution (ICSME), pp. 273–283. IEEE (2017)
Sahin, C., Pollock, L., Clause, J.: How do code refactorings affect energy usage? In: Proceedings of the 8th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, p. 36. ACM (2014)
Shenoy, S.S., Eeratta, R.: Green software development model: an approach towards sustainable software development. In: 2011 Annual IEEE India Conference (INDICON), pp. 1–6. IEEE (2011)
Spencer, M., Eickholt, J., Cheng, J.: A deep learning network approach to ab initio protein secondary structure prediction. IEEE/ACM Trans. Comput. Biol. Bioinform. (TCBB) 12(1), 103–112 (2015)
Wan, M., Jin, Y., Li, D., Gui, J., Mahajan, S., Halfond, W.G.: Detecting display energy hotspots in android apps. Softw. Testing Verification Reliab. 27(6), e1635 (2017)
White, M., Tufano, M., Vendome, C., Poshyvanyk, D.: Deep learning code fragments for code clone detection. In: Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering, pp. 87–98. ACM (2016)
White, M., Vendome, C., Linares-Vásquez, M., Poshyvanyk, D.: Toward deep learning software repositories. In: Proceedings of the 12th Working Conference on Mining Software Repositories, pp. 334–345. IEEE Press (2015)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Öztürk, M.M. (2020). Deep Learning-Based Software Energy Consumption Profiling. In: Hemanth, D., Kose, U. (eds) Artificial Intelligence and Applied Mathematics in Engineering Problems. ICAIAME 2019. Lecture Notes on Data Engineering and Communications Technologies, vol 43. Springer, Cham. https://doi.org/10.1007/978-3-030-36178-5_7
Download citation
DOI: https://doi.org/10.1007/978-3-030-36178-5_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-36177-8
Online ISBN: 978-3-030-36178-5
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)