NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Transform2Act: Learning a Transform-and-Control Policy for Efficient Agent Design

Ye Yuan, Yuda Song, Zhengyi Luo, Wen Sun, Kris M. Kitani

Introduction: The Bi-Level Challenge of Agent Design

In both robotics and biology, form follows function. However, finding the optimal "form" (design) for a specific "function" (task) is a notoriously difficult challenge for computer scientists. This difficulty stems from the problem being inherently bi-level:

  1. To evaluate if a design is effective, you must first find its optimal controller, which is computationally expensive.
  2. The search space for designs is combinatorial (e.g., how many legs? where do they attach?) and vastly high-dimensional (e.g., how long is each bone? how strong is each motor?).

Traditional approaches typically rely on Evolutionary Search (ES). In ES, a population of robots is evaluated; the "unfit" ones are discarded, and the "fit" ones produce mutated offspring. The major drawback of ES is its severe sample inefficiency. If a three-legged robot learns a useful balancing technique, that knowledge is lost when the robot is eliminated, rather than being shared with its four-legged counterparts.

Transform2Act is a reinforcement learning framework designed to solve this by allowing an agent to design its own body—both its skeletal structure and joint properties—before learning how to control it. By treating design as a sequence of "transform actions" within a single policy, the method enables massive experience sharing across different body types, outperforming traditional evolutionary algorithms in both speed and final performance.

The Transform2Act Framework

The authors propose reframing agent design as a decision-making process. They divide an agent's lifecycle into two distinct stages, both governed by a single conditional policy ($\pi_\theta$):

  1. Transform Stage: The agent starts as a simple "seed" and applies a sequence of actions to modify itself.
  2. Skeleton Transform: Discrete actions to AddJoint, DelJoint, or NoChange.
  3. Attribute Transform: Continuous actions to adjust bone length, size, and motor strength.
  4. Execution Stage: The agent takes its final "designed" form into the environment and performs the task to earn rewards.
Transform2Act sequence showing the transform and control stages.

Technical Innovations

To make this two-stage process work, the authors introduced several key technical innovations:

  • GNN-based Policy: Because the number of joints changes dynamically during the transform stage, the authors utilize Graph Neural Networks (GNNs). By treating each joint as a node, the policy can seamlessly scale to any body configuration.
  • Joint-Specialized MLP (JSMLP): Standard GNNs share weights across all nodes, which often forces robots to be perfectly symmetrical. To allow for specialized functions (like a giraffe's long neck versus its legs), the authors added a "weight memory" that assigns unique MLP weights to joints based on their position in the skeletal tree.
  • Joint Optimization: The entire process is trained using Proximal Policy Optimization (PPO). Crucially, the "transform" actions are rewarded based on the future success of the "execution" stage. This allows the agent to learn which specific body parts actually help it perform better.

Experimental Setup and Key Findings

The method was evaluated on four custom tasks built within the MuJoCo physics engine: 2D Locomotion, 3D Locomotion, Swimmer (navigating a viscous fluid), and Gap Crosser (jumping over periodic pits).

Experience Sharing is King

Unlike evolutionary methods where agents learn in isolation, Transform2Act uses a single policy for all designs. This means a "failed" design still contributes to the gradient updates, helping the policy learn what not to do. This drastically improves sample efficiency.

Emergent Plausible Designs

Without being explicitly programmed to mimic nature, the agents automatically discovered structures reminiscent of real-world animals. For instance, in the 2D Locomotion task, the agent evolved a long neck—a "Giraffe" moment. This structure emerged to increase forward momentum and act as a counterbalance during jumps. Other emergent designs included "squids" with many tentacles for swimming and "spiders" for 3D stability.

Performance and Convergence

Transform2Act consistently outperformed baselines like Neural Graph Evolution (NGE) and Evolutionary Structure Search (ESS). In many cases, it achieved higher rewards with an order of magnitude fewer simulation steps. The method converges significantly faster because it leverages first-order policy gradients rather than the zeroth-order "guess and check" nature of evolution.

Limitations and Future Work

While Transform2Act represents a significant step forward, it has limitations:

  • Initial Design Sensitivity: The process starts from a pre-defined initial design ($D_0$). While the agent can grow significantly, this starting point might still bias the final resulting structure.
  • Reward Engineering: The designs are purely a product of the reward function. If the reward only optimizes for speed, the agent might create "monsters" that are fast but physically fragile or impossible to build in the real world.
  • Exploration: The authors suggest that incorporating more advanced RL exploration methods could help the agent escape local optima and find even more exotic and efficient designs in the future.

Summary updated

BibTeX
@inproceedings{yuan2022transform,
  author = {Ye Yuan and Yuda Song and Zhengyi Luo and Wen Sun and Kris M. Kitani},
  title = {{Transform2Act: Learning a Transform-and-Control Policy for Efficient Agent Design}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=-H0hh8JDZGE},
}
Figure