Seamless Human Motion Composition with Blended Positional Encodings
German Barquero, Sergio Escalera, Cristina Palmero
TL;DR
FlowMDM tackles the challenge of generating long, seamless human motion compositions conditioned on varying textual descriptions. It leverages a bidirectional diffusion framework with a Transformer denoiser and introduces Blended Positional Encodings ($APE$ early, $RPE$ later) to preserve global semantics while enabling smooth transitions, along with Pose-Centric Cross-Attention to handle multiple conditions without transition artifacts. The method also presents two jerk-based metrics, $PJ$ and $AUJ$, to better capture transition smoothness. Empirically, FlowMDM achieves state-of-the-art results on Babel and HumanML3D, offers robust single-description training with effective extrapolation, and provides practical guidance on scheduling, attention horizons, and guidance weights for high-quality motion compositions.
Abstract
Conditional human motion generation is an important topic with many applications in virtual reality, gaming, and robotics. While prior works have focused on generating motion guided by text, music, or scenes, these typically result in isolated motions confined to short durations. Instead, we address the generation of long, continuous sequences guided by a series of varying textual descriptions. In this context, we introduce FlowMDM, the first diffusion-based model that generates seamless Human Motion Compositions (HMC) without any postprocessing or redundant denoising steps. For this, we introduce the Blended Positional Encodings, a technique that leverages both absolute and relative positional encodings in the denoising chain. More specifically, global motion coherence is recovered at the absolute stage, whereas smooth and realistic transitions are built at the relative stage. As a result, we achieve state-of-the-art results in terms of accuracy, realism, and smoothness on the Babel and HumanML3D datasets. FlowMDM excels when trained with only a single description per motion sequence thanks to its Pose-Centric Cross-ATtention, which makes it robust against varying text descriptions at inference time. Finally, to address the limitations of existing HMC metrics, we propose two new metrics: the Peak Jerk and the Area Under the Jerk, to detect abrupt transitions.
