arXiv:2611.01748cs.RONov 2026

Manuscript Offprint

arXiv:2611.01748

CompliantBot: Learning Whole-Body Compliance across Task Interfaces for Humanoid Control

Haoyang Li, Keqi Zhu, Zhanxiang Cao, Yang Zhang, Yizhi Chen, Xuekang Yang, Yue Gao

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 mechanisms across different task interfaces. We introduce CompliantBot, a compliance-training framework for motion tracking and velocity-command locomotion. It preserves the original task inputs and requires no preconstructed compliant data or target trajectories. A state-dependent interaction force field couples applied loads to the robot's motion, enabling local articulation and whole-body movement to change the forces experienced. A complementary force-magnitude reward encourages lower interaction loads, while task rewards are downweighted during loading and restored after release to coordinate yielding and task resumption. The trained policies use task inputs and proprioceptive history without explicit external-force measurements. Across both task interfaces, CompliantBot yields farther under constant pulls and experiences lower spring interaction loads than matched baselines, while resuming task tracking after force removal. CompliantBot achieves the highest task completion among the compared methods under stronger pulls. Power evaluations further show that CompliantBot has the lowest mean joint mechanical power among the compared methods. Real-robot demonstrations further illustrate compliant responses through arm motion, stepping, and body reorientation.

Keywords: Humanoids; Compliance; Reinforcement learning; Motion tracking; Physical interaction.

Simulation: Spring Interaction

Locomotion | Right wrist

Figure

Baseline

|F|= 5.17 N

Figure

CompliantBot

|F|= 1.37 N

Locomotion | Torso

Figure

Baseline

|F|= 17.74 N

Figure

CompliantBot

|F|= 11.54 N

Imitation | Right wrist

Figure

Baseline

|F|= 9.81 N

Imitation | Torso

Figure

CompliantBot

|F|= 4.87 N

Figure

Baseline

|F|= 10.00 N

CompliantBot

|F|= 5.18 N

Real world: Elastic-band Interaction

Baseline

Figure

CompliantBot

Fig. 1. Compliant interaction in simulation and on hardware. Left: Baseline and CompliantBot responses to fixed-anchor springs at the right wrist and torso during locomotion and motion imitation. Red lines indicate springs, and labels show instantaneous force magnitudes. Right: Elastic-band wrist interaction on hardware. These snapshots illustrate compliant responses to external forces through local and whole-body motion.

*Corresponding author: Yue Gao (yuegao@sjtu.edu.cn).

1. Introduction

Learning-based humanoid whole-body control now spans locomotion, whole-body motion tracking, and loco-manipulation [1–6]. Motion tracking lets a robot reproduce rich whole-body behaviors from reference motions [1, 3, 4], while velocity-command controllers provide a complementary interface for robust walking and real-time response [2]. Recent systems combine such modes into unified policies [5, 6]. These advances largely prioritize accurate task execution and treat external effects as disturbances to reject. When these controllers move from the laboratory into spaces shared with people, however, they must also handle physical interaction: a person may guide the robot by its wrist, steady its torso, or redirect its motion through a gentle pull. Such interactions require the controller to balance task execution with responsiveness to external forces. Rejecting every displacement preserves task tracking but can sustain interaction forces; following a pull without restraint can compromise balance or lead the policy to abandon the task. A useful controller should therefore follow its motion reference or velocity command under nominal conditions, allow temporary deviations during interaction without losing balance, and resume the task after the external force is removed.

Prior work has shown that robots can learn compliant behavior from constructed compliant motion targets [7, 8] or from changes in task priorities during interaction or balance recovery [9]. These advances suggest that compliance depends not only on the forces encountered during training, but also on how motion under those forces is evaluated. During nominal execution, deviations from a motion reference or velocity command are errors to correct; during sustained physical interaction, temporary deviations can instead be necessary for yielding. Continually prioritizing task accuracy may discourage yielding to external forces, whereas persistently relaxing task tracking may compromise nominal performance and hinder task recovery after the external force is removed. For humanoids, this trade-off also involves coordination across the body: a pull at the wrist or torso may call for local joint motion, whole-body displacement, or both. Beyond this trade-off, different controllers expose different task interfaces, from whole-body motion references to velocity commands. A compliance-training approach applicable across different interfaces should therefore enable robots to yield to external forces and resume their tasks once the forces are removed. It should preserve the original motion reference or velocity command without requiring interface-specific compliant trajectories.

To this end, we introduce CompliantBot, a compliance-training framework for humanoid motion tracking and velocity-command locomotion that preserves the original task interface. Its central idea is to co-design a state-dependent interaction force field and learning objectives tailored to each interaction stage. During training, the field acts on sampled body links, allowing the robot to change the interaction forces through its own motion without a prescribed compliant trajectory. When external forces are applied, a force-magnitude objective encourages yielding, with the original task rewards downweighted to allow temporary task deviations. After the forces are removed, the original task weights are restored to encourage task recovery. The trained policy uses task inputs and proprioceptive history without requiring explicit external-force measurements.

Experiments show that CompliantBot achieves greater yielding to external forces than matched baselines while retaining the ability to resume the task after force removal. Results on both whole-body motion tracking and velocity-command locomotion demonstrate improved compliance, supporting the applicability of our approach across different task interfaces.

We make the following three contributions:

  1. Compliance training across task interfaces. We introduce CompliantBot, which enables compliant behavior in humanoid motion tracking and velocity-command locomotion while retaining the original task inputs, without requiring additional compliant target trajectories.

  2. A state-dependent interaction force field. We apply the interaction force field at sampled body sites, allowing the robot to regulate interaction forces through local articulation or whole-body motion.

  3. Reward allocation for yielding and task recovery. During training, a force-magnitude objective encourages yielding while the original task rewards are downweighted; their weights are restored after force removal to encourage task recovery. Regularization weights remain unchanged.

References (29)