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

Implementation of the TPE-style OIE acquisition. More...

#include "gpr/neb/oie/AcquisitionPolicy.h"
#include <Eigen/Dense>
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <limits>
#include <numeric>
#include <random>
#include <utility>
#include <vector>

Go to the source code of this file.

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

Functions

double gpr::neb::oie::ucbBeta (int outer_iter, int n_candidates)
 GP-UCB exploration schedule sqrt(beta_t), Srinivas et al. 2010.
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
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.
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.

Detailed Description

Implementation of the TPE-style OIE acquisition.

Implements the 1-D Parzen estimator with Optuna's adjacency-gap bandwidth + magic-clip, the single-pseudo-observation prior, consider_endpoints=False on the good estimator, the gamma quantile split, the softmax kernel weights, and the GP-UCB beta_t schedule.

Definition in file AcquisitionPolicy.cpp.