Stimulate the Potential of Robots via Competition

Kangyao Huang, Di Guo, Xinyu Zhang, Xiangyang Ji, Huaping Liu · DOI

Introduction

In human athletics, the presence of a competitor often drives individuals to achieve results they couldn't reach during solo training. Researchers have applied this intuition to robotics, developing a competitive learning framework that pushes agents to exceed their normal performance limits. By training robots alongside "rivals" and incorporating relative performance data as an auxiliary signal, robots achieved up to a 20% performance boost over state-of-the-art single-agent baselines.

The Challenge: Breaking the Performance Ceiling

Standard Reinforcement Learning (RL) research typically focuses on team coordination (cooperation) or reaching a Nash Equilibrium in zero-sum games. However, the potential for competition to improve individual physical performance is often overlooked. Standard RL agents frequently plateau at a baseline performance level. This research addresses a fundamental question: Can the "pressure" of competition help a robot discover more efficient dynamics and break through its performance ceiling?

The Competitive Learning Framework

The proposed framework is based on Proximal Policy Optimization (PPO) and introduces a novel approach to how robots perceive their environment during training versus evaluation.

The Competitive Learning Framework architecture, illustrating the flow from execution with multiple agents to a shared policy and evaluation with zero-padding.

Core Methodology

  1. Augmented Observation: During training, a robot receives its own internal (proprioceptive) data alongside "competitive information," such as the relative velocity and displacement of its rivals.
  2. Shared Policy and Buffer: Multiple homogeneous robots race against each other, contributing to and learning from a single shared experience buffer and policy. This creates a "contrastive" effect: by observing a rival perform better in the same state, the agent's "critic" can more accurately value high-speed actions.
  3. Zero-Padding for Deployment: To ensure the robot can function independently, the authors utilize "zero-padding." During evaluation, competitive information slots are filled with zeros. Because the robot was trained to prioritize its own dynamics while using rivals as a benchmark, it retains high-performance behaviors even when the rivals are removed.

Experimental Setup: The Multiagent-Race Benchmark

The authors introduced a new benchmark suite called Multiagent-Race (Race), built upon the MuJoCo physics engine. They adapted several standard single-robot tasks into competitive multi-robot environments, including:

  • MultiAnt: 3D robots with complex dynamics.
  • MultiWalker2d, MultiHalfCheetah, MultiHopper: 2D running robots.
  • MultiSwimmer and MultiHumanoid: Environments testing various scales of complexity.

Results were compared against standard single-agent (SA) baselines and state-of-the-art implementations from OpenAI, Stable-Baselines3, and Tianshou.

Results and Analysis

Robots trained with competition consistently outperformed those trained in isolation. For instance, the Walker2d reached 120% of the baseline performance. The framework showed improvements of approximately 13% for MultiAnt, 11% for MultiHalfCheetah, and 16% for MultiWalker2d over standard shared-policy training without competitive information.

Training curves for the Walker2d task showing that agents trained with competition achieve higher episode rewards and converge to more efficient dynamics.

Key Insights

  • Competition as Contrastive Learning: Competition acts similarly to contrastive learning in computer vision. A faster rival serves as a "positive sample," helping the algorithm distinguish between "good" actions and "optimal" ones more clearly than solo training.
  • The Complexity Threshold: Competition is most effective on complex robots like the Ant. For simpler robots like the Hopper, the competitive signal can be distracting, as the robot's physical potential is already easily reached.
  • Information Overshadowing: There is a limit to the number of competitors. An excessive number of rivals increases the observation dimension to a point where it can overshadow the robot's internal sensors, leading to a decline in performance.

Conclusion and Future Work

While highly effective for complex agents, the framework faces a "simplicity trap" where straightforward dynamics do not benefit from competitive pressure. Future work will investigate the optimal signal-to-noise ratio between internal sensors and competitive signals and aim to test this framework on physical hardware to see if the "competitive edge" translates from simulation to the real world.

Summary updated

BibTeX
@inproceedings{huang2024stimulate,
  author = {Kangyao Huang and Di Guo and Xinyu Zhang and Xiangyang Ji and Huaping Liu},
  title = {{Stimulate the Potential of Robots via Competition}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10611581},
}
Figure