GaDei:将扩展训练作为深度学习的服务
GaDei: On Scale-up Training As A Service For Deep Learning
摘要:
深度学习(DL)培训即服务(TaaS)是一种重要的新兴工业工作负载。TaaS的独特挑战在于,它必须满足广泛的客户,这些客户没有经验和资源来调整DL超参数,并且对每个用户的数据集进行细致的调整是非常昂贵的。因此,TaaS超参数必须固定为适用于所有用户的值。IBM Watson Natural Language Classifier(NLC)服务是全球数千家企业级客户使用的最流行的IBM认知服务,是典型的TaaS服务。通过评估NLC工作负载,我们表明,只有保守的超参数设置(例如,小的小批量大小和小的学习率)可以保证对于广泛的客户可接受的模型精度。我们进一步从理论上证明了为什么这样的设置保证更好的模型收敛一般。不幸的是,在基于参数服务器的系统中,小的迷你批量大小导致大量的通信流量。我们使用代表性的工业深度学习工作负载来描述TaaS的高通信带宽需求,并证明没有最先进的横向扩展或横向扩展解决方案可以满足这样的需求。然后,我们提出了GaDei,一个优化的基于共享内存的扩展参数服务器设计。我们证明了所设计的协议是无死锁的,它只处理一次每个梯度。我们的实现进行评估的商业基准和公共基准,以证明它显着优于国家的最先进的参数服务器为基础的实现,同时保持所需的准确性和我们的实现达到接近最佳的运行时性能,仅受硬件限制。此外,据我们所知,GaDei是唯一提供容错的扩展DL系统。
英文摘要:
Deep learning (DL) training-as-a-service (TaaS) is an important emerging industrial workload. The unique challenge of TaaS is that it must satisfy a wide range of customers who have no experience and resources to tune DL hyper-parameters, and meticulous tuning for each user's dataset is prohibitively expensive. Therefore, TaaS hyper-parameters must be fixed with values that are applicable to all users. IBM Watson Natural Language Classifier (NLC) service, the most popular IBM cognitive service used by thousands of enterprise-level clients around the globe, is a typical TaaS service. By evaluating the NLC workloads, we show that only the conservative hyper-parameter setup (e.g., small mini-batch size and small learning rate) can guarantee acceptable model accuracy for a wide range of customers. We further justify theoretically why such a setup guarantees better model convergence in general. Unfortunately, the small mini-batch size causes a high volume of communication traffic in a parameter-server based system. We characterize the high communication bandwidth requirement of TaaS using representative industrial deep learning workloads and demonstrate that none of the state-of-the-art scale-up or scale-out solutions can satisfy such a requirement. We then present GaDei, an optimized shared-memory based scale-up parameter server design. We prove that the designed protocol is deadlock-free and it processes each gradient exactly once. Our implementation is evaluated on both commercial benchmarks and public benchmarks to demonstrate that it significantly outperforms the state-of-the-art parameter-server based implementation while maintaining the required accuracy and our implementation reaches near the best possible runtime performance, constrained only by the hardware limitation. Furthermore, to the best of our knowledge, GaDei is the only scale-up DL system that provides fault-tolerance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。