Exploring Serverless Computing for Neural Network Training

Lang Feng, Prabhakar Kudva, Dilma Da Silva, Jiang Hu

2018 · 90 citations · 12 references

Concepts

TL;DR

Serverless runtimes offer cost and efficiency gains for event‑driven cloud applications, yet their lightweight nature limits them to inference‑type workloads, while deep‑learning training remains compute‑ and memory‑intensive. We investigate using serverless runtimes with data parallelism for large models. We identify challenges and limitations arising from tightly coupled models and propose runtime modifications to mitigate them. For hyperparameter optimization of smaller deep‑learning models, serverless runtimes provide significant benefit.

Abstract

Serverless or functions as a service runtimes have shown significant benefits to efficiency and cost for event-driven cloud applications. Although serverless runtimes are limited to applications requiring lightweight computation and memory, such as machine learning prediction and inference, they have shown improvements on these applications beyond other cloud runtimes. Training deep learning can be both compute and memory intensive. We investigate the use of serverless runtimes while leveraging data parallelism for large models, show the challenges and limitations due to the tightly coupled nature of such models, and propose modifications to the underlying runtime implementations that would mitigate them. For hyperparameter optimization of smaller deep learning models, we show that serverless runtimes can provide significant benefit.

References

12