Machine learning to classify killer whale ecotypes in the Salish Sea via echolocation clicks
32nd Annual BC Marine Mammal Symposium · Saturday, November 30, 202432nd symposium · Nov 30, 2024
Summary
April Houweling, a master's student at Simon Fraser University and a bioacoustician at JASCO Applied Sciences, built a classifier that tells southern resident killer whales from West Coast transients by their echolocation clicks. Voluntary ship slowdowns in the Salish Sea cut underwater noise by more than 3 dB, and real-time acoustic detection, day or night, could let Transport Canada enforce slowdowns or redirect vessels year-round. JASCO's underwater listening station in Boundary Pass has recorded continuously since 2020, and sighting reports confirm which ecotype was present.
From 159 five-minute recordings, the study used about 14,000 southern resident and 4,000 transient clicks, calculated 17 acoustic features and fitted a LASSO model. It classified loud, clear clicks very well and showed that southern resident clicks are higher in frequency, though a model trained on this hydrophone would need retraining for others. The questions cover why it would not transfer to other hydrophones and whether the work will lead to action with Transport Canada, and the chair mentions an upcoming ECHO program report on killer whale and baleen whale presence.
In this talk
Jump to a part of the talk. Each part opens at its first slide in the transcript.
Slides and transcript
Recording: Full recording (opens in a new tab)
Each slide is shown with what was said while it was on screen. Select a slide to enlarge it, or a time to watch from that moment.
-
Slide 1 of 13 Title slide: "ML to Classify Killer Whale Ecotypes in the Salish Sea Via Echolocation Clicks", UBC Marine Mammal Symposium, April Houweling, MSc candidate, 30 November 2024, with logos of Stanford, Mitacs, SFU and JASCO and a photo of a killer whale with a cruise ship behind. 4:25:46 Watch from here (opens in a new tab)Thank you so much, everyone. As Erin said, I'm April Houweling. I'm a second-year master's student at Simon Fraser University under Dr. Ruth Joy, and under Rob Tibshirani at Stanford, and I work as a bioacoustician for JASCO Applied Sciences. I'll be talking about some of my master's research today.
-
Slide 2 of 13 Background: since 2017, voluntary ship slowdowns occur every summer, giving a more than 3 dB underwater noise reduction in Boundary Pass (Malinka et al. 2023), and the southern resident population is still in decline. A map shows the slowdown areas in the Salish Sea, from the 2023 ECHO Program annual report. 4:26:02 Watch from here (opens in a new tab)So a bit of background. In the Salish Sea, since 2017, voluntary ship slowdowns occur every summer, I'm sure many people are aware, and in these outlined blue areas, that's where these slowdowns occur. The circle is Boundary Pass, in red there, and there's been a study to show that there's a reduction of underwater noise by greater than three decibels in the summer slowdown, which is very impressive and important for the southern resident killer whales, as well as for other marine mammal species. The southern resident killer whale population is still in decline, or at very low numbers.
-
Slide 3 of 13 Background: "What if we can acoustically detect SRKW in real time (light and dark periods)?" and, in blue, the potential for Transport Canada to enforce slowdowns or redirect vessels year-round for southern residents. 4:26:36 Watch from here (opens in a new tab)So it begs the question: what if we can acoustically detect southern resident killer whales in real time, in light and dark periods? And would this allow for the potential for Transport Canada to maybe enforce slowdowns or redirect vessels year-round for the southern resident killer whales, making more dynamic protection?
-
Slide 4 of 13 Motivation: click spectra, waveforms and spectrograms that tell three beaked whale species apart (Kowarski et al. 2022) and belugas from narwhals (Zahn et al. 2024). 4:26:57 Watch from here (opens in a new tab)Some motivation for why echolocation clicks: I've done some study with beaked whales, and there's been other studies done that odontocete species can be identified by their clicks. So a paper by a colleague, Katie Kowarski, at JASCO, shows here on the left that you have three different beaked whale species. On the top you have a spectrum, in the middle you have a waveform, and on the bottom you have a spectrogram. And each one is distinct, and you can acoustically tell them apart just by their clicks. There's also been a paper by Zahn et al. that said you could tell apart belugas and narwhals by their clicks as well.
-
Slide 5 of 13 Motivation: odontocete species can be identified by their clicks, and there is a lack of recorded West Coast transient echolocation clicks, a "cryptic ecotype" (Leu et al. 2022). 4:27:35 Watch from here (opens in a new tab)Another motivation was that it seems there's a lack of recorded West Coast transient echolocation clicks in previous studies. So they're this sort of cryptic ecotype.
-
Slide 6 of 13 Motivation: JASCO's underwater listening station has recorded acoustic data continuously since 2020 at 512,000 samples per second, with ecotypes classified manually from pulsed calls and confirmed visually by the Southern Gulf Islands Whale Sightings Network. A map of the slowdown areas and a photo of a hydrophone being deployed from a boat are shown; the camera box covers part of the photo. 4:27:46 Watch from here (opens in a new tab)However, with JASCO we have this underwater listening station that's been continuously recording since 2020 at 512,000 samples per second. So this gives us a lot of data to look for different echolocation clicks from transients. There's also been manual ecotype classification from their pulsed calls, as well as visual confirmation from the Southern Gulf Islands Whale Sightings Network on Saturna, so we know when there's echolocation clicks which ecotype it is.
-
Slide 7 of 13 Research goal: create an automated killer whale click detector to classify southern resident vs West Coast transient ecotypes, with example waveforms and spectrograms of each. 4:28:14 Watch from here (opens in a new tab)So my research goal is to create an automatic click detector to classify southern resident and West Coast transient ecotypes.
-
Slide 8 of 13 Why machine learning? A single southern resident click and a single transient click have very similar waveforms and frequency spectra. 4:28:24 Watch from here (opens in a new tab)And why machine learning? Well, if we look at this single click from a southern resident and a West Coast transient, they don't look that different. They have the same number of zero crossings. And this is why we're using machine learning, to help look at different acoustic features of each click, to look further.
-
Slide 9 of 13 Methods: 159 five-minute WAV files (9 days of southern residents, 10 days of transients) went through JASCO's killer whale click detector-classifier, giving 13,799 southern resident and 3,888 transient clicks; 17 acoustic features were calculated with an ecotype label per signal-to-noise bin, followed by variable and model selection (LASSO, with XGBoost and a neural network struck out), citing the ISLR textbook by James, Witten, Hastie and Tibshirani. 4:28:42 Watch from here (opens in a new tab)So my methods took 159 five-minute WAV files. And from here, we used JASCO's killer whale click detector to help with the annotation process. So here we have around 14,000 southern resident clicks and around 4,000 West Coast transient clicks. And we calculated 17 acoustic features with these ecotype labels and binned them by SNR, signal-to-noise ratio, because we didn't have distance measurements. So I used variable and model selection. I'm just going to be presenting the LASSO today. And if you want to learn more about this, you can look at An Introduction to Statistical Learning. It's a great textbook that goes into LASSO and logistic regression.
-
Slide 10 of 13 "Did it work?" 4:29:24 Watch from here (opens in a new tab)So the big question: did it work?
-
Slide 11 of 13 Yes! Results of the LASSO model by signal-to-noise bin (low, medium, high): precision 0.96, 0.95 and 0.97; recall 0.85, 0.95 and 0.98; area under the ROC curve 0.71, 0.71 and 0.80; F1 score 0.90, 0.95 and 0.98. Training used 75% of the data with 10-fold cross-validation and testing the other 25%. 4:29:27 Watch from here (opens in a new tab)Well, yes, and it actually worked very well. In our high SNR bin, we had very low error. So those clicks that were very loud, with a quiet ambient background noise, were doing really well. However, I have to say this was trained on the underwater listening station. If we did apply this to other hydrophones, it would probably fall apart. But for Boundary Pass, it's doing very well.
-
Slide 12 of 13 Interpretability, benefits of the LASSO: the click waveforms and spectra with the features that mattered circled, showing that southern resident clicks are higher in frequency than transient clicks. 4:29:52 Watch from here (opens in a new tab)And the interpretability. So the LASSO actually is conducting variable selection, and it takes coefficients and penalizes them to zero if it doesn't want them in the model, or they're not important. So here we can actually start to look at some of the features that were important, and it's frequency. Maybe to the eye it wasn't as clear, as there was a lot of overlap in frequency between echolocation clicks, but the machine learning model was actually able to pull apart all of these features and tell the two ecotypes apart.
-
Slide 13 of 13 Thank you and questions, with thanks to Dr. Dave Hannay, Dr. Ruth Joy, Dr. Rob Tibshirani, Dr. Katie Kowarski, Briand Gaudet, Dr. Rachel Altman, SGIWSN/SIMRES and Tom Fruin, logos of Mitacs, JASCO, Stanford and SFU, and a photo of a killer whale. 4:30:26 Watch from here (opens in a new tab)And with that, I have some references, as well as thank you so much to everyone on the slide, and thank you to all of you for listening. And we have time for questions.
Questions from the audience
-
4:30:40 Watch from here (opens in a new tab)
The chair: All right. Any questions for April? Yeah.
4:30:44 Watch from here (opens in a new tab)A question from the audience: Why do you think it would fall apart with other hydrophones?
4:30:48 Watch from here (opens in a new tab)April Houweling: Oh, repeat the question. So why would it fall apart with other hydrophones? So we have a 256 kilohertz frequency range. A lot of other hydrophones don't have that. And it's also at 200 metres depth, so a lot of hydrophones are getting a lot more surface noise, and our initial killer whale click detector will probably be picking up a lot of noise from the surface. So having it that deep, and as well, each hydrophone has its own signature, so you'd have to retrain the model.
4:31:21 Watch from here (opens in a new tab)The chair: Any other questions for April? Yeah.
4:31:25 Watch from here (opens in a new tab)A question from the audience: You mentioned using this to talk directly with the Port of Vancouver and Transport Canada to change that. Because it was successful, are there plans to change that?
4:31:37 Watch from here (opens in a new tab)April Houweling: So the question: is there actual action to go forward with Transport Canada or the VFPA, as the model is successful? I'm just finishing up my coursework, and I have to defend in August. So hopefully we'll have a paper come out by then, and then maybe we can have some conversations started.
4:32:01 Watch from here (opens in a new tab)The chair: I will piggyback on that. So the Pacific Whale Watch Association and Orca Behavior Institute are putting out a report that we were commissioned by the ECHO program to do on presence, not just of southern resident killer whales, but all killer whales and all baleen whale species in the area. And they are going to be giving a presentation on that on Tuesday, and then following that, the report should be made public, so you can keep your eyes open for that. Thanks, April.