Parameter optimization for restarted mixed precision iterative sparse solver
Alexander V. Prolubnikov

TL;DR
This paper presents a method to optimize precision switching in a mixed-precision conjugate gradient solver for sparse linear systems, reducing computation time by over 17% through matrix classification and feature-based prediction.
Contribution
It introduces a novel approach using sparsity graph diameter and machine learning classification to determine optimal precision switching in iterative solvers.
Findings
Achieves over 17% reduction in computational complexity on average.
Uses matrix features and k-nearest neighbors for precision optimization.
Introduces the sparsity graph diameter as a new predictive feature.
Abstract
The problem of optimal precision switching for the conjugate gradient (CG) method applied to sparse linear systems is considered. A sparse matrix is defined as an matrix with nonzero entries. The algorithm first computes an approximate solution in single precision with tolerance , then switches to double precision to refine the solution to the required stopping tolerance . Based on estimates of system matrix parameters -- computed in time which does not exceed of the time needed to solve the system in double precision -- we determine the optimal value of that minimizes total computation time. This value is obtained by classifying the matrix using the -nearest neighbors method on a small precomputed sample. Classification relies on a feature vector comprising: the matrix size , the number of nonzeros…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptical Systems and Laser Technology · Image and Signal Denoising Methods · Numerical methods in inverse problems
