Skip to content
Sea and sky, S1E2 episode artwork

Nov 22, 2016 20 min

Sea and sky, S1E2

from Engineering Out Loud Hosted by Engineering Out Loud

Xiaoli Fern, associate professor in computer science, explains how she and her team are using machine learning and bird song recordings to help biologists track bird populations. Plus, Geoff Hollinger, assistant professor of mechanical engineering, is teaching underwater robots to use human preferences to take on risk as they complete their scientific missions. https://engineering.oregonstate.edu/season-1-data-science-and-engineering/sea-and-sky-s1e2

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Sea and sky, S1E2

0:00 20:32
of matches

Transcript Auto-generated, may contain errors

From the College of Engineering at Oregon State University, this is Engineering Out Loud. Most of us can easily identify at least a handful of birds by the sounds they make. A common crow, a barred owl, ducks. Others recognize many more. This is a chestnut-backed chickadee. That's Xiaoli Fern, an associate professor in computer science. She's not one of those people who can rattle off bird species after listening to their calls. That's a little surprising, because bird songs have been at the center of her research for years. Here's a little secret. She recognized the chickadee after looking at a spectrogram, a graphic representation of its song. Because we're not birders, so the songs are very hard for us to actually recognize, so we actually turn them into those visual pictures, and then we recognize those pictures. Humans are much better at processing visual information, and it turns out computers, too. I'm Krista Klinkhammer with the College of Engineering, and in this episode of Engineering Out Loud...

we'll begin with a look at an intriguing project undertaken by Fern and her colleagues to teach computers to decipher bird sounds. So this is for the purpose of monitoring the species of birds. There's lots of interesting things about birds. Birds is what they call indicator species. They actually tell you a lot about the environment because it's influenced by many, many things. It's the right spot on the trophic chain. So what birds are where tell you a lot about the environment. And that's where our system comes in. The work could also influence environmental policies.

For example, how do you want to protect the habitat? So that can be based on the data that we collect. It begins with relatively simple devices called song meters, which the researchers place at various locations in the A.H. Andrews Forest, northeast of Eugene, Oregon. We have microphones. Those are fairly low-tech microphones, nothing fancy like what we're using right now. They're weatherproof, and they're placed in the forest.

at specific sites that they're collecting data during the breeding season 24-7. Automating data collection offers clear benefits over the old-fashioned way of field monitoring. To generate this kind of data, to know where birds are, typically they will have to send human field assistance to the field actually at a set time. They go visit sites and they look around and decide what species they see. So it's a very manual and tedious process and it's very incomplete. They just can't be there 24-7 like a microphone can do.

And a lot of times you can only send them to very close-by regions, so you don't get very good sample from remote regions and hard-to-reach regions. And that gives us a lot more complete understanding of the distribution of birds, both in terms of time and also location. The volume of data speaks to the efficiency of relying on automated recording equipment. For example, in one study that Fern and her colleagues published in 2016, the song meters recorded nearly 2,600 hours of audio in the forest. Since they began collecting data in 2009, the size of their data set has grown to somewhere between 20 and 40 terabytes. You can drop.

a recording device or box at a very remote location and leave their record for several months and then collect it. And then we can analyze all of those data and tell you what birds are there. You cannot possibly send a person there for four or five months and then just record tell you when you hear the birds, when you see them. So the ability to get this type of data that was human manual monitoring is just not possible. All the audio files are converted to spectrograms, which are encoded into numerical arrays that the computer can read. An algorithm developed by Fern and her research group then sifts through the vast amount of spectrographic data to make sense of it all.

But the computer needs a little help from humans. We collect birds on recordings. Typically we chunk them into shorter chunks, 10, 15 seconds chunks. And then we have expert birders. They listen to the recording to tell us what birds they hear. This is the only time in the entire process where the audiophiles themselves, instead of spectrographic data, play an important role. We have several hundreds of those recordings that are carefully listened and carefully labeled so we know what species are in those recordings.

The learning system comes in to analyze those recordings, and based on the label, they learn to actually recognize those in the future. To train the machine learning system, we'll need to have some of those audio recordings labeled by experts that tell us, you know, this recording contains what species, and based on this kind of information, then our system will learn from that. And once we learn this prediction system, then we can apply that prediction system to future recordings that we're collecting for us to identify what species are there. That's a varied thrush, one of the 20 or so birds that Fern is teaching the computer to recognize. If all the original audio recordings were so clear, her job would be much simpler. But that crisp sound file is courtesy of the Cornell Lab of Ornithology. A typical audio clip recorded in the Andrews Forest sounds something like this.

Lots of background noise. We have the stream that's pretty constant during the breeding season. And we also have rain. The raindrops can actually basically mask out a lot of things in the recording. And there's also other animal noise. And it just messes up how we recognize things. Because we are trained to recognize specific things. And when things that we haven't heard before pop up, they kind of confuse the system. You know, the birds, they're not waiting turns. They sing on top of each other. The recordings are full of noise and also...

there are multiple species in the same recording. Despite the challenges, the results so far are impressive. Right now we're making prediction at, like, we're pretty reliable making prediction at a recording level. That tells us, give your recording, like, what species are in there. So that level, our accuracy is fairly, it's very competitive. It's over 90% for many of the species. Fern also makes it clear that the system is not intended to produce an exact bird census. That's an unrealistic goal no matter what approach is used.

The hope, the reason that we believe it would work is because in aggregate, we're not talking about a single bird, right? We're not talking about just one bird, two birds. We're talking about in aggregate. We're going to not just take one instant, like one particular half an hour segment and say, oh, how many birds are there? Because that's not going to be very reliable depending on the bird's particular activity during that half an hour. That half an hour, the bird may not be there, right? It's more of aggregating over a long period of time. For example, a whole week or a whole month, how much you see.

So for three particular noisy birds, they might be noisy during that particular period, but they might be quiet during another time. And in the long run, things will average out. That's pretty much all we can ask for, even with human monitoring. So you have no way of knowing the ground truth. That ground truth may indeed be elusive, but Fern has come to terms with a much smaller truth. Despite her years of researching birds and the sounds they make, she's still not so good at identifying her subjects from their songs. We're getting better at recognizing those patterns. But if you play a song, no, if you're out for a hike, you can be like, oh, no, it doesn't help me. It doesn't help me because we mostly work with images. That's too bad.

Thank you for tuning into Engineering Out Loud to explore how computers and humans can work together to learn about bird songs and understand a bit more about the link between bird populations and the health of the environment. In the next part of this episode, we'll head underwater for a different take on machine learning. Stay tuned. Imagine a submarine. Not that kind of submarine. Think smaller. Even smaller. Much smaller. A submarine that fits into the back of a pickup truck. That's more like it. Make it yellow. Now, think of a robot. Danger, Will Robinson. Danger. Sorry, it doesn't talk.

Sorry, no arms or legs either. People always think that they're really funny because when you carry the robot around, they say, oh, that looks like a torpedo. But they don't realize that we've heard that a million times before. That's Jeff Hollinger, assistant professor of mechanical engineering and robotics, describing a robotic submarine that does, in fact, resemble a miniature torpedo. And some of them are yellow. It's called an AUV. AUV stands for autonomous underwater vehicle.

In part two of this episode of Engineering Out Loud, join me, Steve Franzel, from the College of Engineering as we dive below the waves for a closer look at these remarkable little machines and learn more about Hollinger's innovative work to expand the role of AUVs in unlocking the ocean's secrets. Let's put this thing all together. An AUV can cruise underwater for a long time, so it's definitely a submarine. And it's a robot by any standard definition, a machine that carries out complex actions automatically. So it's both, a robot and a submarine combined. Hollinger's work focuses on expanding the use of the AUV, which already has a pretty impressive resume.

AUVs have a number of applications that go from monitoring the ocean to gathering environmental data for oceanographers and ecologists, also inspection, maintenance, and manipulation in marine renewable energy arrays and oil rigs. They're also used to assess submerged pipelines and cables, explore archaeological sites, measure water temperature and salinity, locate navigation hazards, measure light absorption and reflection, locate missing airplanes, search for shipwrecks, explore geologic formations, identify unstable sections of the seabed. You get the picture. Before AUVs came onto the scene, ocean researchers relied on surface ships to reach their destinations. A lot of oceanographic data collection comes from surface ships that are going back and forth in effectively a zigzag pattern. Running large ships can be very expensive, as much as $10,000 a day for the bigger ones. And if they go out regularly, obviously those costs really add up. But an AUV typically costs, the ocean-going ones typically cost about $100,000 a piece, which is only about 10 days of ship time, is equivalent of about 10 days of ship time. Yet these AUVs can go out for months and have lifespans of years, 10 years, in some cases decades or more. That allows us to do continuous monitoring in a way that wasn't possible before.

So what we can do is we can do things like track biological hotspots or find locations that are particularly interesting, then stick around and monitor them for long periods of time to see how they change and evolve. You really can't do that with ships. You can't be there all the time. You have to go back and refuel and restock and get new crew, and it's expensive to be out there in the first place. AUVs open up the possibility of getting all kinds of data that oceanographers just didn't have before. So they're versatile and they're cheap.

and they come in a variety of designs. One example AUV that's commonly used these days by the Navy and also oceanographers is the Slocum Glider. This is a buoyancy-driven vehicle that can go out for weeks at a time and gather data about things like temperature, salinity, chlorophyll, dissolved oxygen, and various other factors that are going to be useful for scientists and for understanding the marine environment. The Slocum Glider weighs about 100 pounds and cruises leisurely at about a mile or two an hour. There are much larger and faster AUVs, but few have the glider's ability to sortie for such a long time, surfacing periodically to check its position, receive instructions, and transmit scads of data that it's collected through various sensors.

But data quantity, while important, is only part of the story. Our work is about getting better data. And so when an AUV goes out there, it's gathering data for the oceanographer, and we want it to gather the data that is the most useful. And so this is part of data science. This is part of big data. You can have large quantities of data that might not even be useful. If I just have the vehicle sit in one place and gather data, that's not going to be particularly useful. But if I get the right data, then that makes the data analytics easier, because now you can learn things from that data. You can infer patterns. But because they're so small and slow, AUVs voyage into harm's way every time they head out into the dynamic and unforgiving aquatic environment.

Oceanographers have various criteria that they want to satisfy. They want to reach locations they're interested in, but they also want the robot to do its work quickly and minimize the risk of getting damaged, like if the AUV surfaces in a busy shipping lane and collides with a larger vessel, or if it encounters currents that push it into rocks or far off course. It comes down to the old conundrum of risk versus reward. So as a researcher, I have to decide how important it is for the robot to get exactly to a particular waypoint. How much additional risk am I willing to take to do that? Am I willing to accept that additional risk, or do I prefer the safer trajectory that might not completely fulfill my objectives?

It's the idea that we have multiple competing preferences. So what we want to do is we want to develop a system that allows us to capture the trade-offs that humans have to make in these decisions and use that to do better and more efficient planning with AUVs. Reaching that goal, though, means humans and machines must work together. Typically, humans don't do a great job of making decisions when we're buffeted with large amounts of information. Think when your first reaction might be when you see a big string of number that represents ocean currents over a large spatial expanse. What can you do with that? Computers, on the other hand, do an excellent job of processing large amounts of data quickly.

So if you have an AUV and you want it to travel a route that's both safe and also hits all of the important spots where you want to collect data, you're probably not going to do a great job of plotting it by yourself because there's no way for you to evaluate all the possible trajectories and then choose the optimal one. But the AUV doesn't really know my preferences for gathering data. So this is where we can merge the strengths of the computers and the humans by encoding the preferences of the human and combining those with the big data processing capabilities of the machine. Now we're getting to the heart of Hollinger's work, fusing the human talent for solving complex problems with the computer's unsurpassed number crunching power. So we're building systems where computers...

namely AI systems, and people collaborate to make decisions. And we've trained AUVs to plan routes that balance data collection goals with risk in a way that mirrors the priorities of their human operators. And so oceanographers can send these vehicles out into the ocean, and they've been doing it for years, and they have lots of expertise, but that expertise is hard to quantify, and there has, until now, been no way to encode it into an artificial intelligence system. So our main idea is to develop a system that captures the preferences of the human experts that they've built up over time and encoding them into the artificial system so that we can get the best of both worlds. We want a human-robot team that can accomplish something neither could accomplish alone. To create that teamwork...

Hollinger came up with a process of give and take between human and machine. So what we did is we conducted simulations where the computer presents a trajectory for the AUV based on some fundamental mission goals. Next, a human takes a look at that proposed route on the computer screen and modifies it a little bit by dragging a single waypoint to a new position that he or she prefers more. The algorithm that we design sees this and thinks, okay, well, if you did that, here's how much risk you're willing to take in exchange for a certain level of reward you get by taking that particular path or meeting those particular objectives. That process is repeated over and over, and each time the computer learns more about the person's preferences, so every time the path gets changed by the human, the computer recalculates the optimal route for the AUV. That's how it learns the human's underlying preferences. The learning algorithm even compensates for the quirkiness of our species.

So humans are always making decisions that are out of the ordinary and unpredictable. They may move a single point in a route that indicates a high tolerance for risk and then make another change that indicates much less tolerance for risk. We argue that our method of human robot learning deals with that kind of inconsistency in an intelligent way. Hollinger put his system of machine learning to the test in both the lab and with an AUV in a California reservoir. In this case, he used a vehicle similar to the Slocum Glider. The computer simulation showed that it's possible to design systems for autonomous navigation that capture the essence of a human's priorities. When we conducted field tests using a six-foot-long AUV, the YSI EcoMapper, the robot successfully followed a route that combined water depth of about six meters and water temperature near 27 degrees Celsius, which were the values that the human preferred. The results were the same as we had seen in the simulation, so this validated the simulation. So this provides some solid evidence that the algorithm had adopted human preferences and adjusted its solution.

appropriately. The positive results bode well for the future of AUVs and for underwater exploration. So far, our ideas work in terms of the scientific principle. If they continue to work in practice, then this will allow a single human to control multiple robots and large-scale systems. The potential data-gathering power we'll have from these systems that act intelligently and almost independently will substantially improve the amount and the quality of data we're bringing back to the oceanographers, which is going to give us a lot of insight into ocean ecosystems and how life survives in the ocean.

Thank you for tuning in to Engineering Out Loud. We hope you came away with a greater understanding of machine learning and the impact it has on scientific exploration in the sky and under the water. I'm completely operational, and all my circuits are functioning perfectly.

Frequently asked questions

How long is this episode of Engineering Out Loud?

This episode is 20 minutes long.

When was this Engineering Out Loud episode published?

This episode was published on November 22, 2016.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Engineering Out Loud episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.