A walking policy can move faster while consuming more energy. Folding both outcomes into one reward makes an experiment easy to rank, but also fixes the trade-off before training. EvoX Physics’s December 1–2 main-branch updates expose named objectives, their optimization directions and constraints directly on a task. The same definition can drive multi-objective search or be scalarized for a single-objective solver. Source examples

Concept illustration: locomotion quality is assessed along more than one dimension.
Define what the experiment measures
The new interface accepts an objectives mapping on Go2Walk, without requiring a task subclass. Each Objective describes a callable, a direction such as max or min, and an episode reduction such as mean or sum. The source example maximizes forward speed while minimizing a torque-based energy measure, with a separate no_fall constraint. Built-in catalog names can be mixed with user-defined callables. Objective implementation
These choices are part of the experimental question. Mean forward speed describes sustained movement; a summed squared-torque term accumulates an actuation proxy over the episode. That proxy should not be presented as measured electrical consumption. The named catalog also includes estimated_electrical_energy_wh, making it particularly important to retain the precise metric definition when comparing results. A constraint expresses feasibility separately from the objective values.
For a quadruped experiment, begin by deciding whether a slower but lower-energy gait is useful. If it is, retaining both dimensions allows later policy selection to reflect that choice. A single scalar score can still be appropriate when the desired compromise is already known.
Custom measurements stay in the compiled rollout
The interface is designed around the existing compiled simulation-learning path. Objective callables are traced into the step graph, rather than invoked through Python at every control step. A needs declaration requests additional state only when the objective requires it: the torque example declares needs=("dof_torque",). Source example and execution notes
This connects customization to execution mechanics. Researchers can change what they measure while keeping the batched rollout model, but the callable must use the graph-compatible state and operations expected by the task API. It is not an invitation to insert arbitrary Python side effects into the simulation step. The public example uses EvoX Compiler reductions on task-state tensors.
Keep a frontier, then choose a policy
The shared training interface now includes Pareto solvers such as NSGA-II, RVEA, TensorMOEA/D and LMOCSO for vector-policy tasks. The documented example passes NSGA2(pop_size=1024) to Trainer, then selects a saved policy with Policy.load(..., selector="knee"). Objective-specific selection and an explicit row index provide other ways to inspect the saved frontier. Training and selection examples
The practical change is that training need not produce one universally best policy. A developer can compare saved candidates against the actual deployment priorities, then evaluate or replay the selected row. “Knee” is a selection rule, not evidence that the chosen gait is optimal for every application. Preserve the selected row and objective definitions alongside an evaluation so the result can be interpreted later.
Reuse the task when a weighted answer is needed
task.scalarize(weights=..., constraint_penalty=...) folds the same objective vector into scalar fitness while respecting each objective’s direction. ES, RankES or EGGROLL can then optimize the weighted combination without rewriting the measurements. The implementation records the scalarization description for reconstruction, and the update also addresses loading and rendering custom-objective checkpoints without resupplying a task. Scalarization implementation
For a controlled comparison, keep the robot, horizon, episodes, seed and objective definitions fixed, and change the search method or weights deliberately. The documented accelerator setup uses Linux, Python 3.12 and an explicitly installed EvoX Compiler/IREE environment. Start from the source installation instructions, reduce population size to fit the available device, and verify that a saved checkpoint can be loaded and replayed with the intended selector. This extends the shared EvoX Physics workflow from one score per policy to an explicit, inspectable choice between competing outcomes.
Custom Python objective functions are not stored as executable code in the checkpoint. Resuming training with Trainer.resume(..., task=...) still requires the configured task and its live callables; loading a policy for inference or replay uses the saved metadata without evaluating those training functions. GitHub.