Skip to main content

Profiling JVM for AI Applications Using Deep Learning Libraries

Part of the Lecture Notes in Networks and Systems book series (LNNS,volume 141)

Abstract

In contemporary times, artificial intelligence (AI) techniques are widely used in development of software applications. Most of the AI-based applications are designed to perform complex tasks such as medical diagnosis, data analytic, human assistants, etc. The performance of such applications depends on development environment. Virtual machines are commonly being used for such development environments. These act as middlewares that support necessary tools for execution of applications. Java Virtual Machine (JVM) is one of the popular virtual environment which is used for several applications. It provides a secure, flexible, and fast execution environment. Therefore, we choose JVM to explore its suitability for AI applications. In this paper, we analyze JVM performance for different AI applications which include deep learning libraries. We use a profiling tool visualVM which profiles JVM performance for running applications. Our goal is to explore key strengths of JVM for AI applications. This in-depth analysis of JVM may help the developer community to choose an appropriate environment for AI applications development.

Keywords

  • Deep learning
  • Virtual machine
  • Image classifier
  • Image drawer
  • Tic-tac-toe

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   299.99
Price excludes VAT (USA)
  • Durable hardcover 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

Learn about institutional subscriptions

References

  1. S.J. Russell, P. Norvig, Artificial Intelligence: A Modern Approach (Pearson Education Limited, Malaysia, 2016)

    MATH  Google Scholar 

  2. D. Michie, D.J. Spiegelhalter, C.C. Taylor, Machine Learning, Neural and Statistical Classification (Ellis Horwood, USA, 1995)

    Google Scholar 

  3. Y. LeCun, Y. Bengio, G. Hinton, Deep learning. Nature 521(7553), 436–444 (2015). https://doi.org/10.1038/nature14539

    CrossRef  Google Scholar 

  4. A.K. Jain, J. Mao, K.M. Mohiuddin, Artificial neural networks: a tutorial. Computer 29(3), 31–44 (1996). https://doi.org/10.1109/2.485891

    CrossRef  Google Scholar 

  5. B. Quinto, Deep learning, in Next-Generation Machine Learning with Spark (Apress, Berkeley, CA, 2020), pp. 289–348

    Google Scholar 

  6. B. Venners, The Java Virtual Machine (McGraw-Hill, New York, 1998)

    Google Scholar 

  7. OpenJDK, Project Panama Homepage. https://openjdk.java.net/projects/panama/

  8. OpenJDK, Project Valhalla Homepage. https://openjdk.java.net/projects/valhalla/

  9. OpenJDK, Project ZGC Homepage. https://openjdk.java.net/projects/zgc/

  10. D. Gu, C. Verbrugge, E.M. Gagnon, Relative factors in performance analysis of Java virtual machines, in Proceedings of 2nd International Conference on Virtual Execution Environments (2006), pp. 111–121. https://doi.org/10.1145/1134760.1134776

  11. Deeplearning4j Examples on Github. https://github.com/deeplearning4j/dl4j-examples

  12. K. Gregor, I. Danihelka, A. Graves, D.J. Rezende, D. Wierstra, Draw: a recurrent neural network for image generation. arXiv preprint arXiv:1502.04623 (2015)

  13. N. Paul, D. Evans, Comparing Java and .NET security: lessons learned and missed. Comput. Secur. 25(5), 338–350 (2006). https://doi.org/10.1016/j.cose.2006.02.003

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Neha Kumari .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2021 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kumari, N., Kumar, R. (2021). Profiling JVM for AI Applications Using Deep Learning Libraries. In: Joshi, A., Khosravy, M., Gupta, N. (eds) Machine Learning for Predictive Analysis. Lecture Notes in Networks and Systems, vol 141. Springer, Singapore. https://doi.org/10.1007/978-981-15-7106-0_39

Download citation