Light atoms, hydrogen above all, do not behave like classical balls even at room temperature. They keep a floor of vibrational energy (zero-point energy), spread out in space, and can tunnel through energy barriers. These are nuclear quantum effects. The standard way to simulate them exactly at thermal equilibrium is path-integral molecular dynamics (PIMD), which replaces each atom with a necklace of $P$ copies ("beads") joined by springs. Every bead needs its own force evaluation, and $P$ is typically 32 to 64 for hydrogen. That $P$-fold cost is why a recent reactive neural-network study of proton transfer in water-loaded zeolites simply left quantum nuclei out (A reactive neural network framework for water-loaded acidic zeolites).
The idea in this note borrows a concept from graph learning. The homophily assumption says that connected nodes tend to look alike. Treat each necklace as a small ring graph whose nodes are the bead copies of one atom. For most atoms at most times, the bead copies sit in nearly the same chemical environment, so the ring is strongly homophilous and $P$ separate force calls are largely redundant. The assumption breaks exactly where the physics becomes interesting: a proton whose beads straddle a donor and an acceptor oxygen during transfer or tunneling. We propose to measure this along-ring homophily atom by atom and on the fly. Full per-bead force evaluation would then be spent only on the small, local regions where the ring disagrees with itself, and a few contracted beads would cover everything else.
Core Claim
The redundancy in PIMD is not uniform across atoms. It can be detected from quantities that a local machine-learned potential already computes, namely how much the atomic embeddings and forces vary around each atom's ring. A simulation that gives each atom a bead count set by its measured ring heterophily should reproduce full-PIMD observables at close to classical cost. Those observables are water's isotope-dependent structure, the proton kinetic energy, and zeolite proton-transfer free-energy barriers. The approach should also beat any uniform reduction of the bead count at equal cost, because the reduced beads can be placed where the ring actually breaks.
The heterophily literature in this note serves as a measurement tool, not an architecture fix. The files we work from suggest bolting high-pass or three-channel message passing (Complete the Missing Half, Heterophily-informed Message Passing) onto interatomic potentials to "cure oversmoothing" in heterophilous O–H or Al–O graphs. We do not pursue that. Continuous-filter potentials such as SchNet condition their filters on element and distance, so they are not bound to low-pass smoothing across element types in the way categorical citation-graph GNNs are. We know of no evidence that oversmoothing limits their accuracy. The heterophily concept earns its place along a different axis, the imaginary-time ring. There, the analogue of "connected nodes agree" is a real and exploitable physical approximation.
Why the Ring Is a Homophily Problem
In PIMD, bead $j$ of atom $i$ has position $q_i^{(j)}$, and adjacent beads are joined by springs of stiffness $m\omega_P^2$. Here $\omega_P = \sqrt{P}k_BT/\hbar$ and $m$ is the atom's mass. The spread of a ring scales with the thermal de Broglie wavelength, so heavy atoms have tight rings and protons have wide ones. Nuclear quantum effects in ab initio dynamics shows how large these effects can be: zero-point motion gives hydrogen in lithium imide a kinetic energy equivalent to a classical temperature nearly three times ambient.
A wide ring alone does not require many force calls. If all beads of a proton lie in one smooth, nearly harmonic well, the force barely changes around the ring and a few beads suffice. What demands many beads is environmental disagreement around the ring. For example, some beads may sit covalently on one oxygen while others sit on a neighbouring oxygen, or the potential may curve sharply within the ring's extent. Quantum fluctuations and isotope effects in ab initio descriptions of water shows that these transient "proton excursions" control isotope fractionation in water. It also shows that getting their rate wrong flips the sign of the predicted fractionation (−17 with PBE versus +73 experimentally). That finding motivates the proposal: the rare, heterophilous ring configurations carry the physics and must not be approximated away.
We define a per-atom ring heterophily score from a local potential's atomic embeddings $z_i^{(j)}$, one per bead:
$$ H_i = 1 - \frac{1}{P}\sum_{j=1}^{P}\cos\left(z_i^{(j)}, z_i^{(j+1)}\right), $$
with $z_i^{(P+1)} \equiv z_i^{(1)}$. $H_i$ is near zero when all beads see the same environment and grows when the ring spans distinct environments. This is the cosine-similarity diagnostic of MixMP (Heterophily-informed Message Passing), transplanted from spatial neighbours to imaginary-time neighbours. We also compute a force-based variant, the normalized variance of per-bead forces, and a purely geometric one, the ring's radius of gyration. This lets us test whether learned embeddings add anything.
Research Program
The first stage is purely diagnostic. We run full PIMD with existing machine-learned potentials on ambient liquid H₂O and D₂O and on ice Ih, and record the distribution of $H_i$ by element and over time. We then do the same for water-loaded acidic zeolites using the reactive potential of Erlebach et al. inside the modular i-PI driver (More et al.), which separates path-integral bookkeeping from force evaluation. The hypothesis has three parts. Oxygen, silicon and aluminium rings should be almost perfectly homophilous. Most protons should be homophilous most of the time. Low-homophily events should be sparse and concentrated at proton transfers, hydronium formation and excursions. If heterophilous atoms turn out to make up a large fraction of the system at any moment, the proposal's speedup premise fails, and stage one will reveal that cheaply.
The second stage builds the simulator. Every atom carries a small number $P'$ of beads by default, obtained by normal-mode (Fourier) contraction of its full ring. Whenever $H_i$ exceeds a threshold, atom $i$ and all atoms within the potential's cutoff radius are promoted to full $P$-bead force evaluation. The rest use contracted forces interpolated back onto the full ring. Because modern potentials are local, the forces on a promoted atom depend only on atoms within the cutoff, which makes this mixed-resolution evaluation well defined. The per-step cost scales as $N_{\text{het}}P + (N - N_{\text{het}})P'$ rather than $NP$, where $N$ is the atom count and $N_{\text{het}}$ the number of promoted atoms. The gate is recomputed each step from the contracted beads, with hysteresis so atoms do not flicker between resolutions. The spring and kinetic parts of the dynamics always use all $P$ beads. Only the expensive potential calls are reduced.
The third stage asks where the approximation fails. A subtle risk is that a small, systematic bias from contracting homophilous protons accumulates in observables that depend on all protons equally, such as the mean proton kinetic energy. We will check this directly with the low-variance scaled-gradient estimator of Anisotropy of the Proton Momentum Distribution in Water, which makes differences of a few meV resolvable in about 10 ps.
Baselines
The reference point that does nothing extra is classical molecular dynamics with the same potential, run at identical cost per step. It anchors the size of the quantum correction we must recover. For water, Isotope effects in liquid water via deep potential molecular dynamics reports that classical Deep Potential dynamics shows marked discrepancies from the neutron interference cross-section, whereas the path-integral version tracks it.
The accuracy ceiling is full $P$-bead PIMD with the same machine-learned potential, run in i-PI on the same systems, box sizes, timestep and trajectory length. For the proton kinetic energy in ambient water, the file reports a consensus theoretical value of about 158 meV from neural-network B3LYP+D3 and MB-pol simulations (Kapil et al.). Matching that value within the ~2 meV statistical error that paper reaches is the bar for the kinetic-energy test. For the zeolites, no reported result was found on Lacuna for quantum-nuclear proton-transfer barriers, because the source work omits NQEs. The classical barriers there match DFT within about 6 kJ/mol, with a potential energy error of 5.3 meV/atom. So full-PIMD barriers computed by us become the reference.
The strongest cheap competitor is PIGLET, which combines colored-noise thermostats with few beads (Nuclear Quantum Effects in Solids Using a Colored-Noise Thermostat). It is exactly the method Ko et al. used to reproduce H₂O/D₂O structure, a density of 0.1022 atoms/ų against an experimental ~0.100, and a ~1% shorter O–D than O–H bond. We will run PIGLET at the bead count that matches our method's average force-call budget. Beating it means matching its structural and density accuracy in water while showing smaller errors in the zeolite proton-transfer free energy and the transfer-configuration statistics, where anharmonicity is strongest.
Two ablations isolate the key ingredient. Uniform contraction gives every atom $P'$ beads everywhere, testing whether adaptivity matters at all. Random promotion uses the same number of promoted atoms per step chosen at random, testing whether the gate finds the right atoms rather than just spending a larger budget. A gate-signal ablation swaps embedding-based $H_i$ for force-variance and for radius of gyration. All variants share one trained potential, one integrator and one wall-clock-normalized budget. We compare them on error versus cost curves, not single points.
Why not just…?
Why not just use PIGLET with a few beads? For near-harmonic water structure this is a serious threat, and it may well tie us there. The known failure of colored-noise methods is energy leaking from stiff quantum modes into soft ones in strongly anharmonic regimes (Ceriotti et al.). Proton transfer across a barrier is the clearest such regime. The zeolite barrier and transfer-statistics comparison at matched cost is the experiment that settles it. If PIGLET matches full PIMD there too, our method's value reduces to a diagnostic, and we will report that.
Why not just evaluate the machine-learned potential $P$ times on a GPU? Batched evaluation is cheap for small water boxes, and there our speedup may not matter in practice. The cost argument applies to large reactive systems such as zeolite supercells with long free-energy runs, where the $P$-fold multiplier is what led Erlebach et al. to omit NQEs. We will report wall-clock speedup as a function of system size so readers can see where the crossover lies.
Why not just shrink the bead count uniformly, or gate on the physical ring size instead of learned embeddings? Uniform contraction is our first ablation. If it matches adaptive gating at equal cost, the homophily idea contributes nothing and we will say so. Radius of gyration is the more dangerous simple alternative. A wide ring inside a single well should not need promotion, whereas a ring spanning two oxygens should, and only environment-sensitive signals distinguish the two. If the geometric gate still performs as well, we adopt it. In that case the contribution is the local mixed-resolution scheme and the stage-one characterization, not the learned similarity.
Why not just add heterophily-aware message passing to the potential, as the gap analysis suggests? Learned continuous filters conditioned on element pairs already escape the low-pass limitation that motivated FB-GNN and MixMP on categorical graphs. Nothing in the file shows oversmoothing limits interatomic potential accuracy. We do not expect such changes to close the 7% gap between the ~158 meV theoretical and ~146 meV experimental proton kinetic energy (Kapil et al.), since two very different potentials already agree on 158 meV. We therefore make no claim about that gap. Similarly, PAN (Path Integral Based Convolution) borrows path-integral mathematics only as a random-walk analogy on citation graphs. It offers no route to physical quantum observables and is not a competitor.
Proposed Experiments and Decisive Checks
On ambient H₂O and D₂O, with a hybrid-DFT-quality potential, we compare all methods against full PIMD on four quantities: the O–O, O–H and H–H radial distribution functions; the O–H versus O–D bond-length difference; the mean proton kinetic energy from the scaled-gradient estimator; and the rate of proton excursions defined as in Wang and Markland. If time permits, we add the liquid–vapor fractionation ratio, whose sign is the most sensitive test of whether rare events are handled correctly. On water-loaded acidic zeolites across Si/Al ratios and water loadings, we compute quantum-nuclear free-energy profiles for framework-to-water proton transfer. These are the first such numbers for that system, and the comparison is against full PIMD and matched-cost PIGLET.
The main result is an error-versus-cost curve for each observable, with and without gating. The decisive checks are three. First, at the cost of PIGLET or uniform contraction, adaptive gating must be closer to full PIMD on the zeolite barriers and on the excursion rate. Second, the kinetic energy must stay within about 2 meV of full PIMD, showing that contracting homophilous protons does not add up to a bias. Third, the fraction of promoted atoms must remain small, at least below a third, in the reactive systems; otherwise the speedup disappears. If random promotion or radius of gyration performs as well as the embedding gate, that result determines which version of the method we recommend.
References
- A reactive neural network framework for water-loaded acidic zeolites
- Complete the Missing Half: Augmenting Aggregation Filtering with Diversification for Graph Convolutional Networks
- Heterophily-informed Message Passing
- Nuclear quantum effects inab initiodynamics: Theory and experiments for lithium imide
- Quantum fluctuations and isotope effects in ab initio descriptions of water
- i-PI: A Python interface for ab initio path integral molecular dynamics simulations
- Anisotropy of the Proton Momentum Distribution in Water
- Isotope effects in liquid water via deep potential molecular dynamics
- Nuclear Quantum Effects in Solids Using a Colored-Noise Thermostat
- PAN: Path Integral Based Convolution for Deep Graph Neural Networks