인공지능 서비스 운영을 위한 시스템 측면에서의 연구
A Study on the System for AI Service Production
0
조회
0
다운로드
1
인용
0
참고문헌
키워드
초록
AI 기술을 활용한 다양한 서비스가 개발되면서, AI 서비스 운영에 많은 관심이 집중되고 있다. 최근에는 AI 기술도 하나의 ICT 서비스를보고, 범용적인 AI 서비스 운영을 위한 연구가 많이 진행되고 있다. 본 논문에서는 일반적인 기계학습 개발 절차의 마지막 단계인 기계학습모델 배포 및 운영에 초점을 두고 AI 서비스 운영을 위한 시스템 측면에서의 연구 결과를 기술하였다. 3대의 서로 다른 Ubuntu 시스템을 구축하고,이 시스템상에서 서로 다른 AI 모델(RFCN, SSD-Mobilenet)과 서로 다른 통신 방식(gRPC, REST)의 조합으로 2017 validation COCO dataset의데이터를 이용하여 객체 검출 서비스를 Tensorflow serving을 통하여 AI 서비스를 요청하는 부분과 AI 서비스를 수행하는 부분으로 나누어실험하였다. 다양한 실험을 통하여 AI 모델의 종류가 AI 머신의 통신 방식보다 AI 서비스 추론 시간에 더 큰 영향을 미치고, 객체 검출 AI서비스의 경우 검출하려는 이미지의 파일 크기보다는 이미지 내의 객체 개수와 복잡도에 따라 AI 서비스 추론 시간이 더 큰 영향을 받는다는것을 알 수 있었다. 그리고, AI 서비스를 로컬이 아닌 원격에서 수행하면 성능이 좋은 머신이라고 하더라도 로컬에서 수행하는 경우보다 AI서비스 추론 시간이 더 걸린다는 것을 확인할 수 있었다. 본 연구 결과를 통하여 서비스 목표에 적합한 시스템 설계와 AI 모델 개발 및 효율적인AI 서비스 운영이 가능해질 것으로 본다.
Abstract
As various services using AI technology are being developed, much attention is being paid to AI service production. Recently, AItechnology is acknowledged as one of ICT services, a lot of research is being conducted for general-purpose AI service production. Inthis paper, I describe the research results in terms of systems for AI service production, focusing on the distribution and productionof machine learning models, which are the final steps of general machine learning development procedures. Three different Ubuntu systemswere built, and experiments were conducted on the system, using data from 2017 validation COCO dataset in combination of differentAI models (RFCN, SSD-Mobilenet) and different communication methods (gRPC, REST) to request and perform AI services throughTensorflow serving. Through various experiments, it was found that the type of AI model has a greater influence on AI service inferencetime than AI machine communication method, and in the case of object detection AI service, the number and complexity of objectsin the image are more affected than the file size of the image to be detected. In addition, it was confirmed that if the AI service isperformed remotely rather than locally, even if it is a machine with good performance, it takes more time to infer the AI service thanif it is performed locally. Through the results of this study, it is expected that system design suitable for service goals, AI model development,and efficient AI service production will be possible.
참고문헌 (35)
- T. Brown, "Language models are few-shot learners", Advances in Neural Information Processing Systems, 33, pp.1877~1901 (2020)
- "Tensorflow serving"[URL]
- "TorchServe"[URL]
- "Nvidia Trion Server"[URL]
- "Intel OpenVINO"[URL]
- "ITU-T Y.3531, Cloud computing - Functional requirements for machine learning as a service", ~ (2020)
- Sungpil Shin, "MLaas(Machine Learning as a Service)Market Trend and Standards for functional requirement", TTA ICT Standard Weekly 1065, ~ (2022)
- "Flask"[URL]
- "Django"[URL]
- "FastAPI"[URL]
- H. M. Park, "Changes and trends of Edge computing technology", KICS Information and Communication Magazine, 36(2), pp.41~47 (2019)
- W. Yu, "A survey on the edge computing for the Internet of Things", IEEE Access, 6, pp.6900~6919 (2017)
- S. Maheshwari, "Scalability and performance evaluation of edge cloud systems for latency constrained applications", 2018 IEEE, 2018, 286~299[DOI]
- K. H. Kim, "Standard technology and Trend of Edge computing for IoT and AI", KICS Information and Communication Magazine
- E. H. Kim, "Technology trends of deep-learning model lightweight", Communication of KIISE, 38(8), pp.18~29 (2020)
- F. Wang, "Deep learning for edge computing applications: A state-ofthe-art survey", IEEE Access, 8, pp.58322~58336 (2020)
- Y. Jun Choi, "Deep learning model compression for embedded system", KIISE KCC 2019, pp.1044~1046 (2019)
- A. G. Howard, "Mobilenets: Efficient convolutional neural networks for mobile vision applications", arXiv preprint arXiv:1704.04861, ~ (2017)
- M. Algabri, "Towards deep object detection techniques for phoneme recognition", IEEE Access, 8, pp.54663~54680 (2020)
- R. Girshick, "Rich feature hierarchies for accurate object detection and semantic segmentation", Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp.580~587 (2014)
- R. Girshick, "Fast r-cnn", Proceedings of the IEEE International Conference on Computer Vision, pp.1440~1448 (2015)
- S. Ren, "Faster r-cnn:Towards real-time object detection with region proposal networks", Advances in Neural Information Processing Systems, 28 (2015)
- J. Dai, "R-fcn: Object detection via region-based fully convolutional networks", Advances in Neural Information Processing Systems, 29 (2016)
- S. H. Park, "Faster R-CNN and geometric transformation-based detection of driver’s eyes using multiple near-infrared camera sensors", Sensors, 19(1), pp.197~ (2019)
- K. Surya Vara Prasad, "A downscaled faster-RCNN framework for signal detection and time-frequency localization in wideband RF systems", IEEE Transactions on Wireless Communications, 19(7), pp.4847~4862 (2020)
- J. Redmon, "You only look once: Unified, real-time object detection", Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp.779~788 (2016)
- J. Redmon, "YOLO9000: Better, faster, stronger", Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp.7263~7271 (2017)
- J. Redmon, "Yolov3: An incremental improvement", arXiv preprint arXiv:1804.02767, ~ (2018)
- W. Liu, "Ssd: Single shot multibox detector", European Conference on Computer Vision, pp.21~37 (2016), Springer
- T-Y. Lin, "Focal loss for dense object detection", Proceedings of the IEEE International Conference on Computer Vision, pp.2980~2988 (2017)
- S. Zhang, "Single-shot refinement neural network for object detection", Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp.4203~4212 (2018)
- L. Zhou, "Detecting motion blurred vehicle logo in IoV using filter-DeblurGAN and VL-YOLO", IEEE Transactions on Vehicular Technology, 69(4), pp.3604~3614 (2020)
- H. Zhang, "Real-time detection method for small traffic signs based on Yolov3", IEEE Access, 8, pp.64145~64156 (2020)
- A. G. Howard, "Mobilenets: Efficient convolutional neural networks for mobile vision applications", arXiv preprint arXiv:1704.04861, ~ (2017)
- "Intel AI Object Detection"[URL]
