统一优化与动力学以并行化顺序计算:并行牛顿方法的指南,以打破顺序瓶颈
Unifying Optimization and Dynamics to Parallelize Sequential Computation: A Guide to Parallel Newton Methods for Breaking Sequential Bottlenecks
AI总结:
本文提出并行牛顿方法,通过统一固定点方法,解决动态系统并行化中的效率、稳定性及收敛性问题,基于Lyapunov指数确定并行加速条件。
摘要:
大规模并行硬件(如GPU)和长序列数据使并行算法在机器学习中至关重要。然而,动态系统(如循环神经网络和马尔可夫链蒙特卡洛)被认为存在顺序瓶颈。近期研究表明,通过将动态系统重新表述为非线性方程组,可以利用牛顿方法进行并行计算。然而,这些并行牛顿方法存在效率低、不稳定和缺乏收敛保证的局限。本文通过方法论和理论贡献解决这些问题,特别是从优化角度出发。方法上,开发了可扩展且稳定的并行牛顿方法,基于拟牛顿和信赖域方法。拟牛顿方法更快且更节省内存,而信赖域方法则显著更稳定。理论上,将许多固定点方法统一到并行牛顿框架中,包括Picard和Jacobi迭代。我们建立了这些技术的线性收敛率,该速率取决于方法的近似精度和稳定性。此外,我们给出了一个精确条件,基于动态稳定性,确定并行化是否确实加速动态系统,或无法加速。具体而言,动态系统的最大Lyapunov指数的符号决定了并行牛顿方法是否快速收敛。总之,本文解锁了可扩展且稳定的并行化顺序计算方法,并为何时此类技术有效或无效提供了坚实的理论基础。本文还为希望撰写下一章的研究人员提供了并行牛顿方法的指南。
英文摘要:
Massively parallel hardware (GPUs) and long sequence data have made parallel algorithms essential for machine learning at scale. Yet dynamical systems, like recurrent neural networks and Markov chain Monte Carlo, were thought to suffer from sequential bottlenecks. Recent work showed that dynamical systems can in fact be parallelized across the sequence length by reframing their evaluation as a system of nonlinear equations, which can be solved with Newton's method using a parallel associative scan. However, these parallel Newton methods struggled with limitations, primarily inefficiency, instability, and lack of convergence guarantees. This thesis addresses these limitations with methodological and theoretical contributions, drawing particularly from optimization. Methodologically, we develop scalable and stable parallel Newton methods, based on quasi-Newton and trust-region approaches. The quasi-Newton methods are faster and more memory efficient, while the trust-region approaches are significantly more stable. Theoretically, we unify many fixed-point methods into our parallel Newton framework, including Picard and Jacobi iterations. We establish a linear convergence rate for these techniques that depends on the method's approximation accuracy and stability. Moreover, we give a precise condition, rooted in dynamical stability, that characterizes when parallelization provably accelerates a dynamical system and when it cannot. Specifically, the sign of the Largest Lyapunov Exponent of a dynamical system determines whether or not parallel Newton methods converge quickly. In sum, this thesis unlocks scalable and stable methods for parallelizing sequential computation, and provides a firm theoretical basis for when such techniques will and will not work. This thesis also serves as a guide to parallel Newton methods for researchers who want to write the next chapter in this ongoing story.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。