Data-enabled reduction of the time complexity of iterative solvers

IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Journal of Computational Physics Pub Date : 2025-02-21 DOI:10.1016/j.jcp.2025.113859
Yuanwei Bin , Xiang I.A. Yang , Samuel J. Grauer , Robert F. Kunz
{"title":"Data-enabled reduction of the time complexity of iterative solvers","authors":"Yuanwei Bin ,&nbsp;Xiang I.A. Yang ,&nbsp;Samuel J. Grauer ,&nbsp;Robert F. Kunz","doi":"10.1016/j.jcp.2025.113859","DOIUrl":null,"url":null,"abstract":"<div><div>In the field of scientific computing, complex matrices arise from Laplace, Burgers, Kuramoto-Sivashinsky, and Allen-Cahn equations that are not necessarily symmetric positive definite. Computational fluid dynamics, in particular, often deals with pressure Poisson equation. For iterative solvers, time complexity is one of the most critical properties, if not the most critical. Its notation is <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>N</mi></mrow><mrow><mi>α</mi></mrow></msup><mo>)</mo></math></span> with <em>N</em> denoting the size of the discretized system and <em>α</em> the scaling exponent. This property indicates how an iterative method's performance scales with the size of the discretized system. Due to the large size of systems in today's scientific computing, methods with lower time complexity are almost always preferred over those with higher time complexity, regardless of the prefactor. This emphasis on time complexity reveals a significant gap in the literature: although the integration of data-enabled methodologies in scientific computing has led to the developments of convergence accelerators and the observation of a speedup of O(10) or so, the reported reductions in cost predominantly concern the prefactor rather than the time complexity. This paper aims to explore reduction in time complexity. The accelerator developed in this paper involves projecting the intermediate solution, which is otherwise only used to assess the residual in the baseline iterative method, onto a low-dimensional Hilbert subspace and directly solving the discretized system there. The solver alternates between the baseline iterative method and the accelerator. Our scaling analysis, which is usually not possible for data-based methods, shows a <span><math><mi>O</mi><mo>(</mo><msub><mrow><mi>N</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>)</mo></math></span> reduction in the time complexity for <span><math><msubsup><mrow><mi>N</mi></mrow><mrow><mi>i</mi></mrow><mrow><mi>d</mi></mrow></msubsup></math></span>-sized problems in <em>d</em>-dimensional space. Here, <span><math><msub><mrow><mi>N</mi></mrow><mrow><mi>i</mi></mrow></msub></math></span> is the number of grids in each dimension, and the system size is <span><math><mi>N</mi><mo>=</mo><msubsup><mrow><mi>N</mi></mrow><mrow><mi>i</mi></mrow><mrow><mi>d</mi></mrow></msubsup></math></span>. Consolidated by tests up to 10<sup>9</sup> degrees of freedom, the present method is shown to offer increasingly more acceleration as the problem size increases, up to 200 times speedup for systems of size 10<sup>9</sup>. Moreover, we demonstrate that the accelerator remains effective for highly nonlinear equations and unstructured grids, yielding similar speedup as for Poisson equation.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"529 ","pages":"Article 113859"},"PeriodicalIF":3.8000,"publicationDate":"2025-02-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computational Physics","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0021999125001421","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

In the field of scientific computing, complex matrices arise from Laplace, Burgers, Kuramoto-Sivashinsky, and Allen-Cahn equations that are not necessarily symmetric positive definite. Computational fluid dynamics, in particular, often deals with pressure Poisson equation. For iterative solvers, time complexity is one of the most critical properties, if not the most critical. Its notation is O(Nα) with N denoting the size of the discretized system and α the scaling exponent. This property indicates how an iterative method's performance scales with the size of the discretized system. Due to the large size of systems in today's scientific computing, methods with lower time complexity are almost always preferred over those with higher time complexity, regardless of the prefactor. This emphasis on time complexity reveals a significant gap in the literature: although the integration of data-enabled methodologies in scientific computing has led to the developments of convergence accelerators and the observation of a speedup of O(10) or so, the reported reductions in cost predominantly concern the prefactor rather than the time complexity. This paper aims to explore reduction in time complexity. The accelerator developed in this paper involves projecting the intermediate solution, which is otherwise only used to assess the residual in the baseline iterative method, onto a low-dimensional Hilbert subspace and directly solving the discretized system there. The solver alternates between the baseline iterative method and the accelerator. Our scaling analysis, which is usually not possible for data-based methods, shows a O(Ni) reduction in the time complexity for Nid-sized problems in d-dimensional space. Here, Ni is the number of grids in each dimension, and the system size is N=Nid. Consolidated by tests up to 109 degrees of freedom, the present method is shown to offer increasingly more acceleration as the problem size increases, up to 200 times speedup for systems of size 109. Moreover, we demonstrate that the accelerator remains effective for highly nonlinear equations and unstructured grids, yielding similar speedup as for Poisson equation.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
通过数据降低迭代求解器的时间复杂度
在科学计算领域,复杂矩阵来自拉普拉斯方程、Burgers方程、Kuramoto-Sivashinsky方程和Allen-Cahn方程,这些方程不一定是对称正定的。特别是计算流体动力学,经常处理压力泊松方程。对于迭代求解器,时间复杂度是最关键的性质之一,如果不是最关键的。其符号为O(Nα),其中N表示离散系统的大小,α表示标度指数。这一特性表明迭代方法的性能如何随离散系统的大小而变化。在当今的科学计算中,由于系统规模庞大,无论前因子如何,时间复杂度较低的方法几乎总是优于时间复杂度较高的方法。这种对时间复杂性的强调揭示了文献中的一个重大差距:尽管科学计算中数据支持方法的集成导致了收敛加速器的发展,并且观察到0(10)左右的加速,但报告的成本降低主要涉及前因子而不是时间复杂性。本文旨在探讨时间复杂度的降低。本文开发的加速器将中间解投影到一个低维Hilbert子空间上,直接求解该低维Hilbert子空间中的离散系统,而中间解在基线迭代法中仅用于评估残差。求解器在基线迭代法和加速器法之间交替进行。我们的缩放分析显示,在d维空间中,对于中等规模的问题,时间复杂度降低了0 (Ni),这对于基于数据的方法通常是不可能的。这里,Ni为每个维度的网格数,系统大小为N=Nid。通过高达109个自由度的测试,本方法显示出随着问题规模的增加,提供越来越多的加速,对于规模为109的系统,加速可达200倍。此外,我们证明了加速器对高度非线性方程和非结构化网格仍然有效,产生与泊松方程相似的加速。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Journal of Computational Physics
Journal of Computational Physics 物理-计算机:跨学科应用
CiteScore
7.60
自引率
14.60%
发文量
763
审稿时长
5.8 months
期刊介绍: Journal of Computational Physics thoroughly treats the computational aspects of physical problems, presenting techniques for the numerical solution of mathematical equations arising in all areas of physics. The journal seeks to emphasize methods that cross disciplinary boundaries. The Journal of Computational Physics also publishes short notes of 4 pages or less (including figures, tables, and references but excluding title pages). Letters to the Editor commenting on articles already published in this Journal will also be considered. Neither notes nor letters should have an abstract.
期刊最新文献
A Central Differential flux with high-Order dissipation for robust simulations of transcritical flows High-order empirical interpolation methods for real-time solution of parametrized nonlinear PDEs Smoothed particle-mesh hydrodynamics (SPMH) for fluid-structure interactions involving thin structures Higher order stray field computation on tensor product domains Simultaneous reconstruction of the trajectories and strengths for moving acoustic point sources
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1