Jacob Haight
All work

Heterogeneous Multi-Agent Learning in Isaac Lab: Scalable Simulation for Robotic Collaboration

IROS 2025, first author

The problem

Real robot teams are rarely made of identical robots. A humanoid and a quadruped moving a heavy object together have different bodies, different sensors, and different actions. Training a team like that with reinforcement learning needs two things at once: fast, physically realistic simulation, and multi-agent algorithms that let each agent learn its own policy.

Most multi-agent RL research happens in game-like benchmarks with simplified physics, which don't transfer well to real robots. NVIDIA Isaac Lab has the opposite strength: GPU-parallel, high-fidelity physics that trains thousands of robots at once. But its multi-agent support was limited to two algorithms, IPPO and MAPPO, which assume either fully independent learning or a single policy shared across agents. Neither is built for a team whose members have different observation and action spaces.

What I built

I integrated the Heterogeneous-Agent Reinforcement Learning (HARL) library into Isaac Lab. HARL's algorithms, including HAPPO, HATRPO, and HAA2C, update agents one at a time, with each update accounting for the agents updated before it. That lets every robot keep its own policy without parameter sharing.

Top: six frames of a quadruped and a humanoid pushing a green block together. Bottom: data flow from Isaac Lab observations through HARL's per-robot policies back to Isaac Lab actions and the PhysX simulator.
The framework, from the paper. Isaac Lab passes each agent's state as a dictionary of tensors, and HARL works with a single padded tensor; the integration layer translates in both directions on every step. In the Team Push task above, the ANYmal braces the H1 humanoid while pushing the block with its back right leg, a strategy neither robot was told to use.

The two libraries made different assumptions almost everywhere, so most of the work was a translation layer inside HARL that kept the strengths of both:

  • Data format: converted Isaac Lab's per-agent dictionaries of tensors into HARL's padded, concatenated tensors and back, every time data crossed between them.
  • Mixed action spaces: wrote a wrapper that handles agents with different action sizes, without breaking support for identical agents.
  • Environment setup: restructured HARL's environment loading so Isaac Lab's configuration system could create and configure environments.
  • Sequential updates: adapted the training loop so HARL's agent-by-agent policy updates run against Isaac Lab's batched simulation.
  • GPU performance: removed HARL's redundant copies between GPU and CPU memory, which were slowing down large-scale training.

The hard part

The hardest part was getting two systems that were never designed to meet to agree on every detail, and then catching every place they didn't. Bugs in reinforcement learning rarely crash anything. If one agent's observations are padded wrong or its actions reach the wrong robot, training still runs, and the robots just learn badly. This was my first large debugging effort on a learning system, and it taught me to check the data at every boundary instead of trusting the reward curve.

It also meant designing the data flow with two goals in mind: fast enough to keep Isaac Lab's GPU simulation busy, and simple enough that new multi-agent environments can be set up through Isaac Lab's usual configuration.

Environments

To test the framework, I built a set of multi-agent tasks that mix humanoids and quadrupeds and require physical cooperation. Alongside them is Isaac Lab's existing dexterous-hands task as a benchmark. They also serve as templates for anyone building new multi-agent environments in Isaac Lab.

Six simulated tasks: humanoids standing on platforms carried by quadrupeds, robots moving a piano, robots moving a soccer ball, two quadrupeds carrying a bar, robots pushing green blocks, and two robotic hands passing a ball
(A) Surfing H1: quadrupeds carry a platform while a humanoid balances on it. (B) Piano movers: humanoids and quadrupeds transport a heavy, lopsided piano. (C) Collaborative ball movement. (D) Collaborative bar balancing: two quadrupeds carry a bar on command. (E) Team push: a humanoid and a quadruped push large blocks. (F) Dexterous hands, the one multi-agent task Isaac Lab already had.
Multi-agent bar
Surfing the ANYmal sea
Working together

Coordination without communication

Agents never message each other. In the bar task, each ANYmal sees only its own velocity, IMU data, and a command for how the bar should move, and both are rewarded for how closely the bar's actual motion matches that command. Any teamwork has to be discovered through the physics of the shared bar.

Overhead traces of two quadrupeds carrying a green bar. Left: before training, the bar barely turns. Right: after training, the robots sweep the bar through a wide arc.
Asked to turn the bar. Before training (left), both robots rotate in place and the bar barely moves. After training (right), they walk in opposite directions and swing it around efficiently.

Results

We trained MAPPO and HAPPO on three tasks: bar balancing, team push, and dexterous hands, averaging three random seeds each on a single RTX 4090. For the two locomotion tasks, each robot started from a pretrained single-agent walking policy and learned to cooperate from there.

Learning curves of average reward over 100 million training steps for MAPPO and HAPPO on the team push, bar balancing, and dexterous manipulation tasks
Average reward over 100 million training steps. Shaded regions show standard deviation across three seeds.

Both algorithms learned stable, effective policies on all three tasks, confirming that heterogeneous agents can be trained in high-fidelity simulation while keeping Isaac Lab's scale. The two algorithms performed about the same on these tasks, which is part of the point: the framework makes it possible to test where heterogeneous methods actually help. My master's thesis picked up that question and found a task and training length where HAPPO pulls ahead.

What happened next

The framework became the base for the lab's follow-up work on adversarial teams, where heterogeneous robots compete in tasks like soccer and sumo (Peterson et al., 2025).