Skip to main content

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

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.

“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.”

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.

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
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
IBM’s Wimbledon-watching A.I. is poised to revolutionize sports broadcasts
Tennis players competing at Wimbledon

Among the most lauded essays ever written about the game of tennis is David Foster Wallace’s 2006 article “Roger Federer as Religious Experience.” Originally appearing in the New York Times, the approximately 6,000-word tribute to one of the world’s most supremely talented players reads, as its title makes clear, more like a divine celebration than a piece of sportswriting.

Wallace (and he was certainly not the first writer to do this) gushed about high-level sporting achievements as though they were more than just superb technique; as if they were, somehow, a transcendent portal to godliness. Ordinary mortals like you and I could comprehend what was happening, but only barely. In order to truly appreciate Federer's athletic feats, we needed a member of the priesthood -- a talented youth player like Wallace had been -- who could make it intelligible to us.

Read more
4 simple pieces of tech that helped me run my first marathon
Garmin Forerunner 955 Solar displaying pace information.

The fitness world is littered with opportunities to buy tech aimed at enhancing your physical performance. No matter your sport of choice or personal goals, there's a deep rabbit hole you can go down. It'll cost plenty of money, but the gains can be marginal -- and can honestly just be a distraction from what you should actually be focused on. Running is certainly susceptible to this.

A few months ago, I ran my first-ever marathon. It was an incredible accomplishment I had no idea I'd ever be able to reach, and it's now going to be the first of many I run in my lifetime. And despite my deep-rooted history in tech, and the endless opportunities for being baited into gearing myself up with every last product to help me get through the marathon, I went with a rather simple approach.

Read more
This bracelet helps you fall asleep faster and sleep longer

This content was produced in partnership with Apollo Neuroscience.
Have you been struggling to get the recommended seven hours of sleep? It's always frustrating when you get in bed at a reasonable time, then toss and turn for a hours before you actually sleep. The quality of that sleep is important too. If you're waking up multiple times during the night, you're likely not getting the quality REM cycle sleep that truly rejuvenates your body. If traditional remedies like herbal teas and noise machines just aren't helping, maybe it's time to try a modern solution. Enter the Apollo wearable.

Now we understand being a little skeptical. How can a bracelet on your wrist or ankle affect your sleep patterns? Certainly the answer to a better night's sleep can't be so simple. We considered these same things when we first heard of it. We'll dive deeper into the science behind the Apollo wearable, but suffice it to say that many people have experienced deeper, uninterrupted sleep while wearing one.
A non-conventional approach to better sleep

Read more