Artificial intelligence makes a splash in efforts to protect Alaska’s ice seals and beluga whales

When Erin Moreland set out to become a research zoologist, she envisioned days spent sitting on cliffs, drawing seals and other animals to record their lives for efforts to understand their activities and protect their habitats.

Instead, Moreland found herself stuck in front of a computer screen, clicking through thousands of aerial photographs of sea ice as she scanned for signs of life in Alaskan waters. It took her team so long to sort through each survey — akin to looking for lone grains of rice on vast mounds of sand — that the information was outdated by the time it was published.

“There’s got to be a better way to do this,” she recalls thinking. “Scientists should be freed up to contribute more to the study of animals and better understand what challenges they might be facing. Having to do something this time-consuming holds them back from what they could be accomplishing.”

Woman sits on boat with iceberg behind her
NOAA scientist Erin Moreland felt sure there was a technological solution to help her team sort through millions of aerial images of ice each year. She hit the jackpot with artificial intelligence. (Photo provided by NOAA)

That better way is now here — an idea that began, unusually enough, with the view from Moreland’s Seattle office window and her fortuitous summons to jury duty. She and her fellow National Oceanic and Atmospheric Administration scientists now will use artificial intelligence this spring to help monitor endangered beluga whales, threatened ice seals, polar bears and more, shaving years off the time it takes to get data into the right hands to protect the animals.

The teams are training AI tools to distinguish a seal from a rock and a whale’s whistle from a dredging machine’s squeak as they seek to understand the marine mammals’ behavior and help them survive amid melting ice and increasing human activity.

Moreland’s project combines AI technology with improved cameras on a NOAA turboprop airplane that will fly over the Beaufort Sea north of Alaska this April and May, scanning and classifying the imagery to produce a population count of ice seals and polar bears that will be ready in hours instead of months. Her colleague Manuel Castellote, a NOAA affiliate scientist, will apply a similar algorithm to the recordings he’ll pick up from equipment scattered across the bottom of Alaska’s Cook Inlet, helping him quickly decipher how the shrinking population of endangered belugas spent its winter.

The data will be confirmed by scientists, analyzed by statisticians and then reported to people such as Jon Kurland, NOAA’s assistant regional administrator for protected resources in Alaska.

Scientist Manuel Castellote (right) goes out in Alaska’s Cook Inlet each spring and fall to collect microphones at the bottom of the sea. He and his team first ping the equipment, instructing it to release the microphone so it can resurface. Then they bring it onboard to download the data before guiding the equipment back down to the ocean floor, where it will listen for another six months. (Photo by Daniela Huson with Ocean Conservation Research)

Kurland’s office in Juneau is charged with overseeing conservation and recovery programs for marine mammals around the state and its waters and helping guide all the federal agencies that issue permits or carry out actions that could affect those that are threatened or endangered.

Of the four types of ice seals in the Bering Sea — bearded, ringed, spotted and ribbon — the first two are classified as threatened, meaning they are likely to become in danger of extinction within the foreseeable future. The Cook Inlet beluga whales are already endangered, having steadily declined to a population of only 279 in last year’s survey, from an estimate of about a thousand 30 years ago.

Individual groups of beluga whales are isolated and don’t breed with others or leave their home, “so if this population goes extinct, no one else will come in; they’re gone forever,” says Castellote. “Other belugas wouldn’t survive there because they don’t know the environment. So you’d lose that biodiversity forever.”

Yet recommendations by Kurland’s office to help mitigate the impact of human activities such as construction and transportation, in part by avoiding prime breeding and feeding periods and places, are hampered by a lack of timely data.

“There’s basic information that we just don’t have now, so getting it will give us a much clearer picture of the types of responses that may be needed to protect these populations,” Kurland says. “In both cases, for the whales and seals, this kind of data analysis is cutting-edge science, filling in gaps we don’t have another way to fill.”

A man and a woman stand in front of a helicopter.
Erin Moreland’s first ice seal survey was in 2007, flying in a helicopter based on an icebreaker. Scientists collected 90,000 images and spent months scanning them but only found 200 seals. It was a tedious, imprecise process. (Photo provided by NOAA)

The AI project was born years ago, when Moreland would sit at her computer in NOAA’s Marine Mammal Laboratory in Seattle and look across Lake Washington toward Microsoft’s headquarters in Redmond, Washington. She felt sure there was a technological solution to her frustration, but she didn’t know anyone with the right skills to figure it out.

She hit the jackpot one week while serving on a jury in 2018. She overheard two fellow jurors discussing AI during a break in the trial, so she began talking with them about her work. One of them connected her with Dan Morris from Microsoft’s AI for Earth program, who suggested they pitch the problem as a challenge that summer at the company’s Hackathon, a week-long competition when software developers, programmers, engineers and others collaborate on projects. Fourteen Microsoft engineers signed up to work on the problem.

“Across the wildlife conservation universe, there are tons of scientists doing boring things, reviewing images and audio,” Morris says. “Remote equipment lets us collect all kinds of data, but scientists have to figure out how to use that data. Spending a year annotating images is not only a bad use of their time, but the questions get answered way later than they should.”

Moreland’s idea wasn’t as simple as it may sound, though. While there are plenty of models to recognize people in images, there were none — until now — that could find seals, especially real-time in aerial photography. But the hundreds of thousands of examples NOAA scientists had classified in previous surveys helped technologists, who are using them to train the AI models to recognize which photographs and recordings contained mammals and which didn’t.

“Part of the challenge was that there were 20 terabytes of data of pictures of ice, and working on your laptop with that much data isn’t practical,” says Morris. “We had daily handovers of hard drives between Seattle and Redmond to get this done. But the cloud makes it possible to work with all that data and train AI models, so that’s how we’re able to do this work, with Azure.”

Can you spot the seals in this aerial photograph (left)? Look at the thermal image (right), and then back at the photo — can you even see them now? This is what AI will help NOAA scientists sort through. (Photo provided by NOAA, from a survey of Alaska’s Kotzebue Sound, where the ice had melted, forcing the seals closer together than normal.)

Moreland’s first ice seal survey was in 2007, flying in a helicopter based on an icebreaker. Scientists collected 90,000 images and spent months scanning them but only found 200 seals. It was a tedious, imprecise process.

Ice seals live largely solitary lives, making them harder to spot than animals that live in groups. Surveys are also complicated because the aircraft have to fly high enough to keep seals from getting scared and diving, but low enough to get high-resolution photos that enable scientists to differentiate a ring seal from a spotted seal, for example. The weather in Alaska — often rainy and cloudy — further complicates efforts.

Subsequent surveys improved by pairing thermal and color cameras and using modified planes that had a greater range to study more area and could fly higher up to be quieter. Even so, thermal interference from dirty ice and reflections off jumbled ice made it difficult to determine what was an animal and what wasn’t.

And then there was the problem of manpower to go along with all the new data. The 2016 survey produced a million pairs of thermal and color images, which a previous software system narrowed down to 316,000 hot spots that the scientists had to manually sort through and classify. It took three people six months.

Ribbon seals rarely go ashore. When the ice melts each summer, they swim in the Arctic Ocean until the floes form again in the fall. (Photo provided by NOAA)
Ringed seals hide their pups from polar bears by building ice caves only accessible by the water underneath. (Photo provided by NOAA)
Bearded seals forage for food on the bottom of the sea, and the iron there stains their faces. (Photo provided by NOAA)
Spotted seals look similar to harbor seals, but they use floating ice instead of land to have their pups and molt. (Photo provided by NOAA)

When Moreland told colleagues about the AI project, she discovered that Castellote faced a similar obstacle.

A man pushes equipment on a cart.
Castellote and his team spend months every year classifying logs of the sound files they’ve collected to determine whether a noise is perhaps ice shifting, a ship passing, an airplane overhead, or a whale calling — and if the latter, if it’s a beluga, humpback or killer whale. (Photo by Daniela Huson with Ocean Conservation Research)

Each spring and fall, Castellote flies from Seattle to Anchorage, takes a boat out, retrieves microphones from 15 spots around the bottom of Cook Inlet, downloads the data and puts the equipment back. He and his team spend the rest of the year trying to classify each sound from the previous six months, determining which whistles and calls are from beluga, humpback or killer whales, which roars are from a plane or a ship, and which thumps are from construction or cracking ice.

That doesn’t leave him with much time for analysis, such as trying to interpret how the whales are communicating.

Whales operate on sound, using echo location to get around, especially in Cook Inlet, where sediment from melting glaciers makes the water murky and where it’s too dark most of the year for eyes to be useful. That means noise — which is amplified under water — can disorient the mammals, leaving them unable to find the ocean floor or surface, follow their pod, catch prey or be alerted to the presence of a predator such as a killer whale.

If calves can’t hear their mothers’ clicks and whistles, for example, they can get separated and die.

“Human noise could be masking key signals the whales use to find food and each other, which could affect reproduction, and if you can’t eat, mate or reproduce, then you can’t increase the population,” says Castellote. “So we think noise is a big issue, and we’re focusing on that.”

The problem is that Anchorage is an important hub for cargo ships and for military and commercial flights. The port is expanding, which requires piles to be driven down for new docks. There are 17 oil rigs with accompanying pipelines in Cook Inlet, he says, and the deposits from glaciers require continual dredging to keep shipping channels open. Each of those activities creates noise that drowns out the whales’ whistles and calls.

So Castellote aims to give Kurland’s group data on how the whales’ habitat use overlaps with human noise, helping guide mitigation measures to make human activity less detrimental to the endangered animals. The agency might work to minimize vessel activity near prime feeding areas or to reduce construction noise in certain spots during breeding season, for example.

Working with Microsoft, Castellote had a robust set of algorithms by last fall that showed a 99 percent match to the logs his team had previously classified manually. And the group is developing new technology that will make the process even more efficient.

As climate change allows human activity to move further north, Castellote’s work will help guide protective measures for other populations of whales that could be introduced to the same types of noise in the next decade or two, he says.

“The Cook Inlet belugas are a very small population that’s concentrated near the biggest human population in Alaska, so that development-related activity can be a threat,” Kurland says. “The seals are more broadly distributed over a larger area with less human activity, and are mainly threatened by climate change,” which is harder to mitigate.

A white whale in blue water.
Beluga whales are sometimes called “canaries of the sea” because of their range of vocal sounds. (Photo by David Merron Photography/Getty Images)

Click below to listen to the calls of beluga whales against the whir of a passing ship in the Cook Inlet near Anchorage. Any sounds the belugas make below 1 kHz are masked by the ship’s noise. (Audio clip provided by Manuel Castellote.)

Audio Player

The seals being surveyed rely on ice floes to breed, nurse their pups and go through their annual molt, a process that replaces their coats each spring. Ribbon seals rarely ever go ashore — when the ice melts each summer, they just swim around in the Arctic Ocean until the floes form again in the fall. So there’s nowhere that global warming is having a more pronounced impact than the Arctic and sub-Arctic regions, Morris says.

Studying the population data and distribution of the seals over time will provide a first step in understanding how they’re coping with a changing environment and what they need, Moreland says.

Beluga whales only live in the Arctic Ocean and its adjoining seas, such as the Bering Sea. (Photo by David Merron Photography/Getty Images)

“We’re living in a changing time, and we need all the players we can get to protect our resources,” says Tom Gray, a tribal representative who hunts Eastern Bering Sea belugas with nets and has used his knowledge to help Castellote’s team catch the endangered Cook Inlet whales briefly to attach sensors with suction cups.

When Gray was growing up in Nome, Alaska, “there were no ships going past us toward the Northwest Passage. Now there are hundreds a year and it’s projected that before long there will be a thousand,” he says.

“Alaska has beluga whales, moose, caribou, all these unique animals, and it’s like a mystique, something we talk about and love, and we’re right in the middle of it,” he says.

But amid the increased development and the whales’ persistent struggles, and despite scientists’ efforts over the past few decades, “I don’t think our people have the tools to keep these populations healthy. We’re losing the battle, and once they’re gone, it’s over. We need scientists and innovators to protect these animals so we don’t lose them.”