@inproceedings{cb5205afdced4377b8f5b3c12a24f831,
title = "TrIMS: Transparent and isolated model sharing for low latency deep learning inference in function-as-a-service",
abstract = "Deep neural networks (DNNs) have become core computation components within low latency Function as a Service (FaaS) prediction pipelines. Cloud computing, as the defacto backbone of modern computing infrastructure, has to be able to handle user-defined FaaS pipelines containing diverse DNN inference workloads while maintaining isolation and latency guarantees with minimal resource waste. The current solution for guaranteeing isolation and latency within FaaS is inefficient. A major cause of the inefficiency is the need to move large amount of data within and across servers. We propose TrIMS as a novel solution to address this issue. TrIMSis a generic memory sharing technique that enables constant data to be shared across processes or containers while still maintaining isolation between users. TrIMS consists of a persistent model store across the GPU, CPU, local storage, and cloud storage hierarchy, an efficient resource management layer that provides isolation, and a succinct set of abstracts, applicationAPIs, and container technologies for easy and transparent integration with FaaS, Deep Learning (DL) frameworks, and user code. We demonstrate our solution by interfacing TrIMS with the Apache MXNet framework and demonstrate up to 24x speedup in latency for image classification models, up to 210x speedup for large models, and up to8×system throughput improvement.",
keywords = "Cloud, Inference, Machine Learning, Memory",
author = "Abdul Dakkak and Cheng Li and \{De Gonzalo\}, \{Simon Garcia\} and Jinjun Xiong and Hwu, \{Wen Mei\}",
note = "This work is supported by IBM-ILLINOIS Center for Cognitive Computing Systems Research (C3SR) - a research collaboration as part of the IBM Cognitive Horizon Network.; 12th IEEE International Conference on Cloud Computing, CLOUD 2019 ; Conference date: 08-07-2019 Through 13-07-2019",
year = "2019",
month = jul,
doi = "10.1109/CLOUD.2019.00067",
language = "English (US)",
series = "IEEE International Conference on Cloud Computing, CLOUD",
publisher = "IEEE Computer Society",
pages = "372--382",
editor = "Elisa Bertino and Chang, \{Carl K.\} and Peter Chen and Ernesto Damiani and Michael Goul and Katsunori Oyama",
booktitle = "Proceedings - 2019 IEEE International Conference on Cloud Computing, CLOUD 2019 - Part of the 2019 IEEE World Congress on Services",
}