Configuration for GP-NEB. More...
#include <gpr/neb/GPNEB.h>
Public Types | |
| enum class | BandEngineKind { InternalLbfgs , RgLbfgs , RgFire , Rgsaddle , RgsaddleRtr , RgsaddleOde12r , RgsaddleOde12rExp } |
| using | OuterIterHook |
| using | OuterIterHookReject |
| using | CurrentCiOraclePriority |
| using | OieInnerHandoffPriority |
| using | OieFixedImage |
| using | OieFixedImageLeaseProvider |
Static Public Member Functions | |
| static constexpr bool | isRgsaddleEngine (BandEngineKind kind) noexcept |
| Whether a band engine kind runs on the rgsaddle library. | |
| static void | requireLbfgsNewtonAgreement (double value) |
| static bool | parseBandEngineKind (const std::string &name, BandEngineKind &out) noexcept |
Static Public Attributes | |
| static constexpr double | kDefaultLbfgsNewtonAgreement = 2.0 |
Optional pre-oracle request for hooks that require a true climbing-image force before they can run. The callback sees the current GP-relaxed climbing-image force and returns true only when the hook is eligible to consume a current true CI oracle.
Optional block-coordinate ownership for one interior image during an OIE inner relaxation. The provider is evaluated once per outer step; an invalid or endpoint index leaves the full band mobile.
Extended fixed-image ownership for controllers that must preserve the climbing marker while requesting one posterior-growth acquisition.
Optional pre-inner request for OCI handoff controllers. It may bypass the GP-OIE inner relaxation only when GPNEB has already verified a current-chain certificate and the caller confirms a quiet handoff state.
Per-outer-iter hook fired AFTER the climbing-image marker is (re)assigned. The hook can mutate ~path.image(ci_idx)~ (move the CI image position to a dimer-refined location, update its energy and gradient) and append observations to the session. Setting ~converged~ to true breaks the outer loop.
The OCINEB controller uses this hook to run short MMF bursts on the CI image while the NEB outer loop is still iterating, so the dimer's translated position feeds back into the next NEB inner relaxation rather than being dropped at the end of the run.
Optional feedback fired when an outer hook reports convergence but the GP-NEB on-path certificate rejects it. OCINEB uses this to back off deterministic MMF replays until OIE adds information to the surrogate.
|
strong |
Inner-band stepper. Production is RgLbfgs (dest search_direction + host stepPositions). InternalLbfgs stays the parity harness. RgFire is rgmin FIRE2 (dest FIRE search + host stepPositions), eOn's band default, opt-in on the rgmin seam. Rgsaddle is the linked rgsaddle BandSession; it does not need rgmin.
Definition at line 986 of file GPNEB.h.
|
inlinestaticconstexprnoexcept |
Whether a band engine kind runs on the rgsaddle library.
Definition at line 1002 of file GPNEB.h.
|
inlinestaticnoexcept |
Parse –neb-band-engine. Empty selects the production default (RgLbfgs). Unknown names return false.
Definition at line 1034 of file GPNEB.h.
|
inlinestatic |
Reject a negative or non-finite agreement. Zero is off: the curvature cap keeps the configured band trust. The value is not clamped.
Definition at line 1025 of file GPNEB.h.
| AcquisitionType gpr::neb::GPNEBConfig::acquisition = AcquisitionType::TPE |
| int gpr::neb::GPNEBConfig::acquisition_seed_offset = 0 |
Acquisition seed offset for independent restarts: added to the outer counter wherever a deterministic acquisition seed is derived (TPE round, PS-BAX sampler), so restart k explores a different deterministic trajectory than restart k-1 while a single run stays bitwise reproducible.
| int gpr::neb::GPNEBConfig::adaptive_prune_max_observations = 0 |
| bool gpr::neb::GPNEBConfig::attach_manifold_chart = false |
| double gpr::neb::GPNEBConfig::attempt_wall_seconds = 0.0 |
Per-attempt wall budget in seconds. The outer loop exits honestly (unconverged, verdict printed) when its own elapsed time exceeds this, so a grinding attempt yields the remaining budget to the caller's restart loop instead of being killed verdict-less from outside. Non-positive disables.
| double gpr::neb::GPNEBConfig::band_certificate_force_scale = 0.0 |
| BandEngineKind gpr::neb::GPNEBConfig::band_engine = BandEngineKind::RgLbfgs |
| bool gpr::neb::GPNEBConfig::band_leak_bound = false |
| bool gpr::neb::GPNEBConfig::band_midpoint_certificate = false |
| int gpr::neb::GPNEBConfig::band_refinement_max = 0 |
Certificate-driven band refinement (runOCINEBRefined). A converged band whose CI-adjacent perpendicular true force exceeds band_certificate_force_scale is under-resolved at the ridge and is searched again at double the image count, up to band_refinement_max times. Zero refinements retains plain runOCINEB behaviour. A positive force scale requests an additional path-force criterion in eV/A; a non-positive value leaves convergence to the selected CI/path mode.
| bool gpr::neb::GPNEBConfig::band_stall = true |
| NEBBatchOracle gpr::neb::GPNEBConfig::batch_oracle |
Optional whole-batch oracle: when set, the points a rank owns of every oracle step (band images, stencil displacements, probes) go through one batched call instead of one oracle call per point. Not used while ~oracle_evaluation_context~ is set, since that hook acts per point.
| bool gpr::neb::GPNEBConfig::ci_index_certificate = false |
Optional first-order-saddle certificate on the converged climbing image: the true-PES curvature along the two lowest surrogate modes must satisfy c1 < 0 <= c2; otherwise the image is displaced along the offending mode and the band is warm-started again (bounded by 3N attempts).
| double gpr::neb::GPNEBConfig::ci_stencil_step = gpr::optim::defaultStencilStep() |
| bool gpr::neb::GPNEBConfig::climbing_image_converged_only = true |
| std::optional<ConvergenceNormType> gpr::neb::GPNEBConfig::convergence_force_norm |
| CurrentCiOraclePriority gpr::neb::GPNEBConfig::current_ci_oracle_priority |
| std::optional<bool> gpr::neb::GPNEBConfig::dimer_analytic_curvature |
| bool gpr::neb::GPNEBConfig::disable_output_normalization = false |
| double gpr::neb::GPNEBConfig::first_attempt_wall_seconds = 0.0 |
| bool gpr::neb::GPNEBConfig::fit_step_stop = true |
| bool gpr::neb::GPNEBConfig::force_stop_certificate = false |
Optional certificate of a stopped search. With true, a climbing image whose true force is under tolerance is certified by one Cartesian stencil, a convergence claim the force did not make is gated on the vibrational index, and a higher-order point is left along its extra negative mode. With false the search returns at the force stop and spends no further evaluation there; the index of the returned geometry is then a separate validation.
| std::vector<int> gpr::neb::GPNEBConfig::frozen_atomic_numbers |
| double gpr::neb::GPNEBConfig::gp_local_inner_tol_factor = 0.5 |
| double gpr::neb::GPNEBConfig::gp_local_pair_tail_refresh = 0.0 |
| std::string gpr::neb::GPNEBConfig::gp_population_prior |
Population prior table (gpr/prior/PopulationPrior.h); empty is none.
| std::function<void(gpr::InputParameters&, gpr::AtomsConfiguration&)> gpr::neb::GPNEBConfig::gp_setup |
| bool gpr::neb::GPNEBConfig::hold_refined_spacing = true |
A refinement resamples the converged band at the chord-leak equidistribution (images where the path turns under force) with the count set by the O(h^2) law, and the refined attempt holds that spacing through spring rest lengths (initial_rest_lengths) so the uniform springs cannot spread it out again. Off: the resampled band relaxes under the plain springs.
| int gpr::neb::GPNEBConfig::hssvd_local_posterior_active_set_size = 0 |
| gpr::HyperparameterOptimizationMode gpr::neb::GPNEBConfig::hyperparameter_mode |
| gpr::HyperparameterObjectiveMode gpr::neb::GPNEBConfig::hyperparameter_objective |
| bool gpr::neb::GPNEBConfig::hyperparameter_objective_explicit = false |
| double gpr::neb::GPNEBConfig::imspe_refit_skip_relative_tol = 0.0 |
| EigenMatrix gpr::neb::GPNEBConfig::initial_path |
| std::vector<double> gpr::neb::GPNEBConfig::initial_rest_lengths |
|
staticconstexpr |
| bool gpr::neb::GPNEBConfig::kernel_support_freezes_band = true |
| double gpr::neb::GPNEBConfig::lbfgs_finite_difference = 1e-6 |
| double gpr::neb::GPNEBConfig::lbfgs_inverse_curvature = 0.01 |
| double gpr::neb::GPNEBConfig::lbfgs_newton_agreement = kDefaultLbfgsNewtonAgreement |
| gpr::linalg::DistributedFactorization gpr::neb::GPNEBConfig::linalg_mode |
| bool gpr::neb::GPNEBConfig::local_tier_classic = false |
Run the per-image local tier under the classic joint [E,F] profiles too: each interior image predicts from its own model of its k nearest rows once it has per_image_min_train of them, and the single global posterior is promoted to a random-feature regulariser (prior-mean aware) once every interior image is local. The exact global model then stops growing with the training set.
| NEBMode gpr::neb::GPNEBConfig::mode = NEBMode::GP_OIE |
| GPModelProfile gpr::neb::GPNEBConfig::model_profile = GPModelProfile::EXTENDED |
| ObservationVarianceEstimator gpr::neb::GPNEBConfig::observation_variance_estimator |
| OieFixedImage gpr::neb::GPNEBConfig::oie_fixed_image |
| OieFixedImageLeaseProvider gpr::neb::GPNEBConfig::oie_fixed_image_lease |
| bool gpr::neb::GPNEBConfig::oie_fixed_point_measured_step |
| bool gpr::neb::GPNEBConfig::oie_fixed_point_reparam |
| bool gpr::neb::GPNEBConfig::oie_hook_reparam |
| OieInnerHandoffPriority gpr::neb::GPNEBConfig::oie_inner_handoff_priority |
| Eigen::Index gpr::neb::GPNEBConfig::oracle_batch_chunk = 0 |
pot::OracleBatchLayout::chunk for every oracle step: 0 shares the points out one by one and evaluates a rank's points in one call; K cuts a step into contiguous chunks of K points, so an engine whose batched forward depends on the batch composition gives the same values at every rank count.
| const double* gpr::neb::GPNEBConfig::oracle_energy_noise_rms = nullptr |
| std::function<void(const NEBOracleEvaluationContext&)> gpr::neb::GPNEBConfig::oracle_evaluation_context |
| const double* gpr::neb::GPNEBConfig::oracle_force_noise_rms = nullptr |
| const double* gpr::neb::GPNEBConfig::oracle_noise_rms = nullptr |
| bool* gpr::neb::GPNEBConfig::oracle_noise_updates_enabled = nullptr |
| std::function<void(const NEBOracleOptimizationOutcome&)> gpr::neb::GPNEBConfig::oracle_optimization_outcome |
| std::function<void(const NEBOracleSessionCheckpoint&)> gpr::neb::GPNEBConfig::oracle_session_path_checkpoint |
| std::function<bool()> gpr::neb::GPNEBConfig::oracle_session_restart_requested |
| int gpr::neb::GPNEBConfig::oracle_transition_focal_image = -1 |
| OuterIterHook gpr::neb::GPNEBConfig::outer_iter_hook |
| OuterIterHookReject gpr::neb::GPNEBConfig::outer_iter_hook_reject |
| PriorMeanStatistic gpr::neb::GPNEBConfig::prior_mean_statistic = PriorMeanStatistic::Mean |
| bool gpr::neb::GPNEBConfig::record_band_trace_geometry = false |
| bool gpr::neb::GPNEBConfig::record_band_trace_snapshot = true |
| bool gpr::neb::GPNEBConfig::record_composition_trace = false |
| bool gpr::neb::GPNEBConfig::remove_molecular_rigid_motion = false |
| bool gpr::neb::GPNEBConfig::restricted_variance_acquisition = false |
| bool gpr::neb::GPNEBConfig::rgmin_initial_log_move_whole_session = true |
| bool gpr::neb::GPNEBConfig::rgsaddle_refine = false |
| double gpr::neb::GPNEBConfig::robust_nu = 0.0 |
| bool gpr::neb::GPNEBConfig::saddle_stage_follows = false |
A later saddle stage owns certification. A force-stopped band hands the climbing image over and does not buy a Cartesian stencil: that stencil ends unresolved and the saddle measures the index at the geometry it reaches. When this is false the band is the final stage and a higher-order stencil still refuses the search.
| gpr::optim::SecantHessianConfig gpr::neb::GPNEBConfig::secant_hessian |
| bool gpr::neb::GPNEBConfig::skip_unchanged_subset_fit = false |
| bool gpr::neb::GPNEBConfig::stable_posterior_variance = false |
| bool gpr::neb::GPNEBConfig::subset_failure_escalation = true |
| std::vector<int> gpr::neb::GPNEBConfig::symmetry_permutation |
Endpoint-exchange symmetry of a degenerate rearrangement: slot a of the mapped geometry takes atom symmetry_permutation[a]. The orthogonal map and translation are fitted to the band's own endpoints (~requireEndpointSymmetry~), which must each land within trust_radius of the other. Every oracle row then also trains the session at its symmetry image, an exact second observation for a potential invariant under relabelling like atoms and rigid (including improper) motion. Needs a session, mode GP_OIE or GP_AIE, an isolated molecule and every atom moving. Empty, the default, leaves the training set untouched. –gp-endpoint-symmetry.
| const policy::TrainingPolicy* gpr::neb::GPNEBConfig::training_policy = nullptr |
| policy::SearchKind gpr::neb::GPNEBConfig::training_search_kind = policy::SearchKind::Neb |
| DistanceMetricType gpr::neb::GPNEBConfig::trust_metric = DistanceMetricType::EMD |
| bool gpr::neb::GPNEBConfig::uncertainty_aware_projection = false |
UA-NEB: remove the tangent component of the band force in the Sigma^{-1} metric built from the surrogate's per-degree-of-freedom force variance, rather than the Euclidean one (Yu and Wang, DOI 10.48550/arxiv.2605.24401). A direction the model has not resolved then steers the band less than one it has. Off by default: with it off the projection arithmetic is untouched.
| gpr::UncertaintyMode gpr::neb::GPNEBConfig::uncertainty_mode = gpr::UncertaintyMode::MAP |
| bool gpr::neb::GPNEBConfig::use_chem_factorized_hyper = false |
| bool gpr::neb::GPNEBConfig::use_geodesic_image_prior = false |
| bool gpr::neb::GPNEBConfig::use_hssvd_objective_contractions = true |
| bool gpr::neb::GPNEBConfig::use_lognormal_magn_prior = false |
Opt-in log-normal prior on the positive signal variance magnSigma2 (PriorLogNormal). Off keeps the half-Student-t (classic profiles) or half-Cauchy (MAP) magnitude prior. –gp-lognormal-magn-prior.
| bool gpr::neb::GPNEBConfig::use_relative_neighborhood_graph = false |
| bool gpr::neb::GPNEBConfig::use_rigid_null_deflation = false |
| bool gpr::neb::GPNEBConfig::use_virtual_observations = false |
| gpr::GaussianProcessRegression::VarianceConvention gpr::neb::GPNEBConfig::variance_convention |
| gpr::optim::VibrationalStencil gpr::neb::GPNEBConfig::vibrational_stencil |
Coordinates the true-oracle Hessian stencils displace. Full measures every Cartesian coordinate. Vibrational measures only the vibrational directions; its resolution can call a borderline mode resolved where Full calls it unresolved.
| std::shared_ptr<const gpr::WallClockLimit> gpr::neb::GPNEBConfig::wall_clock_limit |