Organizations: School of Computer Science, Peking University, Beijing 100871, China. · Department of Artificial Intelligence, Korea University, Seoul 02841, Korea. · Department of Data Science and AI, Monash University, Melbourne VIC 3800, Australia. · College of Computing and Data Science, Nanyang Technological University, Singapore.
Long-horizon, real-time controllable motion generation is essential for interactive animation and humanoid robotics, where an agent must respond to changing instructions and spatial goals while moving. Existing autoregressive diffusion methods generate motion incrementally, but bounded attention caches limit access to distant history, while repeated denoising introduces substantial inference overhead. We present Motion Mamba 2.0, a Mamba-based root-body diffusion architecture that integrates local attention, resumable recurrent states, and persistent content memory (PCM) for long-horizon controllable motion generation. PCM transforms compressed motion history from Mamba recurrent states, together with state changes and text-conditioned features, into dynamically updated content slots accessible to local attention. To enable efficient inference, we further develop an execution scheme tailored to this architecture, combining CUDA Graph replay, fused kernels, and execution-flow simplification while preserving the canonical history update. Evaluations on retargeted HiPHI demonstrate accurate terminal control over rollouts of up to 39.52 s, while short-horizon comparisons on BONES Seed and retargeted HumanML3D show that the model also retains strong spatial control and text-motion matching. On an RTX 4090, the optimized execution reduces median complete-window latency from 1685.35 to 276.14 ms, achieving a median paired speedup of 6.138× while preserving identical outputs and committed states in the tested rollouts. Moreover, we conduct extensive real-world evaluation on the Unitree G1, demonstrating sequential text-guided action composition, expressive motion, and interactive locomotion through keyboard and mouse control.
Figures & tables
Fig. 2 : Interactive motion generation with Motion Mamba 2.0. Text instructions specify the requested actions, while spatial controls constrain root motion and selected joint positions. From left to right, the panels show root trajectories, root waypoints, full-body pose sequences, and selected joint positions. Blue-to-gray poses indicate temporal progression, while red overlays visualize trajectories, waypoints, and joint locations. The panels show Viser motion references and a rollout tracked with SONIC.
Fig. 3 : Fused G1 Datasets and Retargeting Assessment. (a) Training-set composition by stored duration, including mirrors. (b) Ankle (left, logarithmic axis) and pelvis (right) mapped-target residual distributions over all 38,028 admitted human-source records; dots mark cross-clip medians. (c) Selected poses replayed from stored G1 trajectories. Metric definitions appear in App. A.
Fig. 4 : Overview of Motion Mamba 2.0. Conditioned on text, spatial controls, and accepted motion history, the framework generates motion autoregressively through a two-stage diffusion denoiser. At each denoising step, the root network predicts the global trajectory, whose local features condition body prediction. Both networks combine attention and Mamba-3 through a hybrid sequence mixer. After each clean motion window is accepted, the history states are updated for subsequent generation.
Fig. 5 : Streaming generation and hybrid attention–Mamba mixing. (a) Motion is generated window by window through root–body diffusion, with the history held fixed during denoising and updated only after the sampled window is accepted. (b) Base attention retrieves recent motion features, while PCM attention additionally accesses persistent content slots. Their gated residual difference is combined with the Mamba-3 output resumed from the committed recurrent state.
Fig. 6 : CUDA Graph and Kernel Fusion. Stack-level CUDA Graph replay of the three CFG branches, with separate graphs for the root and body DiT stacks, and fused Mamba transition preprocessing.
Method
52 frames / 1 window
8.32 s / 4 windows
18.72 s / 9 windows
39.52 s / 19 windows
Root CE ↓
End CE ↓
Cmd. ↑
R@3 ↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3 ↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3 ↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3 ↑
L2-FID ↓
Lat. ↓
DiP [ 62 ]
57.07
60.45
40.78
25.66
0.402
73.6
62.58
66.16
31.59
11.08
0.444
68.7
77.69
80.88
20.50
12.84
0.487
68.7
96.99
99.26
18.45
12.45
0.490
66.8
Go-to-Zero [ 68 ]
29.14
29.53
71.79
26.27
0.480
12344.9
39.65
40.19
40.63
18.17
0.514
12564.3
56.36
59.76
32.89
13.09
0.631
12403.2
86.47
88.91
25.03
12.11
0.743
12478.5
DreamControl [ 69 ]
31.43
35.85
75.39
22.62
0.457
94.2
40.46
43.99
38.80
16.22
0.402
90.8
56.89
60.84
26.66
13.97
0.472
90.5
61.92
67.43
20.00
14.40
0.532
89.5
MoLingo [ 70 ]
99.24
102.67
47.77
8.86
1.241
868.3
137.47
140.71
34.79
7.46
1.299
847.7
205.38
207.00
41.14
8.72
1.261
840.4
270.71
273.42
41.34
8.81
1.260
908.7
HY-Motion [ 71 ]
30.76
33.54
55.70
16.67
0.400
324.1
43.94
45.97
37.37
12.47
0.492
274.0
65.06
66.75
31.96
14.52
0.629
290.5
95.53
96.63
27.61
13.47
0.760
346.8
TABLE 1: Short- and Long-Horizon Motion Generation on Retargeted HiPHI. CE is reported in cm, Cmd. and R@3 in percentages, and latency in ms per accepted window at batch size 1. R@3 uses 32 generated motion candidates. See App. C for details.
Method
52 frames (1 window)
8.32 s (4 windows)
Root CE ↓
End CE ↓
Cmd. ↑
R@3↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3↑
L2-FID ↓
Lat. ↓
DiP [ 62 ]
60.28
63.68
44.61
18.84
0.461
74.7
61.21
63.68
36.02
32.30
0.640
70.3
Go-to-Zero [ 68 ]
30.80
32.50
72.39
17.55
0.487
12275.5
43.19
41.27
39.46
12.23
0.613
12316.8
DreamControl [ 69 ]
22.70
27.33
96.64
40.60
0.608
93.1
36.06
40.20
54.93
26.49
0.522
92.1
MoLingo [ 70 ]
93.85
95.66
97.50
32.64
1.283
846.7
122.43
124.64
47.82
15.15
1.207
841.7
HY-Motion [ 71 ]
38.94
31.32
59.93
18.51
0.456
282.3
51.94
54.12
32.85
11.80
0.583
276.9
TABLE 2: Short-Horizon Motion Generation on BONES Seed. CE is reported in cm, Cmd. and R@3 in percentages, and latency in ms per accepted window at batch size 1. R@3 uses one matched generated motion and 31 fixed real-motion distractors. Full protocol: App. C.
Method
52 frames (1 window)
8.32 s (4 windows)
Root CE ↓
End CE ↓
Cmd. ↑
R@3↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3↑
L2-FID ↓
Lat. ↓
DiP [ 62 ]
49.72
54.03
64.59
84.46
0.623
76.1
52.78
55.17
41.04
47.95
0.706
69.4
Go-to-Zero [ 68 ]
29.11
21.71
52.30
66.90
0.462
12272.0
34.78
31.96
34.15
40.31
0.541
12351.6
DreamControl [ 69 ]
22.06
27.14
97.24
87.98
1.100
98.1
36.02
39.27
57.48
45.76
0.737
94.1
MoLingo [ 70 ]
93.94
99.88
97.82
79.90
1.551
881.4
130.90
135.04
47.82
43.55
1.514
862.7
HY-Motion [ 71 ]
35.46
37.00
51.78
61.83
0.383
317.5
47.05
48.94
33.24
31.78
0.579
292.0
TABLE 3: Short-Horizon Motion Generation on Retargeted HumanML3D. CE is reported in cm, Cmd. and R@3 in percentages, and latency in ms per accepted window at batch size 1. R@3 uses one matched generated motion and 31 fixed real-motion distractors. Full protocol: App. C.
Method
52 frames / 1 window
8.32 s / 4 windows
18.72 s / 9 windows
39.52 s / 19 windows
Root CE ↓
End CE ↓
Cmd. ↑
R@3 ↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3 ↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3 ↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3 ↑
L2-FID ↓
Lat. ↓
Minimal
3.86
12.44
89.69
34.62
0.371
509.0
5.92
13.52
52.27
20.14
0.414
536.5
18.70
23.58
38.27
18.07
0.427
557.6
60.00
64.86
35.27
17.26
0.439
552.9
Native
4.49
10.88
88.14
32.67
0.368
233.4
4.60
9.84
51.69
19.64
0.462
200.6
6.21
11.44
38.21
19.08
0.441
212.5
9.36
15.54
32.20
17.44
0.416
258.7
Native + PCM (w/o text)
3.19
7.65
87.01
32.01
0.423
286.5
3.05
7.81
47.60
19.41
0.419
267.8
2.99
9.02
38.10
21.06
0.437
292.8
8.62
14.62
33.34
21.18
0.467
336.5
Native + PCM (w/o delta)
3.06
7.41
86.36
32.67
0.433
287.6
2.97
7.19
47.39
19.76
0.421
263.1
3.08
8.99
37.18
20.35
0.459
284.7
8.30
14.18
32.65
21.11
0.488
329.8
Motion Mamba 2.0
2.78
7.19
86.96
35.58
0.410
283.7
2.53
7.11
48.82
21.35
0.401
267.5
2.87
8.45
47.11
23.05
0.402
284.7
7.55
13.64
46.05
23.68
0.409
333.4
TABLE 4: Architectural Ablation on Retargeted HiPHI. Training budgets and execution paths are specified in App. C. Metrics and units follow Tab. 1 .
Method
52 frames (1 window)
8.32 s (4 windows)
Root CE ↓
End CE ↓
Cmd. ↑
R@3↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3↑
L2-FID ↓
Lat. ↓
Minimal
6.76
12.82
88.09
57.21
0.561
490.8
11.10
17.17
48.02
31.66
0.656
539.1
Native
5.17
10.75
87.16
56.93
0.552
219.8
5.46
11.29
52.06
35.15
0.516
210.5
Native + PCM (w/o text)
3.34
8.48
87.25
54.82
0.568
286.2
3.53
8.21
44.16
30.71
0.473
270.4
Native + PCM (w/o delta)
3.22
8.61
86.58
54.56
0.575
290.2
3.61
8.74
43.75
30.47
0.481
268.6
Motion Mamba 2.0
2.10
7.09
86.92
59.38
0.573
290.1
1.86
6.86
51.42
35.58
0.459
271.1
TABLE 5: Architectural ablation on BONES Seed. Training budgets and execution paths are specified in App. C. Units and R@3 follow Tab. 2 .
Method
52 frames (1 window)
8.32 s (4 windows)
Root CE ↓
End CE ↓
Cmd. ↑
R@3↑
L2-FID ↓
Lat. ↓
Root CE ↓
End CE ↓
Cmd. ↑
R@3↑
L2-FID ↓
Lat. ↓
Minimal
8.31
13.05
90.56
92.97
0.410
512.0
14.31
17.49
55.56
53.42
0.583
544.8
Native
6.58
11.48
89.37
88.72
0.448
230.4
6.25
11.07
55.86
53.27
0.579
219.1
Native + PCM (w/o text)
3.29
8.37
88.54
85.24
0.444
287.9
3.40
8.67
51.04
43.07
0.462
273.1
Native + PCM (w/o delta)
3.87
8.36
88.63
83.59
0.442
288.8
3.82
8.54
51.18
42.43
0.477
267.1
Motion Mamba 2.0
2.18
6.73
88.07
84.29
0.459
286.0
2.17
7.03
58.81
49.72
0.490
271.2
TABLE 6: Architectural ablation on Retargeted HumanML3D. Training budgets and execution paths are specified in App. C. Units and R@3 follow Tab. 3 .
Flow
Fusion
Graph
p50
p95
Speedup
—
—
—
1685.35
2471.65
1.000×
✓
—
—
1102.82
1647.52
1.525×
✓
✓
—
1069.52
1588.74
1.578×
✓
—
✓
285.20
352.22
5.943×
✓
✓
✓
276.14
345.82
6.138×
TABLE 7: Inference Optimization Component Ablation for PCM. Flow, Fusion, and Graph denote execution-flow simplification, fused Mamba A/DT transition preprocessing, and CUDA Graph replay, respectively. Latencies are in ms ( ↓ ); speedup is the median paired ratio ( ↑ ).
Fig. 7 : PCM execution profile before and after optimization, normalized to eager execution. Ordinary host launches exclude CUDA Graph replay calls. Counts come from separate profiling runs and are independent of the latency measurements in Tab. 7 .
Fig. 8 : Real-world qualitative results on Unitree G1. (a) T1, sequential action composition; (b) T2, expressive motion; (c) T3, keyboard-controlled locomotion; and (d) T4, mouse-controlled locomotion. Each panel shows real-robot frames, Viser references, timestamps, and the complete prompt sequence.
Fig. 9 : Simulated motion tracking with SONIC. Top left: forward to backward walking; top right: walking with a left turn; bottom left: waving followed by walking; bottom right: martial-arts motion followed by walking. Each quadrant compares simulated execution (upper row) with the corresponding Viser reference (lower row) at matching timestamps.
Task
Full success ↑
SR (%) [95% CI] ↑
Stages ↑
Text switches ↑
Stable ↑
Falls ↓
T1: action composition
18/20
90.0 [69.9, 97.2]
136/140
117/120
19/20
0
T2: expressive motion
19/20
95.0 [76.4, 99.1]
99/100
78/80
20/20
0
T3: keyboard control
29/30
96.7 [83.3, 99.4]
59/60
30/30
29/30
0
T4: mouse control
28/30
93.3 [78.7, 98.2]
58/60
29/30
29/30
0
TABLE 8: Task Completion and Execution Stability. Stable denotes execution without a fall, protective stop, or human intervention. Text switches measure successful transitions between scheduled text instructions across all four tasks, while spatial-control events are evaluated separately.
Measure
Keyboard
Mouse
Speed RMSE (m/s) ↓
0.041±0.012
0.045±0.014
Heading MAE (deg) ↓
4.6±1.5
5.1±1.7
Handoff p50/p95 (ms) ↓
246 / 302
251 / 310
Response p50/p95 (ms) ↓
351 / 504
360 / 525
Stance slip (cm/s) ↓
1.5±0.5
1.7±0.6
Events within 1.5 s ↑
296/300
292/300
TABLE 9: Interactive Control Accuracy and Response Latency. Tracking and slip are episode mean ± SD; latency is p50/p95. Each interface has 30 episodes. The deadline counts include all 300 scheduled spatial events per interface.
TABLE 10: Frozen corpus composition. Training, validation, and test columns count stored records. Durations include admitted mirrors and are computed at 25 Hz.
Source
Body
Median
p95
Max.
HumanML3D
Pelvis
0.99
3.07
9.65
Ankle
1.49
3.37
10.53
HiPHI
Pelvis
0.56
1.04
11.25
Ankle
0.93
2.39
29.06
Appendix
TABLE 11: Mapped-target residuals in centimeters. Median, p95, and maximum summarize the per-clip residual defined above.
Benchmark
2.08 s
8.32 s
18.72 s
39.52 s
HiPHI
44.44
53.59
52.55
52.76
BONES Seed
88.15
81.12
—
—
HumanML3D
91.39
75.96
—
—
Appendix
TABLE 12: Real-Motion Reference Calibration. R@3 (%) is reported for real-motion reference data under each benchmark-specific evaluation protocol. These values are not generated-model results or theoretical performance bounds.
Fig. 10 : Qualitative comparison under a distant single-point constraint. ARDY (upper row) and Motion Mamba 2.0 (lower row) are shown at the same four timestamps. Both receive the common 18 m target and its 33.40 s deadline from the start. Bottom: (a) root trajectories in goal-aligned coordinates; (b) displacement along the goal direction over time. Our model makes greater progress by 25.04 s (15.05 versus 9.36 m) and has a lower final-second mean root speed (0.712 versus 1.992 m/s).
Recent advances in motion diffusion models have substantially improved the realism of human motion synthesis. However, existing approaches either rely on full-sequence diffusion models with bidirectional generation, which limits temporal causality and real-time applicability, or autoregressive models that suffer from instability and cumulative errors. In this work, we present Causal Motion Diffusion Models (CMDM), a unified framework for autoregressive motion generation based on a causal diffusion transformer that operates in a semantically aligned latent space. CMDM builds upon a Motion-Language-Aligned Causal VAE (MAC-VAE), which encodes motion sequences into temporally causal latent representations. On top of this latent representation, an autoregressive diffusion transformer is trained using causal diffusion forcing to perform temporally ordered denoising across motion frames. To achieve fast inference, we introduce a frame-wise sampling schedule with causal uncertainty, where each subsequent frame is predicted from partially denoised previous frames. The resulting framework supports high-quality text-to-motion generation, streaming synthesis, and long-horizon motion generation at interactive rates. Experiments on HumanML3D and SnapMoGen demonstrate that CMDM outperforms existing diffusion and autoregressive models in both semantic fidelity and temporal smoothness, while substantially reducing inference latency.
Human motion generation is a challenging task due to its high dimensionality and the difficulty of generating fine-grained motions. Diffusion methods have been proposed due to their high sample quality and expressiveness. Early approaches treat the entire sequence as a whole, which is computationally expensive and restricts sequence length. In contrast, autoregressive diffusion models generate longer sequences. However, their reliance on fully denoising previous frames complicates training and inference. Consequently, we propose RDM, a new recurrent diffusion formulation inspired by Recurrent Neural Networks (RNNs). RDM explicitly conditions the diffusion process on preceding noisy frames, avoiding the cost of full denoising. To overcome the challenge of maintaining its probabilistic nature, we employ Normalizing Flows to model recurrent connections. Our evaluations demonstrate RDM's effectiveness: it achieves comparable performance to autoregressive baselines and generates long sequences that remain aligned with the text. RDM also skips diffusion steps during inference, reducing computational cost by up to 18x over autoregressive baselines. Project page: https://www.mirgahney.com/rfdm.io/.
Mirgahney Mohamed, Harry Jake Cunningham, Riccardo Barbano +2
Department of Computer Science, University College London
Generating realistic 3D human motions in real-time within interactive applications is key for animation, simulation, and humanoid robotics. While recent offline motion generation approaches offer precise control via text and kinematic constraints, they lack the inference speed required for interactive settings. Conversely, existing online methods enable real-time synthesis but often sacrifice controllability or struggle with complex text semantics and long-horizon goals due to limited context windows. In this work, we introduce ARDY, a streaming generation framework that bridges this gap by enabling high-fidelity motion generation controllable via online text prompts and flexible kinematic constraints. ARDY employs a hybrid representation that combines explicit root features with a latent body embedding, balancing precise trajectory control with efficient generative learning. We propose a two-stage autoregressive transformer denoiser that features variable history context and supports conditioning on flexible, long-horizon kinematic constraints. By training on a large-scale motion capture dataset and being directly conditioned on text labels and kinematic constraints sampled from ground truth poses, ARDY natively learns controllable generation that supports online prompting and flexible long-horizon goals. Extensive evaluations on the HumanML3D benchmark and the large-scale, high-fidelity Bones Rigplay dataset demonstrate ARDY's high motion quality and constraint adherence, validating the efficacy of our key architectural decisions. Finally, we demonstrate the method's practical versatility through an interactive demo featuring dynamic text control, diverse keyframe pose constraints, path following, and interactive locomotion control via mouse and keyboard. Supplementary video results, code, and model releases can be found at https://research.nvidia.com/labs/sil/projects/ardy/.
Kaifeng Zhao, Mathis Petrovich, Haotian Zhang +3
NVIDIA, Switzerland · ETH Zürich, Switzerland · NVIDIA, USA