Artificial Intelligence Develops an Ear for Birdsong

recorders detect noise from illegal poaching or logging activities.

“Audio data is a real treasure trove because it contains vast amounts of information,” says ecologist Connor Wood, a Cornell University postdoctoral researcher, who is leading the Sierra Nevada project. “We just need to think creatively about how to share and access [that information].” This is a looming problem because it takes humans a long time to extract useful insights from recordings. Fortunately the latest generation of machine-learning AI systems—which can identify animal species from their calls—can crunch thousands of hours of data in less than a day.

“Machine learning has been the big game changer for us,” says Laurel Symes, assistant director of the Cornell Lab of Ornithology’s Center for Conservation Bioacoustics. She studies acoustic communication in animals, including crickets, frogs, bats and birds, and has amassed many months of recordings of katydids (famously vocal long-horned grasshoppers that are an essential part of the food web) in the rain forests of central Panama. Patterns of breeding activity and seasonal population variation are hidden in this audio, but analyzing it is enormously time-consuming: it took Symes and three of her colleagues 600 hours of work to classify various katydid species from just 10 recorded hours of sound. But a machine-learning algorithm her team is developing, called KatydID, performed the same task while its human creators “went out for a beer,” Symes says.

Machine-learning setups like KatydID are self-learning systems that use a neural network—“a really, really rough approximation of the human brain,” explains Stefan Kahl, a machine-learning expert at Cornell’s Center for Conservation Bioacoustics and Chemnitz University of Technology in Germany. He built BirdNET, one of the most popular avian-sound-recognition systems used today. Wood’s team will rely on BirdNET to analyze the Sierra Nevada recordings, and other researchers are using it to document the effects of light and noise pollution on the dawn chorus in France’s Brière Regional Natural Park.

Such systems start by analyzing many inputs—for instance, hundreds of recorded bird calls, each “labeled” with its corresponding species. The neural network then teaches itself which features can be used to associate an input (in this case, a bird’s call) with a label (the bird’s identity). With millions of extremely subtle features often involved, humans cannot even know what most of them are.

Older versions of detection software were semi-automatic. They scanned spectrograms—visual depictions of an audio signal—for established features such as frequency range and duration to identify a bird by its song. This works well for some species. The song of the northern cardinal, for example, consistently begins with a few long notes that rise in pitch, followed by quick, short notes with a distinct dip in pitch. It can easily be identified from a spectrogram, much like a composed song can be recognized from sheet music. But other avian calls are more complex and varied and can confound older systems. “You need much more than just signatures to identify the species,” Kahl says. Many birds have more than one song, and like other animals, they often have regional “dialects.” A white-crowned sparrow from Washington State sounds very different from its Californian cousins. Machine-learning systems can recognize such nuances. “Let’s say there’s an as yet unreleased Beatles song that is put out today. You’ve never heard the melody or the lyrics before, but you know it’s a Beatles song because that’s what they sound like,” Kahl explains. “That’s what these programs learn to do, too.”

These systems have, in fact, benefitted from recent advances in human-speech- and music-recognition technology. In collaboration with Andrew Farnsworth of the Cornell Lab of Ornithology, experts at New York University’s Music and Audio Research Laboratory drew on their musical experience to build a bird-call-identification system called BirdVox. It detects and identifies birds migrating at night and distinguishes birdsong from background noises, including frog and insect calls, human ground and air transport, and sources such as wind and rain—all of which can be surprisingly loud and variable.

How well each system learns depends a great deal on the quantity of available prelabeled recordings. A wealth of such data already exists for common birds. Kahl estimates about 4.2 million recordings are available online for 10,000 species. But most of the 3,000-odd species BirdNET can identify are found in Europe and North America, and BirdVox further narrows its focus to the songs of U.S.-based birds.

“In other places, for rarer species or ones that don’t have well-classified data, [BirdNET] doesn’t work as well,” says India-based ecologist V. V. Robin. He is hot on the trail of the Jerdon’s courser, a critically endangered nocturnal bird that has not been officially spotted for about a decade. Robin and his collaborators have placed recorders in a southern Indian wildlife sanctuary to try to capture its call. He has also been recording birds in the hills of the Western Ghats, a global biodiversity hotspot also in southern India, since 2009. These recordings are painstakingly annotated to train locally developed machine-learning algorithms.

Citizen scientists can also help fill gaps in the birdsong repository. BirdNET powers a smartphone app that has been a big hit with amateur birders. They record snippets of audio and submit them to the app, which tells them the singer’s species—and adds the recording to the researchers’ database. More than 300,000 recordings have been coming in daily, Kahl says.

These machine-learning algorithms still have room for improvement. Although they analyze audio much more quickly than humans, they still lag behind in sifting through overlapping sounds to home in on a signal of interest. Some researchers see this as the next problem for AI to tackle. Even the current imperfect versions, however, enable sweeping projects that would be far too time-consuming for humans to tackle alone. “As ecologists,” Wood says, “tools like BirdNET allow us to dream big.”

Read More

Harini Barath