可扩展的热力学二阶优化
Scalable Thermodynamic Second-order Optimization
AI总结:
针对AI训练硬件加速不足问题,提出利用热力学计算机加速K-FAC二阶优化的可扩展算法,其优势随神经元数量增加而增强,量化噪声下仍保留二阶优化益处,可大幅加速大规模视觉和图问题训练。
摘要:
许多硬件方案旨在加速AI工作负载中的推理。尽管AI模型快速训练具有巨大的社会影响,但训练的硬件加速却较少受到关注。基于物理的计算机(如热力学计算机)为解决AI训练算法中的关键原语提供了一种高效手段。在数字硬件上通常因计算不可行(例如由于昂贵的矩阵求逆)的优化器,可通过基于物理的硬件实现。本文提出一种可扩展算法,利用热力学计算机加速名为克罗内克分解近似曲率(K-FAC)的流行二阶优化器。渐近复杂度分析预测,随着每层神经元数量n的增加,该算法的优势会增强。数值实验表明,即使在显著的量化噪声下,二阶优化的益处仍可保留。最后,基于真实硬件特性,预测该算法在大规模视觉和图问题上能实现大幅加速。
英文摘要:
Many hardware proposals have aimed to accelerate inference in AI workloads. Less attention has been paid to hardware acceleration of training, despite the enormous societal impact of rapid training of AI models. Physics-based computers, such as thermodynamic computers, offer an efficient means to solve key primitives in AI training algorithms. Optimizers that normally would be computationally out-of-reach (e.g., due to expensive matrix inversions) on digital hardware could be unlocked with physics-based hardware. In this work, we propose a scalable algorithm for employing thermodynamic computers to accelerate a popular second-order optimizer called Kronecker-factored approximate curvature (K-FAC). Our asymptotic complexity analysis predicts increasing advantage with our algorithm as $n$, the number of neurons per layer, increases. Numerical experiments show that even under significant quantization noise, the benefits of second-order optimization can be preserved. Finally, we predict substantial speedups for large-scale vision and graph problems based on realistic hardware characteristics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。