Learning Human Motion with Temporally Conditional Mamba
Quang Nguyen, Tri Le, Baoru Huang, Minh Nhat Vu, Ngan Le, Thieu Vo, Anh Nguyen
TL;DR
This work tackles learning human motion conditioned on time-varying inputs by embedding temporal conditioning directly into the Mamba backbone within a diffusion framework. The Temporally Conditional Mamba (TCM) integrates conditioning signals into the recurrent dynamics, coupled with a Spatial Mamba and Adaptive Layer Norm to preserve temporal and spatial coherence. Empirical results across music-driven dance, egocentric video-based estimation, and object-trajectory tasks show that TCM improves temporal alignment, motion realism, and condition consistency over cross-attention and vanilla Mamba baselines. The approach demonstrates strong generalization across synthesis and estimation tasks and highlights the practical potential for temporally conditioned motion generation in animation, AR/VR, and human-robot interaction.
Abstract
Learning human motion based on a time-dependent input signal presents a challenging yet impactful task with various applications. The goal of this task is to generate or estimate human movement that consistently reflects the temporal patterns of conditioning inputs. Existing methods typically rely on cross-attention mechanisms to fuse the condition with motion. However, this approach primarily captures global interactions and struggles to maintain step-by-step temporal alignment. To address this limitation, we introduce Temporally Conditional Mamba, a new mamba-based model for human motion generation. Our approach integrates conditional information into the recurrent dynamics of the Mamba block, enabling better temporally aligned motion. To validate the effectiveness of our method, we evaluate it on a variety of human motion tasks. Extensive experiments demonstrate that our model significantly improves temporal alignment, motion realism, and condition consistency over state-of-the-art approaches. Our project page is available at https://zquang2202.github.io/TCM.
