Workload and training
A dataset loads the inputs, a task defines the outputs and metrics, and a model family defines which architectures CREST can explore. All three are selected explicitly.
| Config field | OxIOD desktop example | Meaning |
|---|---|---|
dataset.name |
oxiod |
Adapter that prepares the input windows |
task.name |
odometry_regression |
Target definition and evaluation contract |
model.family |
odom_tcn |
Model builder and search space |
Set a training budget
training.nas_epochs controls training per search candidate. training.model_epochs controls final retraining. In a constrained study, training.nas_trials is the target number of feasible completed trials and training.max_total_trials caps all attempts.
Component fields and example YAML
Keys
dataset.namedataset.paramstask.nametask.paramsmodel.familymodel.paramsmodel.search
For audio_dscnn, model.search: {} means "use the model-family default search surface" described in the audio model-family guide.
Add keys under model.search only when you want to narrow that default surface.
Validation notes
dataset,task, andmodelare required top-level blocksdataset.paramsis required for the built-inoxioddataset path
Training and quantization fields
training.random_seed optionally resets Python, NumPy and TensorFlow to the same integer seed before each candidate evaluation and final fit.
Acceptable values are integers in [0, 2**32).
Omission preserves unseeded behavior.
The seed is independent of trial number and optimizer.llm.random_seed, which controls local proposal fallback sampling.
training.deterministic_ops: true additionally asks TensorFlow for deterministic operations and requires a training seed.
It is process-wide and may reject unsupported kernels.
Fixed seeds alone do not promise bitwise-identical GPU results.
The configured randomness policy is recorded in trial attributes and optimizer identity, with a .randomness.json sidecar for final fits.
Changing the policy requires a fresh study.
Other training settings are not covered by this identity check, so retain the original configuration when extending an experiment.
The training block owns the main NAS/training runtime switches.
Common keys in the shipped config
training.nas_epochstraining.model_epochstraining.nas_trialstraining.max_total_trialstraining.quantizationtraining.latency_proxy_max_flopstraining.traintraining.energy_awaretraining.input_mode
Runtime behavior
training.nas_multiobjective_population_sizesets the NSGA-II population size (default 50, minimum 2). TPE ignores this setting. Both samplers use the remaining trial budget to size each search round.training.energy_awaredefaults tofalsewhen omittedtraining.quantizationis required and must use the mapping shape withmode,search, and non-emptychoices. The main measured-board configs searchchoices: [float, int8_ptq]so float32 and int8 PTQ exports can be compared on the same backend.- Supported quantization modes are
floatandint8_ptq. Enablingtraining.quantization.search: truesamplesquantization_modefromchoices. This expands the effective NAS search space and usually needs a larger trial budget. Mixedfloat/int8_ptqstudies also conflate architecture quality with quantization effects, so compare them deliberately. int8_ptqexport uses full-integer TensorFlow Lite conversion with int8 inputs and outputs. Representative calibration data is taken from the explicit calibration split when available, otherwise the training split, and conversion samples up to 1000 windows evenly across that split. This avoids calibrating on one contiguous prefix of an ordered time-series split.- HIL metrics are deployment-mode preflight metrics collected before training. Per-trial NAS scoring evaluates the trained checkpoint with host-side TFLite on the validation split. Final fixed-split reporting evaluates the selected trained TFLite model on the test split.
- Some closeout artifact paths are Keras-derived unless the path explicitly requests TFLite evaluation.
training.input_modedefaults touniformwhen omittedtraining.input_modesupports dataset-agnosticuniformplus dataset-specific analysis modes includingoxiod_representative,oxiod_real,urbansound8k_representative, andurbansound8k_realtraining.max_total_trialsdefaults totraining.nas_trials * 2when omittedtraining.nas_trialsis the total COMPLETE trial target, or the total feasible COMPLETE target whennas.feasibility.rulesis enabled. Without feasibility, penalized multi-objective COMPLETE trials also count toward that target.training.max_total_trialsis a total attempt cap. All stored trials, including failed, pruned, infeasible, RUNNING, and reserved WAITING trials, consume it. Constrained runs usually need a larger attempt cap than the completion target. See optimizer resume behavior before extending a study.
Fold rotation in the UrbanSound8K example
The UrbanSound8K audio example can report final results across dataset folds.
task.params.evaluation.protocol: fixed_split | fold_rotationtask.params.evaluation.fold_rotation.test_folds, defaulting to all 10 UrbanSound8K folds.dataset.params.fold_rotation_cache_dir, required only when fold rotation is enabled.
The fixed dataset.params.cache_dir remains the source for NAS, HIL runs, and deployable export.
Fold rotation runs after the fixed-split final checkpoint and does not export per-fold models.
task.params.evaluation.protocol: fold_rotation is single-objective only.
Multi-objective NAS fails during config validation.
The dataset owns where fold-specific caches live.
The task owns whether final reporting rotates through those folds.
Extend a component · Choose objectives
For more information, read the full config README on GitHub.