Skip to main content

Deep Learning-Based Software Energy Consumption Profiling

  • Conference paper
  • First Online:
Artificial Intelligence and Applied Mathematics in Engineering Problems (ICAIAME 2019)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

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

    Article  Google Scholar 

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

    Article  Google Scholar 

  3. Chauhan, N.S., Saxena, A.: A green software development life cycle for cloud computing. IT Prof. 15(1), 28–34 (2013)

    Article  Google Scholar 

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

    Google Scholar 

  5. Chen, X.W., Lin, X.: Big data deep learning: challenges and perspectives. IEEE Access 2, 514–525 (2014)

    Article  Google Scholar 

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

    Article  Google Scholar 

  7. Dam, H.K., Tran, T., Pham, T.: A deep language model for software code. arXiv preprint arXiv:1608.02715 (2016)

  8. Ding, X., Zhang, Y., Liu, T., Duan, J.: Deep learning for event-driven stock prediction. In: IJCAI, pp. 2327–2333 (2015)

    Google Scholar 

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

    MathSciNet  MATH  Google Scholar 

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

    Google Scholar 

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

    Article  Google Scholar 

  12. Gupta, R., Pal, S., Kanade, A., Shevade, S.: DeepFix: fixing common C language errors by deep learning. In: AAAI, pp. 1345–1351 (2017)

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

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

    Article  Google Scholar 

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

    Article  Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Muhammed Maruf Öztürk .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics