From Dota 2 to ChatGPT: How OpenAI Five Fed Into Modern AI

Why a video game matters to ChatGPT

Before language models, OpenAI spent years teaching AI bots to play Dota 2. The story, first told in a short Geek Explained video on TikTok, shows why scale became a central idea in modern AI.

Why Dota 2?

Dota has long time horizons, hidden information and complex continuous actions. OpenAI expected to need sophisticated new algorithmic ideas, such as hierarchical reinforcement learning. The surprise was that the fundamental improvement was scale.

How the bots learned

The bots learned by playing against themselves and being rewarded for good results. That is reinforcement learning. OpenAI used an algorithm called PPO (Proximal Policy Optimization) on a distributed training system it built called Rapid.

  • Training time: about 10 months for the final version.
  • Experience: about 45,000 years of Dota self-play, roughly 250 simulated years per day.
  • Compute: about 800 petaflop/s-days in total, 8x more training compute than the version that lost at The International 2018.

The result

OpenAI Five lost its live matches against pros at The International in 2018. On April 13, 2019, it beat the world champions, Team OG, in two back-to-back games. OpenAI called it the first AI to beat the world champions in an esports game, and the first time an AI beat esports pros on livestream.

From Dota to ChatGPT

The link is a mix of ideas, and a short video compresses it:

  • Scale: the Dota project showed that scaling up the same method kept working.
  • The Transformer: the T in GPT stands for Transformer, an architecture Google researchers introduced in 2017.
  • RLHF: after pretraining, ChatGPT-style models are tuned with human feedback, where people rate answers and the model learns from the ratings. PPO, the algorithm behind the Dota bots, is a standard method for that step.
  • ChatGPT: launched in 2022 as a chat product built on this approach.

This is best read as shared techniques and lessons, not as the Dota bots turning into ChatGPT.

Takeaway

The Dota project showed that a simple method could go surprisingly far with enough compute and training time. The same lesson shaped how OpenAI approached language models.

FAQ

Did Dota bots become ChatGPT? No. The Dota project shared techniques like PPO and large-scale training with later work.

Who beat the world champions? OpenAI Five beat Team OG in April 2019.

Sources


Discover more from Juzhax Technology

Subscribe to get the latest posts sent to your email.

Leave a Reply