arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1605.09114cs.LGcs.DCcs.NEmath.OCstat.ML
收藏

ParMAC:嵌套函数的分布式优化,应用于学习二进制自动编码器

ParMAC: distributed optimisation of nested functions, with application to learning binary autoencoders

University of California, Merced(加州大学默塞德分校)

Miguel Á. Carreira-Perpiñán, Mehdi Alizadeh

摘要:

许多强大的机器学习模型都是基于多个处理层的组合,例如深度网络,这会产生非凸目标函数。一个通用的,最近的方法来优化这种“嵌套”功能是辅助坐标(MAC)的方法。MAC为每个数据点引入了一个辅助坐标,以便将嵌套模型解耦为独立的子模型。这将优化分解为在训练单层和更新坐标之间交替的步骤。它的优点是重用了现有的单层算法,引入了并行性,并且不需要使用链式规则梯度,因此它适用于不可微层。对于大规模的问题,或者为了更快的训练而需要分布计算时,数据集可能不适合单个机器。因此,限制机器之间的通信量是至关重要的,这样它就不会抹杀并行性的好处。我们描述了一种实现这一点的通用方法,ParMAC。ParMAC在具有环形拓扑的处理机集群上工作,并交替两个步骤直到收敛:一个步骤使用随机更新并行训练子模型,另一个步骤并行训练坐标。只有子模型参数,没有数据或坐标,在机器之间进行通信。ParMAC具有高并行性、低通信开销,并且便于数据混洗、负载均衡、容错和流数据处理。我们研究了ParMAC的收敛性,并提出了一个理论模型,其运行时间和并行加速比。我们开发ParMAC来学习二进制自动编码器,以实现快速,近似的图像检索。我们在分布式系统中的MPI中实现了它,并在128处理器集群中使用1亿个高维点的训练集展示了近乎完美的加速比。

英文摘要:

Many powerful machine learning models are based on the composition of multiple processing layers, such as deep nets, which gives rise to nonconvex objective functions. A general, recent approach to optimise such "nested" functions is the method of auxiliary coordinates (MAC). MAC introduces an auxiliary coordinate for each data point in order to decouple the nested model into independent submodels. This decomposes the optimisation into steps that alternate between training single layers and updating the coordinates. It has the advantage that it reuses existing single-layer algorithms, introduces parallelism, and does not need to use chain-rule gradients, so it works with nondifferentiable layers. With large-scale problems, or when distributing the computation is necessary for faster training, the dataset may not fit in a single machine. It is then essential to limit the amount of communication between machines so it does not obliterate the benefit of parallelism. We describe a general way to achieve this, ParMAC. ParMAC works on a cluster of processing machines with a circular topology and alternates two steps until convergence: one step trains the submodels in parallel using stochastic updates, and the other trains the coordinates in parallel. Only submodel parameters, no data or coordinates, are ever communicated between machines. ParMAC exhibits high parallelism, low communication overhead, and facilitates data shuffling, load balancing, fault tolerance and streaming data processing. We study the convergence of ParMAC and propose a theoretical model of its runtime and parallel speedup. We develop ParMAC to learn binary autoencoders for fast, approximate image retrieval. We implement it in MPI in a distributed system and demonstrate nearly perfect speedups in a 128-processor cluster with a training set of 100 million high-dimensional points.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑