# CoDance: Learning Reactive and Compliant Human-Humanoid Interaction from Video

Robotics.world

> Most learned humanoid motion skills treat the robot as if it moves alone: it tracks a reference motion or a velocity command and regards any outside contact as a disturbance to be rejected.

**arXiv**: 2610.05324 · Preprint · not peer-reviewed

**Published**: 2026-10-04

**Authors**: Zhuoqun Chen, Shucheng Jia, Boyuan Chen

## In plain words

Most learned humanoid motion skills treat the robot as if it moves alone: it tracks a reference motion or a velocity command and regards any outside contact as a disturbance to be rejected. But when a humanoid physically interacts with a person — walking together, carrying something, guiding, or dancing — the two bodies are coupled through both what the robot sees and what it feels through contact.

## AI summary

## Overview

**Research area:** Humanoid robotics — whole-body motion imitation, physical human-robot interaction, and compliant control learned from human video.

**Technical level:** Advanced. The paper assumes familiarity with reinforcement learning (PPO, adversarial motion priors), whole-body inverse kinematics, SMPL-X body models, motion retargeting, and impedance/compliance concepts.

**Scope:** A framework that turns a single video of two people dancing into force-aware training data, so a humanoid can learn to follow a human partner's footsteps while responding compliantly to two-hand physical contact.

## What This Paper Is About

Most learned humanoid motion skills treat the robot as if it moves alone: it tracks a reference motion or a velocity command and regards any outside contact as a disturbance to be rejected. But when a humanoid physically interacts with a person — walking together, carrying something, guiding, or dancing — the two bodies are coupled through both what the robot sees and what it feels through contact.

The authors use partnered dancing as a hard test case: the robot must sync its footsteps with a moving person, keep both hands in continuous contact, and absorb timing and positioning mismatches by yielding rather than rigidly tracking. The core difficulty they address is that video shows motion but not force, so they build a method that synthesizes plausible interaction forces and the corresponding compliant robot motion from purely kinematic demonstrations.

## Key Contributions

1. **CoDance framework:** A pipeline that takes a single video of two human dancers, reconstructs both motions, retargets one dancer to the humanoid as a reference and the other as a moving partner, and learns partner-conditioned locomotion plus compliant two-hand interaction.
2. **Partner-informed multi-link compliance augmentation:** An extension of prior single-wrist compliance augmentation to coupled two-hand interaction. It samples interaction "intents" (single wrist, both wrists moving together, mirrored, twisting, opposing), draws force directions from the partner's smoothed horizontal velocity, and scales each event so the required center-of-mass shift stays within a balance budget.
3. **Policy design spanning two locomotion objectives:** The same augmented data supports both an adversarial-imitation policy ("decoupled," where only the upper body tracks the reference) and a reference-tracking policy ("whole-body tracker"), showing the approach is not tied to one policy architecture.
4. **Simulation ablations plus physical deployment:** Demonstrations of reactive partner following, compliant wrist response, learned locomotion style, and cross-clip transitions in simulation, and sustained two-hand dancing with a real person on a Unitree G1.

## Main Findings

- **Partner observation drives the footsteps.** With the real partner observation, the decoupled policy had 0.057 m foot error at 1 s with 99.6% success, and the whole-body tracker 0.072 m with 99.7%. Masking all partner keypoints to zero caused 0.0% success for both, with foot error around 0.42 m (0.421 and 0.430) after 1 s.
- **Reversing the partner separates dependence from distribution shift.** Because zeroed observations were out of distribution, the authors also reversed the partner's motion while keeping the robot reference fixed. Success dropped to 28.6% (decoupled) and 24.3% (whole-body) with foot errors of 0.267 m and 0.255 m — showing the policy genuinely uses observed partner motion, not just phase replay.
- **The foot-following reward is necessary.** Removing it from the whole-body tracker gave 99.6% success but 0.179 m foot error, roughly 2.5 times that of the constrained tracker at 1 s — the robot finished the clip without actually following the partner.
- **Compliance transfers to unseen force schedules.** On seen clips, both compliant policies moved their wrists about 80% of the distance encoded in the adapted reference, with 2.6 cm mean displacement error; the stiff tracker achieved about 20% with more than twice the displacement error. On unseen clips the relative adapted ratio rose for every policy including the stiff baseline, and the compliant policies' displacement error grew by less than 1 cm. The two compliant policies differed in relative adapted ratio by only 0.03.
- **Locomotion style comes from the locomotion objective, not the compliance training.** Removing the adversarial term left foot error comparable (0.072 m with force) but raised lower-body rotation error 2.6 times on clips with force events (0.587 vs 0.225 rad) and 3.0 times on force-free clips (0.590 vs 0.198 rad). Visually, the pelvis turned away from the dancer's heading and the stance widened into a crouch. The whole-body tracker tracked the lower body most closely (0.069 / 0.065 m position error), with the decoupled policy within 2 cm and 0.03 rad of it.
- **Clip-chaining is what makes direction changes work.** Chaining clips at episode ends let the decoupled policy reach 97.6% success on back-to-back forward/reverse chains and the whole-body tracker 96.2%; the decoupled policy trained without chaining reached only 48.0%, with comparable foot error (0.076 vs 0.073 m) — meaning it lost the transition, not the partner.
- **Hardware dancing worked across repeated direction changes.** On a Unitree G1 at 50 Hz policy rate and 200 Hz SDK rate, the robot kept two-hand contact and did not fall in all three repeated runs: one forward run of 12.8 s and two 38.9 s runs alternating forward and reversed clips. Root distance stayed within 0.1 m of the 0.5 m target for 93%, 83%, and 73% of the three runs, with means between 0.48 m and 0.50 m; the pair traveled approximately 3.8 m in the run shown.
- **A standing variant shows the compliance in isolation.** A standing policy trained with the same augmentation but without partner guidance visibly yielded its arms to a hanging weight, to two hands pulled in different directions, and to both hands pulled outward, while the feet stayed still.

## Methodology in Plain English

The approach has three stages.

**Stage 1 — from video to force-aware data.** A body-reconstruction model (PromptHMR) recovers the SMPL-X motions of both dancers, and a retargeting tool (GMR) maps each dancer onto the humanoid separately. One becomes the robot's reference; the other becomes a simulated partner that a second, kinematic humanoid replays. Because separate retargeting loses the dancers' relative placement, the partner is positioned at a fixed following offset. The 9.7 s clip is also reversed in time so both travel directions are covered.

Since video has no force information, the authors fabricate it. They scatter force events through the clip, each with a ramp, hold, and release profile. For a sampled stiffness K, a contacted wrist is displaced by f/K. Stiffness is drawn log-uniformly between 10 and 1000 N/m. A whole-body inverse-kinematics solve then adapts the motion while holding the feet fixed, constraining the center of mass, and weakly tracking everything else. If a frame violates feasibility or self-collision, the event is recomputed with the force pushed outward or scaled down. Three extensions beyond prior work matter: forces can act on both wrists in coordinated patterns, force directions follow the partner's motion, and force magnitude is pre-scaled so the required balance shift stays within 0.10 m.

**Stage 2 — policy training.** The policy sees proprioception, the source motion's phase, the partner's pelvis and knees over the last second, and each wrist's commanded stiffness. It does not see the adapted reference or the applied forces, so its compliance must come from stiffness commands plus its own proprioception. During force events, forces are modeled as springs toward setpoints that would deliver the scheduled force at the adapted reference. Rewards cover partner following (each foot near the opposite partner foot at a 0.5 m offset), upper-body compliance with the adapted reference, a locomotion-style term, and regularization. Training uses PPO in MuJoCo through mjlab with 16,384 parallel environments at 50 Hz, converging in about 37 h for the decoupled policy and 29 h for the whole-body tracker on one NVIDIA L40S. The dataset contains 200 clips with force events and 200 force-free clips, split evenly between forward and reversed motion.

**Stage 3 — deployment.** The simulated partner is replaced by a real person tracked with a Vicon system, providing the same pelvis and knee keypoints. Both wrists are commanded at 140 N/m stiffness, and the interaction forces come from the person's actual hands.

## Why This Matters

**Impact on research:** The paper targets a gap between single-agent motion imitation and true physical collaboration. Its central technical move — synthesizing force-aware references from kinematic video, with coupled multi-link events and a balance constraint — is a general recipe that could apply beyond dance to any task where a humanoid must yield to a person while still locomoting.

**Real-world applications:**

- Assistive robotics, where a robot guides or supports a person by the hands while walking alongside them.
- Collaborative carrying, where a robot and human hold a shared object and must absorb each other's timing errors.
- Rehabilitation and gait training, where a robot provides physical hand contact and must comply rather than resist.
- Entertainment and social robotics, where physically safe, expressive human-robot movement is the product itself.

**Industry relevance:** The work runs on a commercially available Unitree G1 at 50 Hz with a small motion-capture marker set, which is a realistic sensing budget for a product rather than a lab-only setup. It also suggests that compliance can be learned from ordinary video rather than measured force data — meaningful for anyone who wants to train interaction skills without instrumented demonstrations.

## Future Directions

- **Broadening the dance repertoire.** The authors explicitly name rise-and-fall, turning, and the box step as next targets, which would stress relative-placement changes the current fixed-offset follower cannot represent.
- **Extending augmentation to arbitrary links.** The current method contacts only the two wrists; generalizing to any selected link would cover hand-on-shoulder, hand-on-back, and other contact patterns.
- **Escaping dependence on the reference clip.** Only about a quarter of trials finish when the partner moves opposite to the clip, so the policy still leans on its reference. More aggressive partner conditioning, or online reference blending, is an open problem.
- **Scaling past one video and one dance.** The study covers a single paired video; whether the augmentation and reward structure generalize across many dances and partner styles is untested.

## Target Audience

Robotics researchers and graduate students working on humanoid whole-body control, physics-based motion imitation, and physical human-robot interaction. It is also relevant to engineers building compliant loco-manipulation or human-collaborative systems who want a concrete recipe for turning ordinary video into interaction training data. Readers without a reinforcement learning or IK background will find the method sections dense, though the experimental results and hardware demonstrations are readable on their own.

## Authors’ abstract

Partnered human-humanoid interaction couples locomotion with continuous physical contact. A humanoid needs to coordinate with a person's motion while responding to interaction forces and maintaining stable and natural movement. We present CoDance, a framework for learning reactive and compliant human-humanoid interaction from video. We study partnered dancing as a challenging instantiation, where a humanoid coordinates its footsteps with a moving partner and maintains…

[The full abstract on arXiv](https://arxiv.org/abs/2610.05324)

[Read the original paper](https://arxiv.org/abs/2610.05324)

## Related papers

- [SocioGesture: Real-Time and Adaptive Social Gesture Perception for Human-Robot Interaction](https://robotics.world/paper/sociogesture-real-time-and-adaptive-social-gesture-perception-for-human-2609.04545) 2026-09-03 · cs.RO · Also by Boyuan Chen
- [RoboAssist: Interactive Human-Humanoid Planning for Long-Horizon Surgical Assistance](https://robotics.world/paper/roboassist-interactive-human-humanoid-planning-for-long-horizon-2609.39384) 2026-09-30 · cs.RO · Key terms of the title in common
- [AffectiveVLA: Safe and Intent-Aware VLA Control for Human-Humanoid Social Interaction](https://robotics.world/paper/affectivevla-safe-and-intent-aware-vla-control-for-human-humanoid-2611.07712) 2026-11-05 · cs.RO · Key terms of the title in common
- [Social Humanoid: Socially Responsive Human-Humanoid Interaction](https://robotics.world/paper/social-humanoid-socially-responsive-human-humanoid-interaction-2611.08407) 2026-11-05 · cs.RO · Key terms of the title in common
- [RobotWorld: Benchmarking Multimodal Agents for Robot Use Across Diverse Tasks and Embodiments](https://robotics.world/paper/robotworld-benchmarking-multimodal-agents-for-robot-use-across-diverse-2610.10409) 2026-10-07 · cs.RO · Also by Boyuan Chen

---

Canonical: https://robotics.world/paper/codance-learning-reactive-and-compliant-human-humanoid-interaction-from-2610.05324
