DeepMind, Waymo team up to boost AI accuracy in self-driving cars
Recently, however, and with the help of its sister company DeepMind, Waymo reports it has found a way to improve AI algorithms for autonomous driving by making the whole training process faster and more effective.
Neural networks, by way of review, are a set of algorithms modelled loosely after the human brain. The neural network learns through trial and error. It’s presented with a task and receives a grade on whether it performs the task correctly or not based on desired outcomes. The neural net then learns by attempting these tasks again and making corrections without help. The idea is that in future attempts under similar conditions, the neural net will make the necessary adjustments in its weighting factors and become more likely to perform a task correctly.
The overall goal is to find a learning rate that ensures the AI network gets better after each iteration.
Finding the best training regimen (or “hyperparameter schedule” in AI parlance) is commonly achieved in one of two ways: training numerous models in parallel, which is computationally expensive, or having researchers monitor networks while they’re training, periodically culling the weakest performers by hand. Either way, it requires significant resources.
What Waymo and DeepMind are doing is to automate that weeding out process, automatically replacing ineffective neural nets with better-performing ones from the best networks running the task. The companies call the approach Population Based Training (PBT) and are using it for tasks such as pedestrian detection.
In operation, PBT evaluates neural-net models every 15 minutes. In a manner reminiscent of Darwin’s theory of evolution, the nets “compete” with each other to see which ones survive the culling process. If a member of the population is underperforming, it’s replaced with a copy of the better-performing member, with slightly changed hyperparameters.
In a nutshell, losing models are removed from the training pool and training continues using only winning models. PBT uncovers a schedule of hyperparameter settings rather than trying to find a single fixed set to use for the whole course of training. PBT also doesn’t require DeepMind to restart training from scratch, because each winning network inherits the full state of its parent network. The dual process of weeding out underperformers and mutating higher performers is done in parallel.
DeepMind/Waymo discovered PBT could improve a neural net’s ability to identify and place boxes around pedestrians, bicyclists, and motorcyclists spotted by a Waymo vehicle’s many sensors. Two detection measures are employed: recall (the fraction of pedestrians identified by the neural net over the total number of pedestrians in the scene) and precision (the fraction of detected pedestrians that are actually pedestrians). According to DeepMind, using PBT decreased false positives by 24% while maintaining a high recall rate, even though training took half as much time and resources.
In a blog post, Waymo said that to ensure neural nets perform well without simply memorizing answers to examples they’ve seen during training, PBT uses a set of examples (called a “validation set”) that’s different from those used in training (“training set”). To verify final performance, the company also uses a third set of examples (“evaluation set”) that the neural nets have never seen in training or competition.
DeepMind recognized that its process could disadvantage so-called “late-bloomers,” because some neural nets with hyperparameters that perform better over the long term don’t have the chance to mature and succeed. As a solution, they simply increased population diversity by training a larger population. If the population is large enough, they reason, there’s a greater chance for networks with late-blooming hyperparameters to survive and catch up in later generations.
Since its introduction, PBT has been applied to many different Waymo models, according to the company, helping to create more capable vehicles for the road.
This article first appeared in Electronic Design – www.electronicdesign.com