potfit wiki

open source force-matching

User Tools

Site Tools


uq

This is an old revision of the document!


Uncertainty Quantification


potfit uses the potential ensemble method 1) to quantify the uncertainty in fitted potential parameters by generating an ensemble of candidate potentials of varying suitability sampled from around the best fit potential space.

To enable this feature, compile potfit with the uq switch. This generates an ensemble of potentials whose spread can be used to quantify the uncertainties in the fitted parameters. Propagating ensemble members to calculate quantities of interest will give the resultant uncertainties incurred in using the potential.

<span style="color:red">This option is only available for analytic potentials.</span>

The Ensemble Method

An ensemble of potentials are generated by taking a series on Markov chain Monte Carlo steps starting from the best fit potential parameters. The step size in each parameter direction is scaled dependant on the curvature in each parameter. This is encoded using information about the eigenvalues of the hessian at the best fit potential minimum, for potential parameters $\Theta=\{\theta_1,..., \theta_N\}$.

\begin{equation} \Delta\theta_{i}=\sum_{j=1}^{\rm N_{\rm P}}\sqrt{\frac{\rm R}{{\rm{max}} (1,\lambda_{j})}}V_{ij}r_{j} \end{equation} where $\lambda_j$ are the hessian eigenvalues, $V_{ij}$ the eigenvector components and $r_j$ is Gaussian noise. The R value, acceptance_rescaling, is a tunable parameter for the MCMC step acceptance rate.

The MCMC algorithm samples potentials from the distribution at a temperature, $T_0$, set by the number of potential parameters and minimum cost value. In the majority of cases this temperature should be sufficient to generate a suitable ensemble. In the event that a reduced sampling temperature is required this can be scaled by a parameter $\alpha$ (uq_temp), such that $T=\alpha T_0$.

Parameters

parameter name parameter type default value
short explanation

Required parameters

acceptance_rescaling* float (none)
R value to tune MCMC acceptance rate
acc_moves* integer (none)
Number of accepted MCMC moves required

Optional parameters

sloppyfile string output_prefix
Potential ensemble output filename, uses output_prefix if not defined. At least one of output_prefix and sloppyfile must be defined to run
uq_temp float 1.0
Temperature scaling parameter $\alpha$
use_svd boolean 0
Use singular value decomposition to find Hessian eigenvalues (default is eigenvalue decomposition)
hess_pert float (none)
Percentage parameter perturbation in Hessian finite difference calculation
eig_max float 1.0
Alternative MCMC step perturbation maximum value in max(eig_max, $\lambda_j$)
1)
Frederiksen, S. L., Jacobsen, K. W., Brown, K. S., and Sethna, J. P.: Bayesian ensemble approach to error estimation of interatomic potentials. Phys. Rev. Lett. 93 (16), 165501, 2004.
uq.1543234542.txt.gz ยท Last modified: 2018/11/26 13:15 by slongbottom