Classes | |
| struct | TpePickResult |
| Result of a TPE acquisition pick over the interior band. More... | |
| class | AcquisitionPolicy |
| OIE acquisition over the currently informative band images. More... | |
Enumerations | |
| enum class | TpeObjective { ForceAccuracy = 0 , SaddleIdentity } |
Functions | |
| double | ucbBeta (int outer_iter, int n_candidates) |
| GP-UCB exploration schedule sqrt(beta_t), Srinivas et al. 2010. | |
| const char * | tpeObjectiveName (TpeObjective objective) noexcept |
| const char * | tpeObjectiveLogName (bool evaluated, TpeObjective objective) noexcept |
| TpeObjective | tpeObjectiveForSaddleState (bool ci_active, bool candidate_confident, bool chain_certificate_met) noexcept |
| double | gaussianExceedanceProbability (double reference_mean, double reference_variance, double challenger_mean, double challenger_variance) |
| Probability that a Gaussian challenger equals or exceeds a Gaussian reference under the independent-marginal difference approximation. | |
| bool | saddleExists (const std::vector< double > &energies) |
| Strict interior maximum above BOTH endpoints (no single-hump assumption: any interior image above max(E0, E_last) qualifies). | |
| bool | confidenceMet (const std::vector< double > &energies, const std::vector< double > &posterior_energy_variance, int outer_iter) |
| Global-confidence gate without a magic threshold. | |
| std::vector< double > | oieUtility (const std::vector< double > &energies, const std::vector< double > &posterior_energy_variance, const std::vector< double > &force_norm, const std::vector< double > &force_variance, int outer_iter, bool confident) |
| Per-interior-image standardized OIE utility (the TPE objective). | |
| std::vector< double > | saddleIdentityUtility (const std::vector< double > &energies, const std::vector< double > &posterior_energy_variance) |
| Per-image value of information for resolving the interior argmax. | |
| int | tpePick (const std::vector< double > &interior_utility) |
| TPE acquisition over the DISCRETE interior-image index axis. | |
| TpePickResult | selectTpeOracleTarget (const std::vector< double > &energies, const std::vector< double > &posterior_energy_variance, const std::vector< double > &force_norm, const std::vector< double > &force_variance, int outer_iter) |
| Full OIE target decision with the strict-saddle CI constraint and every interior image eligible. | |
| Eigen::VectorXd | drawPosteriorObservationSample (const Eigen::VectorXd &posterior_mean, const Eigen::MatrixXd &posterior_covariance, std::uint64_t seed=0) |
| Draw one joint posterior realization for action-level PS-BAX. | |
|
strong |
| Enumerator | |
|---|---|
| ForceAccuracy | |
| SaddleIdentity | |
Definition at line 38 of file AcquisitionPolicy.h.
| bool gpr::neb::oie::confidenceMet | ( | const std::vector< double > & | energies, |
| const std::vector< double > & | posterior_energy_variance, | ||
| int | outer_iter ) |
Global-confidence gate without a magic threshold.
The band is confident when the worst-case UCB half-width on the energies, beta_t * max interior std, has shrunk below the saddle PROMINENCE (interior max above the higher endpoint): posterior uncertainty no longer reaches across the barrier being resolved. The prominence, not the whole span, is the yardstick – the span includes the reaction energy, which on an exothermic band dwarfs the barrier and fires confidence before the saddle is resolved. beta_t is the GP-UCB schedule; the prominence is data. Confidence implies saddleExists (prominence > 0).
| energies | Whole-band energies [0 .. n_images-1]. |
| posterior_energy_variance | Whole-band posterior energy variance. |
| outer_iter | Outer iteration t (1-based for the schedule). |
Definition at line 271 of file AcquisitionPolicy.cpp.
| Eigen::VectorXd gpr::neb::oie::drawPosteriorObservationSample | ( | const Eigen::VectorXd & | posterior_mean, |
| const Eigen::MatrixXd & | posterior_covariance, | ||
| std::uint64_t | seed = 0 ) |
Draw one joint posterior realization for action-level PS-BAX.
The mean and covariance use the same channel ordering. A self-adjoint square root supports positive-semidefinite singular covariances. Invalid shapes, non-finite inputs, or a materially indefinite covariance return an empty vector. The draw is deterministic for a fixed seed.
Definition at line 536 of file AcquisitionPolicy.cpp.
| double gpr::neb::oie::gaussianExceedanceProbability | ( | double | reference_mean, |
| double | reference_variance, | ||
| double | challenger_mean, | ||
| double | challenger_variance ) |
Probability that a Gaussian challenger equals or exceeds a Gaussian reference under the independent-marginal difference approximation.
Definition at line 239 of file AcquisitionPolicy.cpp.
| std::vector< double > gpr::neb::oie::oieUtility | ( | const std::vector< double > & | energies, |
| const std::vector< double > & | posterior_energy_variance, | ||
| const std::vector< double > & | force_norm, | ||
| const std::vector< double > & | force_variance, | ||
| int | outer_iter, | ||
| bool | confident ) |
Per-interior-image standardized OIE utility (the TPE objective).
Standardizes each channel (energy, force magnitude, VarE, VarF) across the interior images, then combines exploit (energy toward the saddle + residual NEB force accuracy via force posterior variance — not mean force magnitude) and explore (energy variance as PE coupling) weighted by the GP-UCB beta_t schedule. When the band is not yet globally confident the energy-exploit term is dropped so variance reduction dominates (explore-then-exploit ordering).
All inputs are whole-band [0 .. n_images-1]; the returned vector has size n_images-2 (interior only).
Definition at line 298 of file AcquisitionPolicy.cpp.
| bool gpr::neb::oie::saddleExists | ( | const std::vector< double > & | energies | ) |
Strict interior maximum above BOTH endpoints (no single-hump assumption: any interior image above max(E0, E_last) qualifies).
| energies | Whole-band energies, indexed [0 .. n_images-1]. |
Definition at line 261 of file AcquisitionPolicy.cpp.
| std::vector< double > gpr::neb::oie::saddleIdentityUtility | ( | const std::vector< double > & | energies, |
| const std::vector< double > & | posterior_energy_variance ) |
Per-image value of information for resolving the interior argmax.
The current posterior-mean maximum and every challenger share the Gaussian probability that the challenger can change the maximum. Multiplying that probability by the queried image's posterior standard deviation directs measurements to the side of each unresolved comparison that can still reduce saddle-identity risk.
Definition at line 342 of file AcquisitionPolicy.cpp.
| TpePickResult gpr::neb::oie::selectTpeOracleTarget | ( | const std::vector< double > & | energies, |
| const std::vector< double > & | posterior_energy_variance, | ||
| const std::vector< double > & | force_norm, | ||
| const std::vector< double > & | force_variance, | ||
| int | outer_iter ) |
Full OIE target decision with the strict-saddle CI constraint and every interior image eligible.
Implements the control flow of the design doc: confident + saddle_exists -> the true interior energy maximum (CI candidate); otherwise the TPE density pick (explore-only utility when not confident, full utility when confident but no saddle).
Inputs are whole-band [0 .. n_images-1]; force_variance may be empty (the explore arm then uses energy variance only).
Definition at line 525 of file AcquisitionPolicy.cpp.
|
nodiscardnoexcept |
Definition at line 230 of file AcquisitionPolicy.cpp.
|
nodiscardnoexcept |
Definition at line 225 of file AcquisitionPolicy.cpp.
|
nodiscardnoexcept |
Definition at line 214 of file AcquisitionPolicy.cpp.
| int gpr::neb::oie::tpePick | ( | const std::vector< double > & | interior_utility | ) |
TPE acquisition over the DISCRETE interior-image index axis.
Splits interior indices into "good" (top gamma by utility) and "bad", fits Parzen l(x) on good and g(x) on bad, and returns argmax_x [log l(x) - log g(x)] over the exhaustive interior candidate set (Optuna's _compare specialized to the finite discrete space). Returns the interior index in [0 .. M-1]; map to a full-band index by adding 1.
Definition at line 455 of file AcquisitionPolicy.cpp.
| double gpr::neb::oie::ucbBeta | ( | int | outer_iter, |
| int | n_candidates ) |
GP-UCB exploration schedule sqrt(beta_t), Srinivas et al. 2010.
beta_t = 2 log(cardinality(D) t^2 pi^2 / (6 delta)), delta = 1/t, for a finite decision set D at outer iteration t. Returns sqrt(beta_t). Self-scaling: grows with iteration and band size, no hand-set kappa.
Definition at line 203 of file AcquisitionPolicy.cpp.