arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.17403cs.LG
收藏

稀疏矩阵重新排序的自监督学习

Self-Supervised Learning for Sparse Matrix Reordering

Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学)

Ziwei Li, Tao Yuan, Fangfang Liu, Shuzi Niu, Huiyuan Li, Wenjia Wu

AI总结:

本文提出了一种自监督学习方法,通过多网格图网络捕捉结构信息,基于不等式推导三元组采样策略,并引入端最大链损失函数以减少不满足不等式的三元组数量,从而在稀疏矩阵重新排序中实现填充分离减少和LU分解时间加速。

摘要:

使用适当顺序重新排列稀疏矩阵可以显著减少填充分离,即矩阵分解过程中引入的新非零元素,从而减少内存使用和运行时间。然而,找到最小化填充分离的顺序是NP难问题。现有方法,包括图论和深度学习方法,依赖于替代目标函数而没有理论保证。填充分离定理揭示了填充分离生成与矩阵稀疏结构之间的直接内在关系,即路径三元组不等式。本文首先使用多网格图网络来捕获每个顶点的结构信息。然后基于不等式推导出三元组采样策略。最后,我们引入端最大链损失函数以减少预测分数满足这些不等式的三元组数量。在公开可用的SuiteSparse矩阵集合上的实验评估表明,所提出的方法在填充分离减少和LU分解时间加速方面均优于现有方法。

英文摘要:

Rearranging the rows or columns of a sparse matrix using an appropriate ordering can significantly reduce fill-ins, i.e., new nonzeros introduced during matrix factorization, decreasing memory usage and runtime. However, finding an ordering that minimizes fill-ins is NP-complete. Existing approaches, including graph-theoretic and deep learning methods, rely on surrogate objectives without theoretical guarantees. The Fill-Path Theorem reveals a direct and intrinsic relationship between fill-in generation and the sparse structure of the matrix as path triplet inequalities. Here we first employ a multigrid graph network to capture structural information for each vertex. We then derive a triplet sampling strategy based on inequalities. Finally, we introduce an end-max chain loss function to reduce the number of triplets whose predicted scores satisfy these inequalities. Experimental evaluations on the publicly available SuiteSparse matrix collection demonstrate the superiority of the proposed method in terms of both fill-in reduction and speedup in LU factorization time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑