Energy and derivative observation scaling¶
Physical observations and convergence¶
For a configuration with N movable atoms, one energy and 3N Cartesian derivatives are observations of a single latent energy function. The code stores G = grad E; the physical force is F = -G. Their units differ by a length. Their counts alone do not determine their relative accuracy or their information content: the joint covariance includes correlations between rows.
Energy differences cannot certify stationarity. For every positive epsilon,
E_epsilon(x) = epsilon sin(x / epsilon^2),
|E_epsilon(x)| <= epsilon,
F_epsilon(0) = -1 / epsilon.
Two distinct sampled positions, 0 and pi epsilon^2, even have identical energies and opposite, arbitrarily large gradients. An empirical energy standard deviation can therefore be zero while every force is large. A constant energy offset provides the converse independence: it changes energy values without changing any force.
Convergence uses the measured maximum atomic force norm (or the physical projected force prescribed by the search), with its own dimensional tolerance. Energy accuracy, uncertainty and step diagnostics are separate conditions. For one nonzero Cartesian component A among d components, the squared RMS is A^2/d: RMS alone can hide a growing peak. Saddle index certification remains a separate property from force convergence.
Exact observation transformation¶
Let y denote residual observations after subtraction of the declared mean, C their positive definite covariance including observation noise and numerical regularizers, and B the cross covariance with physical query observations. For an invertible, fixed observation transformation W, define
y' = W y, C' = W C W^T, B' = W B.
alpha' = W^(-T) alpha, alpha = C^(-1) y.
B'^T alpha' = B^T alpha.
B'^T C'^(-1) B' = B^T C^(-1) B.
The same rule scales every observation operator: an energy row is W_ii times evaluation, and a gradient row is W_jj times differentiation. Their physical predictions retain F = -grad E. Separate row units do not require equality between the energy and gradient scales, nor a prescribed statistical kernel length scale.
The Gaussian negative log marginal likelihood transforms as
NLML(C', y') = NLML(C, y) + log |det W|.
Subtract the Jacobian when reporting or optimizing the physical likelihood. Its derivative is necessary if W depends on fitted parameters. Keeping only the transformed quadratic form and omitting this term changes the objective.
Covariance equilibration¶
For positive diagonal entries, W_ii = 1/sqrt(C_ii) makes the transformed diagonal one. Unlike division by the sampled energy spread, this is defined for constant observed energies whenever C is positive definite. The scales come from the covariance in each observation’s own units.
In exact arithmetic a factor L’ of W C W^T gives the physical Cholesky factor L = W^(-1) L’. Returning L retains physical solves, determinant conventions and rank updates without changing the surrounding posterior interface. The extra work is quadratic, compared with cubic dense factorization. Distributed implementations must scale rows by global observation index and preserve collective failure handling; low-rank truncations and iterative stopping rules require their own error analysis.
Equilibration does not guarantee good conditioning for every covariance. It removes the diagonal disparity in the explicit example
C = [[10^-12, rho], [rho, 10^12]], rho = 0.99.
cond_2(C) >= 10^24,
cond_2(W C W^T) = (1 + rho)/(1 - rho) = 199.
The Sollya enclosure includes a perturbation of rho by one binary64 machine epsilon and still bounds the scaled condition number between 198 and 200. This example is a conditioning certificate, not a molecular benchmark result.
Every physical noise or regularization term must be included before applying the congruence. Adding delta I in the transformed system instead introduces the physical regularizer delta W^(-1) W^(-T). This generally differs between energy and gradient rows and must not be treated as the original scalar jitter.
Statistical noise calibration¶
If the oracle errors warrant distinct noise variances, use the physical model
Sigma = diag(sigma_E^2 I_E, sigma_G^2 I_G), C = K + Sigma,
d NLML / d sigma_b^2 = (tr_b(C^(-1)) - ||alpha_b||^2)/2.
The units of the two variances differ. Their calibration depends on the oracle and model error; there is no universal value implied by the 1:3N row count. Changing these physical variances changes the posterior. Congruent numerical equilibration preserves whichever statistical model is declared.
Partitioning C into energy and gradient blocks also gives S = C_GG - C_GE C_EE^(-1) C_EG and the conditional gradient residual r_G = y_G - C_GE C_EE^(-1) y_E. The joint quadratic form is y_E^T C_EE^(-1) y_E + r_G^T S^(-1) r_G. Thus correlated derivative rows are not independent copies of a scalar energy residual. Dividing their loss by 3N without transforming the full model has no posterior-invariance guarantee.
The general derivative-observation construction and distinct observation noise parameters are described in Rasmussen and Williams, section 9.4: Gaussian Processes for Machine Learning, chapter 9.
Executable evidence and adoption requirements¶
scripts/derive_observation_equilibration.pyasserts exact SymPy identities for a coupled finite covariance, likelihood, operator scaling, noise scores, conditional factorization, and the energy/force counterexample.proofs/lean/GPRidge/ObservationEquilibration.leanstates general finite matrix transport identities and smooth energy/force counterexamples.scripts/verify_observation_equilibration.sollyaencloses conditioning and force examples using directed interval evaluation.scripts/check_observation_equilibration.pyruns the symbolic derivation and rejects missing, repeated or false interval assertions. The meaning of interval evaluation is specified by the Sollya evaluate manual.
These derivations do not establish campaign performance. A production change must retain or improve 24/24 Baker and 20/20 GPRD Birkholz measured-force successes using the published frozen inputs, oracle, controls and scoring. Report oracle calls, runtime and final force errors alongside the success counts. In the tagged 0.5.0 records, all 24 Baker and all 20 Birkholz cases also pass the independent index-one check. Read force convergence from the first-hit record and saddle certification from each result’s validation fields; they are separate acceptance conditions. Keep measured results separate from algebraic equivalence and from numerical fixtures.
Force norms in proposal control¶
For atomic force blocks F_i in R^3, define M = max_i ||F_i||_2 and Q = (sum_i ||F_i||_2^2)^(1/2). Then
M <= Q <= sqrt(N) M.
Replicating a force pattern leaves M unchanged and multiplies Q by the square root of the replication count. For 37 atoms each at three quarters of the atomic force tolerance, M is below that tolerance while Q exceeds twice the tolerance. Comparing Q directly with an atomic force threshold therefore gives a molecule-size-dependent definition of the local basin.
The dimer proposal controller uses the configured physical convergence norm for its local-basin decision and force uncertainty scale. The smooth line-search merit retains the Euclidean norm of the reflected force. For a unit mode v, reflection H = I - 2 v v^T satisfies H^T H = I and preserves Q. It need not preserve M: reflection mixes Cartesian components belonging to different atoms. The reflected residual cannot replace the physical force in the stopping condition.
scripts/derive_force_globalization_norms.py checks the reflection and
replication identities with SymPy. The finite-sum bounds and counterexamples
are proved in proofs/lean/GPRidge/ForceGlobalization.lean.
scripts/verify_force_globalization_norms.sollya checks the corresponding
binary64 separations, including the published force threshold. These results
justify the norm distinction; they do not prove convergence of the search.
Campaign completion¶
The Birkholz panel measures the standalone dimer from retained starting geometries, orientations and training observations. Report the initial band’s time and oracle calls as seed preparation; they do not belong to the dimer’s cost or consume its runtime budget. Both versions must use the same retained inputs. Regenerating the band changes the problem given to the dimer.
The paper’s 20/20 Birkholz result counts measured force-threshold hits; its 18 completed index certificates are a separate result. Compare each milestone with the same milestone: first measured force convergence, completed dimer rotation and index work, and reaction-path connectivity. Keep validation calls separate from search calls, and retain the full pipeline ledger as well.
Use the reference barrier as an upper comparison value. A lower barrier is an improvement when the measured force and saddle-index checks hold for a connected route between the supplied endpoints. The route may contain intermediate minima. Report the energy difference with its sign; an energy below the reference does not by itself invalidate a result.
A force-threshold hit followed by a timeout records a force hit and a failed completed search. Exhausting the 900-second Grignard dimer budget is a hard failure for completion; that budget is not a runtime target. Grignard must approach the Baker runtime range. Compare runtime and oracle calls on the same host with the same inputs, resource allocation, oracle and stopping criteria, and retain failed cases in every reported denominator. Baker’s 24/24 target continues to apply to its band search and saddle validation.