Data-enabled reduction of the time complexity of iterative solvers

IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
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.
通过数据降低迭代求解器的时间复杂度
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信