Home >Technology peripherals >AI >It took AI 7,000 hours to clear the first gym of 'Pokémon'

It took AI 7,000 hours to clear the first gym of 'Pokémon'

PHPz
PHPzforward
2023-10-24 14:21:05643browse

It took AI 7,000 hours to clear the first gym of "Pokémon"

Recently, a foreign programmer, Peter Whidden, trained the AI ​​model for 50,000 hours, trying to teach the AI ​​how to play "Pokémon Red".

It took AI 7,000 hours to clear the first gym of Pokémon

Whidden had the AI ​​interact with the game through control input on the emulator and set learning sessions to two hours per play. He also accelerated the AI ​​to finish in about six minutes, and even ran 40 sessions simultaneously. , thus speeding up the learning process of AI.

Since the AI ​​algorithm essentially doesn't care about how to beat the game, Whidden sets reward goals and earns bonus points every time the AI ​​discovers something new. This is triggered by changes in pixels on the screen, but this also causes the AI ​​to stare at the animated water surface in a daze for a long time.

The reward mechanism related to new things also makes the AI ​​choose to give up fighting or capture Pokémon. Whidden has added a reward mechanism related to Pokémon level. But this system also led to accidents. The AI ​​would reduce the reward points when storing and replacing Pokémon. Therefore, in subsequent actions, the AI ​​completely avoided the Pokémon Center, leaving the team without treatment, and Whidden had to start again. Adjust the reward system.

Although AI is not good at human behavior, it has also made more profound actions. Whidden realized that the AI ​​took specific and strange paths to ensure that wild Pokémon can be captured by just throwing a Poké Ball. It's not a meaningless action.

However, after the AI ​​spent 7,000 hours defeating the first gym, it got lost for a long time in Yuejian Mountain. After spending 50,000 hours, the AI ​​still failed to find the second gym. But AI has also contributed many magical operations. For example, AI likes to buy Magikarp the most, and has purchased it more than 10,000 times in total; when it captured a Rattata in the wild, it was named "AI".

It took AI 7,000 hours to clear the first gym of Pokémon

The above is the detailed content of It took AI 7,000 hours to clear the first gym of 'Pokémon'. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:sohu.com. If there is any infringement, please contact admin@php.cn delete