English

Estimating condition number with Graph Neural Networks

Machine Learning 2026-03-17 v2 Numerical Analysis Numerical Analysis

Abstract

For large sparse matrices, we almost never compute the condition number exactly because that would require computing the full SVD or full eigenvalue decompositionIn this paper, we propose a fast method for estimating the condition number of sparse matrices using graph neural networks (GNNs). To enable efficient training and inference of GNNs, our proposed feature engineering for GNNs achieves O(nnz+n)\mathrm{O}(\mathrm{nnz} + n), where nnz\mathrm{nnz} is the number of non-zero elements in the matrix and nn denotes the matrix dimension. We propose two prediction schemes for estimating the matrix condition number using GNNs. One follows by decomposing the condition number and predicts the relatively more computationally intensive part A1\|\mathbf{A}^{-1}\|, while the other is to predict the whole condition number κ\kappa. Our approach can be extended to an arbitrary norm. The extensive experiments for the two schemes are conducted for 1-norm and 2-norm condition number estimation, which show that our method achieves a significant speedup over the traditional numerical estimation methods.

Keywords

Cite

@article{arxiv.2603.10277,
  title  = {Estimating condition number with Graph Neural Networks},
  author = {Erin Carson and Xinye Chen},
  journal= {arXiv preprint arXiv:2603.10277},
  year   = {2026}
}
R2 v1 2026-07-01T11:13:56.952Z