RoCoCo

Role-Controllable Co-Generation of Video and 3D Motion for Two-Person Interactions

MBZUAI

Co-generated video and 3D motion

From an image and a caption, RoCoCo jointly generates a video of a two-person interaction and the 3D motion of each person, gives individual control over what each person does, and keeps the motion physically plausible through post-training.

Input
Input image: two people sitting at a table
Image
Interaction caption

“Two people sit facing each other across a narrow table. The first person rests his/her left elbow on the table and raises his/her right hand, and the second person leans forward and gives him/her a high five. Then they both lean back in their chairs.”

Estimated from the input
Estimated initial 3D poses of both people
Initial 3D poses
Caption 1Caption 2
LLMsplits the caption into one caption per person
Caption 1 · assigned to the person on the left

“A person sits, leans forward with one elbow at waist height and raises his/her right hand at head height, then leans back.”

Caption 2 · assigned to the person on the right

“A person sits, leans forward and swings his/her right hand at head height, then leans back.”

Co-generated output
Video
3D motion

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.

Video

Method

RoCoCo architecture: a first frame and the first 3D poses become video and motion tokens; fifteen joint blocks let video and both bodies attend to each other; person motion blocks with shared weights let each body read its own caption; decoders output the video and the 3D motion. first frame First frame first 3D poses First 3D poses (estimated from the image) Caption “One person walks up to the other and whispers in his/her ear.” LLM ✻ P1 P2 “A person steps forward and whispers at ear height.” “A person stands still.” VAE ✻ Motion Encoder video tokens motion tokens P1 P2 ×15 Joint Block Joint self-attention CA CA Video Block SA CA Motion Block SA CA Person Motion Block SA CA Person Motion Block SA CA ⇅ shared weights Video Decoder ✻ Motion Decoder generated video Generated video generated 3D motion Generated 3D motion Post-training: rewards (no penetration, preserve contacts, aligned with caption), preference pairs, SFT + NFT
1

One image, one caption, two roles

You give a first frame and an interaction caption. Off-the-shelf models estimate the first 3D pose of both people, and a language model splits the caption into one caption per person. You decide which person in the frame gets which caption.

Qualitative comparison

Scene-aware interactions

RoCoCo generates the video together with the motion, so the interaction takes the scene of the first frame into account.

Role control

The same image and interaction caption, with the two per-person captions first as given and then swapped between the two people. Each action follows its caption to the other person.

Interaction caption

Interactive 3D motion

Generated video
Generated 3D motiondrag to rotate

Video-to-motion and motion-to-video

The same model also works when one modality is given. It estimates the 3D motion of both people from a video, or generates the video from a 3D motion and the first frame.

Human–robot interaction

The first frame shows a person and a Unitree G1 humanoid robot, and the robot takes one of the two person slots. The training data contains no robots, yet RoCoCo adapts to the robot’s body. The generated motion is also shown retargeted to the G1 model.

BibTeX

@article{kengeskanov2026rococo,
  title   = {RoCoCo: Role-Controllable Co-Generation of Video and 3D Motion for Two-Person Interactions},
  author  = {Kengeskanov, Maksat and Konovalova, Nina and Fazylov, Ramazan and Pizzati, Fabio and Laptev, Ivan},
  journal = {arXiv preprint arXiv:2612.02450},
  year    = {2026}
}