humanoidsdata.com

Search

Search companies, datasets, articles, and glossary terms for humanoids and embodied AI.

← All glossary terms

Models & learning

Inference-time guidance

Inference-time guidance steers a generative model's sampling process towards an additional condition or objective without updating the model's trained parameters. The guidance may modify a score, noise estimate, vector field, token probabilities, or candidate selection during generation; its guarantees and cost depend on the objective and sampler.

Also known as: test-time guidance, sampling guidance, inference guidance

Updated

Guidance changes sampling rather than training

A trained generative model defines how samples are produced from noise, masks, or another prior. Inference-time guidance adds information while that production process is running. The base model weights remain fixed, but each sampling step can be biased towards a class, text condition, geometric constraint, reward, or other differentiable objective.

Classifier guidance adds a classifier gradient to a diffusion model's score so that samples move towards a requested class. Classifier-free guidance combines conditional and unconditional model predictions instead of using a separate classifier. These are influential mechanisms, not the only forms of guidance.

The guided quantity depends on the generator

Guidance has to match the sampler's representation. A diffusion sampler may alter a noise or score prediction. A flow-matching model can modify its velocity field. A token generator can reweight next-token probabilities. Candidate ranking after generation is sometimes described as test-time optimisation, but it does not change how an individual sample forms.

This term is broader than prompt conditioning. A prompt is normally part of the model's learned input. Guidance adds a sampling-time signal, often with a tunable strength and extra computation.

Robot constraints can guide a motion generator

EmbodyHOI decodes wrist trajectories while a frozen hand–object motion generator is sampling. It runs a differentiable inverse-kinematics solve on the target humanoid and adds the IK-energy gradient to the hand-token velocity field. Later hand and object tokens can then form around the corrected wrists.

That is different from repairing the wrist after the whole interaction has been generated. Post-hoc repair can satisfy the geometric objective while breaking the relationship between the wrist, fingers, and object.

Guidance does not create a general guarantee

The guidance objective defines what is improved. Class guidance can strengthen class features without ensuring factual or physical correctness. Kinematic guidance can make a wrist more reachable without modelling contact force, stability, collision along the path, or actuator limits.

Strong guidance can also reduce diversity, distort samples, or increase compute. Validation should compare the guided output with an unguided baseline on the intended downstream task, preserve the sampling seed and guidance settings, and report failures rather than treating a lower guidance loss as sufficient evidence.

Sources