Search parameters reference#
Every parameter accepted under the search block, for reward guided (beam) search. This page is a
lookup table; see Reward guided search for how the pieces fit together,
when to use use_clean_prediction, and the novelty-against-passers walkthrough. See the
CLI options reference for the handful of search.* keys you
can also override directly on the command line.
Contents
Top-level search block#
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
int |
|
Candidates retained per input after every scored checkpoint. |
|
int |
|
Default number of children per surviving beam, for any checkpoint interval that doesn’t set its own |
|
bool |
|
Also return completed scoring rollouts that lost selection, alongside the final beam. Required to set |
|
mapping of metric key → threshold |
|
Raw-metric thresholds (see thresholds) an extra rollout must pass to be saved. Every checkpoint that can produce a saved rollout must list the providers these keys need. Can reference |
|
mapping of step → checkpoint config |
Required, nonempty |
Positive integer integration steps, see below. Quote YAML keys to support dotted CLI overrides such as |
Per-checkpoint parameters#
Each entry in search.checkpoints is keyed by a positive integer step and accepts exactly these
fields. Nothing carries forward from one checkpoint to the next — every field is self-contained.
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
list of metric names |
|
Named providers from |
|
mapping of |
|
Chooses which of the selected metrics’ outputs contribute to ranking, and how. An empty mapping gives every candidate zero reward, preserving deterministic input order at selection. |
|
positive int |
the global |
Overrides the branch count for this checkpoint’s incoming interval only. |
|
bool |
|
Score the clean (decoded) prediction from the preceding integration step instead of completing a separate scoring rollout. Not valid on the schedule-end checkpoint. Rejects oracle, refolding, and pass-criteria providers in |
|
mapping of metric key → threshold |
|
Raw-metric thresholds that decide whether a checkpoint before the schedule end stops an input. The whole selected beam continues if any selected candidate passes every threshold; it stops only if all selected candidates fail. Every metric a criterion needs must also appear in this checkpoint’s |
Reward terms#
Each entry in a checkpoint’s rewards mapping is keyed metric_name.output_key and accepts:
Field |
Type |
Default |
Description |
|---|---|---|---|
|
finite number |
|
Multiplier applied after clipping and normalizing. Negative weights minimize the term. A zero weight contributes nothing to ranking or selection. |
|
mapping with |
no clipping |
Clips the raw metric value before normalizing. At least one of |
|
positive finite number |
|
Divides the (clipped) value before weighting. |
Terms are summed per candidate into search.reward. Clipping and normalization affect the reward
only — the underlying metric values stay raw wherever else they’re reported.
continuation_criteria and save_criteria thresholds#
Both fields use the same threshold schema, keyed by a metric output (or search.reward) or by an
arbitrary label when reducing several keys:
Field |
Type |
Description |
|---|---|---|
|
number |
Candidate value must be at least this (inclusive). |
|
number |
Candidate value must be at most this (inclusive). |
|
list of metric keys |
Reduce several keys to their minimum before thresholding with |
|
list of metric keys |
Reduce several keys to their maximum before thresholding. |
|
list of metric keys |
Reduce several keys to their mean before thresholding. |
All listed thresholds must pass. A metric missing or non-finite for a candidate fails that candidate; a metric absent from every candidate in the pool is a configuration error.
Novelty metric parameters#
FoldseekNoveltyMetric (rfproteina.metrics.foldseek_novelty.FoldseekNoveltyMetric) is an ordinary
metric you select like any other at a checkpoint, then gate with continuation_criteria on its
is_novel output. See Novelty against passing designs.
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
path |
Required |
Append-only directory of archived passer CIFs, populated by a |
|
float in |
|
Minimum query- and target-normalized TM score for a candidate to count as a match against an archived passer. |
|
float in |
|
Minimum aligned fraction of both query and target for a match. |
|
positive int |
|
CPU threads per Foldseek invocation. |
|
positive float (seconds) |
|
Maximum time for each Foldseek invocation; a timeout raises rather than reporting novelty. |
Output: is_novel is 0 on any match, 1 if there is no match or the archive is empty. Requires
the FOLDSEEK_EXEC environment variable pointing at the Foldseek binary. Each metric instance keeps
a local database copy and rebuilds it only when the archive’s published files change.
