Abstract
The location of the hydrogen-helium (H/He) immiscibility boundary controls whether and where helium rain occurs in giant planets, yet it remains uncertain because high-pressure experiments are challenging and ab initio simulations are limited in system size and simulation time. We map this boundary by computing composition-dependent chemical potentials from large-scale molecular dynamics driven by machine learning potentials trained on three density functional approximations (PBE, vdW-DF, and the hybrid HSE). Across the pressure range of 100-1000 GPa, the demixing temperatures are typically ~ 2000 K lower than previous ab initio simulations using small system sizes, and this discrepancy is larger than the estimated error from the chosen density functionals, machine learning potentials, neglect of nuclear quantum effects, and statistical uncertainties. Fitting the H/He mixing free energy to a Redlich-Kister regular solution model rationalizes the thermodynamic driving force for phase separation, and provides a predictive representation of the boundary. Comparing with current planetary interior profiles indicates that helium rain is plausible in Saturn but unlikely in the warmer interior of Jupiter. Our results narrow the uncertainty in the H/He immiscibility boundary and provide inputs for planetary models that couple demixing, heat transport, and composition gradients in gas giants.
Subject terms: Giant planets, Atomistic models
The authors use machine-learning molecular dynamics simulations to map the hydrogen-helium immiscibility boundary under gas-giant interior conditions, constraining models of planetary structure and evolution.
Introduction
Gas giants such as Jupiter, Saturn, and Jovian extrasolar planets are composed predominantly of hydrogen and helium1. In the deep interiors of these planets at hundreds of gigapascals and thousands of kelvins, helium is hypothesized to become immiscible in hydrogen and to precipitate as helium-rich droplets that sink toward the planetary interior under gravity. This phase separation and subsequent gravitational settling of helium-rich components are commonly referred to as “helium rain”2–5. We use “helium rain” in the conventional astrophysical sense to denote the precipitation and gravitational settling of helium-rich droplets, not a cyclic meteorological process. This mechanism can help reconcile a spectrum of observations from Voyager6, Pioneer6, Juno7, and Cassini8 missions: The rainout of He-rich droplets from outer envelopes would account for the atmospheric helium depletion9 in Jupiter10 and Saturn11, relative to the protosolar helium atomic fraction of xHe = 0.089 12,13. The gravitational energy released by falling droplets provides an additional heat source that helps explain the excess luminosity of Jupiter14 and Saturn3. Moreover, the resulting compositional stratification of He-rich mixtures can create distinct layered structures within the planets, altering their internal structures, dynamics, and magnetic fields4,15–18.
While the hypothesis of helium rain is incorporated into the current planetary models for Jupiter and Saturn16,18, all these models remain speculative due to the large uncertainty about the H/He immiscibility boundary. For example, several Jupiter models suggest the presence of 3 to 6 distinct interior layers, all of which are consistent with the gravity field data of Juno, despite varying structural assumptions16. The extreme planetary P–T conditions pose tremendous experimental challenges, leading to limited data along the immiscibility boundary: Only one high-pressure experimental study on H/He demixing with laser-shock19 is currently available, which reports a demixing temperature of 10,200 K at 150 GPa for a H/He mixture of xHe = 0.11. Theoretical calculations based on quantum mechanics20–25 have thus played an important role in determining the immiscibility boundary: Most ab initio molecular dynamics (AIMD) studies based on density functional theory (DFT) predict that H/He demixing occurs at 5000–6000 K under 150 GPa23,24 for xHe ≈ 0.09. There are several challenges in the ab initio modeling of H/He demixing. First, DFT relies on approximations of the exchange-correlation (XC) functionals which can cause systematic errors in describing atomic interactions26–30, and the effect of such approximations on the H/He immiscibility remains unclear1,24,25,31. Second, estimating the non-ideal entropy of mixing requires computationally demanding free energy calculations such as thermodynamic integration (TI)21,24. Third, DFT studies are often constrained to system sizes of a few hundred atoms and simulation durations of a few picoseconds due to the computational expense. The finite size effects can be significant, especially for phase transition phenomena32,33. Recently, machine learning potentials (MLPs) have been introduced to overcome this obstacle by first learning atomic interactions from DFT energies and forces of training configurations34, and subsequently driving large-scale MD simulations. A recent study using MLPs reports much higher demixing temperatures up to 8500 K at 150 GPa25.
Here, we perform large-scale MD simulations driven by three sets of MLPs that are trained based on three different DFT functionals: the Perdew-Burke-Ernzerhof (PBE)35 and van der Waals density functional (vdW-DF)36, which are both widely used for such high-pressure mixtures, and the Heyd-Scuseria-Ernzerhof (HSE) hybrid functional37,38 for its inclusion of exact exchange and superior performance in benchmark studies31. We benchmark the MLPs based on energetic, structural, and thermodynamic properties, as detailed in Supplementary Table S1 and Supplementary Figs. S3–S8. We explore a broad range of P-T conditions (P: 100–1000 GPa; T: 1000–12000 K) that span the typical interior conditions of gas giants. We accurately account for the thermal fluctuations with entropic effects by computing the chemical potentials (μ) at different helium concentrations using the S0 method39. We then use a Redlich-Kister regular solution model40 to rationalize the thermodynamic driving force behind H/He phase separation, and to help understand the discrepancies with previous AIMD studies21–24. Finally, we discuss the implications of our findings for the evolution of Jupiter and Saturn by juxtaposing our results with current planetary models18,24,41–44.
Results
Machine learning potentials for H/He mixtures
We constructed MLPs for simulating the phase behaviors of H/He mixtures under planetary conditions (102–103 GPa and 103–104 K). Separate MLPs were fitted to data generated with PBE, vdW-DF, and HSE, in order to understand the impact of the underlying XC approximations. The vdW-DF training set comprises 13,389 configurations with varying helium fractions across a broad range of P–T conditions (1–1200 GPa and 500–16000 K), which was generated via a combination of strategies: AIMD simulations, random structure searches, active learning, and adapting from previous AIMD calculations for high-pressure H/He mixtures24. We obtained the training set for the PBE MLP by recomputing the PBE energies and forces for all these configurations, as well as supplementing with a previous pure hydrogen training set32. To make the DFT computational cost of generating the training set for the HSE MLP tractable, we employed a Δ-learning strategy45 that treats the vdW-DF MLP as a baseline and learns the difference between vdW-DF and HSE energy surfaces (Δ(vdW-DF → HSE)). Specifically, we selected ~2000 configurations from the full training set, recomputed their HSE energies and forces, and fitted the Δ-learning HSE MLP. The production HSE MLP adds the Δ-learning MLP Δ(vdW-DF → HSE) to the baseline vdW-DF MLP. As a validation of this Δ-learning strategy, we built an analogous Δ(PBE → vdW-DF) potential using the PBE MLP as a baseline, and compared it to the direct-learning vdW-DF MLP.
There are many MLP architectures available46, with different trade-offs between computational efficiency and predictive accuracy. For the vdW-DF dataset, we tested three MLP architectures: the parallelizable and CPU-efficient N2P245, the more recent and accurate MACE47 and CACE48 models, as detailed in Methods. The performance of each fitted MLP was validated by comparing its predicted equations of state (EOSs) and radial distribution functions (RDFs) against reference DFT data over a wide range of pressures (100–1200 GPa) and temperatures (2000–10000 K). Even though N2P2 gives approximately twice the energy and force errors as MACE and CACE, the three vdW-DF MLPs trained on these architectures, as well as the aforementioned Δ(PBE → vdW-DF) MLP, yield EOS and RDF results that are consistent with vdW-DF AIMD results, as detailed in the Supplementary Figs. S3–S8. As an illustration, the pressure-density (P-ρ) relationship is presented for five H/He mixtures (xHe = 0, 0.25, 0.5, 0.75, and 1.0, color coded) at T = 2000 K (Fig. 1a), 6000 K (Fig. 1b), and 10000 K (Fig. 1c), and these four MLPs produce nearly identical pressure values matching the vdW-DF AIMD data24. These results confirm that all the MLPs are sufficiently accurate for these thermodynamic properties.
Fig. 1. Thermodynamic behaviors of H/He mixtures predicted by different machine learning potentials (MLPs).

a–c Pressure (P) as a function of density (ρ) for five H/He mixtures (helium atomic fraction xHe = 0, 0.25, 0.5, 0.75, and 1.0) at a 2000 K, b 6000 K, and c 10000 K. Results are from different vdW-DF MLPs: CACE (circles), MACE (triangles), N2P2 (crosses), and a Δ-learning vdW-DF model (pluses) built upon the PBE MLP baseline. All results are compared to reference vdW-DF data (dashed lines with diamonds) from AIMD calculations24. d, h Snapshots from MLP MD simulations showing: d homogeneous mixture and h phase separation. White and red particles indicate hydrogen and helium atoms, respectively. e, i Derivative of the helium chemical potential computed from the S0 method39 with error bars indicating ±1 standard error propagated from the linear-fit covariance matrices for S0. The MD simulations were performed using MLPs trained on vdW-DF. Blue, red, and yellow symbols indicate MLP architectures employing CACE, N2P2, and MACE, respectively. The vertical dashed black lines represent the equilibrium xHe of the He-poor (xHe = 0.19) and He-rich (xHe = 0.77) phases during demixing at 7000 K and 800 GPa. f, j Computed chemical potentials of H (triangles) and He (pentagons), compared with ideal solution behaviors (dotted light gray lines). Error bars indicate uncertainties propagated from through the numerical integration. g, k Mixing free energy per atom for H/He mixtures (ΔGmix) as a function of helium fractions. Pink diamonds denote the ΔGmix at the vdW-DF DFT level, promoted from the vdW-DF N2P2 MLP to DFT using free-energy perturbation (FEP), with error bars indicating ±1 standard error of the mean across 100 uncorrelated configurations at each xHe. The schematic dashed green line in k represents the hypothetical ΔGmix curve for a homogeneous H/He mixture inside the demixing region.
Chemical potentials of H and He in the mixtures
We applied the direct-learning vdW-DF MLPs based on N2P2, MACE, and CACE in large-scale MD simulations, and checked the influence of MLP architecture on predicting H/He demixing behaviors. Two sets of thermodynamic conditions representative of planetary conditions, T = 5000 K, P = 150 GPa, and T = 7000 K, P = 800 GPa, were used. The H/He mixture shows distinct behaviors: As illustrated in Fig. 1d, h, the system is fully mixed at T = 5000 K, P = 150 GPa, and shows phase separation at T = 7000 K, P = 800 GPa.
To compute the chemical potentials of the H/He mixture, we employed the S0 method39, which circumvents the convergence issue of traditional particle insertion methods49. At certain P–T and for a given composition, the derivative of the chemical potential of helium (μHe) with respect to composition is given by the S0 method:
| 1 |
where , , and are the static structure factors between different pairs of atoms in the limit of infinite wavelength50,51.
At T = 5000 K, P = 150 GPa, and T = 7000 K, P = 800 GPa, we ran equilibrium NPT MD simulations using a system size of 3456 atoms, driven by the three vdW-DF MLPs with different architectures. We sampled a series of compositions with the helium atomic fraction, xHe, ranging from 0.015 to 0.98 in 26 intervals. The computed chemical potential derivatives are shown in Fig. 1e, i. The N2P2, MACE, and CACE results agree well for both conditions. Notably, the computed at T = 7000 K, P = 800 GPa (Fig. 1i) exhibits a near-zero plateau between xHe−poor = 0.19 and xHe−rich = 0.77 (dashed black lines), signaling two-phase coexistence, consistent with the microscopic structural configuration observed in Fig. 1h. The chemical potentials of helium and hydrogen are shown in Fig. 1f, j, obtained by integrating these derivatives over composition. In the two-phase region at T = 7000 K, P = 800 GPa, μHe and μH are constant, and only the proportions of the He-rich and He-poor phases change.
The per-atom Gibbs free energy of mixing (ΔGmix) is:
| 2 |
At 5000 K and 150 GPa, the ΔGmix curve in Fig. 1g is fully convex, indicating complete miscibility. In contrast, at 800 GPa and 7000 K, the mixing curve is linear in the demixing region (xHe = 0.19–0.77) that corresponds to in Fig. 1i. A hypothetical homogeneous mixture there would be thermodynamically unstable, as its ΔGmix (schematic dashed green line in Fig. 1k) exceeds that of the equilibrium phase-separated state (colored symbols). The phase separation also turns out to be kinetically rapid in our MD simulations: the separation completes within tens of picoseconds (Fig. 1h), implying a low activation barrier for H/He demixing.
To quantify whether the use of the MLP introduces bias in the predicted mixing free energies, we further promoted the MLP-derived ΔGmix to the vdW-DF DFT level using free-energy perturbation (FEP). As shown by pink diamond symbols in Fig. 1g, k, the ΔGmix values at the DFT and at the MLP level show good agreement. In the Supplementary Fig. S15, we further show the agreement between MLP and DFT ΔGmix at two other conditions. This suggests that the MLPs are able to accurately capture the thermodynamics of H/He mixing and demixing.
Taken together, all three vdW-DF MLPs produce consistent ΔGmix results for H/He mixtures and hence consistent predictions of phase separation. Given the higher computational efficiency of the N2P2 MLP (see the Supplementary Information Section IV), in what follows, we use it to sample the large P-T-xHe parameter space relevant to gas giants via high-throughput MD simulations.
Phase separation of H/He mixtures
The immiscibility boundary is a two-dimensional surface in the P-T-xHe parameter space, as schematically shown as the blue surface in Fig. 2a. This boundary can be projected onto the T-xHe or the P–T planes. A state (P, T, xHe) above the surface is fully miscible (e.g., snapshot in Fig. 1d). Planets with interior conditions all above the immiscibility surface will not undergo H/He phase separation (left side of Fig. 2b). Conversely, planets with conditions below the surface may support helium rain (right side of Fig. 2b).
Fig. 2. Immiscibility diagrams of H/He mixtures predicted using MLPs trained on PBE, vdW-DF, and HSE.

a Schematic immiscibility diagram of the H/He mixtures with two projections. The blue surface denotes the upper bounds of the two-phase coexistence region. b A schematic of the possible scenarios of the H/He immiscibility and helium rain in the H/He envelope of gas giants. c Pressure (P) as a function of density (ρ) for xHe = 0.25 at 6000 K. d–f Composition-dependent immiscibility boundaries of H/He mixtures using MLPs trained on three XC functionals: d PBE, e vdW-DF, and f HSE. The dotted purple and green lines mark the estimated molecular-atomic transition boundaries for pure hydrogen and for a mixture with xHe = 0.05 based on classical MD simulations, respectively. In e, the cyan stars indicate the transition temperatures obtained from PIMD simulations driven by vdW-DF MLP for xHe = 0.05 at 150 and 300 GPa. Planetary isentropes for Jupiter24,41,42 (red band indicates the variation among these three studies) and Saturn43 (solid brown line) are indicated. The dashed lines denote the present-day thermal profiles of Jupiter and Saturn based on the HMH24 model18, while the dotted brown line denotes another thermal profile of Saturn from the MF20 model44. g H/He immiscibility boundaries at xHe = 0.089. The bar on the red square at 150 GPa is a worst-case estimate of the MLP-induced uncertainty in the vdW-DF phase boundary, approximately ±1000 K, obtained from the FEP analysis of 100 uncorrelated configurations at each xHe. For reference, previous studies at a similar composition (xHe = 0.085–0.11) with their reported uncertainties, where available, are included as follows: PBE AIMD results analyzed by assuming ideal entropy of mixing22, PBE AIMD results analyzed with non-ideal entropy21,23, vdW-DF AIMD results analyzed with non-ideal entropy24, vdW-DF MLP25, SCAN+rVV10 MLP25, and laser-shock experiments19.
We computed ΔGmix on a dense grid of P-T conditions, using the N2P2 MLPs trained on the three XC functionals (PBE, vdW-DF, and HSE): 7 pressures (100, 150, 200, 400, 600, 800, 1000 GPa) and 12 temperatures from 1000 K to 12000 K in 1000 K increments. For each set of conditions, H/He phase separation was determined by identifying the point of thermodynamic instability, where . We then constructed continuous immiscibility boundaries at selected xHe values by linearly interpolating between the resulting discrete instability points in the P–T space.
We plotted the immiscibility boundaries for various helium fractions in the P–T projection in Fig. 2a. The boundaries for PBE, vdW-DF, and HSE are shown in Fig. 2d–f, respectively, with the upper bound indicated by a solid black line. Helium isopleths (blue curves) mark the demixing boundary of a given helium fraction, with darker shades corresponding to higher helium fractions. Phase separation occurs below a given isopleth.
Overall, the computed immiscibility boundaries depend on the XC functional, but the influence is relatively subtle. As another way to quantify the difference among the three functionals, we compared the EOS in Fig. 2c. At T = 6000 K and 1.225 g/cm3, vdW-DF (red square), PBE (blue circle), and HSE (yellow triangle) produce pressures of 212, 201, and 210 GPa, respectively, differing by approximately 5%. This small variation is consistent with quantum Monte Carlo (QMC) benchmarks31 that found these three functionals yield pressures that agree within 10% for H/He mixtures under Jovian conditions.
The immiscibility boundaries from the three functionals have similar characteristics: The demixing temperature generally increases with pressure and is highly sensitive to the helium fraction, particularly in He-poor compositions. This compositional sensitivity is further amplified at higher pressures, evidenced by the greater separation between isopleths in Fig. 2d–f.
We further considered two potential sources that could alter the computed boundaries using the MLPs: First, the difference between the MLP and the underlying DFT might cause a shift. However, as is seen in Fig. 1g, k and analyzed in detail in the Supplementary Fig. S15, such differences lead to very small changes in ΔGmix, so the MLP-derived immiscibility boundaries remain consistent with the DFT reference. Second, we accounted for the nuclear quantum effects (NQEs) on H/He demixing by performing path integral MD (PIMD) simulations based on the ring-polymer formalism using the vdW-DF N2P2 MLP. As shown in the Supplementary Fig. S28, we found that including NQEs would slightly enlarge the immiscibility region.
The precipitation of helium from the mixture is often regarded as being associated with the metallization of hydrogen1. To investigate this connection, we computed the atomic-molecular transition boundaries for both pure hydrogen (dotted purple line) and a H/He mixture with xHe = 0.05 (dotted green line), as shown in Fig. 2d–f. Such a low helium fraction was chosen to quantify the influence of helium on the transition without complications from demixing that make helium concentrations heterogeneous in the system. We located the atomic-molecular transition as the P–T conditions where half the hydrogen becomes atomic, using an established order parameter32. This order parameter counts the fraction of hydrogen atoms with one bonded hydrogen neighbor, which is computed from H-H RDFs with a smooth cutoff function that is 1 within 0.8 Å and decays to 0 at 1.1 Å. Note that the atomic-molecular transition here is a smooth phase transition above the critical point of the first-order transition32. Within the H-He immiscibility region, atomic hydrogen dominates, but there is a narrow range of thermodynamic conditions (T ⪅ 2000 K and P ⪅ 200 GPa) where molecular hydrogen is stable.
Across all three functionals, the addition of xHe = 0.05 helium to pure hydrogen slightly raises the transition temperature by up to 500 K (Fig. 2d–f), indicating that helium stabilizes molecular hydrogen, in agreement with previous QMC MD52 and PBE AIMD53 simulations. This is because the higher nuclear charge of He tightly localizes electrons and reduces the intermolecular electronic overlap between neighboring hydrogen molecules52,53.
Moreover, the choice of XC functional affects the predicted H atomic-molecular phase transition. Both vdW-DF (Fig. 2e) and HSE (Fig. 2f) yield comparable boundaries at xHe = 0.05 that align with QMC MD results52 at xHe = 0.085. In contrast, PBE (Fig. 2d) gives lower transition temperatures relative to vdW-DF and HSE, likely due to its known underestimation of the hydrogen band gap24. Detailed comparisons for pure hydrogen and H/He mixtures of the atomic-molecular transition are provided in the Supplementary Figs. S19 and S20.
Note that the H atomic-molecular phase transition boundaries discussed above are based on classical MD simulations. To investigate the impact of NQEs, we performed PIMD simulations driven by the vdW-DF MLP for xHe = 0.05. As shown by the cyan symbols in Fig. 2e, compared to the classical MD results shown by the green line, the inclusion of NQEs lowers the hydrogen molecular-to-atomic transition temperature by up to 450 K. Such a decrease in the molecular-to-atomic transition temperatures mainly originates from the zero-point energy (ZPE) of the H–H bond in molecular hydrogen, and is consistent with previous DFT-based54–58 and MLP-based PIMD studies59, which report that NQEs reduce the transition temperature by several hundred kelvin.
Our results reveal that the atomic-molecular transition of hydrogen may influence the H/He miscibility diagram: According to vdW-DF Fig. 2e and HSE Fig. 2f, hydrogen atomization drastically reduces helium solubility in hydrogen near 150 GPa. The mixture with xHe = 0.089 starts to demix only above this pressure, which is in agreement with previous vdW-DF AIMD results24. These trends for vdW-DF and HSE suggest that helium is more soluble in molecular hydrogen than in atomic hydrogen, a mechanism that may promote the H/He demixing in planets22,25. In contrast, because the PBE MLP predicts the atomic-molecular transition at lower temperatures (Fig. 2d), its miscibility diagram is less affected by the transition and exhibits continuous isopleths across the investigated conditions. Beyond the atomic-molecular transition (P > 150 GPa), the three XC functionals predict comparable H/He immiscibility boundaries that level off and increase gradually with pressure.
To relate our results to planetary models, we show in Fig. 2g the immiscibility boundaries at the protosolar helium abundance (xHe = 0.089) in the P–T projection. This specific xHe serves as the natural baseline because Jupiter and Saturn are often assumed to have formed from the same material as the solar nebula1,13. Previous experimental19 and theoretical22–25 results for similar compositions (xHe = 0.085–0.11) are included for comparison.
At the protosolar helium abundance, Fig. 2g shows that PBE (solid blue line), vdW-DF (solid red line), and HSE (solid yellow line) predict consistent immiscibility boundaries that differ by less than 500 K. In detail, at xHe = 0.089, the PBE MLP predicts the highest demixing temperatures across all pressures, while HSE yields the lowest temperatures at 200 GPa, and vdW-DF gives lower phase-separation thresholds above 600 GPa. These trends predicted by the MLPs are in line with previous AIMD studies demonstrating that PBE21,23 (blue hexagons) produces demixing temperatures up to 1000 K higher than vdW-DF24 (purple diamonds).
As illustrated in Fig. 2a, b, helium rain begins where the internal P–T profile of a planet crosses into the two-phase region at the relevant composition. Accordingly, to investigate the occurrence of helium rain in Jupiter and Saturn, Fig. 2d–f illustrates their P–T profiles from two types of planetary models: classical adiabatic models (solid colored lines) and more recent evolutionary models (dotted/dashed colored lines). The red band in Fig. 2d–f reflects an uncertainty of ~1000 K in the isentrope of Jupiter, a range based on three earlier studies24,41,42. Similarly, to address the uncertainty (~2000 K) in present-day P–T conditions of Saturn in evolutionary models, two references are included: a warmer interior (the MF20 model, dotted brown line)44 and a cooler interior (the HMH24 model, dashed brown line)18. The black curves in Fig. 2d–f represent the upper boundary of the immiscibility region in the P–T projection, while the planetary profiles indicate possible paths through this projected boundary. A crossing of a planetary profile with the boundary marks where the local thermodynamic state enters or exits the two-phase region for the relevant helium concentration.
The formation of helium rain in a gas giant hinges on both its internal thermal profile and helium distribution. For Jupiter, the adiabatic models24,41,42 in Fig. 2d–f place the Jovian isentropes (red bands) largely above the immiscibility boundaries (black curves), suggesting that helium rain is unlikely. However, the interior of Saturn43 (solid brown line) is ~2000 K cooler in the adiabatic model, making helium rain more likely, but whether it occurs would depend on the XC functionals used and the local helium concentration in Saturn: PBE (Fig. 2d) predicts helium rain is possible if xHe > 0.20 under 150–700 GPa, vdW-DF (Fig. 2e) requires a higher helium fraction of xHe > 0.25 at higher pressures (350–700 GPa), while the HSE MLP predicts no helium rain under the adiabatic conditions.
Recent studies in planetary evolution1,18,44,60–63 have challenged the adiabatic assumption for both Jupiter and Saturn and proposed that both planets have cooler interiors shaped by their evolutions. These newly developed models incorporate complex processes from the long-term cooling history of planets, including an inhomogeneous helium distribution, formation of helium rain, heavy-element compositional gradients, double-diffusive convection, and a non-adiabatic thermal structure. We compare our immiscibility boundaries with the thermodynamic conditions predicted by these models (dotted/dashed lines in Fig. 2d–g). For Jupiter, the interior profile predicted by the HMH24 model18 (dashed red lines) lies above the immiscibility boundaries at the protosolar helium abundance. Although helium rain may occur for xHe > 0.15 (Fig. 2d), recent planetary models18,44,61,62 suggest this composition requirement is not met in Jupiter, where the peak helium abundance is estimated to be xHe = 0.09, indicating that helium rain is unlikely in Jupiter.
On the contrary, the P–T conditions of Saturn (dashed brown line) from the same HMH24 model18 and the warmer MF20 profile (dotted brown line) from an alternative evolutionary model44 both fall below the critical boundaries (black lines in Fig. 2d–f). For all functionals, helium rain requires xHe ≥ 0.15, as shown in Fig. 2d–f. Given that Saturn may have a large helium gradient with xHe varying from 0.1 up to 1.0 based on recent studies18,44,62–65, helium rain may occur throughout the interior of Saturn. However, this inference remains sensitive to the adopted models and the resulting thermal profile of Saturn.
Our H/He immiscibility boundaries (solid lines in Fig. 2g) are systematically shifted to lower temperatures by approximately 2000 K for xHe = 0.089, compared to prior AIMD studies using PBE22,23 (blue-coded symbols) and vdW-DF24 (purple diamonds). According to our PBE MLP (solid blue line), at the protosolar helium abundance, demixing occurs only at much lower temperatures, such as 3511 K at 150 GPa. In contrast, prior PBE AIMD analyses reported demixing at 7500 K and 160 GPa by assuming ideal entropy of mixing22 (blue cross), and at 6000 K and 175 GPa including non-ideal effects on entropy23 (blue hexagon). We will explore the possible origins of this discrepancy in detail in the next section. A recent large-scale MLP MD study25 predicted even higher demixing temperatures, which are shown by the purple (vdW-DF) and green (SCAN + rVV10) triangles in Fig. 2g. While their immiscibility boundaries are robust with respect to the chosen functionals, the demixing temperatures are elevated by ~2000 K relative to previous AIMD studies and by ~4000 K relative to our predictions. A fundamental difference in methodology may contribute to this discrepancy: Whereas our method and prior AIMD studies compute the composition-dependent ΔGmix, their approach defines phase separation in terms of changes in local atomic configurations.
Thermodynamic models of H/He mixtures
To rationalize the driving force behind H/He phase separation and understand the discrepancies with previous results, we fitted ΔGmix to a Redlich-Kister (R–K) solution model40. While previous AIMD studies22,24 employed fifth-order R–K models for ΔGmix, here we adopted a third-order form, because including higher-order terms ωi(T, P) with i = 4, 5 was found to provide no improvement in either fit accuracy or predictive power (see the Supplementary Figs. S23 and S24 for the 5th-order fits and related analyses). Specifically, the solution model used is expressed as:
| 3 |
where the parameters ωi capture non-ideal interactions that lead to phase separation.
In accordance with the assumption of a homogeneous mixture in the R–K model, we fitted ωi(T, P) parameters only to single-phase data above the immiscibility boundary, as shown in Fig. 2a. Results based on vdW-DF are exemplified in Fig. 3a, with PBE and HSE fits detailed in the Supplementary Figs. S21 and S22. The suitability of the R–K model for high-pressure H/He mixtures is demonstrated by the close alignment between the R–K fits (solid lines) and the direct MD results (colored pentagons). For the two-phase region, where the real free energy curve reduces to a straight line (e.g., as illustrated in Fig. 1k), we used dashed lines to denote the extrapolated ΔGmix values for homogeneous mixtures from the individual R–K fits. At lower temperatures and higher pressures, however, the wide miscibility gap with linear mixing free energy (Fig. 1k) leaves insufficient data for an accurate local fit. To overcome this limitation, we performed a global fit of ΔGmix to parameterize the P–T dependence of ωi and extract their coefficients to model ΔGmix, which is shown as dotted lines in Fig. 3a. Specifically, ω1(T, P) and ω2(T, P) parameters were fitted to the polynomial expression ωi = c + a1T + a2T2 + b1P + b2P2, with fits and uncertainties for vdW-DF presented in Fig. 3b. We treated ω3(T, P) as constant for a given pressure, since it displays no discernible trends with temperature.
Fig. 3. Redlich-Kister (R–K) model analyses of the mixing free energy (ΔGmix) and the resulting immiscibility boundary in the H/He system.

a Mixing free energy per atom of H/He mixtures computed from 150 GPa to 1000 GPa and 2000 K to 12000 K, using the vdW-DF MLP. The solid lines denote the third-order R–K model fitted individually at each P–T. The dashed lines indicate the modeled ΔGmix for assumed homogeneous H/He mixtures in the phase separation regime, derived from the individual fits. The dotted lines show ΔGmix derived from a global R–K fit. b Pressure and temperature dependence of the R–K parameters (ωi). Triangle symbols show ωi values obtained from individual fits at each P–T state point, with error bars indicating ±1 standard error. For ω1 and ω2, the dashed lines represent the global polynomial fits in P and T to MD-derived values at 32 P–T state points with shaded bands indicating ±1 standard error propagated from the fitted-coefficient variances. c Comparison of H/He immiscibility boundaries from different methods at a helium fraction of xHe = 0.089. The blue, red, and yellow solid lines correspond to direct MD simulation results based on PBE, vdW-DF, and HSE MLPs, respectively. The corresponding dashed lines show the immiscibility boundaries predicted by the globally fitted R–K model, and the shaded regions indicate the ±1 standard deviation across 500 Monte Carlo samples generated by propagating the fitting uncertainties of ωi values into the derived phase boundaries. The pink stars represent the immiscibility boundaries derived with the methodology of individual P–T fit in earlier AIMD studies23,24 for a vdW-DF subset at 150 GPa and 200 GPa. Previous studies at similar compositions (xHe = 0.085–0.09) are included: PBE AIMD results analyzed by assuming ideal entropy of mixing22 (blue crosses), PBE AIMD results analyzed with non-ideal entropy21,23 (blue hexagons), vdW-DF AIMD results with non-ideal entropy24 (purple diamonds).
As shown in Fig. 3b, the ΔGmix values and hence the thermodynamic stability of H/He mixtures are primarily controlled by the ω1 term. Across all investigated conditions, ω1 and ω3 remain positive, increasing ΔGmix and destabilizing the H/He mixture. With increasing temperature, the decrease of ω1 lowers ΔGmix of a homogeneous mixture and enhances H/He miscibility. The contribution of ω2 to ΔGmix depends on both composition and temperature; see the second panel of Fig. 3b. Below 6000 K, the second-order term ω2xHexH(1 − 2xHe) in Eq. (3) increases ΔGmix for He-poor compositions (xHe < 0.5), but decreases ΔGmix for He-rich compositions (xHe > 0.5). Above 6000 K, ω2 becomes negative, and the trend reverses: the second-order term now lowers ΔGmix for He-poor components and increases it for He-rich components. Therefore, these trends indicate that H/He demixing is mainly driven by ω1 and ω3 at low temperatures, while higher temperatures and the sign reversal of ω2 progressively favor complete miscibility, particularly for He-poor compositions.
Next, we used the fitted R–K model to analytically calculate the H/He immiscibility boundary for xHe = 0.089 by solving the P-T conditions that satisfy the equation . The resulting boundaries (dashed lines in Fig. 3c) agree well with our direct simulation results (solid lines). The uncertainty in the immiscibility boundary (shaded regions) is quantified via Monte Carlo sampling that propagates the error in the fitted parameters ωi to ΔGmix according to Eq. (3). The choice of functional has little impact on the results, as the predictions from different XC functionals fall within the uncertainty range of thermodynamic models. This analysis also shows that fitting the R–K model alone introduces an uncertainty of approximately 1000 K in the predicted phase boundary compared to direct MD results, due to uncertainties in the polynomial coefficients.
We then investigated the possible explanation for the ~2000 K discrepancy between our H/He immiscibility boundaries and previous AIMD results21–24. First, we examined the effect of the thermodynamic model fitting protocol: In contrast to our global-fit approach described above, previous AIMD work23,24 used an individual fitting scheme: They performed individual R–K fits to ΔGmix at each P–T condition, and used common-tangent analyses of the modeled ΔGmix to identify phase separation and the compositions of any demixed phases. At a fixed pressure, these demixing temperatures were combined with the corresponding xHe of the demixed phases to map the T-xHe immiscibility diagram (right side of Fig. 2a). By treating the demixing temperature as a function of xHe, the demixing temperature at the protosolar helium abundance was linearly interpolated in the T-xHe projection. Applying the same protocol to our vdW-DF MLP MD results at 150 GPa and 200 GPa produces immiscibility boundaries (pink stars in Fig. 3c) that agree with our global-fit results (dashed red lines) within 500 K. The same agreement holds for the PBE and HSE results (detailed in the Supplementary Table S8), confirming the validity of both the global-fit and individual-fit approaches. Moreover, the inferred boundary is insensitive to the order of R–K models used; the fifth-order R–K fit yields immiscibility boundaries consistent with the third-order fit. Therefore, methodological differences in fitting and post-analysis procedures between our work and prior AIMD studies22,24 can only account for a shift of at most ~1000 K (see Fig. 3c and the Supplementary Fig. S24).
As such, the ~2000 K discrepancy cannot be attributed to R–K model fitting but can only originate from the computed ΔGmix itself. Indeed, direct comparisons of ΔGmix from MLP MD and AIMD based on vdW-DF at 400 GPa and 1000 GPa over 3000–10000 K show substantial deviations, irrespective of whether non-ideal effects in entropy are included in the analysis of AIMD results, as detailed in the Supplementary Fig. S25. We further speculate that the discrepancy in computed ΔGmix may stem from the system size in the modeling of the mixtures. Our large-scale MD simulations allow macroscopic phase separation (Fig. 1h) and produce a demixed, linear segment in the derived ΔGmix (Fig. 1k). In contrast, earlier AIMD studies21–24 use a relatively small system (N ≤ 64 atoms) to enforce complete mixing at all conditions. The single-phase assumption enables the evaluation of ΔGmix for a homogeneous H/He mixture, analogous to our hypothetical green curve in Fig. 1k. As ΔGmix comprises enthalpic and entropic contributions, the enthalpy is directly accessible from AIMD calculations, and the entropy is either taken as the ideal entropy of mixing (e.g.,22) or evaluated by integrating changes in thermodynamic properties (e.g., internal energy and partial molar volume) over EOSs starting from a reference entropy for each xHe (e.g.,21,23,24). This reference entropy can be computed via coupling-constant integration with force matching21,24. However, if the small system is not perfectly mixed, or if the free energy of the finite-size system deviates from larger systems at the thermodynamic limit, errors can propagate into the calculated ΔGmix and the inferred immiscibility boundary. In the Supplementary Figs. S9–S12, we examined finite-size effects and showed that the complete-mixing assumption may be violated even in small systems.
Discussion
By analyzing the thermodynamic behaviors of H/He mixtures with ΔGmix computed from the S0 method, as shown in Fig. 1, we reported immiscibility diagrams of hydrogen and helium under planetary conditions in Fig. 2 using three MLPs trained on different XC functionals: PBE, vdW-DF, and HSE. The derived H/He immiscibility boundary (Fig. 2d–f) strongly depends on temperature and helium atomic fraction while exhibiting comparatively less sensitivity to the XC functional, consistent with previous AIMD and MLP MD studies21–25. The immiscibility boundaries reported here should be interpreted within the accuracy of the underlying Born-Oppenheimer DFT framework, MLP fitting, MLP-driven classical MD, and the numerical free-energy calculations. One systematic uncertainty arises from the exchange-correlation functional (PBE, vdW-DF, and HSE predict immiscibility boundaries that differ by less than 500 K at the protosolar helium abundance). Meanwhile, the MLP-to-DFT free-energy perturbation tests indicate the MLP error is not important: MLP and underlying DFT predict statistically indistinguishable mixing free energies at temperatures relevant to the immiscibility boundary, and MLP errors would lead to a shift of less than 1000 K in the worst-case scenario analysis (see the Supplementary Information Sections IV and VII). The PIMD simulations indicate that NQEs would only slightly affect the immiscibility boundaries by less than 200 K. Thus, although the absolute demixing temperatures remain condition-dependent and uncertain at the level of several hundred kelvin, the lowering of the H/He immiscibility boundary relative to previous small-cell AIMD estimates is robust across the three exchange-correlation functionals tested here. Moreover, the close match between immiscibility boundaries derived from the fitted R–K models (Fig. 3) and from direct MD simulations demonstrates the reliability of the thermodynamic model. This can make it a robust tool for the modeling of mass transport driven by chemical potential gradients in planets. Overall, as shown in Fig. 2g, our immiscibility boundaries shift to lower temperature regions compared to laser-shock experimental measurements19 and previous theoretical results22–25.
Relating our results to planetary models reveals distinct scenarios for helium rain in Jupiter and Saturn, as sketched in Fig. 2b. As for Jupiter, both adiabatic and evolutionary models indicate helium rain is unlikely: First, the isentrope of Jupiter lies above the immiscibility boundary (Fig. 2d–f), implying that hydrogen and helium remain fully mixed. Second, although the latest evolutionary models (e.g., HMH2418) predict the interior of Jupiter to be about 1000 K cooler (dashed red lines in Fig. 2d–f), the predicted peak helium abundance of xHe ≈ 0.09 18,44,61,62 is still below the concentration threshold for helium rainout (xHe ≈ 0.15) under the relevant conditions. Therefore, Jupiter has likely not cooled sufficiently for helium rain to initiate, and alternative mechanisms are required to explain its atmospheric helium depletion.
On the contrary, the cooler interior of Saturn predicted by the evolutionary models18 (dotted/dashed brown lines in Fig. 2d–f) may support extensive helium rain that potentially reaches the deeper interior (P ≈ 1000 GPa). The substantial overlap between the present P–T condition of Saturn from HMH24/MF20 and the two-phase region, as illustrated in Fig. 2d–f, suggests that helium rain may have begun in Saturn long ago and could persist over an extended period of time. This is because demixing starts when the planetary thermal profile first intersects the immiscibility boundary, drives helium redistribution and modifies the thermodynamic conditions in the planet, and ceases once the evolved planetary profile no longer lies within the two-phase domain. This ongoing helium rain can help explain several unique characteristics of Saturn: The release of latent heat and gravitational energy during helium precipitation serves as an additional heat source in Saturn, which could account for its anomalous luminosity3,66. Gravitational differentiation transports denser He-rich droplets inward and would explain the observed atmospheric helium depletion in Saturn9. The resulting stratification could establish a compositional gradient in Saturn that shapes its dynamo processes and axisymmetric magnetic field1,18,44,67,68. As our calculated immiscibility boundaries shift to lower temperatures than those in previous studies19,22–25, we predict a delayed onset of H/He demixing during the cooling history of Saturn.
The composition-dependent immiscibility boundaries derived here establish constraints for interpreting the distinct evolution and structures of Jupiter and Saturn3,66. Once H/He demixing is triggered, a gas giant can no longer be modeled as a homogeneous adiabatic planet1,18,44,69. Detailed P–T-xHe conditions for H/He immiscibility are thus critical inputs to future planetary studies to model the magnitude of helium rain, atmospheric helium abundances, planetary heat budgets, emergent compositional gradients, and associated fluid dynamics. Beyond the solar system, resolving the phase behaviors of H/He mixtures and their role in the evolution pathways is fundamental to characterizing exoplanetary gas giants70.
Methods
DFT calculations
We used the plane-wave code VASP71 for production DFT calculations using the exchange-correlation functionals of PBE35, vdW-DF36, and HSE37,38. We sampled the Brillouin zone using a k-point grid resolution of at least 0.02 Å−1 for the PBE and vdW-DF calculations. The HSE calculations were performed using a resolution of 0.03 Å−1. We note that for the Δ-learning from the vdW-DF baseline to HSE, the vdW-DF energies and forces are recalculated at a resolution matching the HSE calculations (0.03 Å−1).
The plane-wave energy cutoff was set to 1200 eV, after performing convergence tests for energy, forces, and pressure across a 700–1300 eV range. For the pseudopotentials, we used the hard version of the hydrogen PBE projector augmented wave (PAW) potential (PAW_PBEH_h06Feb2004), while for helium, we used the only available version (PAW_PBEHe05Jan2001) from the VASP library.
In the end, the DFT-generated training set for the PBE and vdW-DF functionals comprised 13,389 configurations (1,553,967 atoms) with varying xHe across a broad range of P–T conditions (1–1200 GPa and 500–16000 K). Subsets of approximately 2000 configurations each were used in fitting Δ-learning MLPs for vdW-DF and HSE.
In addition, we generated a dataset of 3500 configurations using vdW-DF DFT with the system size of N = 64 for three P–T conditions (150 GPa, 2000 K; 150 GPa, 5000 K; 800 GPa, 7000 K) and 12 helium compositions, as well as another set of 3500 configurations using vdW-DF DFT with the system size of N = 1024 at the same P–T-xHe conditions. These two datasets were used to assess finite-size effects in the DFT reference data and to further validate the fitted MLPs.
Construction of machine learning potentials
To construct MLPs for the high-pressure H/He system, we employed the Behler-Parrinello neural network72 via the N2P2 code45 on CPUs, and the equivariant message-passing MACE47 and CACE48 models on GPUs.
In total, we developed 8 MLPs using three MLP architectures and two training strategies for three XC functionals (PBE, vdW-DF, HSE). Six MLPs were obtained by direct fitting: one for each of the three architectures for both PBE and vdW-DF. The other two MLPs were developed using a Δ-learning strategy in the N2P2 package: a vdW-DF MLP was trained on the Δ component Δ(PBE → vdW-DF) relative to the PBE MLP baseline, and an HSE MLP was trained on Δ(vdW-DF → HSE) relative to the vdW-DF MLP baseline. We evaluated the performance of all MLPs for H/He mixtures by comparing energetic and thermodynamic properties against AIMD results and one another. Dataset construction and training procedures are detailed in Supplementary Information Section II, with model errors reported in Supplementary Tables S1 and S2; the structural and EOS benchmarks are shown in Supplementary Figs. S3–S8.
Moreover, we compared the performance of these models with MLPs trained using alternative fitting protocols, including models trained with stress data and models trained on restricted subsets of the dataset. These comparisons further validate the training strategies and model architectures of our MLPs, as reported in Supplementary Tables S2 and S3.
MLP MD simulation details
All MD simulations for N2P2 MLPs were performed in LAMMPS73 on CPUs. Following a 10 ps pre-equilibration for a 3456-atom system, each production run was performed for 60 ps with a timestep of 0.2 fs in the isothermal-isobaric (NPT) ensemble using the Nosé-Hoover thermostat and barostat. For MLPs constructed with MACE and CACE, MD simulations were conducted with the ASE package74 utilizing the Nosé-Hoover thermostat and Berendsen barostat. Sensitivity analyses on the timestep (0.1–0.2 fs) and simulation duration (40–80 ps) showed no discernible quantitative differences in computed chemical potentials and free energies. Further details are provided in the Supplementary Fig. S13.
Chemical potentials of H/He mixtures
We applied the newly established S0 method39 to compute the chemical potentials of H/He mixtures. For such a purpose, structure factors S(k) were sampled every 10 fs from equilibrium MD trajectories at each P–T-xHe state. In the limit of wave-vector k → 0, the static structure factor for the H-He pair, , is derived as:
| 4 |
In particular, was obtained by fitting small-k SH−He(k) to the Ornstein-Zernike form51 () with a cutoff of . By running multiple MD simulations at varying xHe, the chemical potential of helium (μHe) was calculated through numerical integration based on Eq. (1):
| 5 |
where the chemical potential of a pure helium liquid () was selected as a baseline for convenience, which does not affect the immiscibility diagram. Accordingly, the chemical potentials for hydrogen (μH) were derived based on the Gibbs-Duhem equation 39.
Equilibrium MD simulations were performed across a grid of P–T-xHe conditions: P set at 100, 150, 200, 400, 600, 800, and 1000 GPa, T ranging from 1000–12000 K in increments of 1000 K, and xHe varying from 0.015 to 0.98 in 26 intervals. Using the So method, chemical potentials at each P–T condition for each XC functional were computed and are shown in Supplementary Figs. S16–S18, and the corresponding miscibility gaps are listed in Supplementary Tables S4–S6.
Promoting MLP-derived ΔGmix to the DFT level
To quantify the effect of the MLP error, we corrected the MLP-derived ΔGmix to the DFT level using free-energy perturbation (FEP) at three P–T conditions (150 GPa, 2000 K; 150 GPa, 5000 K; 800 GPa, 7000 K). For each P–T-xHe condition, we sampled 100 uncorrelated configurations of system size N = 1024 from MD simulations using the vdW-DF N2P2 MLP. We recomputed the vdW-DF DFT energies and forces for these configurations, which constitute the N = 1024 vdW-DF DFT dataset described above. We then computed the energy difference, ΔU = UDFT − UMLP, where UDFT is the DFT energy of a given configuration, and UMLP is the corresponding MLP energy evaluated for the same configuration. The free-energy difference per atom for the system at the DFT and the MLP level, Δg, can then be estimated as:
| 6 |
Using such free energy correction terms Δg, we promoted the MLP-derived ΔGmix to the DFT level for systems at fixed P–T-xHe.
PIMD simulation details
To account for NQEs in H/He mixtures, we performed PIMD simulations75 based on the ring-polymer formalism via the i-PI interface (version 3.0)76,77 coupled with LAMMPS, using the vdW-DF N2P2 MLP. Following prior convergence benchmarks56,57, we employed eight beads over the investigated temperature range of 1000–3000 K. Consistent with earlier PIMD studies of dense hydrogen57, each PIMD simulation began with a 10 ps equilibration in the NPT ensemble, followed by an 80 ps production run in the NVT ensemble. During the NPT equilibration stage, pressure was controlled with the isotropic stochastic barostat using a relaxation time of 500 fs. Temperature was controlled using the stochastic path integral Langevin equation thermostat (PILE_L) in i-PI78, with a relaxation time of 50 fs. A system size of N = 2560 and a timestep of 0.2 fs were selected to ensure numerical convergence while maintaining computational efficiency. Further details are provided in the Supplementary Information Section VII.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Supplementary information
Acknowledgments
The authors are thankful to Armin Bergermann and Ronald Redmer for generously sharing AIMD trajectories and data, and for valuable discussions and feedback on the manuscript. The authors also acknowledge the research computing facilities provided by the high-performance computing (HPC) cluster at the Institute of Science and Technology Austria (ISTA), Berkeley Research Computing (BRC) at the University of California, Berkeley (UCB), and Lawrence Livermore National Laboratory (LLNL).
Author contributions
B.C. conceived the idea; B.C. and X.W. designed the research; X.W., S.H., and B.C. performed the research; X.W., S.H. and B.C. wrote the paper.
Peer review
Peer review information
Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. A peer review file is available.
Funding
B.C. was supported by the Laboratory Directed Research and Development (LDRD) Program at Lawrence Berkeley National Laboratory (LBNL) under project ID 110990-001. Part of this work was performed under the auspices of the U.S. Department of Energy by LLNL under Contract DE-AC52-07NA27344. S.H. was supported by the LDRD Program at LLNL under project tracking code 23-SI-006.
Data availability
The training data, fitted MLPs, MLP molecular dynamics results, and source data underlying all figures and tables in the main text and Supplementary Information have been deposited in the Zenodo repository: https://doi.org/10.5281/zenodo.2163203479.
Code availability
The data-analysis and plotting scripts used to generate the figures and tables in the main text and Supplementary Information are available in the GitHub repository: https://github.com/ChengUCB/HighPressure_HHe.
Competing interests
B.C. has an equity stake in AIMATX Inc. The remaining authors declare no other competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
The online version contains supplementary material available at https://doi.org/10.1038/s41467-026-77117-8.
References
- 1.Helled, R., Mazzola, G. & Redmer, R. Understanding dense hydrogen at planetary conditions. Nat. Rev. Phys.2, 562 (2020). [Google Scholar]
- 2.Stevenson, D. J. & Salpeter, E. E. The phase diagram and transport properties for hydrogen–helium fluid planets. Astrophys. J. Suppl. Ser.35, 221 (1977). [Google Scholar]
- 3.Stevenson, D. J. & Salpeter, E. E. The dynamics and helium distribution in hydrogen–helium fluid planets. Astrophys. J. Suppl. Ser.35, 239 (1977). [Google Scholar]
- 4.Helled, R. The interiors of Jupiter and Saturn. Oxford Research Encyclopedia of Planetary Science (2019).
- 5.McMahon, J. M., Morales, M. A., Pierleoni, C. & Ceperley, D. M. The properties of hydrogen and helium under extreme conditions. Rev. Mod. Phys.84, 1607 (2012). [Google Scholar]
- 6.Campbell, J. & Synnott, S. Gravity field of the Jovian system from Pioneer and Voyager tracking data. Astron. J.90, 364 (1985). [Google Scholar]
- 7.Bolton, S. J. et al. Jupiter’s interior and deep atmosphere: the initial pole-to-pole passes with the Juno spacecraft. Science356, 821 (2017). [DOI] [PubMed] [Google Scholar]
- 8.Spilker, L. Cassini-Huygens’ exploration of the Saturn system: 13 years of discovery. Science364, 1046 (2019). [DOI] [PubMed] [Google Scholar]
- 9.Young, R. E. The Galileo probe: how it has changed our understanding of Jupiter. N. Astron. Rev.47, 1 (2003). [Google Scholar]
- 10.von Zahn, U., Hunten, D. M. & Lehmacher, G. Helium in Jupiter’s atmosphere: results from the Galileo probe helium interferometer experiment. J. Geophys. Res.: Planets103, 22815 (1998). [Google Scholar]
- 11.Fortney, J. J. et al. Saturn’s interior after the Cassini Grand Finale. arXiv 10.48550/arXiv.2304.09215 (2023). [DOI]
- 12.Proffitt, C. R. Effects of heavy-element settling on solar-neutrino fluxes and interior structure. Astrophys. J.425, 849 (1994). [Google Scholar]
- 13.Bahcall, J. N., Pinsonneault, M. & Wasserburg, G. Solar models with helium and heavy-element diffusion. Rev. Mod. Phys.67, 781 (1995). [Google Scholar]
- 14.Low, F. J. Observations of Venus, Jupiter, and Saturn at λ20 μ. Astron. J.71, 391 (1966). [Google Scholar]
- 15.Militzer, B., Soubiran, F., Wahl, S. M. & Hubbard, W. Understanding Jupiter’s interior. J. Geophys. Res.: Planets121, 1552 (2016). [Google Scholar]
- 16.Militzer, B. & Hubbard, W. B. Study of Jupiter’s interior: comparison of 2, 3, 4, 5, and 6 layer models. Icarus411, 115955 (2024). [Google Scholar]
- 17.Duarte, L. D., Wicht, J. & Gastine, T. Physical conditions for Jupiter-like dynamo models. Icarus299, 206 (2018). [Google Scholar]
- 18.Howard, S., Müller, S. & Helled, R. Evolution of Jupiter and Saturn with helium rain. Astron. Astrophys.689, A15 (2024). [Google Scholar]
- 19.Brygoo, S. et al. Evidence of hydrogen-helium immiscibility at Jupiter-interior conditions. Nature593, 517 (2021). [DOI] [PubMed] [Google Scholar]
- 20.Lorenzen, W., Holst, B. & Redmer, R. Demixing of hydrogen and helium at megabar pressures. Phys. Rev. Lett.102, 115701 (2009). [DOI] [PubMed] [Google Scholar]
- 21.Morales, M. A. et al. Phase separation in hydrogen-helium mixtures at mbar pressures. Proc. Natl. Acad. Sci.106, 1324 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Lorenzen, W., Holst, B. & Redmer, R. Metallization in hydrogen-helium mixtures. Phys. Rev. B84, 235109 (2011). [Google Scholar]
- 23.Morales, M. A., Hamel, S., Caspersen, K. & Schwegler, E. Hydrogen-helium demixing from first principles: from diamond anvil cells to planetary interiors. Phys. Rev. B87, 174105 (2013). [Google Scholar]
- 24.Schöttler, M. & Redmer, R. Ab initio calculation of the miscibility diagram for hydrogen-helium mixtures. Phys. Rev. Lett.120, 115703 (2018). [DOI] [PubMed] [Google Scholar]
- 25.Chang, X. et al. Theoretical evidence of H–He demixing under Jupiter and Saturn conditions. Nat. Commun.15, 8543 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Mori-Sánchez, P., Cohen, A. J. & Yang, W. Localization and delocalization errors in density functional theory and implications for band-gap prediction. Phys. Rev. Lett.100, 146401 (2008). [DOI] [PubMed] [Google Scholar]
- 27.Cohen, A. J., Mori-Sánchez, P. & Yang, W. Challenges for density functional theory. Chem. Rev.112, 289 (2012). [DOI] [PubMed] [Google Scholar]
- 28.Burke, K. Perspective on density functional theory. J. Chem. Phys.136, 150901 (2012). [DOI] [PubMed] [Google Scholar]
- 29.Sim, E., Song, S., Vuckovic, S. & Burke, K. Improving results by improving densities: density-corrected density functional theory. J. Am. Chem. Soc.144, 6625 (2022). [DOI] [PubMed] [Google Scholar]
- 30.Cozza, C. et al. Denser hydrogen inferred from first-principles simulations challenges Jupiter’s interior models. Phys. Rev. Res.8, 013089 (2026). [Google Scholar]
- 31.Clay III, R. C., Holzmann, M., Ceperley, D. M. & Morales, M. A. Benchmarking density functionals for hydrogen-helium mixtures with quantum Monte Carlo: energetics, pressures, and forces. Phys. Rev. B93, 035121 (2016). [Google Scholar]
- 32.Cheng, B., Mazzola, G., Pickard, C. J. & Ceriotti, M. Evidence for supercritical behavior of high-pressure liquid hydrogen. Nature585, 217 (2020). [DOI] [PubMed] [Google Scholar]
- 33.Cheng, B., Mazzola, G., Pickard, C. J. & Ceriotti, M. Reply to: on the liquid–liquid phase transition of dense hydrogen. Nature600, E15 (2021). [DOI] [PubMed] [Google Scholar]
- 34.Deringer, V. L., Caro, M. A. & Csányi, G. Machine learning interatomic potentials as emerging tools for materials science. Adv. Mater.31, 1902765 (2019). [DOI] [PubMed] [Google Scholar]
- 35.Perdew, J. P., Burke, K. & Ernzerhof, M. Generalized gradient approximation made simple. Phys. Rev. Lett.77, 3865 (1996). [DOI] [PubMed] [Google Scholar]
- 36.Lee, K., Murray, ÉD., Kong, L., Lundqvist, B. I. & Langreth, D. C. Higher-accuracy van der Waals density functional. Phys. Rev. B82, 081101 (2010). [Google Scholar]
- 37.Heyd, J., Scuseria, G. E. & Ernzerhof, M. Hybrid functionals based on a screened Coulomb potential. J. Chem. Phys.118, 8207 (2003). [Google Scholar]
- 38.Heyd, J., Scuseria, G. E. & Ernzerhof, M. Erratum: “hybrid functionals based on a screened Coulomb potential”. J. Chem. Phys.124, 219906 (2006). [Google Scholar]
- 39.Cheng, B. Computing chemical potentials of solutions from structure factors. J. Chem. Phys.157, 121101 (2022). [DOI] [PubMed] [Google Scholar]
- 40.Redlich, O. & Kister, A. Thermodynamics of nonelectrolyte solutions - x-y-t relations in a binary system. Ind. Eng. Chem.40, 341 (1948). [Google Scholar]
- 41.Militzer, B. & Hubbard, W. B. Ab initio equation of state for hydrogen–helium mixtures with recalibration of the giant-planet mass–radius relation. Astrophys. J.774, 148 (2013). [Google Scholar]
- 42.Nettelmann, N. et al. Ab initio equation of state data for hydrogen, helium, and water and the internal structure of Jupiter. Astrophys. J.683, 1217 (2008). [Google Scholar]
- 43.Nettelmann, N., Püstow, R. & Redmer, R. Saturn layered structure and homogeneous evolution models with different EOSs. Icarus225, 548 (2013). [Google Scholar]
- 44.Mankovich, C. R. & Fortney, J. J. Evidence for a dichotomy in the interior structures of Jupiter and Saturn from helium phase separation. Astrophys. J.889, 51 (2020). [Google Scholar]
- 45.Singraber, A., Morawietz, T., Behler, J. & Dellago, C. Parallel multistream training of high-dimensional neural network potentials. J. Chem. Theory Comput.15, 3075 (2019). [DOI] [PubMed] [Google Scholar]
- 46.Wang, Y. et al. On the design space between molecular mechanics and machine learning force fields. Appl. Phys. Rev.12, 021304 (2025). [Google Scholar]
- 47.Batatia, I., Kovacs, D. P., Simm, G., Ortner, C. & Csányi, G. MACE: higher order equivariant message passing neural networks for fast and accurate force fields. Adv. Neural Inf. Process. Syst.35, 11423 (2022). [Google Scholar]
- 48.Cheng, B. Cartesian atomic cluster expansion for machine learning interatomic potentials. npj Comput. Mater.10, 157 (2024). [Google Scholar]
- 49.Frenkel, D. and Smit, B., Understanding Molecular Simulation: From Algorithms to Applications, 3rd ed. (Academic Press, 2023).
- 50.Kirkwood, J. G. & Buff, F. P. The statistical mechanical theory of solutions. i. J. Chem. Phys.19, 774 (1951). [Google Scholar]
- 51.Ben-Naim, A., Molecular Theory of Solutions (Oxford University Press, 2006).
- 52.Mazzola, G., Helled, R. & Sorella, S. Phase diagram of hydrogen and a hydrogen-helium mixture at planetary conditions by quantum Monte Carlo simulations. Phys. Rev. Lett.120, 025701 (2018). [DOI] [PubMed] [Google Scholar]
- 53.Vorberger, J., Tamblyn, I., Militzer, B. & Bonev, S. A. Hydrogen-helium mixtures in the interiors of giant planets. Phys. Rev. B75, 024206 (2007). [Google Scholar]
- 54.Morales, M. A., McMahon, J. M., Pierleoni, C. & Ceperley, D. M. Nuclear quantum effects and nonlocal exchange-correlation functionals applied to liquid hydrogen at high pressure. Phys. Rev. Lett.110, 065702 (2013). [DOI] [PubMed] [Google Scholar]
- 55.Lu, B., Kang, D., Wang, D., Gao, T. & Dai, J. Towards the same line of liquid–liquid phase transition of dense hydrogen from various theoretical predictions. Chin. Phys. Lett.36, 103102 (2019). [Google Scholar]
- 56.Hinz, J. et al. Fully consistent density functional theory determination of the insulator-metal transition boundary in warm dense hydrogen. Phys. Rev. Res.2, 032065 (2020). [Google Scholar]
- 57.van de Bund, S., Wiebe, H. & Ackland, G. J. Isotope quantum effects in the metallization transition in liquid hydrogen. Phys. Rev. Lett.126, 225701 (2021). [DOI] [PubMed] [Google Scholar]
- 58.Bergermann, A., Kleindienst, L. & Redmer, R. Nonmetal-to-metal transition in liquid hydrogen using density functional theory and the Heyd–Scuseria–Ernzerhof exchange-correlation functional. J. Chem. Phys.161, 234303 (2024). [DOI] [PubMed] [Google Scholar]
- 59.Tenti, G., Jäckl, B., Nakano, K., Rupp, M. & Casula, M. Hydrogen liquid-liquid transition from first principles and machine learning. Phys. Rev. B112, 104208 (2025). [Google Scholar]
- 60.Vazan, A., Helled, R., Podolak, M. & Kovetz, A. The evolution and internal structure of Jupiter and Saturn with compositional gradients. Astrophys. J.829, 118 (2016). [Google Scholar]
- 61.Tejada Arevalo, R., Sur, A., Su, Y. & Burrows, A. Jupiter evolutionary models incorporating stably stratified regions. Astrophys. J.979, 243 (2025). [Google Scholar]
- 62.Sur, A., Tejada Arevalo, R., Su, Y. & Burrows, A. Simultaneous evolutionary fits for Jupiter and Saturn incorporating fuzzy cores. Astrophys. J. Lett.980, L5 (2025). [Google Scholar]
- 63.Bodenheimer, P., Stevenson, D. J., Lissauer, J. J. & D’Angelo, G. Formation and evolution simulations of Saturn, including composition gradients and helium immiscibility. Planet. Sci. J.6, 143 (2025). [Google Scholar]
- 64.Markham, S. & Guillot, T. Stable stratification of the helium rain layer yields vastly different interiors and magnetic fields for Jupiter and Saturn. Planet. Sci. J.5, 269 (2024). [Google Scholar]
- 65.Sur, A., Tejada Arevalo, R., Burrows, A. & Chen, Y.-X. Next-generation improvements in giant-exoplanet evolutionary and structural models. Astrophys. J.998, 305 (2026). [Google Scholar]
- 66.Fortney, J. J., Ikoma, M., Nettelmann, N., Guillot, T. & Marley, M. Self-consistent model atmospheres and the cooling of the solar system’s giant planets. Astrophys. J.729, 32 (2011). [Google Scholar]
- 67.Püstow, R., Nettelmann, N., Lorenzen, W. & Redmer, R. H/He demixing and the cooling behavior of Saturn. Icarus267, 323 (2016). [Google Scholar]
- 68.Preising, M., French, M., Mankovich, C., Soubiran, F. & Redmer, R. Material properties of Saturn’s interior from ab initio simulations. Astrophys. J. Suppl. Ser.269, 47 (2023). [Google Scholar]
- 69.Mankovich, C. R. & Fuller, J. A diffuse core in Saturn revealed by ring seismology. Nat. Astron.5, 1103 (2021). [Google Scholar]
- 70.Müller, S. & Helled, R. Warm giant exoplanet characterisation: current state, challenges and outlook. Front. Astron. Space Sci.10, 1179000 (2023). [Google Scholar]
- 71.Kresse, G. & Furthmüller, J. Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis set. Phys. Rev. B54, 11169 (1996). [DOI] [PubMed] [Google Scholar]
- 72.Behler, J. & Parrinello, M. Generalized neural-network representation of high-dimensional potential-energy surfaces. Phys. Rev. Lett.98, 146401 (2007). [DOI] [PubMed] [Google Scholar]
- 73.Thompson, A. P. et al. LAMMPS - a flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scales. Comput. Phys. Commun.271, 108171 (2022). [Google Scholar]
- 74.Larsen, A. H. et al. The atomic simulation environment-a Python library for working with atoms. J. Phys.: Condens. Matter29, 273002 (2017). [DOI] [PubMed] [Google Scholar]
- 75.Tuckerman, M. E., Statistical Mechanics: Theory and Molecular Simulation, 2nd ed. (Oxford University Press, 2023).
- 76.Ceriotti, M., More, J. & Manolopoulos, D. E. i-PI: a Python interface for ab initio path integral molecular dynamics simulations. Comput. Phys. Commun.185, 1019 (2014). [Google Scholar]
- 77.Litman, Y. et al. i-PI 3.0: a flexible and efficient framework for advanced atomistic simulations. J. Chem. Phys.161, 062504 (2024). [DOI] [PubMed] [Google Scholar]
- 78.Ceriotti, M., Parrinello, M., Markland, T. E. & Manolopoulos, D. E. Efficient stochastic thermostatting of path integral molecular dynamics. J. Chem. Phys.133, 124104 (2010). [DOI] [PubMed] [Google Scholar]
- 79.Wang, X., Hamel, S., and Cheng, B., Source data for high-pressure H-He mixtures. (2026).
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The training data, fitted MLPs, MLP molecular dynamics results, and source data underlying all figures and tables in the main text and Supplementary Information have been deposited in the Zenodo repository: https://doi.org/10.5281/zenodo.2163203479.
The data-analysis and plotting scripts used to generate the figures and tables in the main text and Supplementary Information are available in the GitHub repository: https://github.com/ChengUCB/HighPressure_HHe.
