The Twin Conjugate Gradient Method for Multiple Right-hand Sides

A simple and effective way is given for solving large symmetric systems of linear equations with multiple right-hand sides. The same coefficients developed by the conjugate gradient method for the first right-hand side are used for the other systems. This makes the polynomials underlying the conjugate gradient method be the same for all the right-hand sides. Because of this shared property, this approach is called ``twin". It gives a dramatic reduction in dot products. Compared to the first, the second and subsequent systems have different roundoff error properties. They can have instability spikes in their residual norm curves, but remarkably, roundoff error corrects this. The corresponding Lanczos iteration creates extra copies of outstanding eigenvalues that bring down the spikes. For matrices with many outstanding eigenvalues, additional stability control may be needed and several fixes are given. In particular, a very successful approach is to apply the Global conjugate gradient method to a few right-hand sides to generate the coefficients for the others. Finally, seed type deflation is added in order to reduce matrix-vector products.

Authors

Publication Details

Journal
arXiv
Published
2026-11-30
Primary Topic
Matrix Theory and Algorithms
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

The Twin Conjugate Gradient Method for Multiple Right-hand Sides

Ishara Saparamadu, Ronald B. Morgan, Nikki Herre, Abby Williams
arXiv
Matrix Theory and Algorithms
preprint

The Twin Conjugate Gradient Method for Multiple Right-hand Sides

Ishara Saparamadu, Ronald B. Morgan, Nikki Herre, Abby Williams
preprint en

Abstract

A simple and effective way is given for solving large symmetric systems of linear equations with multiple right-hand sides. The same coefficients developed by the conjugate gradient method for the first right-hand side are used for the other systems. This makes the polynomials underlying the conjugate gradient method be the same for all the right-hand sides. Because of this shared property, this approach is called ``twin". It gives a dramatic reduction in dot products. Compared to the first, the second and subsequent systems have different roundoff error properties. They can have instability spikes in their residual norm curves, but remarkably, roundoff error corrects this. The corresponding Lanczos iteration creates extra copies of outstanding eigenvalues that bring down the spikes. For matrices with many outstanding eigenvalues, additional stability control may be needed and several fixes are given. In particular, a very successful approach is to apply the Global conjugate gradient method to a few right-hand sides to generate the coefficients for the others. Finally, seed type deflation is added in order to reduce matrix-vector products.

arXiv
Matrix Theory and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon