Automotive

AI algorithm teaches a car to drive from scratch in 20 minutes

AI algorithm teaches a car to drive from scratch in 20 minutes
UK startup Wayve believes trial-and-error machine learning, much like the way humans learn, is the key to autonomous cars
UK startup Wayve believes trial-and-error machine learning, much like the way humans learn, is the key to autonomous cars
View 6 Images
A pair of Renault Twizys, kitted out as self-driving test beds
1/6
A pair of Renault Twizys, kitted out as self-driving test beds
Wayve co-founders Alex Kendall and Amar Shah
2/6
Wayve co-founders Alex Kendall and Amar Shah
Given the complexity of the task of learning to drive, could machine learning do a better job than filling a system with rules?
3/6
Given the complexity of the task of learning to drive, could machine learning do a better job than filling a system with rules?
UK startup Wayve believes trial-and-error machine learning, much like the way humans learn, is the key to autonomous cars
4/6
UK startup Wayve believes trial-and-error machine learning, much like the way humans learn, is the key to autonomous cars
By letting the car experiment with its controls, the correcting it where necessary and rewarding it for maximal time before correction was required, Wayve let the Twizy teach itself how to follow a lane
5/6
By letting the car experiment with its controls, the correcting it where necessary and rewarding it for maximal time before correction was required, Wayve let the Twizy teach itself how to follow a lane
These Twizys are capable of sophisticated machine learning
6/6
These Twizys are capable of sophisticated machine learning
View gallery - 6 images

A pair of artificial intelligence Ph.Ds from Cambridge University are going all-in on machine learning as the foundation of autonomous cars. Their company, Wayve, has just released video of a kitted-out Renault Twizy teaching itself to follow a lane from scratch, over the course of about 20 minutes.

Wayve's Amar Shah and Alex Kendall believe there's been too much hand-engineering going on as people try to solve the self-driving car problem.

"The missing piece of the self-driving puzzle is intelligent algorithms, not more sensors, rules and maps," says Shah, Wayve co-founder and CEO. "Humans have a fascinating ability to perform complex tasks in the real world, because our brains allow us to learn quickly and transfer knowledge across our many experiences. We want to give our vehicles better brains, not more hardware."

Wayve co-founders Alex Kendall and Amar Shah
Wayve co-founders Alex Kendall and Amar Shah

With that approach in mind, the team took a Renault Twizy, kitted out with a single camera on the front and modified with the ability to computer-operate the steering, gas and brakes. They hooked it up to a graphics processing unit capable of intelligently analyzing the camera data in real time, and ran a learning program based on experimentation, optimization and evaluation.

They put the Twizy on a narrow, gently curving lane. A human driver sat in the driver's seat, then handed full control over to the car, not telling it what its task was, and let it experiment with the controls.

Every time the car went to drive off the road, they stopped it and corrected it. The algorithm "penalized" the car for making mistakes, and "rewarded" it based on how far it traveled without human intervention. Within 20 minutes, which represented less than 20 trials, the car had worked out how to follow a lane more or less indefinitely.

These Twizys are capable of sophisticated machine learning
These Twizys are capable of sophisticated machine learning

Wayve believes it's the quality of the learning systems that will be the key factor in who dominates the autonomous car market in the coming decade.

"DeepMind have shown us that deep reinforcement learning methods can lead to super-human performance in many games including Go, Chess and computer games, almost always outperforming any rule based system," reads a Wayve blog post. "We here show that a similar philosophy is also possible in the real world, and in particular, in autonomous vehicles.

"Imagine deploying a fleet of autonomous cars, with a driving algorithm which initially is 95% the quality of a human driver. Such a system would not be wobbly like the randomly initialized model in our demonstration video, but rather would be almost capable of dealing with traffic lights, roundabouts, intersections, etc. After a full day of driving and on-line improvement from human-safety driver take over, perhaps the system would improve to 96%. After a week, 98%. After a month, 99%. After a few months, the system may be super-human, having benefited from the feedback of many different safety drivers."

There are certainly learning elements – and network learning elements – present in current self-driving operations. Tesla's Autopliot, for example, logs any mistake a driver has to take over and correct for, and uses it to help educate other Teslas heading through the same area. But the idea of letting a self-driving car build its own entire model of how to operate in the world, much the same way as a human driver has to, is a fascinating one.

The learning process is demonstrated in the two-minute video below.

Source: Wayve

Learning to drive in a day

View gallery - 6 images
7 comments
7 comments
windykites
I've solved the self drive problem. Don't have one. There seems to be a huge amount of effort and research on something that is not really necessary. You've got to go in the car so you might as will drive it.
david60
Does it work on teenagers?
Lardo
Does it also teach it to fill out the insurance forms? For when it screws up and runs into Gramma's Studebaker?
BrianK56
Looks like a lot of potential in this program.
flylowguy
I taught my daughter to drive from scratch in under 20 minutes. The first minute she drove us through the back wall of the garage into her bedroom. The next 18 minutes was learning how to get out of the mess. Then the police arrived. I sincerely hope AI is better but let's not put too much faith in it just yet.
anthony88
So will it take about 20 attempts in 20 minutes to learn to try and avoid running over pedestrians?
Reason
"... with the ability to computer-operate the steering, gas and brakes."
A Renault Twizy is an electric car ...