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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
S.J. Russell, P. Norvig, Artificial Intelligence: A Modern Approach (Pearson Education Limited, Malaysia, 2016)
D. Michie, D.J. Spiegelhalter, C.C. Taylor, Machine Learning, Neural and Statistical Classification (Ellis Horwood, USA, 1995)
Y. LeCun, Y. Bengio, G. Hinton, Deep learning. Nature 521(7553), 436–444 (2015). https://doi.org/10.1038/nature14539
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
B. Quinto, Deep learning, in Next-Generation Machine Learning with Spark (Apress, Berkeley, CA, 2020), pp. 289–348
B. Venners, The Java Virtual Machine (McGraw-Hill, New York, 1998)
OpenJDK, Project Panama Homepage. https://openjdk.java.net/projects/panama/
OpenJDK, Project Valhalla Homepage. https://openjdk.java.net/projects/valhalla/
OpenJDK, Project ZGC Homepage. https://openjdk.java.net/projects/zgc/
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
Deeplearning4j Examples on Github. https://github.com/deeplearning4j/dl4j-examples
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)
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
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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
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
DOI: https://doi.org/10.1007/978-981-15-7106-0_39
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-7105-3
Online ISBN: 978-981-15-7106-0
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)