arXiv:2610.19615cs.ROOct 2026

Manuscript Offprint

arXiv:2610.19615

PolyMorph: Learning Locomotion Policy for Cross-Embodiment Adaptation

Hyunsik Oh, Seunghun Jeon, Donghoon Youm, Jungwoo Hur, Hyeongjun Kim, Jeong Hyun Lee, Moonkyu Jung, Jemin Hwangbo

Hyunsik Oh, Seunghun Jeon, Donghoon Youm, Jungwoo Hur, Hyeongjun Kim, Jeong Hyun Lee, Moonkyu Jung, and Jemin Hwangbo*

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, graph-based Transformer, and per-joint decoder to generate actions across variable leg counts and joint configurations. To improve training stability, PolyMorph uses morphology-normalized rewards, adaptive robot sampling, and URDF-derived PD-gain initialization. We evaluate PolyMorph in simulation across bipedal, tripedal, and quadrupedal robots, including unseen morphology variants and platforms, and deploy the policy on real quadruped platforms operated in multiple configurations. The results show that a single PolyMorph policy generalizes across diverse robot morphologies without per-robot policy retraining.

Index Terms—Reinforcement Learning, Multi-Embodiment Learning, Legged Robots

I. INTRODUCTION

In the field of robotics, significant progress has been made through various control methodologies, including Model Predictive Control (MPC) [1] and learning-based approaches such as imitation learning (IL) [2], [3] and reinforcement learning (RL) [4], [5]. Among these, model-free RL has become a powerful tool for legged robot control because it directly optimizes policies from environment interactions without requiring explicit dynamics models. This makes RL particularly effective for complex and underactuated systems, enabling robust locomotion over challenging terrains such as rough slopes, stairs, and deformable terrain [6], [7].

Most existing studies on legged locomotion focus on enabling a single platform to perform a specific task [8], [9]. However, policies trained for one robot often fail to transfer to another due to differences in morphology, including degrees of freedom, link masses, inertias, and kinematic configurations. Adapting a policy to a new robot typically requires redesigning the environment, observations, action space, and reward functions, which demands substantial engineering effort. This motivates the development of general controllers that can operate across diverse legged robots.

In this work, we address the following question: Can we train a single locomotion policy that operates across legged robots with diverse morphologies, including different numbers of legs and actuators, and deploy it on real hardware without per-robot retraining? We argue that such a controller must not only observe the robot's current state but also reason about its morphology, and that achieving this in practice requires addressing training-level imbalances that arise when robots with very different reward magnitudes and learning difficulties are trained together.

To this end, we propose PolyMorph, a cross-embodiment locomotion framework with a URDF-conditioned policy interface. As shown in Fig. 1, the same policy is deployed across diverse legged morphologies on various rough terrains in both simulation and the real world. Each robot is represented as a sequence of joint-link modules parsed from its URDF, and padding with valid-action masking allows the same policy to handle variable leg counts, actuator numbers, and joint configurations without redesigning the action interface. The policy combines a recurrent state encoder that summarizes proprioceptive history, a Transformer that conditions on URDF-derived graph structure, and per-joint decoder heads that generate actions only for actuated joints.

A unified locomotion policy across heterogeneous morphologies can shorten the robot design-test cycle by allowing new designs or modified configurations to be evaluated without retraining a separate controller for each platform, which is particularly useful for rapid robot design workflows [10], [11]. It also enables policy reuse across heterogeneous robot platforms and exposes the policy to broader morphology and dynamics variations.

Beyond designing a policy that can process robots with different kinematic structures, we observe that jointly optimizing across morphologies introduces training-level obstacles: reward magnitudes can scale with the number of joints and legs, biasing optimization toward certain morphologies; easy-to-learn robots can dominate uniform sampling and reduce the learning signal for harder morphologies such as bipeds; and manually tuned PD gains reintroduce per-platform engineering effort. Complementary to prior multi-embodiment methods that emphasize morphology-conditioned policy architectures, PolyMorph addresses these training-level obstacles through morphology-normalized rewards, adaptive robot sampling, URDF-derived PD-gain initialization, together with curriculum learning and domain randomization for robust training. The same policy parameters are shared across all robots, and only morphology-dependent inputs are derived from each robot's URDF.

In summary, the main contributions of this work are as follows:

• We identify and address training-level obstacles in cross-embodiment optimization, including reward-scale mismatch, sampling imbalance between easy and hard

Figure

Fig. 1. A single policy for cross-embodiment legged locomotion. PolyMorph is trained on diverse legged robots in simulation (left), zero-shot transfers to unseen morphology variants and platforms (top-right), and is deployed on real-world robots in multiple configurations (bottom-right).

robots, and per-platform gain tuning, through morphology-normalized rewards, adaptive robot sampling, and URDF-derived PD-gain initialization.

• We adapt joint-link tokenization, embodiment-masked attention, recurrent proprioceptive encoding, and per-joint action decoding into a URDF-conditioned policy interface that handles variable leg counts, actuator numbers, and kinematic structures with shared parameters.

• We validate PolyMorph on heterogeneous legged robots in simulation and demonstrate cross-morphology hardware deployment on two real quadruped platforms operated in quadrupedal, tripedal, and bipedal configurations, with additional ablations and comparisons against multi-embodiment baselines.

References (23)