Modelling narwhal movement: overly complex models can mislead ecological inference
32nd Annual BC Marine Mammal Symposium · Saturday, November 30, 202432nd symposium · Nov 30, 2024
Summary
Fanny Dupont, a PhD student at the University of British Columbia supervised by Marie Auger-Méthé and Marianne Marcoux, showed how an overly complex model can mislead what we conclude about animal behaviour. The data are Fast-loc GPS tracks from eight narwhals tagged in Tremblay Sound, Nunavut, in 2017, at hourly resolution. Hidden Markov models treat behaviour as a series of hidden states, and choosing the number of states with BIC gave five, several of which could not be told apart or interpreted ecologically.
The new method maximizes a doubly penalized likelihood. It penalizes states the animal spends almost no time in and states that look too similar to each other. On the same narwhal data it selected two clear states, area-restricted search and transiting, and a tutorial is planned. The questions covered how the hourly time resolution, chosen to keep missing data under 50%, shapes the results, and whether the penalty could hide rare but important behaviours.
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.
-
4:47:57 Watch from here (opens in a new tab)
I want to say I'm very honoured to be the one and only speaker about narwhals today. I'm feeling a bit of pressure about it, but, you know, all good.
-
Slide 1 of 8 Title slide: "Modelling narwhal movement: overly complex models can mislead ecological inference", Fanny Dupont, supervised by Dr. Marie Auger-Méthé and Dr. Marianne Marcoux, University of British Columbia. An illustration of a narwhal's track as a dotted line among sea ice. 4:48:04 Watch from here (opens in a new tab)So yeah, I'm going to talk to you about how overly complex models can mislead ecological inference. That's the work that I've been doing throughout my PhD, supervised by Marie Auger-Méthé and Marianne Marcoux.
-
Slide 2 of 8 Narwhal, with the Fisheries and Oceans Canada logo. Drawings of three narwhals beside the titles of three papers: "Tracking arctic marine mammal resilience in an era of rapid ecosystem alteration", "Decadal migration phenology of a long-lived Arctic icon keeps pace with climate change" and "Evidence suggests potential transformation of the Pacific Arctic ecosystem is underway". 4:48:15 Watch from here (opens in a new tab)So narwhals are Arctic marine mammals. They are considered to be one of the most vulnerable species to the effect of climate change. As you may already know, climate change leads to a decrease in sea ice in the Arctic, which induces an increasing presence of predators, namely killer whales, and also an increasing presence of shipping in the area. So it's very important for us, for DFO, to understand narwhal behaviour and how it can potentially be affected by all those changes.
-
Slide 3 of 8 Location data: 8 narwhals tagged in Tremblay Sound, Nunavut, Canada; Fast-loc GPS locations; 2 months of data at a resolution of 1 hour. A map of the eastern Canadian Arctic shows the tracks near the tagging site, with an inset of North America. 4:48:42 Watch from here (opens in a new tab)So one way of getting at animal behaviour is with movement data. So we have access to movement data for eight narwhals that were tagged in Tremblay Sound. So that's the little black box, and all the colourful things that you see are the tracks that I'm working with. So we're looking at Fast-loc GPS locations, covering a period of two months in 2017, with a resolution of an hour.
-
Slide 4 of 8 Hidden Markov models are an important modelling framework for analyzing ecological time series. A diagram shows hidden behavioural states at times t−1, t, t+1 and t+2 (two foraging, then two travelling), linked by transitions, each above a dial for the observed movement. 4:49:06 Watch from here (opens in a new tab)One of the models that we use to get at behaviour from movement data are hidden Markov models. The one thing that you need to remember from those models is that they assume that the observations arise from a hidden time series, a time series of hidden states, and we use the state as a proxy for the animal behaviour. So for example, if at time t minus one the narwhal has a foraging behaviour, I will observe small steps with a lot of turning angle. Similarly at time t. And then if the narwhal starts migrating, I will observe very, very fast movement, very directed movement, and so on. And so what's really hard with this model is to know how many states to put in that model. Here I only gave you two, but we can have resting or socializing, and then it can just add up very quickly, and it's very hard for us to know beforehand how many states there are. So the way we usually do it is that we fit models with different numbers of states, and then we pick the best model with AIC or BIC, and that's it.
-
Slide 5 of 8 Movement datastreams: step length and turning angle. BIC selects 5 states, with questions over whether state 2 and state 3, and state 1 and state 5, are really different. Histograms of step length (top) and turning angle (bottom) show the estimated density of each of the five states and their total. 4:50:04 Watch from here (opens in a new tab)So that's what we did with our movement data. We used step length and turning angle, and we selected the best model with BIC, so we got five states. And if we look a little more at the results, you can see two histograms with the estimated densities for the step length of the five states. Each colour is one state. And if we look more in detail, for example state two and state three, they correspond to moderate and big step lengths, actually very far to the right, with very directed movement, so for us that would be some kind of travelling behaviour, but then it was really hard to dissociate those two states. And similarly state one and state five: they had more moderate step lengths with a little more turning angle, so they would be, I don't know, something like area-restricted search behaviour, but again, very hard to differentiate those two states. That's a problem that happens a lot with movement data: we get too many states, and then it's very hard for us to interpret them ecologically. They don't make sense.
-
Slide 6 of 8 Double penalized likelihood (DPMLE) methods are promising. The idea is to prevent two types of overfitting by the maximum likelihood estimate: Type I, stationary probabilities near zero; Type II, some state-dependent distributions close to each other. 4:51:09 Watch from here (opens in a new tab)So yeah, I was working on a solution, and so we came up with a penalized likelihood method. So instead of maximizing the likelihood of a model, we would maximize a penalized likelihood, and we would penalize two things, two types of overfitting. The first one being that for a lot of those extra states, when we would look deeper, we would realize that the animal spends zero time in them. They're just artificial and empty. So we want to penalize that. We want to say to the model, do not estimate states that animals don't spend any time in. And we also penalized what I just showed you, which is that we don't want states that look too similar to each other. We want them to be very different from each other.
-
Slide 7 of 8 Narwhal case study: both DPMLE methods selected 2 states, area-restricted search (blue) and transiting (red), shown along a narwhal's track among sea ice. 4:51:48 Watch from here (opens in a new tab)So we fitted our method on the same data. You have an animation that's a bit fast, but anyway. And we got two states, so that would be two states instead of five. And the two states were way easier for us to interpret. We have area-restricted search, which was lots of turning angles and slow movement, and then we had transiting, which was very directed movement and very fast.
-
Slide 8 of 8 Conclusions, beside an aerial photo of narwhals: overly complex models can lead to overfitting; a new method for order selection in hidden Markov models; order selection is challenging in ecology and beyond. 4:52:17 Watch from here (opens in a new tab)So I hope I motivated you to be careful when you use those models, because animal movement data are complex, so sometimes those models just lead to overfitting. And we provided a solution that's going to be available soon, with a tutorial for narwhal movement data. You can even get a glimpse at my data, so that's pretty cool. And yeah, order selection is challenging in ecology and beyond, so just be aware of that. Thank you.
Questions from the audience
-
4:52:52 Watch from here (opens in a new tab)
The chair: All right, thank you. Any questions for Fanny about narwhal movements?
4:53:35 Watch from here (opens in a new tab)Fanny Dupont: I think the question was basically about the time resolution of the data, and how it might lead to different results. So yeah, our results, our interpretation of the results, depend on the time resolution, that's for sure. The way I chose it was to limit missing data. So the finer the resolution, the more missing data I have, and then the harder it is to fit the model. Hidden Markov models are quite flexible in terms of missing data, but in that case, I used an hour, which you would consider maybe a coarser resolution, because I wanted to be under 50% of missing data, which is really hard.
4:54:19 Watch from here (opens in a new tab)The chair: Any other questions?
4:54:29 Watch from here (opens in a new tab)A question from the audience: …the animals are not spending time in it. Some behaviours might take very little time and be very important. How can you make sure you're not missing them?
4:54:41 Watch from here (opens in a new tab)Fanny Dupont: Yeah, good question. So the question was about when I penalize the fact that the animal does not spend a lot of time in some states, I might miss, I guess, rare behaviour of some sort. Yeah, so truth is, we might be missing rare behaviours. When I've been checking the results, I saw that some of the states that we estimate still have, I don't know, the animal would spend like 8% of its time in them. I'm not an ecologist. I would consider that as maybe rare, but if it's under that, for sure we might miss it, and then we might want to use another method.
4:55:12 Watch from here (opens in a new tab)The chair: Okay, thank you. Thank you very much.