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

Algebraformer:一种解决线性系统的神经方法

Algebraformer: A Neural Approach to Linear Systems

Gran Sasso Science Institute(格兰·萨索科学研究所);University of Edinburgh(爱丁堡大学)

Pietro Sittoni, Francesco Tudisco

AI总结:

针对病态线性系统求解需参数调优、预处理等问题,提出基于Transformer的Algebraformer架构,以新颖编码方案实现矩阵向量高效表示,在应用驱动任务上精度有竞争力且测试计算开销低,可降低传统科学计算流程复杂度。

摘要:

深度学习领域的近期研究为使用端到端学习模型解决经典算法任务开辟了新可能。本研究探讨求解线性系统这一基础任务,尤其关注病态线性系统。现有针对病态系统的数值方法常需仔细的参数调优、预处理或领域特定专业知识以确保准确性和稳定性。本研究提出Algebraformer,一种基于Transformer的架构,能端到端学习求解线性系统,即使面对严重病态情况也适用。该模型利用新颖的编码方案,实现矩阵和向量输入的高效表示,内存复杂度为$O(n^2)$,支持可扩展推理。我们在应用驱动的线性问题上验证其有效性,包括边界值问题谱方法中的插值任务和牛顿法加速。Algebraformer达到了有竞争力的精度,同时测试时计算开销显著降低,表明通用神经架构可有效降低传统科学计算流程的复杂度。

英文摘要:

Recent work in deep learning has opened new possibilities for solving classical algorithmic tasks using end-to-end learned models. In this work, we investigate the fundamental task of solving linear systems, particularly those that are ill-conditioned. Existing numerical methods for ill-conditioned systems often require careful parameter tuning, preconditioning, or domain-specific expertise to ensure accuracy and stability. In this work, we propose Algebraformer, a Transformer-based architecture that learns to solve linear systems end-to-end, even in the presence of severe ill-conditioning. Our model leverages a novel encoding scheme that enables efficient representation of matrix and vector inputs, with a memory complexity of $O(n^2)$, supporting scalable inference. We demonstrate its effectiveness on application-driven linear problems, including interpolation tasks from spectral methods for boundary value problems and acceleration of the Newton method. Algebraformer achieves competitive accuracy with significantly lower computational overhead at test time, demonstrating that general-purpose neural architectures can effectively reduce complexity in traditional scientific computing pipelines.

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

↑