Skip to content
Robotics.world

Research

PolyMorph: Learning Locomotion Policy for Cross-Embodiment Adaptation

Most reinforcement-learning locomotion controllers are built for one specific robot and break when the number of legs, actuators, or mechanical properties change, forcing engineers to rebuild the…

The paper’s first page · arXiv:2610.19615
arXiv
2610.19615 · Preprint · not peer-reviewed
Published
2026-10-14
Authors
Hyunsik Oh, Seunghun Jeon, Donghoon Youm, Jungwoo Hur, Hyeongjun Kim, Jeong Hyun Lee, Moonkyu Jung, Jemin Hwangbo

In plain words

Most reinforcement-learning locomotion controllers are built for one specific robot and break when the number of legs, actuators, or mechanical properties change, forcing engineers to rebuild the observations, action space, and rewards for every new platform.

AI summary

Overview

Research area: Legged robot locomotion, reinforcement learning, and multi-embodiment (cross-embodiment) policy learning.

Technical level: Advanced. The paper assumes familiarity with PPO, GRU/Transformer architectures, URDF structure, PD control, and sim-to-real transfer.

Scope (one sentence): PolyMorph is a single, URDF-conditioned locomotion policy trained across bipedal, tripedal, and quadrupedal robots that generalizes to unseen morphology variants and unseen platforms and is deployed on two real quadruped robots in three different leg configurations.

What This Paper Is About

Most reinforcement-learning locomotion controllers are built for one specific robot and break when the number of legs, actuators, or mechanical properties change, forcing engineers to rebuild the observations, action space, and rewards for every new platform. The authors ask whether one policy can instead be trained across a whole family of legged robots — different leg counts, joint layouts, masses, and actuator counts — and run on real hardware without any per-robot retraining. Their answer is PolyMorph, which feeds each robot's own URDF structure into the policy and adds training-level fixes for the imbalances that appear when very different robots are optimized together.

Key Contributions

  1. Identification and correction of training-level obstacles in cross-embodiment optimization. The paper names three specific problems — reward-scale mismatch across morphologies, sampling imbalance between easy and hard robots, and per-platform gain tuning — and addresses them with morphology-normalized rewards, adaptive robot sampling, and URDF-derived PD-gain initialization.

  2. A URDF-conditioned policy interface with shared parameters. Joint-link tokenization (one token per joint plus its child link), embodiment-masked attention derived from the robot's adjacency graph, a recurrent proprioceptive encoder, and per-joint action decoding together handle variable leg counts, actuator numbers, and kinematic structures.

  3. Simulation validation across heterogeneous legged robots, covering bipedal, tripedal, and quadrupedal configurations, unseen morphology variants of training robots, and unseen platforms (B2, Solo12), plus ablations and comparisons against the Metamorph and URMA multi-embodiment baselines.

  4. Real-world deployment of one policy on two quadruped platforms (Raibo1 and Raibo2) operated in quadrupedal, tripedal, and bipedal configurations on a 50 m outdoor route, including an unseen tripedal configuration.

Main Findings

  • A single policy handles 11 robots plus morphology variants. The training set includes Raibo1, Raibo2, Hound, Aliengo, Anymal-C, Atlas, Cassie, Go1, Laikago, Mini-Cheetah, and multiple variants, with masses stated as ranging from 11 kg to 135 kg. The paper separately notes the quadrupedal training range runs from 11 kg (Mini-Cheetah) to 52 kg (Anymal-C).

  • Automatic PD gains are close to manual references. In Table I, the URDF-derived rule produces gains such as Raibo1 (Kp 51, Kd 1.3 versus manual 50/0.5), Hound (81/2.2 versus 80/1.0), Atlas (260/3.6 versus 300/4.0), and Mini-Cheetah (21/0.8 versus 20/0.5). The same coefficients transfer without retuning to unseen B2 and Solo12.

  • Reward normalization is critical. Removing joint- and leg-count normalization (Table II) raises the early joint-count correlation from 0.256 to 0.904, raises joint-reward coefficient of variation from 0.136 to 1.370, raises foot-reward CV from 0.527 to 1.413, drops evaluation return from 5.024 to 1.109, and widens the termination-rate gap from 0.059 to 4.653 percentage points (average termination rate 0.030% versus 1.556%).

  • Adaptive sampling rescues hard morphologies. Under uniform sampling, Atlas fails to learn and its reward decreases over training; adaptive sampling allocates proportionally more environments to it and restores stable convergence. Half of the environments remain uniformly sampled to avoid overfitting to hard robots.

  • Hardware deployment succeeds across configurations. On the same 50 m outdoor route with flat ground, slopes, steps, and uneven terrain, the policy completed 20/20 quadruped trials on Raibo1 and Raibo2, 20/20 triped trials, 9/10 biped trials on Raibo2, and 7/10 on an unseen triped configuration on Raibo1. The biped failure was severe balance loss with point-foot contacts and a high center of mass; unseen-triped failures came from insufficient foot clearance catching on branches or raised terrain edges, while slip events were generally recovered.

  • Command tracking holds up on unseen robots. On rough terrain with commands sampled as v_x ~ U(-1, 2) m/s, v_y ~ U(-1, 1) m/s, and ω_z ~ U(-1, 1) rad/s over 8 s of steady-state evaluation, RMSE stays low for seen and unseen morphologies — for example Go1 at 0.152 (±0.042) m/s and 0.083 (±0.080) rad/s, and unseen B2 at 0.124 (±0.068) m/s and 0.168 (±0.111) rad/s. Solo12 (2.5 kg, less than a quarter of the lightest training quadruped) maintains command following with reduced precision at 0.254 (±0.112) m/s.

  • The graph structure is doing real work. t-SNE embeddings cluster by leg count and body structure, with similar robots (Raibo2 and Hound) adjacent and different configurations of the same robot forming nearby but distinct clusters; unseen robots cluster near morphologically similar robots.

  • Structured token processing beats flattening and baselines. The PolyMorph-MLP variant degrades as robot diversity grows and fails outright on unseen Triped Raibo2(HR-fixed). Metamorph fails on several seen and unseen robots (for example unseen Triped Raibo1(HR) and Hound), and URMA is competitive on some training robots but becomes unstable in later curriculum stages and fails on unseen Hound.

  • Biped rewards are lower than quadruped rewards, as expected. Quadrupeds achieve higher rewards due to greater static and dynamic stability, while bipeds are harder to balance on fewer contacts; termination rates nevertheless decrease and stay low after training.

  • The deployed network is small and fast. The actor has approximately 0.33 million parameters, runs at 100 Hz exported to ONNX, and executes with an average latency of 0.366 ms on the robots' onboard computers.

Methodology in Plain English

Each robot is described by its URDF, which the framework parses into a sequence of "joint-link modules" — one token per joint plus the link hanging off it. Because the sequence can have any length, unused slots are zero-padded up to a maximum of 15 actuated joints, and actions are only ever applied to real actuated joints (the root module, index 0, is excluded).

Three pieces make up the network. A shared GRU reads a proprioceptive history (roll-pitch, angular velocity, joint positions and velocities, and the previous target joint position) and compresses it into a latent vector. A Transformer then processes the joint-link tokens, using the robot's kinematic graph as an attention mask so tokens can only attend to physically connected or otherwise valid partners — inheriting the embodiment-masked attention idea from Body Transformer — combined with an absolute positional embedding that encodes module order in the traversal from the root body. A decoder merges each Transformer token output with the GRU latent and the velocity command, and emits a Gaussian mean per module; the same decoder structure produces per-module value estimates for the critic, which are averaged over the valid root and actuated modules. Training uses PPO with an asymmetric actor-critic: the critic additionally sees body height, body linear velocity, and terrain height scans that the actor never gets at deployment.

Three training fixes are layered on top. Adaptive sampling raises the probability of drawing a robot according to how far its reward falls below the cross-robot mean, using a softmax over (average reward minus that robot's reward). Morphology-normalized rewards divide joint-related penalties (torque, position, velocity, acceleration, action smoothness) by the number of actuated joints and leg-related terms (airtime, foot clearance) by the number of legs, so reward magnitude no longer scales with body plan. PD gains are derived once from the URDF: an inertia scale is summed from the first three diagonal entries of the mass matrix at a nominal posture, Kp = α²λ with α = 0.8 applied uniformly, and Kd is the median of joint-wise second-order damping values with ζ = 0.8.

Around these, a curriculum raises difficulty gradually (command ranges, terrain roughness, external disturbances, reward weights, morphology perturbations), a cosine-annealing learning-rate schedule with warmup restarts encourages exploration at each curriculum stage, and domain randomization covers observation noise, link and joint parameters, PD gains, control latency, friction, and external disturbances. Training ran in RaiSim with 350 parallel environments for 20,000 iterations on an AMD EPYC 9654 CPU and an NVIDIA RTX 4090 GPU, taking roughly 2.7 days across three random seeds, with evaluation on 100 episodes per robot.

Why This Matters

Impact on research. The paper shifts attention from policy architecture alone to the optimization dynamics of training many morphologies jointly. Its evidence that uniform sampling lets Atlas fail to learn, and that unnormalized rewards sharply increase reward-scale variance and termination-rate gaps, gives the multi-embodiment community concrete failure modes and cheap remedies that are complementary to architecture work such as Metamorph, URMA, GCNT, and LocoFormer.

Real-world applications:

  • Rapid robot design iteration: new or modified designs can be evaluated with the existing controller instead of training a separate policy per prototype, shortening the design-test cycle.
  • Degraded or reconfigured hardware: the tripedal experiments, where a leg is locked rather than removed while retaining its mass and inertia, point toward controllers that keep a robot walking after damage or deliberate reconfiguration.
  • Heterogeneous fleets: one policy reused across platforms of different sizes and leg counts, reducing per-robot engineering.
  • Outdoor rough-terrain operation: the 50 m route with slopes, steps, and uneven ground is representative of inspection and field deployment settings.

Industry relevance. Removing per-platform PD-gain tuning and per-robot retraining directly cuts engineering cost, and the small actor (about 0.33 million parameters) running at 100 Hz with 0.366 ms latency shows the approach fits onboard compute rather than requiring offboard inference.

Future Directions

  • Extending generalization beyond the training morphology range. The authors state the main limitation plainly: reliability holds only within the range covered by training and degrades under strong extrapolation in topology, as the Solo12 results illustrate.
  • Procedural morphology augmentation. The proposed remedy is to perturb URDFs procedurally and synthesize variants along the topology axis so the network sees a broader robot distribution.
  • Closing the remaining hardware failure modes. Insufficient foot clearance on unseen tripedal configurations and balance loss on bipeds with point feet and a high center of mass are specific, unresolved behaviors worth targeted training.
  • Scaling joint capacity. The paper notes N_max of 15 actuated joints can be increased for higher-DoF robot sets, leaving open how the approach behaves at larger joint counts and whether token-wise processing scales cleanly there.

Target Audience

Robotics researchers and graduate students working on reinforcement learning for legged locomotion and multi-embodiment control, engineers at companies building or operating legged robot fleets who need one controller across multiple platforms, and practitioners interested in reducing per-robot tuning effort through URDF-derived structure and automatic gain design. Readers should be comfortable with Transformer attention, recurrent encoders, and PPO; the paper's training-technique findings are also accessible to engineers who mainly care about the practical engineering savings.

Authors’ abstract

Reinforcement learning has enabled robust locomotion for legged robots, but learned policies are typically tied to a specific robot morphology and require additional engineering when the number of legs, actuators, or mechanical properties change. We present PolyMorph, a morphology-conditioned framework that learns a single locomotion policy for heterogeneous legged robots. PolyMorph converts each robot's URDF into joint-link modules and combines a recurrent encoder,…

The full abstract on arXiv
Read the original paper

Related papers