Loading...
Searching...
No Matches
AcquisitionPolicy.h File Reference

TPE-style OIE acquisition over the discrete interior-image axis. More...

#include <Eigen/Dense>
#include <cstdint>
#include <vector>

Go to the source code of this file.

Classes

struct  gpr::neb::oie::TpePickResult
 Result of a TPE acquisition pick over the interior band. More...
class  gpr::neb::oie::AcquisitionPolicy
 OIE acquisition over the currently informative band images. More...

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
namespace  gpr::neb
 The nudged elastic band: path, GP-NEB driver, configuration and result, acquisition, IDPP start.
namespace  gpr::neb::oie

Enumerations

enum class  gpr::neb::oie::TpeObjective { gpr::neb::oie::ForceAccuracy = 0 , gpr::neb::oie::SaddleIdentity }

Functions

const char * gpr::neb::oie::tpeObjectiveName (TpeObjective objective) noexcept
const char * gpr::neb::oie::tpeObjectiveLogName (bool evaluated, TpeObjective objective) noexcept
TpeObjective gpr::neb::oie::tpeObjectiveForSaddleState (bool ci_active, bool candidate_confident, bool chain_certificate_met) noexcept
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.
double gpr::neb::oie::ucbBeta (int outer_iter, int n_candidates)
 GP-UCB exploration schedule sqrt(beta_t), Srinivas et al. 2010.
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.
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).
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.
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).
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.
int gpr::neb::oie::tpePick (const std::vector< double > &interior_utility)
 TPE acquisition over the DISCRETE interior-image index axis.
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.

Detailed Description

TPE-style OIE acquisition over the discrete interior-image axis.

Implements the TPE-style OIE acquisition policy per the design doc docs/orgmode/development/design/oie_tpe_acquisition.org. The policy scores every interior NEB image for either force accuracy or saddle-identity resolution and selects the oracle target by the Tree-structured Parzen Estimator good/bad density ratio (Bergstra 2011, Optuna's TPESampler).

Every threshold is data-derived or a standard schedule:

  • the good/bad split uses Optuna's gamma quantile min(ceil(0.1 M), 25);
  • the Parzen bandwidth uses Optuna's adjacency gaps + magic-clip;
  • the explore/exploit weight is the GP-UCB beta_t schedule of Srinivas et al. 2010 (no kappa);
  • the confidence gate and the saddle-exists predicate are functions of the live posterior and the band energy span.

No env vars, no problem-specific tunables. The only literals are the reference algorithm's own quantile/clip constants (0.1, 25, 100).

Definition in file AcquisitionPolicy.h.