struct pot::ActiveGPConfig

Overview

Learn-on-the-fly surrogate that IS a potential. More…

#include <gpr/potentials/ActiveGP.h>
 
struct ActiveGPConfig {
    // fields
 
    double sigma_lo_factor = 1.0;
    double sigma_hi_factor = 20.0;
    double certify_below_force = 0.0;
    std::uint64_t refit_training_revisions = 5;
};

Detailed Documentation

Learn-on-the-fly surrogate that IS a potential.

A caller that can hold a potential can hold this: force() answers from the Gaussian process when the posterior is resolved and delegates to the oracle when it is not, so eOn, ASE, or any driver gets active learning without owning a loop.

The gate is two-sided and self-referential, in multiples of the model’s own likelihood noise (FLARE/VASP/DP-GEN prior art): under ~sigma_lo~ the GP answers; between ~sigma_lo~ and ~sigma_hi~ the oracle is called and the row is learned; above ~sigma_hi~ the geometry is treated as unresolvable garbage the oracle still answers, but the row is not incorporated.

Acquisition and incorporation are split. An oracle result is returned verbatim the moment it is obtained (acquisition, always allowed) while the refit that changes the surface happens only at a declared boundary: a batch call, an explicit hint, or the training-revision cadence inside the session. Drivers that keep quasi-Newton history can therefore trust that the surface is constant between epoch changes; modelState() reports the epoch. Gate and cadence settings for [ActiveGP].

Fields

double sigma_lo_factor = 1.0

Delegate above this multiple of the likelihood noise sigma.

double sigma_hi_factor = 20.0

Above this multiple the geometry is not learned from.

double certify_below_force = 0.0

A GP force magnitude under this triggers an unconditional oracle call, so a driver’s convergence claim is always backed by ground truth (FINETUNA relaxed-only rule). Non-positive disables the certificate.

std::uint64_t refit_training_revisions = 5

Refit cadence in training-set appends, forwarded to the session. Zero refits at every incorporation boundary.