


He can surpass humans in two hours! DeepMind's latest AI speedruns 26 Atari games
Jul 03, 2023 pm 08:57 PMDeepMind’s AI agent is trying to trick itself again!
Look, this guy named BBF mastered 26 Atari games in just 2 hours. His efficiency is as good as that of a human being, surpassing all his predecessors.
You must know that AI agents have always been effective in solving problems through reinforcement learning, but the biggest problem is that this method is very inefficient and requires a long time to explore.
Picture
The breakthrough brought by BBF is precisely in terms of efficiency.
No wonder its full name can be called Bigger, Better, or Faster.
Moreover, it can complete training on only a single card, and the computing power requirements are also much reduced.
BBF was jointly proposed by Google DeepMind and the University of Montreal. The data and code are currently open source.
Can achieve up to 5 times the performance of humans
The value used to evaluate the performance of BBF games is called IQM.
IQM is a comprehensive score of multi-faceted game performance. The IQM scores in this article are normalized based on humans.
Compared with multiple previous results, BBF achieved the highest IQM score in the Atari 100K test data set containing 26 Atari games.
Moreover, in the 26 games trained, BBF's performance has exceeded that of humans.
Compared with Eff.Zero, which performs similarly, BBF consumes nearly half the GPU time.
The performance of SPR and SR-SPR, which consume similar GPU time, is significantly different from BBF.
Picture
In repeated tests, the proportion of BBF reaching a certain IQM score has always remained at a high level.
Even in more than 1/8 of the total number of tests, it achieved 5 times the performance of humans.
Picture
Even with other Atari games without training, BBF can achieve more than half the IQM score of a human.
If you look at the 29 untrained games alone, BBF's score is 40 to 50% that of humans.
Picture
Modified based on SR-SPR
The problem that promotes BBF research is how to use it when the sample size is sparse Scaling deep reinforcement learning networks.
To study this problem, DeepMind focused its attention on the Atari 100K benchmark.
But DeepMind soon discovered that simply increasing the size of the model did not improve its performance.
Picture
In the design of deep learning models, the number of updates per step (Replay Ratio, RR) is an important parameter.
Specifically for Atari games, the greater the RR value, the higher the model’s performance in the game.
In the end, DeepMind uses SR-SPR as the basic engine, and the RR value of SR-SPR can reach up to 16.
After comprehensive consideration, DeepMind chose 8 as the RR value of BBF.
Considering that some users are unwilling to spend the computing cost of RR=8, DeepMind also developed the RR=2 version of BBF
Picture
After DeepMind modified many contents in SR-SPR, it used self-supervised training to obtain BBF, which mainly includes the following aspects:
- Higher convolution layer reset strength: Increasing the convolution layer reset strength can increase the perturbation amplitude for random targets, allowing the model to perform better and reduce losses. After the reset strength of BBF is increased, The perturbation amplitude increased from 20% of SR-SPR to 50%
- Larger network scale: increasing the number of neural network layers from 3 to 15 layers, and increasing the width by 4 times
- Reduced update range (n): If you want to improve the performance of the model, you need to use non-fixed n values. BBF is reset every 40,000 gradient steps. In the first 10,000 gradient steps of each reset, n decreases exponentially from 10 to 3. The decay phase accounts for 25% of the BBF training process
- Update Large attenuation factor (γ): Some people have found that increasing the γ value during the learning process can improve model performance. The γ value of BBF increases from the traditional 0.97 to 0.997
- Weight attenuation: avoid the occurrence of overfitting, The attenuation of BBF is about 0.1
- Delete NoisyNet: NoisyNet included in the original SR-SPR cannot improve model performance
Ablation experimental results show that when the number of updates per step is 2 and Under the conditions of 8, the above factors have varying degrees of impact on the performance of BBF.
Picture
Among them, the impact of hard reset and reduction of update range is the most significant.
Picture
For NoisyNet, which is not mentioned in the above two figures, the impact on model performance is not significant.
Picture
Reference link: [1]http://ipnx.cn/link/69b4fa3be19bdf400df34e41b93636a4
[2]https://www.marktechpost.com/2023/06/12/superhuman-performance-on-the-atari-100k-benchmark-the-power-of-bbf-a-new-value -based-rl-agent-from-google-deepmind-mila-and-universite-de-montreal/
— End —
The above is the detailed content of He can surpass humans in two hours! DeepMind's latest AI speedruns 26 Atari games. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The core method of building social sharing functions in PHP is to dynamically generate sharing links that meet the requirements of each platform. 1. First get the current page or specified URL and article information; 2. Use urlencode to encode the parameters; 3. Splice and generate sharing links according to the protocols of each platform; 4. Display links on the front end for users to click and share; 5. Dynamically generate OG tags on the page to optimize sharing content display; 6. Be sure to escape user input to prevent XSS attacks. This method does not require complex authentication, has low maintenance costs, and is suitable for most content sharing needs.

To realize text error correction and syntax optimization with AI, you need to follow the following steps: 1. Select a suitable AI model or API, such as Baidu, Tencent API or open source NLP library; 2. Call the API through PHP's curl or Guzzle and process the return results; 3. Display error correction information in the application and allow users to choose whether to adopt it; 4. Use php-l and PHP_CodeSniffer for syntax detection and code optimization; 5. Continuously collect feedback and update the model or rules to improve the effect. When choosing AIAPI, focus on evaluating accuracy, response speed, price and support for PHP. Code optimization should follow PSR specifications, use cache reasonably, avoid circular queries, review code regularly, and use X

User voice input is captured and sent to the PHP backend through the MediaRecorder API of the front-end JavaScript; 2. PHP saves the audio as a temporary file and calls STTAPI (such as Google or Baidu voice recognition) to convert it into text; 3. PHP sends the text to an AI service (such as OpenAIGPT) to obtain intelligent reply; 4. PHP then calls TTSAPI (such as Baidu or Google voice synthesis) to convert the reply to a voice file; 5. PHP streams the voice file back to the front-end to play, completing interaction. The entire process is dominated by PHP to ensure seamless connection between all links.

PHP ensures inventory deduction atomicity through database transactions and FORUPDATE row locks to prevent high concurrent overselling; 2. Multi-platform inventory consistency depends on centralized management and event-driven synchronization, combining API/Webhook notifications and message queues to ensure reliable data transmission; 3. The alarm mechanism should set low inventory, zero/negative inventory, unsalable sales, replenishment cycles and abnormal fluctuations strategies in different scenarios, and select DingTalk, SMS or Email Responsible Persons according to the urgency, and the alarm information must be complete and clear to achieve business adaptation and rapid response.

PHP does not directly perform AI image processing, but integrates through APIs, because it is good at web development rather than computing-intensive tasks. API integration can achieve professional division of labor, reduce costs, and improve efficiency; 2. Integrating key technologies include using Guzzle or cURL to send HTTP requests, JSON data encoding and decoding, API key security authentication, asynchronous queue processing time-consuming tasks, robust error handling and retry mechanism, image storage and display; 3. Common challenges include API cost out of control, uncontrollable generation results, poor user experience, security risks and difficult data management. The response strategies are setting user quotas and caches, providing propt guidance and multi-picture selection, asynchronous notifications and progress prompts, key environment variable storage and content audit, and cloud storage.

Select the appropriate AI voice recognition service and integrate PHPSDK; 2. Use PHP to call ffmpeg to convert recordings into API-required formats (such as wav); 3. Upload files to cloud storage and call API asynchronous recognition; 4. Analyze JSON results and organize text using NLP technology; 5. Generate Word or Markdown documents to complete the automation of meeting records. The entire process needs to ensure data encryption, access control and compliance to ensure privacy and security.

PHP plays the role of connector and brain center in intelligent customer service, responsible for connecting front-end input, database storage and external AI services; 2. When implementing it, it is necessary to build a multi-layer architecture: the front-end receives user messages, the PHP back-end preprocesses and routes requests, first matches the local knowledge base, and misses, call external AI services such as OpenAI or Dialogflow to obtain intelligent reply; 3. Session management is written to MySQL and other databases by PHP to ensure context continuity; 4. Integrated AI services need to use Guzzle to send HTTP requests, safely store APIKeys, and do a good job of error handling and response analysis; 5. Database design must include sessions, messages, knowledge bases, and user tables, reasonably build indexes, ensure security and performance, and support robot memory

When choosing an AI writing API, you need to examine stability, price, function matching and whether there is a free trial; 2. PHP uses Guzzle to send POST requests and uses json_decode to process the returned JSON data, pay attention to capturing exceptions and error codes; 3. Integrating AI content into the project requires an audit mechanism and supporting personalized customization; 4. Cache, asynchronous queue and current limiting technology can be used to optimize performance to avoid bottlenecks due to high concurrency.
