Training-free Controllable Human Motion Generation under Heterogeneous Constraints

Xiaofei Hui, Bo Yan, Haoxuan Qu, Hossein Rahmani, Jun LiuarXiv 2026

TL;DR

Motion-Inference-as-Control (MIC) is a novel training-free framework that enables diffusion models to generate human motion under both differentiable (objective-based) and non-differentiable (criterion-based) constraints. By framing motion generation as a stochastic optimal control problem, MIC eliminates the need for constraint-specific retraining while elegantly balancing multiple conflicting real-world requirements.

What Problem Does This Paper Address?

Controllable human motion generation is crucial for applications like virtual reality, animation, and robotics. While deep learning has made massive strides here, traditional methods require task-specific retraining or fine-tuning to enforce constraints (like avoiding an obstacle or touching a specific point).

Recent "training-free" approaches attempt to bypass this by modulating pre-trained diffusion models at inference time. However, these methods rely heavily on computing gradients from differentiable loss functions. In the real world, many constraints are criterion-based—offering only sparse, discontinuous, or binary feedback (e.g., a black-box physics simulation check or a safety threshold rule).

Furthermore, when users combine multiple heterogeneous constraints, naive aggregation causes an imbalance: stronger or global signals completely overwhelm weaker, localized ones, destroying the naturalness of the generated motion.

Fig. 1: Real-world motion constraints can be heterogeneous. Some are continuous objective-based constraints that can be naturally modeled with differentiable losses (e.g., reaching a target point), whereas many others are criterion-based and provide feedback only as sparse, event-triggered, or binary evaluations, such as simulation-based validity tests and safety-threshold rules (e.g., entering the danger zone at most once). In practice, these heterogeneous constraints may be required simultaneously within a single motion. The darker mesh colors indicate later frames in the sequence.

Methods

The core innovation of MIC is reinterpreting the diffusion denoising process as a controlled stochastic dynamical system. This mathematical bridge allows the authors to leverage stochastic optimal control theory to derive step-wise guidance laws.

The framework consists of two main components:

  1. Unified Constraint Interface: For non-differentiable, criterion-based constraints, MIC applies the mathematical tower rule and Stein's lemma to reformulate the optimal control law into a path-integral form. This allows the system to compute guidance using only forward evaluations via importance sampling and the cross-entropy method, bypassing gradients entirely. Continuous, differentiable constraints naturally fit into this same interface as a standard gradient-based special case.
  2. Bilevel Constraint Coordination Mechanism: To prevent multiple constraints from interfering with one another, MIC introduces a two-part coordinator:
  3. Feedback Regulator: Borrowing from classical integral feedback control, this dynamically adjusts constraint weights based on current violation levels. If a constraint is violated, its weight ramps up over the denoising steps until it's resolved.
  4. Control Allocator: This treats joint-frame blocks as distinct spatial-temporal control channels. It solves a weighted least-squares problem to distribute the control budget precisely where it is needed, minimizing cross-scope interference.
Fig. 2: Illustration of our proposed MIC framework. MIC adopts a unified constraint interface that converts heterogeneous constraints into control signals: criterion-based constraints are handled via forward terminal costs, while continuous objective-based constraints employ gradient computation. A constraint coordination mechanism then integrates these signals, with a feedback regulator adapting constraint weights from violation levels and a control allocator coordinating constraint scopes across joints and frames. The resulting control ut is injected at each diffusion step to steer denoising toward constraint satisfaction while minimally perturbing the pretrained motion prior.

Datasets

The authors evaluated MIC using a comprehensive training-free controllable motion generation benchmark. The underlying generative prior was a frozen Motion Diffusion Model (MDM) pre-trained on the HumanML3D dataset. The evaluation spanned two distinct setups:

  • Open-set scenarios: Constraints (like barrier avoidance or limited-area walking) that were completely absent from the motion training data.
  • Known scenarios: Key-frame head-height constraints sampled directly from the HumanML3D test set.

Key Insights and Ideas

  • Gradients Aren't Mandatory for Guidance: By framing diffusion as stochastic control, the authors prove that you don't need analytical gradients to guide a diffusion model. Forward-only black-box evaluations can be mathematically transformed into effective step-wise control signals via importance sampling.
  • Dynamic Weighting Beats Manual Tuning: Instead of using static, hand-tuned hyperparameters to balance multiple constraints, applying classical closed-loop feedback allows the generation process to adaptively fight the most severe constraint violations in real time.
  • Spatial-Temporal Budgeting: Constraints shouldn't fight globally if they only apply locally. Treating joint masks as control channels allows constraint composition to be elegantly solved as a resource allocation problem.

Key Results

MIC significantly outperformed prior gradient-based methods (such as IK, DNO, and ProgMoGen) across human-scene interaction (HSI), geometric constraints (GEO), and human-object interaction (HOI) tasks.

  • Higher Success Rates: In open-set barrier avoidance (HSI-2), MIC achieved a physical simulation pass rate of 87.5%, compared to ProgMoGen's 56.3% and ReAlign's 46.9%.
  • Lower Constraint Error: Across almost all tasks, MIC reduced the constraint error (C.Err) to near-zero levels while maintaining superior motion quality (lower foot-skating ratios and joint acceleration).
  • Preserved Generative Quality: In the known-constraint benchmark, MIC achieved the best Fréchet Inception Distance (FID of 0.494), proving that its constraint enforcement does not degrade the realism or diversity of the underlying motion prior.

Limitations and Future Work

Not explicitly discussed in the main text provided (details are likely deferred to the supplementary material). However, potential limitations inherent to this approach include the computational overhead introduced by running importance sampling ($M=16$ samples per denoising step) and its fundamental reliance on the expressiveness of the frozen underlying diffusion model.

Summary updated

BibTeX
@misc{hui2026training,
  author = {Xiaofei Hui and Bo Yan and Haoxuan Qu and Hossein Rahmani and Jun Liu},
  title = {{Training-free Controllable Human Motion Generation under Heterogeneous Constraints}},
  year = {2026},
  eprint = {2607.01990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.01990},
}
Figure