Understanding and Optimizing Asynchronous Low-Precision Stochastic Gradient Descent

被引:60
作者
De Sa, Christopher [1 ]
Feldman, Matthew
Re, Christopher
Olukotun, Kunle
机构
[1] Stanford Univ, Dept Elect Engn, Stanford, CA 94305 USA
来源
44TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA 2017) | 2017年
关键词
Stochastic gradient descent; low precision; asynchrony; multicore; FPGA; PARALLELISM;
D O I
10.1145/3079856.3080248
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Stochastic gradient descent (SGD) is one of the most popular numerical algorithms used in machine learning and other domains. Since this is likely to continue for the foreseeable future, it is important to study techniques that can make it run fast on parallel hardware. In this paper, we provide the first analysis of a technique called BUCK-WILD! that uses both asynchronous execution and low-precision computation. We introduce the DMGC model, the first conceptualization of the parameter space that exists when implementing low-precision SGD, and show that it provides a way to both classify these algorithms and model their performance. We leverage this insight to propose and analyze techniques to improve the speed of low-precision SGD. First, we propose software optimizations that can increase throughput on existing CPUs by up to 11x. Second, we propose architectural changes, including a new cache technique we call an obstinate cache, that increase throughput beyond the limits of current-generation hardware. We also implement and analyze low-precision SGD on the FPGA, which is a promising alternative to the CPU for future SGD systems.
引用
收藏
页码:561 / 574
页数:14
相关论文
共 56 条
[1]  
Agarwal A., 2011, CoRR
[2]  
Amdahl GM, 1967, P APR 18 20 1967 SPR, P483, DOI [DOI 10.1145/1465482.1465560, 10.1145/1465482.1465560]
[3]  
[Anonymous], 2014, Training deep neural networks with low precision multiplications
[4]  
Bottou L., 2012, NEURAL NETWORKS TRIC, P421
[5]   Large-Scale Machine Learning with Stochastic Gradient Descent [J].
Bottou, Leon .
COMPSTAT'2010: 19TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL STATISTICS, 2010, :177-186
[6]  
Bottou Leon, 1991, P NEUR, V91, P12
[7]  
Chilimbi T., 2014, 11 USENIX S OPERATIN, P571, DOI DOI 10.1108/01439911111122716
[8]  
Chintala S., convnet-benchmarks
[9]  
De Sa Christopher, 2016, ICML
[10]  
De Sa Christopher., 2015, NIPS