Mixed-precision conjugate gradient algorithm using the groupwise update strategy

被引:0
|
作者
Aihara, Kensuke [1 ]
Ozaki, Katsuhisa [2 ]
Mukunoki, Daichi [3 ]
机构
[1] Tokyo City Univ, Dept Comp Sci, 1-28-1 Tamazutsumi,Setagaya Ku, Tokyo 1588557, Japan
[2] Shibaura Inst Technol, Dept Math Sci, 307 Fukasaku,Minuma Ku, Saitama 3378570, Japan
[3] RIKEN Ctr Computat Sci, 7-1-26 Minatojima Minami Machi,Chuo Ku, Kobe, Hyogo 6500047, Japan
基金
日本学术振兴会;
关键词
Linear systems; Conjugate gradient method; Groupwise update; Mixed-precision arithmetic; Double-double arithmetic;
D O I
10.1007/s13160-024-00644-8
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
The conjugate gradient (CG) method is the most basic iterative solver for large sparse symmetric positive definite linear systems. In finite precision arithmetic, the residual and error norms of the CG method often stagnate owing to rounding errors. The groupwise update is a strategy to reduce the residual gap (the difference between the recursively updated and true residuals) and improve the attainable accuracy of approximations. However, when there is a severe loss of information in updating approximations, it is difficult to sufficiently reduce the true residual and error norms. To overcome this problem, we propose a mixed-precision algorithm of the CG method using the groupwise update strategy. In particular, we perform the underlying CG iterations with the standard double-precision arithmetic and compute the groupwise update with high-precision arithmetic. This approach prevents a loss of information and efficiently avoids stagnation. Numerical experiments using double-double arithmetic demonstrate that the proposed algorithm significantly improves the accuracy of the approximate solutions with a small overhead of computation time. The presented approach can be used in other related solvers as well.
引用
收藏
页码:837 / 855
页数:19
相关论文
共 50 条
  • [1] Mixed-precision conjugate gradient algorithm using the groupwise update strategy
    Kensuke Aihara
    Katsuhisa Ozaki
    Daichi Mukunoki
    [J]. Japan Journal of Industrial and Applied Mathematics, 2024, 41 : 837 - 855
  • [2] COMPUTING ACCURATE EIGENVALUES USING A MIXED-PRECISION JACOBI ALGORITHM
    Higham, Nicholas J.
    Tisseur, Françoise
    Webb, Marcus
    Zhou, Zhengbo
    [J]. arXiv,
  • [3] Reduced Precision DWC: An Efficient Hardening Strategy for Mixed-Precision Architectures
    dos Santos, Fernando F.
    Brandalero, Marcelo
    Sullivan, Michael B.
    Basso, Pedro M.
    Huebner, Michael
    Carro, Luigi
    Rech, Paolo
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2022, 71 (03) : 573 - 586
  • [4] Mixed-precision pre-pivoting strategy for the LU factorization
    Sahraneshinsamani, Nima
    Catalán, Sandra
    Herrero, José R.
    [J]. Journal of Supercomputing, 2025, 81 (01):
  • [5] Mixed-Precision Sparse Approximate Inverse Preconditioning Algorithm on GPU
    Chu, Xinyue
    [J]. IEEE ACCESS, 2023, 11 : 136410 - 136421
  • [6] GradFreeBits: Gradient-Free Bit Allocation for Mixed-Precision Neural Networks
    Bodner, Benjamin Jacob
    Ben-Shalom, Gil
    Treister, Eran
    [J]. SENSORS, 2022, 22 (24)
  • [7] A novel parallel finite element procedure for nonlinear dynamic problems using GPU and mixed-precision algorithm
    Wang, Shengquan
    Wang, Chao
    Cai, Yong
    Li, Guangyao
    [J]. ENGINEERING COMPUTATIONS, 2020, 37 (06) : 2193 - 2211
  • [8] A Mixed-Precision Quantization Method without Accuracy Degradation Using Semilayers
    Matsumoto, Kengo
    Matsuda, Tomoya
    Inoue, Atsuki
    Kawaguchi, Hiroshi
    Sakai, Yasufumi
    [J]. ASIAN CONFERENCE ON MACHINE LEARNING, VOL 222, 2023, 222
  • [9] Geostatistical Modeling and Prediction Using Mixed-Precision Tile Cholesky Factorization
    Abdulah, Sameh
    Ltaief, Hatem
    Sun, Ying
    Genton, Marc G.
    Keyes, David E.
    [J]. 2019 IEEE 26TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING, DATA, AND ANALYTICS (HIPC), 2019, : 152 - 162
  • [10] Mixed precision s-step Lanczos and conjugate gradient algorithms
    Carson, Erin
    Gergelits, Tomas
    Yamazaki, Ichitaro
    [J]. NUMERICAL LINEAR ALGEBRA WITH APPLICATIONS, 2022, 29 (03)