Research
CompliantBot: Learning Whole-Body Compliance across Task Interfaces for Humanoid Control
Humanoid controllers are normally trained to track a motion reference or a velocity command as accurately as possible, which treats any external push or pull as an error to be resisted.

- arXiv
- 2611.01748 · Preprint · not peer-reviewed
- Published
- 2026-11-01
- Authors
- Haoyang Li, Keqi Zhu, Zhanxiang Cao, Yang Zhang, Yizhi Chen, Xuekang Yang, Yue Gao
In plain words
Humanoid controllers are normally trained to track a motion reference or a velocity command as accurately as possible, which treats any external push or pull as an error to be resisted. When a person guides the robot by its wrist or steadies its torso, that resistance sustains the interaction force and can destabilize the robot, while simply relaxing tracking altogether makes it hard to return to the task afterwards.
AI summary
Overview
Research area: Learning-based humanoid whole-body control, with a focus on physical human–robot interaction (compliant control, yielding to external forces, and subsequent task recovery).
Technical level: Advanced. The paper assumes familiarity with reinforcement learning (PPO, reward shaping, domain randomization), humanoid motion tracking, velocity-command locomotion, and classical impedance/admittance control.
Scope (one sentence): The paper introduces CompliantBot, a reinforcement-learning training framework that teaches a 29-DoF Unitree G1 humanoid to yield to external forces and then resume its task, using the same mechanism for two different task interfaces (whole-body motion tracking and velocity-command locomotion) without any pre-built compliant reference motions.
What This Paper Is About
Humanoid controllers are normally trained to track a motion reference or a velocity command as accurately as possible, which treats any external push or pull as an error to be resisted. When a person guides the robot by its wrist or steadies its torso, that resistance sustains the interaction force and can destabilize the robot, while simply relaxing tracking altogether makes it hard to return to the task afterwards. CompliantBot's goal is a controller that keeps its original task input (a motion reference or a velocity command), temporarily deviates enough to reduce the force it feels, and then resumes the task once the force is removed — without needing force sensors on the robot or hand-built compliant trajectories.
Key Contributions
- Compliance training that works across task interfaces. CompliantBot applies to both whole-body motion tracking and velocity-command locomotion while preserving each controller's original task inputs; no additional compliant target trajectories or interface-specific interaction commands are required, and policies for the two interfaces are trained separately but with the same mechanism.
- A state-dependent interaction force field. A virtual spring is applied at a body link sampled from a candidate set spanning the torso and upper and lower limbs, anchored at a world-fixed point. Because the resulting force depends on the link's position, the robot can change the force it experiences through local articulation, whole-body movement, or both.
- Reward allocation for yielding and task recovery. A force-magnitude reward encourages reducing the interaction load, while the original task reward group is downweighted during force application and restored after force removal. Regularization weights remain unchanged throughout.
- Cross-interface and hardware evaluation. The framework is tested on motion tracking against released SoftMimic and GentleHumanoid policies plus two internal ablations, and on velocity-command locomotion against MPC and MPC-with-admittance baselines, with real-robot demonstrations of elastic-band wrist interaction.
Main Findings
- More yielding under constant pulls. In the motion-tracking evaluation panel (224 scenarios per policy: two start-frame repetitions, seven body sites, eight horizontal directions, two force magnitudes of 5 and 10 N, 10 s rollouts with force applied from 2 to 5 s), CompliantBot displaced the pulled link 18.75 ± 0.29 cm along the force under constant loads, versus 9.96 ± 0.30 cm for the baseline (BS) and 6.80 ± 0.12 cm for disturbance randomization (DR).
- Exposure to forces alone does not create compliance. DR, trained with the same force distribution but the original task rewards, yielded less than BS under all three force conditions (e.g., 0.39 ± 0.13 cm versus 0.86 ± 0.04 cm under the k = 50 N/m spring), isolating the reward allocation as the operative ingredient.
- Lower spring interaction loads. Mean actual force during loading (2–5 s) under the k = 20 N/m spring was 6.56 ± 0.07 N for CompliantBot, against 7.04 ± 0.02 N (BS), 7.06 ± 0.01 N (DR), 6.95 ± 0.06 N (SoftMimic) and 6.89 ± 0.03 N (GentleHumanoid); under the k = 50 N/m spring it was 6.75 ± 0.03 N versus 7.27 ± 0.02 N, 7.29 ± 0.02 N, 7.27 ± 0.04 N and 7.24 ± 0.02 N.
- Higher survival and better recovery. CompliantBot reached 99.78 ± 0.32% survival across all three conditions, the highest reported, against 97.54 ± 0.32% (BS), 97.32 ± 0.63% (DR), 90.89 ± 0.40% (SoftMimic, constant force) and 95.27 ± 1.16% (GentleHumanoid, constant force). Its additional tracking error after force removal (ΔE) was also the smallest, reaching −0.10 ± 0.50 mm under the k = 20 N/m spring and 0.00 ± 0.49 mm under the k = 50 N/m spring.
- Yielding is not the same as load reduction. SoftMimic yielded farther than CompliantBot under constant forces and under the k = 20 N/m spring, but did not achieve a lower interaction load; CompliantBot yielded farther than SoftMimic under the stiffer spring and farther than GentleHumanoid under all three conditions. The authors use this to argue that displacement alone is not a sufficient compliance metric.
- Compliance generalizes across body sites. Under 10 N constant forces applied at different sites, CompliantBot showed greater mean yielding than BS and DR at every tested site, with larger gains at the torso and wrists and improvements also at the knees and ankles.
- Training dynamics. Evaluated at checkpoints every 1,000 iterations from 1,000 to 10,000, BS and DR learned progressively smaller force-aligned displacements, whereas CompliantBot retained a larger response that trended upward toward the end of training despite checkpoint-to-checkpoint fluctuation. CompliantBot had a lower mean spring interaction force than both controls at every evaluated checkpoint, and the highest mean survival over the final four evaluations.
- A qualitative failure case. In whole-body dance tracking under a sustained wrist spring pull, the baseline kept resisting, the interaction force grew, and the robot fell (visible as a drop in torso height), while CompliantBot yielded, reduced the force, and maintained torso height.
- Extension to locomotion (reported qualitatively). Each locomotion rollout used a 0.5 m/s body-frame forward command over 20 s with right-wrist force applied from 2 to 5 s, constant 5 and 10 N along world +y plus a k = 20 N/m spring, with 3 evaluation seeds and 64 paired trials per loading condition per seed. The paper's abstract states CompliantBot yields farther and experiences lower spring loads than matched baselines across both interfaces and achieves the highest task completion under stronger pulls, but the per-condition locomotion table values are not present in the supplied text (the content is truncated mid-sentence in Section 4.3).
- Power efficiency (reported without values). The abstract states that power evaluations show CompliantBot has the lowest mean joint mechanical power among the compared methods; the numerical values are not included in the supplied content.
- Hardware behavior. Real-robot demonstrations are described qualitatively as compliant responses to an elastic-band wrist interaction realized through arm motion, stepping, and body reorientation; no quantitative hardware metrics are reported in the supplied content.
Motion-tracking results as reported (Table 4)
| Method | Survival (%) | Y_w, constant force (cm) | Y_w, k=20 N/m (cm) | F̄, k=20 N/m (N) | Y_w, k=50 N/m (cm) | F̄, k=50 N/m (N) |
|---|---|---|---|---|---|---|
| BS | 97.54 ± 0.32 | 9.96 ± 0.30 | 2.54 ± 0.07 | 7.04 ± 0.02 | 0.86 ± 0.04 | 7.27 ± 0.02 |
| DR | 97.32 ± 0.63 | 6.80 ± 0.12 | 1.57 ± 0.04 | 7.06 ± 0.01 | 0.39 ± 0.13 | 7.29 ± 0.02 |
| CB | 99.78 ± 0.32 | 18.75 ± 0.29 | 10.25 ± 0.35 | 6.56 ± 0.07 | 9.48 ± 0.46 | 6.75 ± 0.03 |
| SoftMimic | 90.89 ± 0.40 | 21.69 ± 1.42 | 11.48 ± 0.87 | 6.95 ± 0.06 | 6.73 ± 2.05 | 7.27 ± 0.04 |
| GentleHumanoid | 95.27 ± 1.16 | 13.42 ± 0.52 | 6.52 ± 0.24 | 6.89 ± 0.03 | 3.74 ± 0.31 | 7.24 ± 0.02 |
Methodology in Plain English
Setup. A 29-DoF Unitree G1 humanoid is controlled by joint-position targets issued at 50 Hz and executed by the robot's native PD controllers with fixed gains. Training happens in NVIDIA Isaac Sim at 200 Hz physics, i.e., four simulation steps per control step. Each policy conditions on a short history of observations (length 10 for motion tracking, 5 for locomotion) and is optimized with PPO (γ = 0.99, GAE λ = 0.95, 4,096 parallel environments, 24 rollout steps per environment, 10,000 updates, 2 random seeds, hidden widths 512/256/128, ELU activations, learning rate 10⁻³, entropy coefficient annealed from 0.005 to 0.001). Training a motion-tracking policy including periodic validation took roughly 5.4–6.0 hours on an RTX 4090.
The force field. Instead of pushing the robot with a fixed force, the trainers attach a virtual spring between a randomly selected body link and a world-fixed anchor point placed near that link at the moment of contact. The force points toward the anchor and grows with how far the link has moved away, up to a cap (F_max); moving toward the anchor reduces the force, moving away increases it. This closed loop between the robot's own motion and the load it feels is what lets the robot learn to yield through arm motion, stepping, body lean, or a combination, without anyone specifying a target pose. The link, the initial pull direction, and the force magnitude are randomized during training. Each forced episode follows a three-phase script — normal task execution, then a sustained pull, then release — and some episodes remain unforced so the nominal task is still trained.
The reward. Three groups of terms are combined: the original task rewards (tracking the motion reference or the velocity command), a force-magnitude reward, and unchanged regularization terms. The force-magnitude reward is highest when the measured force along each axis matches a desired magnitude f*; setting f* = 0 (what CompliantBot uses) rewards driving the interaction load toward zero. The key mechanism is the weighting: during loading, the compliance weight rises and the task weight falls as 1 − w_c, so the policy is allowed to deviate from its reference; after release the task weight returns to its original value so the policy relearns to track. For motion tracking the reference keeps advancing during the interaction, so resumption follows the current phase rather than replaying a stale target.
What the robot senses. The actor sees only task inputs and proprioceptive history — projected gravity, base angular velocity, joint-position and velocity offsets, and the previous action, plus (for motion tracking) reference joint states, reference pelvis pose in the pelvis frame, base linear velocity, and joint efforts. The applied force and the loading-stage flag are used by the simulator to compute rewards but are not actor inputs; the critic gets privileged simulator state during training only. The trained policy therefore infers the interaction from how its body is being moved, not from a force sensor.
Evaluation design. Comparisons include two internal ablations sharing architecture and action representation (BS: original task controller, no force field or compliance reward; DR: same force distribution as CompliantBot but original task rewards) and external released or classical controllers — SoftMimic and GentleHumanoid for motion tracking, and a full-body iLQG-based MPC in MuJoCo plus the same MPC with a mass–damper–spring admittance layer (M_a = 4 kg, D_a = 30 N·s/m, K_a = 50 N/m) for locomotion. Metrics are survival, world-frame yielding relative to the same policy's unforced rollout, additional tracking error after release, and mean actual interaction force.
Why This Matters
Impact on research. The paper reframes compliance as a reward-allocation problem rather than a data or interface problem. Most prior compliant humanoid work either constructs compliant targets (SoftMimic's inverse-kinematics augmentation, GentleHumanoid's multi-link impedance, FACET's virtual mass–spring–damper models) or inserts an admittance layer upstream of the controller. CompliantBot keeps the task interface untouched and instead modulates how much the existing task objective matters at each interaction stage — a recipe that transfers between interfaces because it does not depend on what the interface is. The DR ablation is the sharpest scientific point: force exposure during training, without the reward reallocation, produced less yielding than no force training at all. That is a useful correction for anyone assuming domain randomization over forces buys compliance.
Real-world applications.
- Assisted living and caregiving: a resident or caregiver guiding the robot by the wrist or steadying its torso while it walks, without the robot fighting back or losing balance.
- Collaborative manufacturing and logistics: workers physically redirecting a humanoid that is carrying or fetching parts, where resisting a nudge is both unproductive and a safety risk.
- Service and hospitality spaces: crowded environments where the robot is bumped, leaned on, or hand-guided to a location and must recover its route afterwards.
- Rehabilitation and physiotherapy: elastic-band or hand-over-hand interaction, which is exactly the hardware demonstration the authors show, where controlled yielding is the therapeutic behavior rather than a failure mode.
Industry relevance. The method adds a reward term and a training-time force model to an existing RL pipeline rather than requiring force/torque sensors, compliant actuators, or a separate admittance controller — a materially cheaper path to interaction-safe humanoids for teams already training locomotion and motion-tracking policies. It also gives practitioners a concrete lesson about metric choice: SoftMimic displaced farther under a soft spring yet did not achieve a lower load, so displacement-based compliance benchmarks can be misleading.
Future Directions
- Publish the locomotion numbers and power analysis. The supplied text truncates in Section 4.3 and the abstract cites a task-completion advantage under stronger pulls plus the lowest mean joint mechanical power, but the corresponding tables are not in the content provided; reporting these in full would let readers check whether the cross-interface claim holds quantitatively as well as qualitatively.
- Quantify the hardware results. The real-robot section is currently qualitative (elastic-band wrist interaction, arm motion, stepping, reorientation). Force measurements and recovery times on hardware would
Authors’ abstract
Humanoid controllers need the ability to yield to external forces while retaining the capacity to resume their original tasks. However, tracking objectives penalize the deviations needed for yielding, while relaxing tracking goals persistently can make task recovery harder. Existing approaches often rely on task-specific interaction command interfaces or constructed compliant motion data and reference trajectories, limiting the direct reuse of their compliance-training…
The full abstract on arXivRelated papers
- BeJEPA: A Goal-Conditioned Humanoid Behavior World Model via Unsupervised RL 2026-10-16 · cs.RO · Also by Haoyang Li, Keqi Zhu +4
- PartiGen: Part-Aware Representations for Language-Conditioned Humanoid Motion Generation 2026-10-09 · cs.RO · Also by Haoyang Li, Keqi Zhu +4
- P3: Probabilistic Policy Propagation for Stable VAE-Based Robot Learning 2026-07-28 · cs.RO · Also by Keqi Zhu, Yang Zhang +3
- Affordance-Conditioned Decision Making: Bridging the Semantic-Spatial Gap in Zero-Shot Cross-Floor Vision-and-Language Navigation 2026-09-26 · cs.RO · Also by Xuekang Yang, Yue Gao
- ActSafeGuard: Differentiable and Training-Aligned Constraint Enforcement for Flow-Matching Policies 2026-09-10 · cs.RO · Also by Yang Zhang, Yue Gao