Action: OPT_ROBBINS_MONRO_SGD
| Module | ves |
|---|---|
| Description | Usage |
| Robbins-Monro stochastic gradient decent. | |
| output value | type |
| a scalar | scalar |
Details and examples
Robbins-Monro stochastic gradient decent.
This optimizer is only included for reference. We recommend to use the averaged stochastic gradient decent optimizer (OPT_AVERAGED_SGD).
Output components
This action can calculate the values in the following table when the associated keyword is included in the input for the action. These values can be referenced elsewhere in the input by using this Action's label followed by a dot and the name of the value required from the list below.
| Name | Type | Keyword | Description |
|---|---|---|---|
| gradrms | scalar | MONITOR_INSTANTANEOUS_GRADIENT | the root mean square value of the coefficient gradient |
| gradmax | scalar | MONITOR_INSTANTANEOUS_GRADIENT | the largest absolute value of the coefficient gradient |
| stepsize | scalar | default | the current value of step size used to update the coefficients |
Full list of keywords
The following table describes the keywords and options that can be used with this action
| Keyword | Type | Default | Description |
|---|---|---|---|
| BIASThis keyword do not have examples | compulsory | none | the label of the VES bias to be optimized |
| STRIDEThis keyword do not have examples | compulsory | none | the frequency of updating the coefficients given in the number of MD steps |
| COEFFS_FILEThis keyword do not have examples | compulsory | coeffs.data | the name of output file for the coefficients |
| COEFFS_OUTPUTThis keyword do not have examples | compulsory | 100 | how often the coefficients should be written to file |
| INITIAL_STEPSIZEThis keyword do not have examples | compulsory | none | the initial step size used for the optimization |
| COEFFS_FMTThis keyword do not have examples | optional | not used | specify format for coefficient file(s) (useful for decrease the number of digits in regtests) |
| COEFFS_SET_ID_PREFIXThis keyword do not have examples | optional | not used | suffix to add to the filename given in FILE to identify the bias, should only be given if a single filename is given in FILE when optimizing multiple biases |
| INITIAL_COEFFSThis keyword do not have examples | optional | not used | the name(s) of file(s) with the initial coefficients |
| MONITOR_INSTANTANEOUS_GRADIENTThis keyword do not have examples | optional | false | if quantities related to the instantaneous gradient should be outputted |
| TARGETDIST_AVERAGES_FILEThis keyword do not have examples | optional | not used | the name of output file for the target distribution averages |
| TARGETDIST_AVERAGES_OUTPUTThis keyword do not have examples | optional | not used | how often the target distribution averages should be written out to file |
| BIAS_OUTPUTThis keyword do not have examples | optional | not used | how often the bias(es) should be written out to file |
| FES_OUTPUTThis keyword do not have examples | optional | not used | how often the FES(s) should be written out to file |
| FES_PROJ_OUTPUTThis keyword do not have examples | optional | not used | how often the projections of the FES(s) should be written out to file |
| RESTARTThis keyword do not have examples | optional | not used | allows per-action setting of restart (YES/NO/AUTO) |
| UPDATE_FROMThis keyword do not have examples | optional | not used | Only update this action from this time |
| UPDATE_UNTILThis keyword do not have examples | optional | not used | Only update this action until this time |
| MULTIPLE_WALKERSThis keyword do not have examples | optional | false | if optimization is to be performed using multiple walkers connected via MPI |
| MASK_FILEThis keyword do not have examples | optional | not used | read in a mask file which allows one to employ different step sizes for different coefficients and/or deactivate the optimization of certain coefficients (by putting values of 0 |
| OUTPUT_MASK_FILEThis keyword do not have examples | optional | not used | Name of the file to write out the mask resulting from using the MASK_FILE keyword |
| START_OPTIMIZATION_AFRESHThis keyword do not have examples | optional | false | if the iterations should be started afresh when a restart has been triggered by the RESTART keyword or the MD code |
| TARGETDIST_STRIDEThis keyword do not have examples | optional | not used | stride for updating a target distribution that is iteratively updated during the optimization |
| TARGETDIST_OUTPUTThis keyword do not have examples | optional | not used | how often the dynamic target distribution(s) should be written out to file |
| TARGETDIST_PROJ_OUTPUTThis keyword do not have examples | optional | not used | how often the projections of the dynamic target distribution(s) should be written out to file |
| DECAY_CONSTANTThis keyword do not have examples | optional | not used | the decay constant used for the step size |