A Self-Attention Ansatz for Ab-initio Quantum Chemistry
Ingrid von Glehn, James S. Spencer, David Pfau
Abstract
DeepMind, London N1C 4DL, United Kingdom * We present a novel neural network architecture using self-attention, the Wavefunction Transformer (Psiformer), which can be used as an approximation (or Ansatz) for solving the many-electron Schrödinger equation, the fundamental equation for quantum chemistry and material science. This equation can be solved from first principles, requiring no external training data. In recent years, deep neural networks like the FermiNet and PauliNet have been used to significantly improve the accuracy of these first-principle calculations, but they lack an attention-like mechanism for gating interactions between electrons. Here we show that the Psiformer can be used as a drop-in replacement for these other neural networks, often dramatically improving the accuracy of the calculations. On larger molecules especially, the ground state energy can be improved by dozens of kcal/mol, a qualitative leap over previous methods. This demonstrates that self-attention networks can learn complex quantum mechanical correlations between electrons, and are a promising route to reaching unprecedented accuracy in chemical calculations on larger systems.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Variational Monte Carlo on a Budget - Fine-tuning pre-trained Neural Wavefunctions cites Generalizing Neural Wave Functions
- Generalizing Neural Wave Functions cites Large Batch Optimization for Deep Learning: Training BERT in 76 minutes
- Quadratic Quantum Variational Monte Carlo cites Variational Monte Carlo on a Budget - Fine-tuning pre-trained Neural Wavefunctions
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness cites Language Models are Few-Shot Learners
- Wasserstein Quantum Monte Carlo: A Novel Approach for Solving the Quantum Many-Body Schrödinger Equation cites Generalizing Neural Wave Functions
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
- Neural Pfaffians: Solving Many Many-Electron Schrödinger Equations cites Variational Monte Carlo on a Budget - Fine-tuning pre-trained Neural Wavefunctions
- Neural Pfaffians: Solving Many Many-Electron Schrödinger Equations cites Generalizing Neural Wave Functions
- Neural Pfaffians: Solving Many Many-Electron Schrödinger Equations cites Large Batch Optimization for Deep Learning: Training BERT in 76 minutes
- Perceiver: General Perception with Iterative Attention cites Large Batch Optimization for Deep Learning: Training BERT in 76 minutes
- Perceiver: General Perception with Iterative Attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Cited by top-tier papers8
- Generalizing Neural Wave FunctionsNicholas Gao, Stephan GünnemannICML 2023 · 38 citations
- Wasserstein Quantum Monte Carlo: A Novel Approach for Solving the Quantum Many-Body Schrödinger EquationKirill Neklyudov, Jannes Nys, Luca A. Thiede, Juan Carrasquilla et al.NeurIPS 2023 · 28 citations
- Neural Pfaffians: Solving Many Many-Electron Schrödinger EquationsNicholas Gao, Stephan GünnemannNeurIPS 2024 · 18 citations
- Variational Monte Carlo on a Budget - Fine-tuning pre-trained Neural WavefunctionsMichael Scherbela, Leon Gerard, Philipp GrohsNeurIPS 2023 · 13 citations
- Quadratic Quantum Variational Monte CarloBaiyu Su, Qiang LiuNeurIPS 2024 · 3 citations
Builds on9
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
- Perceiver: General Perception with Iterative AttentionAndrew Jaegle, Felix Gimeno, Andy Brock, Oriol Vinyals et al.ICML 2021 · 1,399 citations
- Large Batch Optimization for Deep Learning: Training BERT in 76 minutesYang You, Jing Li, Sashank J. Reddi, Jonathan Hseu et al.ICLR 2020 · 1,170 citations
Related papers
- WF-Bench: A Benchmark for Neural-Network WaveFunction Expressivity and Scaling LawsLixing Zhang, Guijing Duan, Di LuoICML 2026
- Enhancing the Scalability and Applicability of Kohn-Sham Hamiltonians for Molecular SystemsYunyang Li, Zaishuo Xia, Lin Huang, Xinran Wei et al.ICLR 2025
- Quantum Transformer for Molecular Learning: Multi-Configuration Ground-State Energy PredictionYuichi Kamata, Quoc Hoan Tran, Yasuhiro Endo, Hirotaka OshimaAAAI 2026 · 4 citations
- NNQS-Transformer: an Efficient and Scalable Neural Network Quantum States Approach for Ab initio Quantum ChemistryYangjun Wu, Chu Guo, Yi Fan, Pengyu Zhou et al.SC 2023 · 33 citations
- Ab-Initio Potential Energy Surfaces by Pairing GNNs with Neural Wave FunctionsNicholas Gao, Stephan GünnemannICLR 2022 · 52 citations
