Loading...
Searching...
No Matches
atmd::AtomicDimer::VarianceGateConfig Struct Reference

#include <gpr/AtomicDimer.h>

Public Attributes

double accept_tau = 0.0
double accept_tau_relative = 0.0
double imspe_soft_threshold = 0.0
int imspe_history_size = 16
bool pre_oracle_emd_near_skip = false

Detailed Description

Definition at line 2126 of file AtomicDimer.h.

Member Data Documentation

◆ accept_tau

double atmd::AtomicDimer::VarianceGateConfig::accept_tau = 0.0

Absolute threshold (in eV^2) below which the posterior variance at a query triggers a GP-only prediction (skipping the accurate potential call). <= 0 leaves the absolute gate disabled and defers to accept_tau_relative.

Definition at line 2131 of file AtomicDimer.h.

◆ accept_tau_relative

double atmd::AtomicDimer::VarianceGateConfig::accept_tau_relative = 0.0

Relative threshold expressed as a fraction of the GP signal variance (magnSigma2). At gate time the effective absolute threshold is accept_tau_relative * magnSigma2(now). This makes the gate system-adaptive: the same relative knob works on cuh2 (small magnSigma2) and PETMAD (larger magnSigma2) without per-fixture tuning. Active only when accept_tau <= 0 AND accept_tau_relative > 0. A sensible default for calibrated-variance modes (SVGD/LAPLACE/EB) is 1e-4 – posterior standard deviation < 1% of signal standard deviation triggers the GP-only branch.

Definition at line 2143 of file AtomicDimer.h.

◆ imspe_history_size

int atmd::AtomicDimer::VarianceGateConfig::imspe_history_size = 16

Maximum size of the EMD-filtered query ring buffer used by the IMSPE soft-skip predicate. Smaller -> faster scoring but less stable estimates; larger -> better coverage of the dimer's exploration neighborhood but quadratic K_post cost. Default 16 balances both on PETMAD-scale problems where the dimer rarely probes more than a few dozen distinct geometries inside one burst.

Definition at line 2166 of file AtomicDimer.h.

◆ imspe_soft_threshold

double atmd::AtomicDimer::VarianceGateConfig::imspe_soft_threshold = 0.0

IMSPE soft-skip threshold. When > 0, after the variance gate would have fired the oracle (var >= accept_tau), the dimer additionally computes the force-specific IMSPE score S_F(x*) = tr(Sigma_F) - tr(Sigma_F | E(x*), grad E(x*)) over the EMD-filtered recent-query ring buffer. The complete energy-gradient oracle atom conditions the force target. The oracle is suppressed (GP-mean used in place) when S(x*) < imspe_soft_threshold: oracling at x* would not collapse summed posterior force variance over the dimer's recent novel exploration neighborhood. The EMD dedup primary gate still catches genuinely redundant candidates. Default 0 leaves the soft gate disabled.

Definition at line 2157 of file AtomicDimer.h.

◆ pre_oracle_emd_near_skip

bool atmd::AtomicDimer::VarianceGateConfig::pre_oracle_emd_near_skip = false

Use the GP mean for midpoint candidates inside the EMD admission reject band instead of paying an accurate oracle call whose row cannot enter all_obs. The final convergence certificate still calls the accurate potential when the GP midpoint satisfies the force threshold.

Definition at line 2173 of file AtomicDimer.h.


The documentation for this struct was generated from the following file: