arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.09530cs.LGcs.AIcs.NAmath.NA
收藏

学习发现迭代谱算法

Learning to Discover Iterative Spectral Algorithms

International Computer Science Institute(国际计算机科学研究所);University of California Berkeley(加州大学伯克利分校);Dartmouth College(达特茅斯学院);Lawrence Berkeley National Laboratory(伯克利国家实验室)

Zihang Liu, Oleg Balabanov, Yaoqing Yang, Michael W. Mahoney

AI总结:

介绍用于发现大规模数值线性代数和数值优化迭代谱算法的神经网络框架AutoSpec,用粗谱信息适应输入算子,预测递归系数,应用于代表性任务有显著改进,还与经典理论有联系。

摘要:

我们引入AutoSpec,一个用于为大规模数值线性代数和数值优化发现迭代谱算法的神经网络框架。我们的自监督模型使用粗略谱信息(例如特征值估计和残差范数)来适应输入算子,并预测用于计算或应用针对下游任务定制的矩阵多项式的递归系数。AutoSpec的有效性依赖于三个要素:一种推理过程实现简短、可执行的数值线性代数递归的架构;在小型合成问题上进行有效训练并转移到大规模实际算子;以及在训练集中表示的谱轮廓范围内强制实现所需近似或预处理行为的任务定义目标。我们将AutoSpec应用于发现对称正定矩阵上代表性任务的算法:加速矩阵函数近似;加速稀疏线性求解器;以及用于特征值计算的谱滤波/预处理。在实际矩阵上,相对于与谱无关的基线,学习到的过程在精度上提高了一个数量级,和/或迭代次数减少。我们发现与经典理论有明确联系:诱导多项式可能表现出切比雪夫多项式近似的等振荡行为。代码可在:这个https网址获取。

英文摘要:

We introduce AutoSpec, a neural network framework for discovering iterative spectral algorithms for large-scale numerical linear algebra and numerical optimization. Our self-supervised models adapt to input operators using coarse spectral information (e.g., eigenvalue estimates and residual norms), and predict recurrence coefficients for computing or applying a matrix polynomial tailored to a downstream task. The effectiveness of AutoSpec relies on three ingredients: an architecture whose inference pass implements short, executable numerical linear algebra recurrences; efficient training on small synthetic problems with transfer to large-scale real-world operators; and task-defined objectives that enforce the desired approximation or preconditioning behavior across the range of spectral profiles represented in the training set. We apply AutoSpec to discovering algorithms for representative tasks on spd matrices: accelerating matrix function approximation; accelerating sparse linear solvers; and spectral filtering/preconditioning for eigenvalue computations. On real-world matrices, the learned procedures deliver up to order-of-magnitude improvements in accuracy and/or reductions in iteration count, relative to spectrum-agnostic baselines. We find clear connections to classical theory: the induced polynomials may exhibit equioscillation behavior characteristic of Chebyshev polynomial approximation. The code is available at: https://github.com/zihanghliu/AutoSpec .

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

↑