arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2003.05324cs.DC
收藏

基于混合精度分块Cholesky分解的地质统计建模与预测

Geostatistical Modeling and Prediction Using Mixed-Precision Tile Cholesky Factorization

Sameh Abdulah, Hatem Ltaief, Ying Sun, Marc G. Genton, David E. Keyes

摘要:

地质统计学代表了科学应用中最具挑战性的类别之一,因为希望将越来越多的地理空间位置纳入准确建模和预测环境现象。例如,高斯对数似然函数的评估,这构成了主要的计算阶段,涉及到求解具有大的密集对称和正定协方差矩阵的线性方程组。标准算法Cholesky需要O(n^3)个浮点运算符,并且具有O(n^2)个内存占用,其中n是地理位置的数量。在这里,我们提出了一个混合精度瓦片算法,以加速Cholesky分解过程中的对数似然函数的评估。在适当的排序下,它在对角线周围的瓦片上使用双精度运算,而在足够远的瓦片上减少到单精度运算。这转化为性能的改善,而不会降低应用程序的数值精度。我们依靠StarPU动态运行时系统来调度任务,并将它们与数据移动重叠。为了评估所提出的混合精度算法的性能和准确性,我们在可能配备硬件加速器的各种共享和分布式内存系统上使用合成和真实数据集。我们比较我们的混合精度Cholesky分解对双精度参考实现以及独立的块近似方法。我们在大规模并行架构上获得了平均1.6倍的性能加速,同时保持了建模和预测所需的准确性。

英文摘要:

Geostatistics represents one of the most challenging classes of scientific applications due to the desire to incorporate an ever increasing number of geospatial locations to accurately model and predict environmental phenomena. For example, the evaluation of the Gaussian log-likelihood function, which constitutes the main computational phase, involves solving systems of linear equations with a large dense symmetric and positive definite covariance matrix. Cholesky, the standard algorithm, requires O(n^3) floating point operators and has an O(n^2) memory footprint, where n is the number of geographical locations. Here, we present a mixed-precision tile algorithm to accelerate the Cholesky factorization during the log-likelihood function evaluation. Under an appropriate ordering, it operates with double-precision arithmetic on tiles around the diagonal, while reducing to single-precision arithmetic for tiles sufficiently far off. This translates into an improvement of the performance without any deterioration of the numerical accuracy of the application. We rely on the StarPU dynamic runtime system to schedule the tasks and to overlap them with data movement. To assess the performance and the accuracy of the proposed mixed-precision algorithm, we use synthetic and real datasets on various shared and distributed-memory systems possibly equipped with hardware accelerators. We compare our mixed-precision Cholesky factorization against the double-precision reference implementation as well as an independent block approximation method. We obtain an average of 1.6X performance speedup on massively parallel architectures while maintaining the accuracy necessary for modeling and prediction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑