cs.LGMar 10, 2026

Estimating condition number with Graph Neural Networks

Authors: Erin CarsonXinye Chen

Organizations: Charles University · Sorbonne Université, CNRS, LIP6

Abstract

In this paper, we propose a fast method for estimating the condition number of sparse matrices using graph neural networks (GNNs). For efficient deployment of GNNs, we introduce a graph feature construction with O(nnz+n)\mathrm{O}(\mathrm{nnz} + n) complexity, where nnz\mathrm{nnz} is the number of non-zero elements in the matrix and nn denotes the matrix dimension. We propose two 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}\|, without explicitly forming the inverse, while the other is to predict the whole condition number κκ. Our approach can be extended to an arbitrary norm. Extensive experiments are conducted for the estimation of the 1-norm and 2-norm condition numbers, which show that our method achieves a significant speedup over the traditional numerical estimation methods. Our software for GNN condition number estimator is made publicly available at https://github.com/inEXASCALE/sparse-kappa.

Explore similar work

CardsList