TL;DR
How do you teach a humanoid robot true agility without painstakingly scripting every step or capturing thousands of hours of human motion? Put two of them in a physics simulator and make them play competitive tag. By pitting neural networks against past versions of themselves in a tournament, researchers watched complex physical strategies—like lunging, dodging, and diving—emerge organically from the simple desire to win.
What Problem Does This Paper Address?
Teaching bipedal robots to move gracefully is notoriously tricky. Usually, engineers rely on one of two crutches: imitation learning (copying human motion-capture data) or dense reward shaping in reinforcement learning (giving the robot tiny, continuous points for lifting a foot, moving forward, keeping its torso upright, etc.).
Both hit a wall. Motion capture limits a robot to the exact movements recorded in a studio. Meanwhile, dense rewards require exhausting manual tuning and inevitably lead to behavioral plateaus—once the robot figures out a quirky walk that maximizes your specific math equation, it stops innovating. Curriculum learning tries to fix this by gradually making the terrain harder, but it rarely matches the robot's actual skill level, resulting in tasks that are either trivially easy or impossibly hard. The authors ask: Can competitive self-play act as an automatic, infinitely adaptive curriculum for low-level motor control?
Methods
Instead of engineering complex terrains or intricate reward functions, the authors introduce MJTag, a competitive pursuit-evasion environment where two 29-actuator Unitree G1 humanoids play tag at 50 Hz control frequencies.
- What’s standard: The underlying brain is a standard Multi-Layer Perceptron (MLP) trained with Proximal Policy Optimization (PPO). To prevent the AI from forgetting how to beat older strategies, the authors use Prioritized Fictitious Self-Play (PFSP)—a league system made famous by AlphaStar—where the active learner plays against a rolling library of 32 frozen past checkpoints, prioritizing opponents it currently struggles to beat.
- What’s new:
- Single Role-Conditioned Low-Level Policy: Unlike prior robot tag experiments that froze the walking controller and only learned where to go (high-level pathing), MJTag trains a single neural network from scratch to directly control joint actuators for both chasing and evading, conditioned simply on which role it is assigned.
- Adaptive Role Sampling: In physics-based tag, chasing is much easier to learn early on than dodging. Left unchecked, pursuers win every round, evaders learn nothing, and training collapses. The authors introduce a dynamic balancing act: after each round, if evaders survive less than 50% of the time, the system automatically shifts probability to force the learner to practice evading more often.
- Semi-Sparse Rewards: No points for pretty footsteps. Agents mostly just get penalized for falling/going out of bounds (-10), a big reward/penalty when a tag occurs within 0.5 meters ($\pm 5$), and a microscopic nudge ($w_{\text{gap}}=0.001$) for closing or opening the distance.
Datasets
Rather than static pre-recorded datasets, all training data is generated on the fly through self-play rollouts inside MJTag (built on MuJoCo Warp via the mjlab library). MJTag itself serves as a newly introduced benchmark suite for multi-agent, role-conditioned humanoid agility, setting itself apart from earlier quadruped tag setups that treated the evader as a disembodied 2D dot or relied on pre-trained walking controllers.
Key Insights and Ideas
- Opponents are the ultimate terrain: Even on a completely flat floor, a smart opponent acts as a shifting obstacle course, forcing the robot into awkward, off-balance states it must learn to recover from.
- An Elo plateau doesn't mean learning has stopped: When evaluating agents using chess-like Elo ratings, the score rockets up and then flattens out. Intuitively, you’d think the AI stagnated. In reality, because Elo here is only measured relative to the closed league, a flat line hides a fierce evolutionary arms race—pursuers invent a new lunge, and thousands of iterations later, evaders invent a counter-dodge.
- Emergent parkour (and physics exploits): Without human motion priors telling the robot what "normal" running looks like, it discovers genuinely athletic maneuvers—sprinting, ducking, tackling—alongside bizarre, alien movements that cleverly exploit the simulator's contact physics to gain an edge.
Key Results
Trained over 40,000 rounds (3.9 billion environment steps), the system produced clear quantitative and qualitative leaps:
- Rapid Early Mastery: The learner's Elo rating (anchored at 0 for an untrained policy) climbs steeply over the first ~5,000 iterations before stabilizing around 1200.
- Continuous Strategy Shifts: Cross-evaluating checkpoints in 4,096 deterministic matches reveals distinct meta-game shifts well after Elo plateaus. For instance, around iteration 19,000, pursuers discover a new strategy that crushes previously dominant evaders; later, around iterations 39,000–43,000, evaders adapt and flip the win rates back in their favor.
- Agile Behaviors: Visually, a single network successfully learns to sprint, lunge, dive, tackle, and dodge purely from sparse win/loss outcomes.
Limitations and Future Work
Because MJTag imposes zero penalties for "unnatural" posture, the controllers frequently invent weird, jerky motions that exploit quirks in the simulator's contact model—behaviors that would likely snap hardware or fail on a real-world robot. Furthermore, the authors note they do not yet have a formal mathematical metric for "agility," relying instead on relative Elo and visual inspection (with deeper limitations referenced in an external Appendix B not included in the main text).
For future work, the authors suggest blending this competitive self-play setup with adversarial terrain traversal, adding "natural motion" penalties, or using self-play to discover energy-efficient maneuvers that still stay safely within the boundaries of human-like motion generators.
Summary updated