# FermiNet

**FermiNet**（费米子神经网络，Fermionic Neural Network）是一种深度神经网络架构，用于表示多电子原子和分子的量子波函数，并通过变分蒙特卡罗方法训练以获得高精度的基态。该架构由DeepMind与帝国理工学院（Imperial College London）的David Pfau、James S. Spencer、Alexander G. de G. Matthews和W. M. C. Foulkes在2019年的一篇arXiv论文中提出，该论文发表于Phys. Rev. Research 2, 033429 (2020)，其代码已开源发布。<sup>[1](https://github.com/google-deepmind/ferminet)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/1909.02487)</sup>

| 关键事实 | 详情 |
|---|---|
| 是什么 | 一种面向多电子系统的神经网络波函数拟设，通过变分量子蒙特卡罗（VMC）训练以最小化基态能量<sup>[1](https://github.com/google-deepmind/ferminet)</sup> |
| 原始论文 | “Ab-Initio Solution of the Many-Electron Schrödinger Equation with Deep Neural Networks”，Phys. Rev. Research 2, 033429 (2020)；arXiv提交于2019年9月5日<sup>[2](https://arxiv.org/abs/1909.02487)</sup> |
| 作者 | David Pfau、James S. Spencer、Alexander G. de G. Matthews、W. M. C. Foulkes<sup>[2](https://arxiv.org/abs/1909.02487)</sup> |
| 核心性质 | 如泡利不相容原理所要求，对电子交换满足反对称性；进入行列式的每个函数都依赖于所有电子<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup> |
| 训练数据 | 除原子位置和电荷外无需任何数据；网络通过从波函数中采样自行生成训练构型<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup> |
| 标志性成果 | 氮分子和氢链的解离曲线预测精度显著高于耦合簇方法<sup>[2](https://arxiv.org/abs/1909.02487)</sup> |
| 代码 | 开源于github.com/google-deepmind/ferminet；当前实现基于JAX，原始TensorFlow版本位于`tf`分支<sup>[1](https://github.com/google-deepmind/ferminet)</sup> |

## 所解决的问题

在量子力学中，电子系统的状态编码于波函数之中——波函数为电子位置的每一种可能构型赋予一个数值；波函数的平方给出每种构型的概率。这一构型空间极为庞大：若以每维100个点的网格表示，硅原子的构型数量就会超过宇宙中的原子总数。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>传统量子化学方法通过结构化的近似来处理这一问题，但即使采用近似程度最高的方法，最大的量子化学计算也只能处理数万个电子，而经典分子动力学可以处理数百万个原子。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>

电子还带来一个特殊约束。电子是费米子，因此其波函数必须满足反对称性：交换两个电子的位置会使波函数乘以−1，而在同一点找到两个电子的概率为零（泡利不相容原理）。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>大多数量子化学方法通过行列式来施加这一反对称性：交换两个电子时，行列式的行发生交换，其值变号；标准构造是斯莱特行列式（Slater determinant）。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>

## 架构

FermiNet是一个在构造上即满足反对称性的神经网络。它为每个电子维护独立的信息流，而送入最终行列式的每个函数都是所有电子的函数，而非仅一两个电子的函数，远远超越了传统单电子和双电子轨道构造。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>为了让各信息流之间能够通信，同时保持反对称性所需的对称性，每一层都将信息在所有流之间取平均，再传递给下一层的每个流，这一机制类似于图神经网络聚合信息的方式。FermiNet还为每对电子设有信息流，其信息会被传回单电子流。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>

与斯莱特行列式不同，当网络层足够宽时，FermiNet是一个通用函数逼近器，这意味着一个正确训练的网络原则上可以拟合薛定谔方程的近乎精确解。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>这种通用性后来得到了形式化证明：2022年的一篇论文表明，FermiNet在单行列式下即具有通用逼近能力，给定足够参数即可表示任意反对称函数。<sup>[4](https://arxiv.org/abs/2205.13205)</sup>

## 通过变分蒙特卡罗训练

FermiNet通过最小化系统能量来拟合，能量以变分量子蒙特卡罗方法近似计算——该方法可追溯至20世纪60年代，历来被认为计算廉价但精度不高。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>从波函数本身随机抽取电子构型（在VMC术语中称为“行走子”；参考实现对锂原子使用1024个行走子的批次），在每个构型处计算局域能量，然后最小化平均估计值。<sup>[1](https://github.com/google-deepmind/ferminet)</sup><sup> • </sup><sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>由于样本来自正在训练的波函数，输入由网络自身生成：除原子核位置外无需任何训练数据。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>用FermiNet替换传统VMC中简单的斯莱特行列式波函数，显著提升了该方法在所考察的每个系统上的精度。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>

## 结果与应用

**分子精度。** 原始论文仅以原子位置和电荷为输入，计算了氮分子和氢链的解离曲线——两者均为困难的强关联系统——精度远优于耦合簇方法，后者通常被视为在平衡几何构型下可扩展的量子化学方法中最为精确的。<sup>[2](https://arxiv.org/abs/1909.02487)</sup>对于H4方形等非平衡系统，FermiNet优于CCSD(T)，达到了与精确全组态相互作用计算相近的几何构型，同时扩展性优于FCI。<sup>[5](https://onlinelibrary.wiley.com/doi/pdfdirect/10.1002/adma.202402369)</sup>据DeepMind称，FermiNet首次展示了深度学习可以从第一性原理出发计算原子和分子能量，且精度足以使结果具有实际用途。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>

**扩展性与速度。** Spencer、Pfau、Botev和Foulkes在2020年的后续工作中用JAX重新实现了FermiNet并简化了部分网络结构，将训练大型系统所需的GPU小时数降低了一个数量级；使用更大的网络，该方法在氩这样大的原子上达到了化学精度。<sup>[6](https://arxiv.org/abs/2011.07125)</sup>主要计算瓶颈是行列式求值，其计算量随电子数N按O(N³)增长，一篇综述文稿指出，大型系统中行列式求值的计算量按O(N⁴)增长；这一巨大的计算开销是扩展到更大分子的公认限制。<sup>[7](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.130.036401)</sup><sup> • </sup><sup>[8](https://openreview.net/pdf/4913cf1300eeef3f4bb58ffbbdc48a23be578f96.pdf)</sup>

**相变与固体。** 应用于均匀电子气时，FermiNet以高精度学习了气相和维格纳晶体态的波函数，而无需任何指示波函数应局域化还是弥散化的手工特征，表明它能够独立发现量子相变。<sup>[7](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.130.036401)</sup>扩展工作已将这一架构推广到周期性固体：一种类似FermiNet并带有周期性边界条件的架构，在氢链、石墨烯、氢化锂晶体和均匀电子气上重现了总能量、解离曲线和内聚能，水平与传统从头算方法相当。<sup>[9](https://www.nature.com/articles/s41467-022-35627-1)</sup>将FermiNet与有效核势（用半局域势项替换内层核心电子）相结合，使得对3d过渡金属原子及其一氧化物的基态能量计算成为可能，而这些对原始FermiNet而言颇具挑战。<sup>[10](https://arxiv.org/abs/2108.11661)</sup>

**超流体与正电子。** 对于幺正费米气体，2024年《物理评论X》的一项研究发现了原始拟设的关键局限，并提出了一种AGPs（反对称孪对幂单重态）修改，在配对系统中显著优于原始FermiNet，结果比固定节点扩散蒙特卡罗更精确且与实验一致；该修改仅改变反对称化方式，是使用更少参数的原始架构的严格推广。<sup>[11](https://journals.aps.org/prx/pdf/10.1103/PhysRevX.14.021030)</sup>FermiNet波函数不依赖于基组，也已被应用于正电子化学，用逐物种层权重替代了原始设计中共享的自旋向上/自旋向下权重。<sup>[12](https://pmc.ncbi.nlm.nih.gov/articles/PMC11189582/)</sup>

## 激发态与Psiformer

FermiNet最初针对基态，即给定原子核集合下的最低能量电子构型。2024年8月，该团队在《科学》杂志上发表了一种针对激发态的方法（Pfau、Axelrod、Sutterud、von Glehn和Spencer，Science 385, eadn0137），解决了分子在光或热激发下如何跃迁进出激发态的问题；在同时激发两个电子的系统上，该方法与迄今计算要求最高的计算结果相差约0.1 eV以内。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>

该团队的后续架构Psiformer，用多头自注意力层替代了FermiNet的逐流消息传递，从而更灵活地处理电子-电子依赖性；在较大分子上，其基态能量比FermiNet改善了数十kcal/mol，DeepMind报告称它仍是迄今为止最精确的AI方法。<sup>[13](https://arxiv.org/abs/2211.13672)</sup><sup> • </sup><sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>

## 意义

通过将具有表达力的反对称神经网络与变分蒙特卡罗相结合，FermiNet将一类廉价但精度不足的方法转变为在强关联系统上优于其他从头算量子化学方法的方法，为以前难以处理的多电子系统精确直接优化波函数开辟了可能性。<sup>[2](https://arxiv.org/abs/1909.02487)</sup>实际动机在于：分子键能仅占系统总能量的极小部分——正确预测分子是否稳定可能取决于总能量约0.001%的精度，或剩余关联能约0.2%的精度，因此正是这一水平的精度使得计算能量对化学具有实用价值。<sup>[3](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)</sup>

## References

1. [google-deepmind/ferminet, GitHub repository and README](https://github.com/google-deepmind/ferminet)
2. [David Pfau, James S. Spencer, Alexander G. de G. Matthews, W. M. C. Foulkes (2019/2020). Ab-Initio Solution of the Many-Electron Schrödinger Equation with Deep Neural Networks. arXiv:1909.02487; Phys. Rev. Research 2, 033429](https://arxiv.org/abs/1909.02487)
3. [David Pfau and James Spencer. FermiNet: Quantum physics and chemistry from first principles. Google DeepMind blog](https://deepmind.google/blog/ferminet-quantum-physics-and-chemistry-from-first-principles/)
4. [O(N²) Universal Antisymmetry in Fermionic Neural Networks. arXiv:2205.13205](https://arxiv.org/abs/2205.13205)
5. [In Silico Chemical Experiments in the Age of AI. Advanced Materials](https://onlinelibrary.wiley.com/doi/pdfdirect/10.1002/adma.202402369)
6. [James S. Spencer, David Pfau, Aleksandar Botev, W. M. C. Foulkes (2020). Better, Faster Fermionic Neural Networks. arXiv:2011.07125](https://arxiv.org/abs/2011.07125)
7. [Gino Cassella et al. (2023). Discovering Quantum Phase Transitions with Fermionic Neural Networks. Phys. Rev. Lett. 130, 036401](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.130.036401)
8. [Under review as a conference paper at ICLR 2026 (manuscript discussing FermiNet scaling)](https://openreview.net/pdf/4913cf1300eeef3f4bb58ffbbdc48a23be578f96.pdf)
9. [Xiang Li, Zhe Li, Ji Chen (2022). Ab initio calculation of real solids via neural network ansatz. Nature Communications 13, 7895](https://www.nature.com/articles/s41467-022-35627-1)
10. [Xiang Li, Cunwei Fan, Weiluo Ren, Ji Chen (2021). Fermionic Neural Network with Effective Core Potential. arXiv:2108.11661](https://arxiv.org/abs/2108.11661)
11. [Wan Tong Lou et al. (2024). Neural Wave Functions for Superfluids. Phys. Rev. X 14, 021030](https://journals.aps.org/prx/pdf/10.1103/PhysRevX.14.021030)
12. [Neural network variational Monte Carlo for positronic chemistry. PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC11189582/)
13. [Ingrid von Glehn, James S. Spencer, David Pfau (2022). A Self-Attention Ansatz for Ab-initio Quantum Chemistry (Psiformer). arXiv:2211.13672](https://arxiv.org/abs/2211.13672)

---
*Initially written Oct 22, 2026*

Topic: 物质世界与数学 › 物理学 › 物理学方法、实践与学术共同体 › Applied and interdisciplinary physics › Computational and simulation physics › Numerical methods in physics › Molecular and particle simulation methods › Quantum Monte Carlo methods

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/ferminet

English original: https://www.edgepedia.org/ferminet
