MotionFlux: Efficient Text-Guided Motion Generation through Rectified Flow Matching and Preference Alignment

Zhiting Gao, Dan Song, Diqiong Jiang, Chao Xue, An-An LiuarXiv 2025 · OpenReview

Abstract

Motion generation is essential for animating virtual characters and embodied agents. While recent text-driven methods have made significant strides, they often struggle with achieving precise alignment between linguistic descriptions and motion semantics, as well as with the inefficiencies of slow, multi-step inference. To address these issues, we introduce TMR++ Aligned Preference Optimization (TAPO), an innovative framework that aligns subtle motion variations with textual modifiers and incorporates iterative adjustments to reinforce semantic grounding. To further enable real-time synthesis, we propose MotionFLUX, a high-speed generation framework based on deterministic rectified flow matching. Unlike traditional diffusion models, which require hundreds of denoising steps, MotionFLUX constructs optimal transport paths between noise distributions and motion spaces, facilitating real-time synthesis. The linearized probability paths reduce the need for multi-step sampling typical of sequential methods, significantly accelerating inference time without sacrificing motion quality. Experimental results demonstrate that, together, TAPO and MotionFLUX form a unified system that outperforms state-of-the-art approaches in both semantic consistency and motion quality, while also accelerating generation speed.

Introduction

Generating realistic 3D human motion from textual prompts is a critical capability for interactive media and robotics. However, current state-of-the-art models primarily rely on Diffusion Probabilistic Models, which suffer from two major limitations. First, inference latency is high due to the hundreds of denoising steps required, making them unsuitable for real-time applications. Second, semantic misalignment remains a challenge; models often fail to capture subtle instructions or confuse directional commands because the mapping between linguistic and kinematic spaces is complex.

MotionFlux addresses these hurdles by replacing slow diffusion processes with efficient Rectified Flow Matching and introducing a self-supervised alignment strategy called TAPO. This combination allows for high-quality motion generation that is up to 4,800 times faster than traditional baselines while maintaining superior semantic accuracy.

Methodology

MotionFLUX: Architecture for Speed

The core of MotionFLUX is Rectified Flow Matching (RFM). Unlike standard diffusion models that follow curved paths through noise space, RFM learns a deterministic, straight-line "velocity field." This linearization allows the model to transport a simple noise distribution to a complex motion distribution in very few steps—often just one—using a simple Euler solver. The backbone architecture utilizes a hybrid Transformer, combining Multi-Modal Diffusion Transformer (MMDiT) blocks for text-motion fusion and standard DiT blocks for temporal reasoning.

TAPO: Aligned Preference Optimization

To refine the model's understanding of complex text, we introduce TMR++ Aligned Preference Optimization (TAPO). Inspired by Direct Preference Optimization (DPO) in language modeling, TAPO uses a pre-trained retrieval model, TMR++, as a proxy reward to score generated motions against prompts.

The TAPO alignment framework (Stage 2) uses a proxy reward model (TMR++) to optimize motion generation through preference pairs.

As shown in the framework diagram, the model generates multiple candidate motions. TMR++ identifies "winners" and "losers" based on semantic alignment. The model is then fine-tuned to favor the "winners." To maintain physical realism and prevent "overoptimization," we incorporate a regularizing flow-matching loss ($L_{FDM}$) that anchors the model to the true data distribution.

Experimental Results

We evaluated MotionFlux on the HumanML3D dataset, which contains over 14,000 motion sequences and 45,000 descriptions.

Quantitative Performance

MotionFlux demonstrates a massive leap in efficiency, achieving an Average Inference Time per Sentence (AITS) of 0.005s, compared to 24.74s for the popular MDM model. In terms of quality, it achieved a Frechet Inception Distance (FID) of 0.078, significantly outperforming previous SOTA models like MotionLCM (0.467).

Qualitative Analysis and Semantic Alignment

The model excels at capturing fine-grained semantics. In R-Precision tests, MotionFlux-ultra consistently outperformed competitors, demonstrating its ability to handle complex, multi-stage instructions.

MotionFlux generates complex motions like turning 180 degrees or stumbling, demonstrating high semantic alignment.

As illustrated in the examples above, the model accurately interprets modifiers like "stumbles" or "turns 180 degrees," which are often missed by less sophisticated alignment techniques.

Conclusion

MotionFlux represents a significant step toward real-time, high-fidelity human motion synthesis. By combining the efficiency of Rectified Flow Matching with the semantic precision of TAPO, we achieve a system that is both faster and more accurate than existing diffusion-based methods. Future work will focus on scaling to larger datasets and extending the framework to handle multi-person and person-object interactions.

Summary updated

BibTeX
@misc{gao2025motionflux,
  author = {Zhiting Gao and Dan Song and Diqiong Jiang and Chao Xue and An-An Liu},
  title = {{MotionFlux: Efficient Text-Guided Motion Generation through Rectified Flow Matching and Preference Alignment}},
  year = {2025},
  eprint = {2508.19527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.19527},
}
Figure