面向生成式AI流程的矩阵指数优化:超越Paterson–Stockmeyer的Taylor方法
Improving Matrix Exponential for Generative AI Flows: A Taylor-Based Approach Beyond Paterson--Stockmeyer
该论文提出一种面向生成式AI高吞吐需求的优化Taylor矩阵指数算法,并给出严格误差分析与Taylor阶数、缩放因子的动态选择策略,以在给定误差容限下最小化计算量。大量数值实验显示,相比现有先进实现,该方法显著加速并保持高数值稳定性。
arXiv:2512.20777v3 Announce Type: replace Abstract: The matrix exponential is a fundamental operator in scientific computing and system simulation, with applications ranging from control theory and quantum mechanics to modern generative machine learning. While Pad\'e approximants combined with scaling and squaring have long served as the standard, recent Taylor-based methods, which utilize polynomial evaluation schemes that surpass the classical Paterson--Stockmeyer technique, offer superior accuracy and reduced computational complexity. This paper presents an optimized Taylor-based algorithm for the matrix exponential, specifically designed for the high-throughput requirements of generative AI flows. We provide a rigorous error analysis and develop a dynamic selection strategy for the Taylor order and scaling factor to minimize computational effort under a prescribed error tolerance. Extensive numerical experiments demonstrate that our approach provides significant acceleration and maintains high numerical stability compared to existing state-of-the-art implementations. These results establish the proposed method as a highly efficient tool for large-scale generative modeling.
来源:arXiv (AI + Vision + Imaging) · arxiv.org