techlist.io

Game Ai

3 posts

OpenAI2018-08-222 min readCurated summary

The International 2018: Results

# OpenAI Five's Second Showing at The International 2018 OpenAI Five lost two games to top professional Dota 2 players at The International in Vancouver, but it held a real chance of winning for the first 20 to 35 minutes of both matches. The games were far more competitive than the Benchmark series 17 days earlier, which was one-sided. The results show that Five's self-taught playstyle can compete with the best players in the world, even if it has not yet beaten them. ## What Changed Since the Benchmark - The opponents were significantly stronger professional teams. - Hero lineups were supplied by a third party rather than drafted by Five against humans. - The last major restriction from "Real Dota" gameplay was removed. ## The Matches - **Game 1 (vs. paiN Gaming):** Lasted about 51 minutes, compared with a typical 45. The humans started strong, Five recovered ground in the mid-game, and then lost to a series of high-level strategic pushes. paiN's players average about $350,000 in career tournament earnings. - **Game 2 (vs. a team of Chinese superstar players):** Featured back-and-forth teamfights and lasted 45 minutes before Five lost. The players average about $1 million in tournament earnings each. ## The Courier Rule Change - The Benchmark gave each hero its own invulnerable courier, which let Five keep attacking by constantly delivering regeneration items. This produced its signature high-pressure style, but many observers felt it did not resemble "Real Dota." - Training switched to a single, mortal, scripted team courier six days before The International. The team expected this to temporarily reduce performance, but community feedback suggested the single-courier games would be more exciting. ## Next Steps - OpenAI does not believe the courier change caused the losses. It plans more training, bug fixes, and removal of the remaining scripted logic in the model. - Beyond Dota, the team sees the project as a safe sandbox for building AI systems that can later support more advanced applications.

OpenAI2017-08-155 min readCurated summary

More on Dota 2

# OpenAI Five Beats Dota 2 Pros: Self-Play, Scaling, and Open Challenges OpenAI's Dota 2 bot shows that self-play can take a machine learning system from far below human skill to superhuman performance, given enough compute. In about a month, the 1v1 bot went from barely matching a high-ranked player to beating top professionals, including the world's best 1v1 player. Because the training data is generated by the agent itself, performance keeps improving rather than plateauing at the level of a fixed human-generated dataset. ## Progress Timeline - Rating improvement was steady: the bot's TrueSkill rating, computed from simulated games between bot versions, rose roughly linearly over time, which means its strength grew exponentially. - March 1: first classical reinforcement learning results, where a Drow Ranger learned to kite a scripted Earthshaker. - May 8: a 1.5k MMR tester reported improving faster than the bot. - Early June: the bot beat the 1.5k MMR tester. - June 30: the bot won most games against a 3k MMR tester. - July 8: the bot barely won its first game against a 7.5k MMR semi-pro. - August 7: the bot beat a former pro (6.2k), a pro (8.5k), and another pro (8.9k), with a 3–0, 2–1, and 3–0 record. - August 9: the bot beat Arteezy, a 10k top player, 10–0. - August 10: the bot beat Sumail, a top 1v1 player, 6–0, who then called it unbeatable. - August 11: the bot beat Dendi, a former world champion, 2–0. ## The 1v1 Task Setup - The bot played under standard tournament rules with no AI-specific simplifications. - Observations used the same Bot API features humans can see, covering heroes, creeps, courier, and nearby terrain. The game is partially observable. - Actions were available through the Bot API at a frequency comparable to humans, including movement, attacks, and item use. - Rewards were based on winning, plus basic signals such as health and last hits. - Only a few dozen item builds were whitelisted for training, and one was chosen for evaluation. - The initial creep block was trained separately with traditional RL, since it occurs before the opponent appears. ## Improving During The International - Human "coaching" combined with self-play allowed major improvements between Monday and Thursday of The International. - A Monday win by Pajkatt using an early magic wand led the team to add that build to the training whitelist. - A Wednesday test revealed the bot losing health in the first wave. The team found that this behavior baited opponents into aggression, and further self-play taught the bot to counter the baiting. Meanwhile, they used Monday's bot for the first wave only. - After the Arteezy matches, an updated creep block model added one TrueSkill point, and further training before the Sumail match added two more. - Sumail noticed the bot casting razes outside enemy vision, exploiting a mechanic the team hadn't known about: abilities cast outside enemy vision prevent the enemy from gaining a wand charge. ## Known Exploits Players at a LAN event played over 1,000 games trying to beat the bot by any means. The successful exploits fell into three types: - **Creep pulling:** Players lured lane creeps right as they spawned, between tier 2 and tier 3 towers, so dozens of creeps chased them around the map and eventually wore down the tower. - **Orb of venom with wind lace:** This gave a large level 1 movement speed advantage, enabling a quick first blood and a further kill. - **Level 1 razes:** Several 6–7k MMR players killed the bot at level 1 by landing 3–5 razes in quick succession. This required a lot of skill. The team notes that fixing these 1v1 issues would be similar to fixing the Pajkatt bug. In 5v5, such situations aren't really exploits, and the system must handle unfamiliar and unusual situations it has never seen. ## Infrastructure Challenges - Running Dota 2 on cloud GPUs initially failed with an obscure error. The team found the game booted only with a monitor attached, so they configured cloud instances to simulate one. - Because Dota lacked custom dedicated server support, scalable GPU-free runs depended on slow software rendering. The team wrote a shim that stubbed most OpenGL calls, except those needed for booting. - A scripted baseline bot was built for comparison and to understand the Bot API. It reached 70 last hits in ten minutes on an empty lane. The current best 1v1 bot reaches about 97, and the theoretical maximum is 101. ## Next Step: 5v5 - The team plans to start 5v5 with behavioral cloning, using a dataset of 5.8 million expert-level replays collected since the previous November, roughly 45 minutes per game with 10 human players. - Replays come from OpenDota, which the team supports with a $12k donation. - The team is hiring engineers and researchers, and thanks Microsoft Azure and Valve for their support.

OpenAI2017-08-102 min readCurated summary

Dota 2

# OpenAI Five Beats a Top Dota 2 Professional in 1v1 Matches OpenAI announced a bot that defeated Dendi, a top professional, in a best-of-three 1v1 Dota 2 match under standard tournament rules, and it went undefeated against several other leading players, including the world's top 1v1 player. The bot learned the game entirely through self-play, without imitation learning or tree search. The authors present this as a step toward AI systems that can accomplish well-defined goals in messy, real-world situations involving humans. ## Why Dota 2 Is a Hard Problem - Dota 1v1 is a complex game with hidden information, so agents must plan, attack, feint, and deceive. - Player skill does not correlate strongly with actions per minute, and the bot's APM is comparable to an average human player's, so the result does not rely on superhuman mechanical speed. ## What the Bot Learned - Through self-play alone, the bot learned to predict where opponents will move. - It improvised in unfamiliar situations. - It learned to influence the opponent's allied units to help it win. ## Next Steps: Five-versus-Five - The full game is played by two teams of five, with a pool of about a hundred heroes and hundreds of items, which is far more complex than 1v1. - The next goal is a team of Dota 2 bots that can compete and collaborate with top human teams.