2019 · 136 citations · 19 references
ComputingComputer ScienceComputer SystemsDistributed SystemsMachine LearningServerless ComputingCluster ArchitectureCluster ManagementDistributed ComputingScalable Machine LearningServerless ArchitectureServerless InfrastructureDeep Reinforcement LearningDistributed Machine LearningParameter Server ArchitectureScheduling In Serverless ComputingServerless Resource ManagementServerless SchedulingStateless ComputingVirtual Machines
Distributed machine learning systems based on parameter servers are needed to handle growing data, but their dedicated clusters impose significant management overhead. This work proposes SIREN, an asynchronous serverless distributed machine learning framework that eliminates the need for managing virtual machine clusters. SIREN uses stateless cloud functions and a deep reinforcement learning scheduler that dynamically adjusts the number and memory of functions per epoch to minimize training time under cost constraints. Experiments on AWS Lambda show that SIREN achieves up to 44 % faster training than EC2-based benchmarks while offering greater parallelism, elasticity, and lower configuration overhead.
The need to scale up machine learning, in the presence of a rapid growth of data both in volume and in variety, has sparked broad interests to develop distributed machine learning systems, typically based on parameter servers. However, since these systems are based on a dedicated cluster of physical or virtual machines, they have posed non-trivial cluster management overhead to machine learning practitioners and data scientists. In addition, there exists an inherent mismatch between the dynamically varying resource demands during a model training job and the inflexible resource provisioning model of current cluster-based systems.In this paper, we propose SIREN, an asynchronous distributed machine learning framework based on the emerging serverless architecture, with which stateless functions can be executed in the cloud without the complexity of building and maintaining virtual machine infrastructures. With SIREN, we are able to achieve a higher level of parallelism and elasticity by using a swarm of stateless functions, each working on a different batch of data, while greatly reducing system configuration overhead. Furthermore, we propose a scheduler based on Deep Reinforcement Learning to dynamically control the number and memory size of the stateless functions that should be used in each training epoch. The scheduler learns from the training process itself, in pursuit for the minimum possible training time given a cost. With our real-world prototype implementation on AWS Lambda, extensive experimental results have shown that SIREN can reduce model training time by up to 44%, as compared to traditional machine learning training benchmarks on AWS EC2 at the same cost.
19
Gradient-based learning applied to document recognition
Yann LeCun, Léon Bottou, Yoshua Bengio et al. · Proceedings of the IEEE · 1998 · 58.2K citations · Full text
Reinforcement Learning: An Introduction
Richard S. Sutton, Andy Barto · IEEE Transactions on Neural Networks · 1998 · 27.1K citations
Reinforcement Learning: An Introduction
IEEE Transactions on Neural Networks · 2005 · 25.8K citations
Scaling distributed machine learning with the parameter server
Mu Li, David G. Andersen, Jun Woo Park et al. · Operating Systems Design and Implementation · 2014 · 1.1K citations