Factorization-in-Loop: Proximal Fill-in Minimization for Sparse Matrix Reordering
Ziwei Li, Shuzi Niu, Tao Yuan, Huiyuan Li, Wenjia Wu
Abstract
Fill-ins are new nonzero elements in the summation of the upper and lower triangular factors generated during LU factorization. For large sparse matrices, they will increase the memory usage and computational time, and be reduced through proper row or column arrangement, namely matrix reordering. Finding a row or column permutation with the minimal fill-ins is NP-hard, and surrogate objectives are designed to derive fill-in reduction permutations or learn a reordering function. However, there is no theoretical guarantee between the golden criterion and these surrogate objectives. Here we propose to learn a reordering network by minimizing l1 norm of triangular factors of the reordered matrix to approximate the exact number of fill-ins. The reordering network utilizes a graph encoder to predict row or column node scores. For inference, it is easy and fast to derive the permutation from sorting algorithms for matrices. For gradient based optimization, there is a large gap between the predicted node scores and resultant triangular factors in the optimization objective. To bridge the gap, we first design two reparameterization techniques to obtain the permutation matrix from node scores. The matrix is reordered by multiplying the permutation matrix. Then we introduce the factorization process into the objective function to arrive at target triangular factors. The overall objective function is optimized with the alternating direction method of multipliers and proximal gradient descent. Experimental results on benchmark sparse matrix collection SuiteSparse show the fill-in number and LU factorization time reduction of our proposed method is 20% and 17.8% compared with state-of-the-art baselines.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itRelated papers
- A Fast Minimum Degree Algorithm and Matching Lower BoundRobert Cummings, Matthew Fahrbach, Animesh FatehpuriaSODA 2021 · 1 citation
- NeuKron: Constant-Size Lossy Compression of Sparse Reorderable Matrices and TensorsTaehyung Kwon, Jihoon Ko, Jinhong Jung, Kijung ShinWWW 2023 · 11 citations
- Learning Algebraic Multigrid Using Graph Neural NetworksIlay Luz, Meirav Galun, Haggai Maron, Ronen Basri et al.ICML 2020 · 95 citations
- STM-multifrontal QR: streaming task mapping multifrontal QR factorization empowered by GCNShengle Lin, Wangdong Yang, Haotian Wang, Qinyun Tsai et al.SC 2021 · 5 citations
- Optimization-Based Algebraic Multigrid Coarsening Using Reinforcement LearningAli Taghibakhshi, Scott P. MacLachlan, Luke N. Olson, Matthew WestNeurIPS 2021 · 43 citations
