ZEUS:一种整合PSO、BFGS和自动微分的高效GPU优化方法
ZEUS: An Efficient GPU Optimization Method Integrating PSO, BFGS, and Automatic Differentiation
AI总结:
本文提出ZEUS方法,结合PSO、BFGS和自动微分,利用GPU加速高维非凸优化,通过PSO生成初始点,BFGS并行优化,自动微分避免手动求导,实验验证其有效性。
摘要:
我们介绍了一种新的高效计算方法ZEUS用于数值优化,并提供开源实现。其四个关键组成部分包括粒子群优化(PSO)、Broyden-Fletcher-Goldfarb-Shanno(BFGS)方法、自动微分(AD)和GPU。该方法解决了高维非凸优化问题中的计算挑战。算法第一阶段通过PSO获取潜在良好的初始点集,随后从这些初始点并行运行BFGS。BFGS是数值优化中表现最好的算法之一,但需要被优化函数的梯度。ZEUS通过将自动微分整合到BFGS中,从而避免用户手动计算导数。GPU的使用使ZEUS能够显著加速计算。我们进行了系统研究,探讨PSO迭代次数、初始点和BFGS迭代深度之间的权衡。我们证明,少量PSO迭代结合BFGS可提高全局收敛性。我们还使用常见测试函数进行了性能研究。源代码可在https://github.com/fnal-numerics/global-optimizer-gpu找到。
英文摘要:
We introduce a novel, efficient computational method, ZEUS, for numerical optimization, and provide an open-source implementation. It has four key ingredients: (1) particle swarm optimization (PSO), (2) the use of the Broyden-Fletcher-Goldfarb-Shanno (BFGS) method, (3) automatic differentiation (AD), and (4) GPUs. Our approach addresses the computational challenges inherent in high-dimensional, non-convex optimization problems. In the first phase of the algorithm, we get a potentially good set of starting points using PSO. Thereafter, we run BFGS independently in parallel from these starting points. BFGS is one of the best-performing algorithms for numerical optimization. However, it requires the gradient of the function being optimized. ZEUS integrates automatic differentiation into BFGS thus avoiding the need for the user to calculate derivatives explicitly. The use of GPUs allows ZEUS to speed up the calculations substantially. We carry out systematic studies to explore the trade-offs between the number of PSO iterations taken, starting points, and BFGS iteration depth. We show that a handful of iterations of PSO can improve global convergence when combined with BFGS. We also present performance studies using common test functions. The source code can be found at https://github.com/fnal-numerics/global-optimizer-gpu.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。