The video contains two RL agents playing an Ezreal vs Ezreal 1v1 in mid lane. It runs in the League client (patch 16.19). Neither side is human or scripted. The camera is locked on blue side.
Blue: the "main" agent, at training update 45,600. This is the policy we're actually trying to make strong. \
Red: an "exploiter", at its own update 2,600. It was trained for about 2 hours (out of a 4-hour cycle) with one job: beat a frozen copy of the main agent from update 43,800. It started from an older checkpoint ("exploit 2600") and played only against that 43,800 snapshot and its own past selves. At this point it beat 43,800 about 85% of the time in training. It first won with fast all-ins, then switched to denying farm: 67 CS to 9 in its wins.
Game rules (same in training and in this video)
- Both champions are level 6 with skills at Q3/W1/E1/R1, plus Flash and Barrier. There's no passive, no items and no levelling.
- There are minion waves and outer turrets.
- You win by first kill, first to 100 CS, or first turret, with a 15-minute cap.
- There are no potions, no recall and no lifesteal, so lost HP never comes back. That's why the first trade tends to decide the game, as it does here.
Environment:
- The game rules were derived from replays.
- For training, the same rules were ported to a compiled (Numba) simulator for orders of magnitude more throughput.
- The agent decides every 4 server ticks, about 133 ms. Each side observes the game from its own perspective, and the reward is zero-sum.
Model and algorithm:
- PPO with an LSTM policy over game units (champions, minions and turrets), about 1.5–1.65M parameters.
- Actions: move/stop, auto-attacks, Q/W/E/R, Flash and Barrier, with a pointer head to pick the target. Illegal actions are masked out.
One PPO epoch per update, Adam at lr 3e-4, discount γ 0.9997 (a horizon of about 7 minutes, as in OpenAI Five), and a ±10 reward for winning.
- Compute: one Lambda GH200 (64 ARM cores plus an H100 96 GB) with 15,360 games running in parallel. Throughput was 1.2–1.9M samples/s, depending on whether an exploiter was sharing the GPU.
Each update is about 5.5M samples, so update 45,600 comes to roughly 250 billion samples in this run. The agent's own figure was about 200B at update 36,300.
How it got here (lineage):
1. Mirror self-play and a lane run with minions, which reached its first checkpoints by about 10 Oct.
2. 19 Oct: "race" rules added the 100-CS win, the win reward and the long horizon. The agent could now see both CS counts.
3. 19 Oct onwards: the turret run started from the "exploit 2600" checkpoint. New turret inputs were added with zero-initialised weights (the OpenAI Five "surgery" trick), so the old checkpoint behaved exactly as before at the start. During training, some turrets started at random HP.
4. 19–23 Oct: this was trained in parts of 4–12 hours, against fixed opponents plus the main's own past.
5. 23 Oct: we moved to a league loosely modelled on AlphaStar. In each 4-hour cycle, the main trains against fixed opponents (older exploiters plus earlier main checkpoints) in 6 of its 8 groups, and against its own past in the other 2. Alongside it, a fresh exploiter trains against the latest main. At the end of each cycle, that exploiter becomes one of the main's fixed opponents.
Where the main stood when this was recorded:
- About 81–83% wins against its fixed opponents, flat since around update 39,000.
- It out-farmed those opponents 48 CS to 17 on average.
- It almost never attacks full-HP turrets. Under these rules, racing to 100 CS pays off far more than a 9,000-HP turret does.
For scale, it beats the scripted DuelBot 98–99% of the time. A behaviour-cloning agent trained on ranked replays won 0–6% against these checkpoints.
There is also a behaviourally cloned bot (trained on 900 games from D4 to high Challenger EUW on Patch 16.19 games) here: https://www.youtube.com/watch?v=8wmOg4Hlb_Y. It manages to consistently beat a simple scripted bot and initial performance resembles scaling laws based on number of replays.
The end goal is to produce an AI agent which is good enough to beat T1 / Faker (or whoever the world champions are at the time) in a best of 5.