PASSCoDe:并行同步随机双坐标下降
PASSCoDe: Parallel ASynchronous Stochastic dual Co-ordinate Descent
摘要:
随机双坐标下降(SDCD)已成为解决$\ell_2$ -正则化经验风险最小化问题族的最有效方法之一,包括线性SVM、逻辑回归等。DCD的普通实现非常慢;然而,通过在更新对偶变量的同时维护原始变量,可以显著降低SDCD的时间复杂度。这种策略形成了广泛使用的LIBLINEAR包中的核心算法。在本文中,我们并行化的SDCD算法在LIBLINEAR。在最近的研究中,已经提出了几种同步并行SDCD算法,然而,他们未能实现良好的加速比在共享内存多核设置。本文提出了一类异步随机对偶坐标下降算法(ASDCD)。每个线程重复选择一个随机的对偶变量,并使用存储在共享内存中的原始变量进行坐标更新。我们分析了不同的锁定/原子机制时的收敛特性。对于原子操作的实现,我们在温和的条件下线性收敛。对于没有任何原子操作或锁定的实现,我们提出了第一个{ \it向后误差分析}的ASDCD在多核环境下,显示收敛的解决方案是一个原始问题的精确解扰动正则化。实验结果表明,我们的方法比以前的并行坐标下降求解器快得多。
英文摘要:
Stochastic Dual Coordinate Descent (SDCD) has become one of the most efficient ways to solve the family of $\ell_2$-regularized empirical risk minimization problems, including linear SVM, logistic regression, and many others. The vanilla implementation of DCD is quite slow; however, by maintaining primal variables while updating dual variables, the time complexity of SDCD can be significantly reduced. Such a strategy forms the core algorithm in the widely-used LIBLINEAR package. In this paper, we parallelize the SDCD algorithms in LIBLINEAR. In recent research, several synchronized parallel SDCD algorithms have been proposed, however, they fail to achieve good speedup in the shared memory multi-core setting. In this paper, we propose a family of asynchronous stochastic dual coordinate descent algorithms (ASDCD). Each thread repeatedly selects a random dual variable and conducts coordinate updates using the primal variables that are stored in the shared memory. We analyze the convergence properties when different locking/atomic mechanisms are applied. For implementation with atomic operations, we show linear convergence under mild conditions. For implementation without any atomic operations or locking, we present the first {\it backward error analysis} for ASDCD under the multi-core environment, showing that the converged solution is the exact solution for a primal problem with perturbed regularizer. Experimental results show that our methods are much faster than previous parallel coordinate descent solvers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。