arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.22984cond-mat.dis-nncond-mat.stat-mechcs.LG
收藏

可扩展的物理启发式Transformer用于自旋玻璃

Scalable Physics-Inspired Transformers for Spin Glasses

Institute of Fundamental and Frontier Sciences, University of Electronic Science and Technology of China(基础与前沿科学研究院,电子科技大学);School of Physical Science and Technology, Beijing University of Posts and Telecommunications(物理科学与技术学院,北京邮电大学);Institute of Theoretical Physics, Chinese Academy of Sciences(理论物理研究所,中国科学院);School of Fundamental Physics and Mathematical Sciences, Hangzhou Institute for Advanced Study, UCAS(基础物理与数学科学学院,杭州先进研究院,UCAS);School of Physics, University of Electronic Science and Technology of China(物理学院,电子科技大学);Key Laboratory of Quantum Physics and Photonic Quantum Information, Ministry of Education, University of Electronic Science and Technology of China(量子物理与光量子信息重点实验室,教育部,电子科技大学);Non-classical Information Science Basic Discipline Research Center of Sichuan Province, University of Electronic Science and Technology of China(四川省非经典信息科学基础学科研究中心,电子科技大学)

Lu Zhong, Wenli Duan, Jing Liu, Pan Zhang, Ying Tang

AI总结:

针对受阻自旋玻璃中玻尔兹曼分布采样效率低的问题,提出一种具有可解释稀疏注意力和自旋定制位置嵌入的物理启发式Transformer,利用FlashAttention实现并行祖先采样,在单GPU上实现前所未有的系统规模模拟,并解决现有方法在特定温度下的局限性。

摘要:

在受阻自旋玻璃中高效采样玻尔兹曼分布是统计力学和组合优化的核心问题。尽管基于机器学习的方法取得了进展,但仍存在两个问题:对变分模型为何不能像大语言模型的单调缩放律那样从规模扩大中受益的理解有限;以及在大系统上的高计算成本抵消了相对于经典采样方法的优势。在此,我们开发了一种具有可解释稀疏注意力和自旋定制位置嵌入的物理启发式Transformer来应对这些挑战。通过进一步利用FlashAttention进行并行祖先采样,它比普通变分自回归网络实现了高达两个数量级的加速,使得在单个GPU上能够对前所未有的规模的自旋玻璃系统进行神经网络模拟。它可以解析不同温度下的完整概率分布、自由能和重叠统计量,适用于Sherrington-Kirkpatrick模型以及二维或三维Edwards-Anderson模型,而现有的机器学习方法在某些温度下会遇到限制。因此,该框架为受阻自旋玻璃系统建立了一种可扩展的范式。

英文摘要:

Efficient sampling of the Boltzmann distribution in frustrated spin glasses is central to statistical mechanics and combinatorial optimization. Despite advances in machine-learning-based approaches, two issues persist: limited understanding of why variational models fail to benefit from increased scale, unlike the monotonic scaling law of large language models; and high computational cost on large systems that negates advantages over classical sampling methods. Here, we develop a physics-inspired transformer with interpretable sparse attention and spin-tailored positional embeddings to address these challenges. By further leveraging FlashAttention for parallel ancestral sampling, it achieves up to two orders of magnitude speedup over vanilla variational autoregressive networks, enabling neural-network simulations of spin-glass systems to unprecedented sizes on a single GPU. It can resolve full probability distributions, free energies, and overlap statistics across temperatures, for Sherrington-Kirkpatrick and 2D or 3D Edwards-Anderson models, where existing machine-learning methods encounter limitations at certain temperatures. This framework thus establishes a scalable paradigm for frustrated spin-glass systems.

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

↑