Deep Variational Free Energy Approach to Dense Hydrogen

Hao Xie, Zi-Hang Li, Handong Wang, Linfeng Zhang, Lei Wang · DOI

Abstract

We developed a deep generative model-based variational free energy approach to the equations of state of dense hydrogen. We employ a normalizing flow network to model the proton Boltzmann distribution and a fermionic neural network to model the electron wave function at given proton positions. By jointly optimizing the two neural networks we reached a comparable variational free energy to the previous coupled electron-ion Monte Carlo calculation. The predicted equation of state of dense hydrogen under planetary conditions is denser than the findings of ab initio molecular dynamics calculation and empirical chemical model. Moreover, direct access to the entropy and free energy of dense hydrogen opens new opportunities in planetary modeling and high-pressure physics research.

Introduction

Understanding the phases of dense hydrogen—including its metallization and potential high-temperature superconductivity—is a cornerstone of planetary science and nuclear fusion research. Modeling the interiors of gas giants like Jupiter requires solving the complex quantum many-body problem for coupled protons and electrons.

Traditional approaches, such as ab initio molecular dynamics (AIMD) based on Density Functional Theory (DFT), often suffer from functional-dependent inaccuracies. Higher-accuracy methods like Quantum Monte Carlo (QMC) typically rely on a "nested" sampling approach: proton configurations are sampled based on noisy electronic energy estimates. This statistical noise necessitates fully converged electronic calculations before each proton movement, leading to high computational costs. Furthermore, standard Monte Carlo methods struggle to directly compute thermodynamic entropy, which is vital for determining the adiabatic temperature profiles of planets.

Methodology: Joint Variational Optimization

This work reframes the problem as a variational free energy minimization task. Instead of nested loops, the framework jointly optimizes two deep neural networks:

  1. Proton Normalizing Flow: This network models the Boltzmann distribution of protons. By using bijective transformations, normalizing flows provide an exact, normalized probability density, enabling the direct calculation of entropy.
  2. Electronic Fermionic Network: A fermionic neural network (Geminal Network) models the ground-state wave function of electrons, conditioned on the proton positions.
Schematic of the deep variational free energy framework, showing the joint optimization of proton distributions and electron wavefunctions to calculate free energy.

By employing a generalized stochastic reconfiguration method, both networks are updated simultaneously. This "joint optimization" avoids the expensive inner electronic optimization loops characteristic of traditional QMC.

Results and Discussion

The model was evaluated on a system of 54 hydrogen atoms under planetary conditions ($r_s = 1.25$, $T = 6000$ K). The results demonstrate that the variational free energy converges to values highly competitive with state-of-the-art Coupled Electron-Ion Monte Carlo (CEIMC) calculations.

Comparison of energy (a), entropy (b), and pressure (c) against CEIMC, AIMD, and SCvH benchmarks over training epochs.

Key findings include:

  • Denser Equation of State: The network predicted a pressure of 529(4) GPa. While slightly lower than the CEIMC prediction (553 GPa), it is significantly lower than AIMD and empirical chemical models (SCvH). This lower pressure at a given density suggests a denser equation of state for hydrogen in planetary interiors.
  • Direct Entropy Access: Unlike standard QMC, the normalizing flow architecture allows for the direct computation of entropy, providing a clear path to mapping planetary adiabats.
  • Phase Flexibility: The model successfully reproduced the molecular phase of hydrogen at lower densities ($r_s = 4.0$, $T = 5000$ K), confirming its ability to capture diverse physical states without prior bias.

Conclusion and Future Work

While computationally intensive—requiring approximately 200 hours on 32 NVIDIA A100 GPUs for the 54-atom system—this deep variational approach offers a robust, noise-resilient alternative to traditional methods. Future work will focus on scaling the method through more efficient permutation-equivariant flows and incorporating thermal electronic effects and proton zero-point motion to explore lower-temperature phenomena like superconductivity.

Summary updated

BibTeX
@inproceedings{xie2023deep,
  author = {Hao Xie and Zi-Hang Li and Handong Wang and Linfeng Zhang and Lei Wang},
  title = {{Deep Variational Free Energy Approach to Dense Hydrogen}},
  booktitle = {Physical},
  year = {2023},
  doi = {10.1103/physrevlett.131.126501},
}
Figure