Relative-Absolute Fusion: Rethinking Feature Extraction in Image-Based Iterative Method Selection for Solving Sparse Linear Systems
Kaiqi Zhang, Mingguan Yang, Dali Chang, Chun Chen, Yuxiang Zhang, Kexun He, Jing Zhao
TL;DR
This work targets robust selection of iterative solvers for sparse linear systems by addressing feature ambiguity in image-based representations. It introduces Relative-Absolute Fusion (RAF), a dual-feature extraction that jointly leverages relative image features and absolute numerical values to fully characterize matrices, integrated into an image-based method selection pipeline. To support learning, the authors create BMCMat, a balanced PDE-discretized dataset that mitigates SuiteSparse’s class imbalance. Empirical results on SuiteSparse and BMCMat show RAF achieving state-of-the-art selection accuracy and reducing solution times by up to 0.79 seconds, demonstrating practical gains in speed and reliability for solving sparse systems.
Abstract
Iterative method selection is crucial for solving sparse linear systems because these methods inherently lack robustness. Though image-based selection approaches have shown promise, their feature extraction techniques might encode distinct matrices into identical image representations, leading to the same selection and suboptimal method. In this paper, we introduce RAF (Relative-Absolute Fusion), an efficient feature extraction technique to enhance image-based selection approaches. By simultaneously extracting and fusing image representations as relative features with corresponding numerical values as absolute features, RAF achieves comprehensive matrix representations that prevent feature ambiguity across distinct matrices, thus improving selection accuracy and unlocking the potential of image-based selection approaches. We conducted comprehensive evaluations of RAF on SuiteSparse and our developed BMCMat (Balanced Multi-Classification Matrix dataset), demonstrating solution time reductions of 0.08s-0.29s for sparse linear systems, which is 5.86%-11.50% faster than conventional image-based selection approaches and achieves state-of-the-art (SOTA) performance. BMCMat is available at https://github.com/zkqq/BMCMat.
