Variational atomic environments¶
gprn and gprd accept --gp-atomic-environments true to select an experimental model based on local atomic environments.
The default is false. This model has no validated production speedup claim.
The option belongs to the command line of the two drivers.
C++ code can switch the model on with GPNEBConfig::atomic_environments or GaussianProcessRegression::setAtomicEnvironmentModel.
It has no TOML key, no Cap’n Proto field, no C or Fortran entry point and no name in the Python module, so the model cannot be selected from those bindings.
The model retains every measured energy and every moving-atom force component. It represents the energy as a sum of atomic contributions. The covariance between contributions uses the squared exponential of normalized smooth overlap of atomic positions (SOAP) descriptors of the same species. Each species has one fitted length scale. Frozen atoms contribute to the energy sum and to derivatives with respect to their moving neighbours.
Representative environments define the inducing variables. A deterministic sample estimates the median positive descriptor distance within each species. The selection radius is half that distance. Every environment farther than this radius from the selected representatives becomes another representative. This dimensionless distance selects representatives in descriptor space. The physical atoms and their spatial neighbour cutoff remain fixed.
Fitting and uncertainty¶
The fit uses the variational lower bound of Titsias (2009), applied to energy and derivative observations.
Let K be their prior covariance, U the covariance of the inducing variables, and C their cross covariance.
The low-rank covariance is Q = C U⁻¹ Cᵀ, and D contains the observation noise variances.
The negative variational bound is
The determinant lemma and Woodbury identity reduce the factorization to the number of inducing variables.
For U = LLᵀ, define the whitened cross covariance W = C L⁻ᵀ.
The implementation accumulates Wᵀ D⁻¹ W, Wᵀ D⁻¹ y, and the trace terms across configurations, without forming the full observation covariance.
It factors I + Wᵀ D⁻¹ W. Whitening precedes these products to preserve small regularized directions in U when energy sums are large.
The descriptor cache stores only derivative rows with nonzero entries, together with their Cartesian indices.
This storage change preserves every derivative; the force predictions differentiate the same energy model.
Predictive uncertainty retains K - Q, so directions unresolved by the representatives retain prior uncertainty.
Even with every observed environment represented, derivative observations can retain uncertainty outside the span of the energy inducing variables.
Selection and use¶
Select maximum a posteriori (MAP) uncertainty and the default evidence objective with this model. It requires positive likelihood noise and featomic support in the existing build. The likelihood noise remains fixed during the fit. The fit reports an error for any other uncertainty mode, for noise fitting, for geometry-specific noise settings (virtual observations, per-geometry extra noise, a robust likelihood), and for chemistry-factorized hyperparameter fitting. Band searches use one global atomic posterior containing every retained observation. The selected mean or maximum of the training energies sets the constant prior mean, after subtracting any physical prior potential. The fit report records the number of configurations, Cartesian dimensions, observation channels, inducing variables, and spatial cutoff.
Observation archives retain the measured data for another fit. The parameter seed format stores pair kernels; it rejects atomic parameter exports.
Use the reproducer’s normal campaign profiles to compare this model with the full GP. Compare final force convergence, saddle identity, oracle calls, and wall time on the same systems and resources. These measurements establish whether the reduced basis improves the search.