journal article·2023-08-14Open access

Inference Latency Prediction Approaches Using Statistical Information for Object Detection in Edge Computing

Gyuyeol Kong, Yong-Geun Hong

Applied Sciences· Volume 13· Issue 16

Abstract

To seamlessly deliver artificial intelligence (AI) services using object detection, both inference latency from a system perspective as well as inference accuracy should be considered important. Although edge computing can be applied to efficiently operate these AI services by significantly reducing inference latency, deriving an optimized computational offloading policy for edge computing is a challenging problem. In this paper, we propose inference latency prediction approaches for determining the optimal offloading policy in edge computing. Since there is no correlation between the image size and inference latency during object detection, approaches to predict inference latency are required for finding the optimal offloading policy. The proposed approaches predict the inference latency between devices and object detection algorithms by using their statistical information on the inference latency. By exploiting the predicted inference latency, a client may efficiently determine whether to execute an object detection task locally or remotely. Through various experiments, the performances of predicted inference latency according to the object detection algorithms are compared and analyzed by considering two communication protocols in terms of the root mean square error. The simulation results show that the predicted inference latency matches the actual inference latency well.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: IoT and Edge/Fog Computing · Age of Information Optimization · Advanced Neural Network Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Division of Mechanical and Electronics Engineering, Hansung University, Seoul 02876, Republic of Korea

Department of Artificial Intelligence & Convergence, Daejeon University, Daejeon 34520, Republic of Korea

Funding

Daejeon University

References (32)

Show source-provided references
1. Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J.D., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., and Askell, A. (2020, January 6–12). Language models are few-shot learners. Proceedings of the 34th Conference on Neural Information Processing Systems (NeurIPS 2020), Vancouver, BC, Canada.
2. (2023, July 11). Tensorflow Serving. Available online: https://www.tensorflow.org/tfx/guide/serving.
3. (2023, July 11). TorchServe. Available online: https://pytorch.org/serve/.
4. (2023, July 11). Nvidia Trion Server. Available online: https://developer.nvidia.com/nvidia-triton-inference-server.
5. (2023, July 11). Intel OpenVINO. Available online: https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/overview.html.
6. A review of optimization methods for computation offloading in edge computing networks10.1016/j.dcan.2022.03.003 ↗
7. Computation offloading in mobile edge computing networks: A survey10.1016/j.jnca.2022.103366 ↗
8. Convergence of Edge Computing and Deep Learning: A Comprehensive Survey10.1109/COMST.2020.2970550 ↗
9. Kang, P., and Somtham, A. (2022). An evaluation of modern accelerator-based edge devices for object detection applications. Mathematics, 10.10.3390/math10224299 ↗
10. Early experience in benchmarking edge AI processors with object detection workloads10.1007/978-3-030-49556-5_3 ↗
11. Adaptive offloading in mobile-edge computing for ultra-dense cellular networks based on genetic algorithm10.1186/s13677-021-00232-y ↗
12. Energy-aware inference offloading for DNN-driven applications in mobile edge clouds10.1109/TPDS.2020.3032443 ↗
13. Li, B., He, M., Wu, W., Sangaiah, A.K., and Jeon, G. (2018). Computation offloading algorithm for arbitrarily divisible applications in mobile edge computing environments: An OCR case. Sustainability, 10.10.3390/su10051611 ↗
14. Learning for computation offloading in mobile edge computing10.1109/TCOMM.2018.2866572 ↗
15. Ultra-low latency multi-task offloading in mobile edge computing10.1109/ACCESS.2021.3061105 ↗
16. Delay-aware and energy-efficient computation offloading in mobile edge computing using deep reinforcement learning10.1109/TCCN.2021.3066619 ↗
17. Yu, S., Wang, X., and Langar, R. (2017, January 8–13). Computation offloading for mobile edge computing: A deep learning approach. Proceedings of the IEEE 28th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC), Montreal, QC, Canada.10.1109/PIMRC.2017.8292514 ↗
18. A deep learning approach for energy efficient computational offloading in mobile edge computing10.1109/ACCESS.2019.2947053 ↗
19. An autonomous computation offloading strategy in Mobile Edge Computing: A deep learning-based hybrid approach10.1016/j.jnca.2021.102974 ↗
20. Irshad, A., Abbas, Z.H., Ali, Z., Abbas, G., Baker, T., and Al-Jumeily, D. (2021). Wireless powered mobile edge computing systems: Simultaneous time allocation and offloading policies. Electronics, 10.10.3390/electronics10080965 ↗
21. Abbas, Z.H., Ali, Z., Abbas, G., Jiao, L., Bilal, M., Suh, D.-Y., and Piran, M.J. (2021). Computational Offloading in Mobile Edge with Comprehensive and Energy Efficient Cost Function: A Deep Learning Approach. Sensors, 21.10.3390/s21103523 ↗
22. Dai, J., Li, Y., He, K., and Sun, J. (2016, January 5–10). R-fcn: Object detection via region-based fully convolutional networks. Proceedings of the 30th Conference on Neural Information Processing Systems (NIPS 2016), Barcelona, Spain.
23. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y., and Berg, A.C. (2016, January 11–14). SSD: Single shot multibox detector. Proceedings of the 14th European Conference, Amsterdam, The Netherlands.10.1007/978-3-319-46448-0_2 ↗
24. Vadlamani, S.L., Emdon, B., Arts, J., and Baysal, O. (2021, January 4). Can GraphQL Replace REST? A Study of Their Efficiency and Viability. Proceedings of the IEEE/ACM 8th International Workshop on Software Engineering Research and Industrial Practice (SER&IP), Madrid, Spain.10.1109/SER-IP52554.2021.00009 ↗
25. (2023, July 11). REST API (Introduction). Available online: https://www.geeksforgeeks.org/rest-api-introduction/.
26. (2023, July 11). gRPC. Available online: https://grpc.io/.
27. Wu, Y., Guo, H., Chakraborty, C., Khosravi, M., Berretti, S., and Wan, S. (2023). Edge computing driven low-light image dynamic enhancement for object detection. IEEE Trans. Netw. Sci. Eng.10.1109/TNSE.2022.3151502 ↗
28. Edge computing-based mobile object tracking in internet of things10.1016/j.hcc.2021.100045 ↗
29. An efficient power-aware VM allocation mechanism in cloud data centers: A micro genetic-based approach10.1007/s10586-020-03152-9 ↗
30. Amanatidis, P., Karampatzakis, D., Iosifidis, G., Lagkas, T., and Nikitas, A. (2023). Cooperative task execution for object detection in edge computing: An internet of things application. Appl. Sci., 13.10.3390/app13084982 ↗
31. (2023, July 11). TensorFlow Object Detection API. Available online: https://github.com/tensorflow/models/tree/master/research/object_detection.
32. (2023, July 11). COCO Dataset. Available online: https://cocodataset.org/.