Google’s Artificial Intelligence Creates an AI That Beats Human Code

In May 2017, Google Brain Team announced a new approach called AutoML. It’s a controller neural net for developing child model architecture, which can be trained to perform a particular task. In simple terms, it’s an AI capable of generating its own AI.

The Dataset Used

Google researchers tested AutoML on small academic datasets such as Penn Treebank and CIFAR-10. Later, they decided to present AutoML with its toughest challenge to date. This time, they tested larger datasets like COCO object detection and ImageNet image classification, and the result they got was astonishing.

Several state-of-the-art machine learning architectures have been developed by humans to work on larger datasets in academic competitions. In Learning Transferable Architectures for Scalable Image Recognition, Google researchers applied AutoML to two of the most popular academic datasets – COCO and ImageNet. If you natively apply AutoML to these massive datasets, it would take several months of training in order yield desirable result.

How It Works?

AutoML is built on reinforcement learning algorithms and evolutionary algorithms. However, to apply it to ImageNet, Researchers modified it to be more tractable to large scale datasets  –

  1. Redesigned the search space to make it find the best layer, which can be flexibly stacked multiple times to build a final network
  2. Architecture search is performed on CIFAR-10 and best learned architecture is transmitted to COCO object detection and ImageNet image architecture.

After these changes, AutoML was able to find best layers for not only CIFAR-10, but also for COCO object detection and ImageNet classification. These 2 layers are merged to build a novel architecture, called NASNet.

As shown in the figure, NASNet architecture (developed by AutoML) contains 2 types of layers – Normal layer and Reduction layer

Source: Google Research Blog

Results

NASNet achieved 82.7% of prediction accuracy on ImageNet image classification, which is far better than previous inception models built by Google Brain team. Also, it performed 1.2% better than previous published and unpublished results.

NASNet can also be resized to generate a set of models that achieve decent accuracy rates while maintaining low computational costs. For instance, a small version of NASNet yields an accuracy of 74% (while reducing the computational cost to half), which is more than 3% better than several state-of-the-art models of the same size, designed for mobile platforms.

As you can see in the figure(s), NASNet accuracies are higher than human invented models at numerous model sizes, involving different number (in millions) of operations and parameters, for ImageNet image classification.

This table shows the performance of architecture search and other human developed models on ImageNet classification. Mult-Adds refers to the number of composite multiply-accumulate operations for one image.

Object detection using Faster-RCNN with NASNet

Google Researchers transferred the features learned from ImageNet to COCO object detection. In the tests, integrating learned features of ImageNet with Faster RCNN framework overshadowed the previous predictive performance on the COCO. The largest model achieved 43.1% mAP, which is around 4% better than past results of state-of-the-art models.

Reference: arxiv.org

The source code of NASNet for inference on image classification and for object detection is available on the Github.

What’s Next?

The features learned by NASNet on COCO and ImageNet can be reused for several vision apps. Moreover, this approach can teach us something about why specific types of neural nets perform so well.

AutoML could open up the field of machine learning to non-experts, and could be used to develop sophisticated, AI-powered machines/robots. According to a research, AI at this smartness level can help visually impaired people regain sight.

Obviously, this architecture can be used in self driving cars. You can also imagine the system helping identify traffic, road hazards and pedestrians. It could also be used in Augmented Reality to make applications better interact with environment. But perhaps the most intriguing applications of this AI are yet to be discovered.

Read: 15 Advanced Artificial Intelligence Projects

In future, Google research team will work on analysis and testing of such types of computer-generated architectures to refine and better understand them. If they succeed, they can inspire a whole new type of neural nets, which would have a greater impact on everyone.

Written by
Varun Kumar

Varun Kumar is a professional technology and business research analyst with over 10 years of experience. He primarily focuses on software technologies, business strategies, competitive analysis, and market trends.

Varun received a Master's degree in computer science from GGSIPU University. To find out about his latest projects, feel free to email him at [email protected]

View all articles
Leave a reply