RoCoCo: Role-Controllable Co-Generation of Video and 3D Motion for Two-Person Interactions
Organizations: Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)
Abstract
Animation of human characters and control of humanoid robots both require generative models of interaction. Generated interactions should adhere to input instructions, scene context, social norms and physical plausibility. While recent work has made great progress in human motion generation, generation of interactions remains agnostic to scene context and person-specific instructions. To address this problem, we introduce RoCoCo, a model that jointly generates video and 3D motion for two interacting humans from an image and a caption. Individual prompts specify which human performs each action, while joint processing allows both motions and the video to inform each other. We further improve physical plausibility through post-training based on body contacts and penetration, and reduce motion jitter through smoothing during denoising. Experiments on Inter-X and unseen interactions show improved text alignment and motion quality over motion-only methods and two-stage baselines. Our approach also improves video consistency over the base video model and assigns actions to the intended humans more reliably. We will release code and models.
Figures & tables
| Text alignment | Physical metrics | Realism ‡ | ||||||
| Method | R@1 | R@2 | R@3 | MM Dist | Pen. % | Jitter | FID | FID cd |
| InterGen [ 31 ] | 0.149 | 0.273 | 0.378 | 5.221 | 1.440 | 3.964 | 3.899 | 17.435 |
| in2IN [ 48 ] | 0.156 | 0.277 | 0.368 | 5.340 | 1.601 | 9.514 | 4.397 | 9.403 |
| TIMotion [ 62 ] | 0.140 | 0.241 | 0.328 | 5.864 | 0.915 | 14.012 | 13.291 | 7.931 |
| Text2Interact [ 66 ] | 0.171 | 0.297 | 0.396 | 5.159 | 1.037 | 5.278 | 4.021 | 9.956 |
| Interact2Ar [ 49 ] | 0.197 | 0.312 | 0.400 | 5.130 | 0.606 | 4.111 | 7.813 | 5.053 |
| Method | SC | BC | MS | AQ | IQ |
|---|---|---|---|---|---|
| Interact2Ar † [ 49 ] Wan2.2 [ 59 ] | 95.72 | 93.04 | 99.31 | 57.24 | 74.04 |
| Wan2.2 [ 59 ] | 95.46 | 93.64 | 99.42 | 57.31 | 74.20 |
| RoCoCo | 96.73 | 95.18 | 99.53 | 57.37 | 73.74 |
| Acc. | VLM acc. | |||||
| Method | ID | OOD | All | ID | OOD | All |
| Inter-X [ 67 ] GT motion | 95.0 | – | – | 93.0 | – | – |
| in2IN [ 48 ] | 54.0 | 63.0 | 58.5 | 53.0 | 51.0 | 52.0 |
| Wan2.2 [ 59 ] PromptHMR [ 61 ] | 70.0 | 63.0 | 66.5 | 69.0 | 68.0 | 68.5 |
| RoCoCo | 73.0 | 60.0 | 66.5 | 77.0 | 66.0 | 71.5 |
| Motion | VBench | Role control | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Variant | R@1 | FID | FID cd | Jitter | SC | BC | MS | AQ | IQ | Acc. | VLM acc. |
| w/o Person Motion Blocks | 0.281 | 1.332 | 4.400 | 4.189 | 97.25 | 95.66 | 99.50 | 57.46 | 74.48 | – | – |
| w/o in-sampler smoothing | 0.280 | 3.927 | 3.040 | 3.651 | 97.28 | 95.83 | 99.52 | 57.42 | 74.49 | 79.0 | 66.0 |
| RoCoCo | 0.277 | 3.946 | 2.983 | 2.249 | 97.29 | 95.81 | 99.52 | 57.67 | 74.47 | 78.0 | 66.0 |
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
| Layer | Input | Output | |
|---|---|---|---|
| Encoder | Linear | ||
| GELU | |||
| Linear | |||
| Decoder | LayerNorm | ||
| Scale and shift ( ) | |||
| Linear |
| Parameter | Value |
|---|---|
| Video | 81 frames, 16 fps, |
| LoRA | rank 256 |
| Caption dropout | 0.1 |
| Condition dropout | 0.1 each for motion, video, all |
| Loss weights | , |
| Optimizer | AdamW, |
| p90 depth | Deepest frame | |
|---|---|---|
| Actions | (mm) | (mm) |
| touch head | 10.0 | 15.0 |
| handshake, high-five, hand wrestling | 15.0 | 22.5 |
| slap, massage shoulders, pat on cheek | 20.0 | 30.0 |
| hug, push, sit on leg, support with hand, carry / lift, help up | 30.0 | 45.0 |
| Check | Passes when |
|---|---|
| Contact | contact frames make up at least 5% of the frames and at least half the median share in the clean real takes of the action |
| Penetration | p90 depth and deepest frame within the limits of the action (Table 7 ) |
| Timing | first contact before 80% of the clip; for high-five and slap, also not in the first 10% |
| Label | Category | Condition | Clips |
|---|---|---|---|
| Positive | — | Passes all whole-clip checks, with p90 | 113 |
| Negative | little contact | Intended and overall contact both below contact thresholds | 729 |
| Negative | wrong parts | Sufficient overall contact, too little intended contact; p90 depth or deepest frame above limit | 216 |
| Negative | penetration | Sufficient intended contact; p90 depth or deepest frame above twice limit, or timing fails | 656 |
| Negative | caption only | Caption-far, otherwise unused | 92 |
| Setting | NFT | SFT only |
|---|---|---|
| Video LoRA | rank 256 (645M) | rank 256 (645M) |
| Motion LoRA | rank 256 (974M) | rank 256 (974M) |
| Clips per step | 4 pos., 14 neg., 14 real | 16 real |
| Loss weights | , | |
| Timestep | ||
| Optimizer | AdamW | AdamW |
| Overlap frames (%) | Contact | Contacts kept | ||
|---|---|---|---|---|
| cm | cm | frames (%) | (%) | |
| Before | 27.6 | 21.4 | 36.9 | – |
| After | 13.5 | 4.8 | 37.0 | 94.2 |
| Subset | Clips | Subset | Clips |
|---|---|---|---|
| idea400 | 1,355 | music | 68 |
| kungfu | 487 | animation | 66 |
| perform | 189 | humman | 53 |
| haa500 | 32 |
| Judge | Accuracy |
|---|---|
| Text–motion model, released | 85.0 |
| Text–motion model, retrained (Acc.) | 95.0 |
| GPT-6 Astra (VLM acc.) | 93.0 |
| Text alignment | Physical metrics | Realism | ||||||
| Method | R@1 | R@2 | R@3 | MM Dist | Pen. % | Jitter | FID | FID cd |
| InterGen | 0.189 | 0.328 | 0.434 | 5.064 | 1.452 | 4.349 | 3.899 | 17.435 |
| in2IN | 0.211 | 0.370 | 0.475 | 5.164 | 1.484 | 9.954 | 4.397 | 9.403 |
| TIMotion | 0.197 | 0.322 | 0.415 | 5.693 | 1.045 | 14.949 | 13.291 | 7.931 |
| Text2Interact | 0.225 | 0.370 | 0.463 | 4.964 | 1.069 | 5.783 | 4.021 | 9.956 |
| Interact2Ar | 0.264 | 0.427 | 0.525 | 4.848 | 0.910 | 4.341 | 7.813 | 5.053 |
| Text alignment | Physical metrics | |||||
| Method | R@1 | R@2 | R@3 | MM Dist | Pen. % | Jitter |
| InterGen | 0.108 | 0.217 | 0.321 | 5.378 | 1.428 | 3.580 |
| in2IN | 0.102 | 0.185 | 0.261 | 5.517 | 1.718 | 9.074 |
| TIMotion | 0.082 | 0.159 | 0.242 | 6.035 | 0.786 | 13.075 |
| Text2Interact | 0.118 | 0.224 | 0.330 | 5.354 | 1.005 | 4.773 |
| Interact2Ar | 0.129 | 0.197 | 0.274 | 5.413 | 0.302 | 3.880 |
| Text alignment | Physical metrics | Realism ‡ | ||||||
|---|---|---|---|---|---|---|---|---|
| Method | R@1 | R@2 | R@3 | MM Dist | Pen. % | Jitter | FID | FID cd |
| Wan2.2 PromptHMR | 0.202 | 0.337 | 0.439 | 5.215 | 1.365 | 4.093 | 6.574 | 17.054 |
| Wan2.2 CoMotion | 0.215 | 0.355 | 0.450 | 5.181 | 1.234 | 17.192 | 6.174 | 11.165 |
| Wan2.2 Human3R | 0.204 | 0.338 | 0.436 | 5.158 | 1.373 | 32.037 | 6.985 | 13.573 |
| MiniMax-H3 PromptHMR | 0.218 | 0.345 | 0.433 | 4.908 | 0.591 | 3.586 | 2.535 | 23.785 |
| RoCoCo video PromptHMR | 0.268 | 0.430 | 0.542 | 4.236 | 0.428 | 3.551 | 0.945 | 2.624 |
| Method | SC | BC | MS | AQ | IQ |
|---|---|---|---|---|---|
| Interact2Ar † Wan2.2 | 95.72 | 93.04 | 99.31 | 57.24 | 74.04 |
| Wan2.2 | 95.46 | 93.64 | 99.42 | 57.31 | 74.20 |
| MiniMax-H3 | 91.00 | 91.31 | 99.18 | 60.26 | 73.64 |
| Interact2Ar † RoCoCo (motion-to-video) | 96.02 | 94.60 | 99.49 | 57.17 | 73.93 |
| RoCoCo | 96.73 | 95.18 | 99.53 | 57.37 | 73.74 |
| Text alignment | Physical metrics | Realism ‡ | ||||||
|---|---|---|---|---|---|---|---|---|
| Method | R@1 | R@2 | R@3 | MM Dist | Pen. % | Jitter | FID | FID cd |
| Wan2.2 PromptHMR | 0.202 | 0.337 | 0.439 | 5.215 | 1.365 | 4.093 | 6.574 | 17.054 |
| Wan2.2 CoMotion | 0.215 | 0.355 | 0.450 | 5.181 | 1.234 | 17.192 | 6.174 | 11.165 |
| Wan2.2 Human3R | 0.204 | 0.338 | 0.436 | 5.158 | 1.373 | 32.037 | 6.985 | 13.573 |
| Wan2.2 RoCoCo (video-to-motion) | 0.222 | 0.360 | 0.451 | 5.313 | 1.243 | 5.990 | 7.405 | 12.493 |
| Motion | VBench | Role control | |||||||||
| Variant | R@1 | FID | FID cd | Jitter | SC | BC | MS | AQ | IQ | Acc. | VLM acc. |
| w/o | 0.287 | 3.357 | 3.584 | 3.926 | 97.16 | 95.70 | 99.51 | 57.69 | 74.42 | 76.0 | 67.0 |
| w/ frozen video model | 0.265 | 4.364 | 4.361 | 4.184 | 95.68 | 93.79 | 99.02 | 57.21 | 74.54 | 71.0 | 63.0 |
| 0.280 | 3.927 | 3.040 | 3.651 | 97.28 | 95.83 | 99.52 | 57.42 | 74.49 | 79.0 | 66.0 | |
| 0.277 | 3.937 | 2.986 | 2.272 | 97.29 | 95.88 | 99.52 | 57.42 | 74.46 | 79.0 | 67.0 | |
| 0.276 | 3.915 | 2.970 | 2.243 | 97.28 | 95.86 | 99.52 | 57.47 | 74.50 | 78.0 | 64.0 | |
| Geometry | Distribution | Video | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Variant | Smoothing | Pen. % | Pen. % ID | Pen. % OOD | Jitter | FID | FID cd | SC | BC | AQ |
| w/o post-training | – | 0.481 | 0.525 | 0.438 | 4.443 | 1.611 | 5.017 | 96.77 | 95.18 | 57.39 |
| SFT only ( ) | – | 0.571 | 0.589 | 0.553 | 4.386 | 1.082 | 4.855 | 96.48 | 94.78 | 56.98 |
| NFT ( ) | – | 0.357 | 0.326 | 0.387 | 4.292 | 2.215 | 7.935 | 97.06 | 95.40 | 57.61 |
| NFT ( ) | ✓ | 0.356 | 0.325 | 0.387 | 2.571 | 2.241 | 7.884 | 97.06 | 95.45 | 57.53 |
| ✓ | 0.370 | 0.377 | 0.363 | 2.572 | 1.616 | 7.969 | 96.93 | 95.32 | 57.56 | |
Human Motion Generation
Human motion generation creates articulated movement from language, audio, video, spatial constraints, or interaction goals.
See all 336 papers