Skip to main content

Watch these A.I. drones teach themselves how to fly through trial and error

Oops! We couldn't load this video player
You know the saying, “If at first you don’t succeed, try, try again?” Well, it also counts for drones. At least, that is the takeaway message from a recent paper titled “Learning to Fly by Crashing,” published by roboticists from Carnegie Mellon University.  They subjected hapless drones to 11,500 collisions in 20 different indoor environments, spread over 40 hours of flying time, to prove it.

They did it for a good reason, too — and it is not because they have a whole lot of old quadcopters to get rid of before the start of the next academic year.

Recommended Videos

“We are interested in the problem of drone navigation: How does a UAV learn to avoid obstacles and learn to navigate,” Abhinav Gupta, an assistant professor in CMU’s Robotics Institute, told Digital Trends. “Unlike most other problems where data is the answer to many hard questions, what makes this problem hard is [a] scarcity of relevant data. We can use human experts and ask them to fly drones, but such data is small in size and biased towards success since the number of crashes is very low.”

Please enable Javascript to view this content

Instead of using a computer simulation to solve the problem, Gupta and colleagues set out to build a framework where the goal of the drone is to crash. In their study, the drones were instructed to fly slowly until colliding with something, after which they would return to the starting position and set off in a new direction. By doing this repeatedly and then feeding the crash data into a convolutional neural network, the team was able to train a drone to be able to more successfully fly autonomously — even in narrow, cluttered environments.

The algorithm controlling the drone works by splitting the picture the drone sees into two separate images and then turning in the direction of whichever looks less likely to result in a crash. The results were surprisingly effective.

Drones
Image used with permission by copyright holder

The drone still runs into problems, particularly involving glass doors and plain walls, but it is a whole lot better than it was before its training. Should we wind up living in a world where thousands of drones are constantly buzzing around, carrying out a range of tasks in complex real-world environment, research like this is going to be vital to developing better autonomous flying machines.

In the meantime, researchers get to exercise their destructive whims by making robots crash for the sake of “science.”

Luke Dormehl
Former Digital Trends Contributor
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Hyundai Ioniq 5 sets world record for greatest altitude change
hyundai ioniq 5 world record altitude change mk02 detail kv

When the Guinness World Records (GWR) book was launched in 1955, the idea was to compile facts and figures that could finally settle often endless arguments in the U.K.’s many pubs.

It quickly evolved into a yearly compilation of world records, big and small, including last year's largest grilled cheese sandwich in the world.

Read more
Global EV sales expected to rise 30% in 2025, S&P Global says
ev sales up 30 percent 2025 byd sealion 7 1stbanner l

While trade wars, tariffs, and wavering subsidies are very much in the cards for the auto industry in 2025, global sales of electric vehicles (EVs) are still expected to rise substantially next year, according to S&P Global Mobility.

"2025 is shaping up to be ultra-challenging for the auto industry, as key regional demand factors limit demand potential and the new U.S. administration adds fresh uncertainty from day one," says Colin Couchman, executive director of global light vehicle forecasting for S&P Global Mobility.

Read more
Faraday Future could unveil lowest-priced EV yet at CES 2025
Faraday Future FF 91

Given existing tariffs and what’s in store from the Trump administration, you’d be forgiven for thinking the global race toward lower electric vehicle (EV) prices will not reach U.S. shores in 2025.

After all, Chinese manufacturers, who sell the least expensive EVs globally, have shelved plans to enter the U.S. market after 100% tariffs were imposed on China-made EVs in September.

Read more