All the ways a species can move across a landscape
This post is about the paper Emergent encoding of dispersal network topologies in spatial metapopulation models, published in PNAS in 2023.
Around the time I started thinking about information and timescales, I realized that a very similar approach could be applied to a very different setting: the ecological description of a species moving around in a complicated landscape. Imagine what habitats of many species look like. A few patches of a forest separated by stretches of rivers, scattered ponds with fields in between, coral reefs along a coastline, or islands separated by the open sea. Just by looking at the map of how these habitats are distributed and how they are connected, could you tell whether a species living there will survive in the long run?
Ecologists have been asking this question for decades. Towards the end of my PhD, with our group in Padova and Andrea Rinaldo’s lab at EPFL in Lausanne (which I would later join precisely because of this paper), we tried to answer it by starting from the individuals that move across the landscape. And, once more, timescales played a crucial role.
A population of populations
For many species, a habitat is not one continuous home. It is more like an archipelago made of many small patches, each hosting a local population, separated by land where the species cannot live. Small populations are fragile, and a warmer summer, a disease, or simply chance can wipe out the population of a patch. What keeps the species alive is that patches are not isolated: individuals move between them, which ecologists call dispersal, so that an empty habitat patch can be recolonized from its neighbors.
Such a system is a metapopulation. It describes a population of local populations, each of which can disappear and be re-established over time, while the system as a whole may persist. A classic example is a butterfly, the Glanville fritillary, whose populations live in small meadows scattered across the Åland islands in Finland, and which the great Finnish ecologist Ilkka Hanski studied for decades. Whether the whole system persists is not decided by any single patch, but by the properties of the whole network such as how many patches there are, how large they are, and how easily individuals can move between them.
The metapopulation capacity
In 2000, Hanski and Otso Ovaskainen found a way to condense all of this into a single number. In the Hanski model, each habitat patch is either occupied or empty. Occupied patches lose their population at some rate, because of natural death of their individuals, availability of food and resources, or any external factor you can think of. At the same time, empty patches can be colonized by the occupied ones around them. How strongly an occupied patch is able to colonize another depends on the dispersal kernel between them: the higher the value of the kernel from one habitat to another, the easier it is for species to travel between them and colonize the one they arrive into. Hanski made a reasonable assumption for the kernel. Its value fades with the distance between the patches, at a pace set by how far the species typically travels, its dispersal distance.
Then, it turns out that the Hanski model makes a remarkably simple yet powerful prediction. From the map of the habitats – that is, from the sizes of the patches and the distances between them, together with the dispersal distance of the species – one can compute a single number known as the metapopulation capacity of the landscape. If the metapopulation capacity is higher than a threshold set by how quickly local populations disappear compared to how quickly the species colonizes new patches, the species survives. If it is below, the species eventually goes extinct.
This idea has been very successful, because it gives a simple way to rank landscapes by how well they can support a species. But it relies on an assumption that is hidden in how the map enters the calculation, which is that the dispersal kernel depends only on the distance between two patches. Many real landscapes do not work like that. A river flows in one direction, and for many species moving downstream is much easier than moving upstream. Mountains and valleys channel movement along some routes and block it along others. Two patches can be close on the map and still be very hard to reach from each other. In the language of physics, Hanski’s kernel is phenomenological: a reasonable guess that describes what we observe, rather than something derived from what individuals actually do.
Explorers and settlers
So we went back to the blackboard (quite literally) and started from the individuals instead. In our model, each habitat patch has a limited amount of space where individuals can settle, and patches are connected with one another by a dispersal network that describes which movements are possible, and which are not. The individuals who live in a patch are the settlers, and they do not move. What they can do, however, is give rise to explorers, which move along the routes prescribed by the dispersal network, hopping from one patch to a neighboring one. At some point, an explorer tries to settle where it is. If it finds a free spot, it becomes a settler; otherwise, it dies. The simplest example you can think of is a tree giving birth to seeds that disperse away, eventually giving rise to other trees far away. But our model can be easily adapted to many other ecological dynamics you may think of.
This may look like an innocent assumption, but the partition between settlers and explorers turned out to be the key ingredient we needed. Why? Because of timescales. If we assume that explorers spend only a short time on the move compared to how slowly the settled populations change, then, from the point of view of the settlers, what matters is not each individual journey but only where explorers tend to end up. This allowed us to average over everything the explorers do and obtain a metapopulation model for the settled populations alone. In doing so, we also derived an explicit formula for the dispersal kernel that showed us that the kernel itself incorporated all the details of the underlying dispersal network in a highly non-trivial way.
The crucial difference with respect to Hanski’s model is that the kernel does not depend on distance alone. In simple enough landscapes, you can think of our dispersal kernel as a kind of sum over all possible paths an explorer can take to go from one habitat patch to another. The catch, of course, is that there is an infinite number of such paths. So what the math behind our calculations showed us is that what matters is how probable each path is. Highly probable paths are weighted more, while unlikely chains of exploration contribute less to the kernel, and this allows the kernel to sum infinitely many possibilities and end up with a finite value describing how strongly the settled population in a given patch can colonize another patch. In physics, we often call this the coupling between the patches, and this coupling now spontaneously comes out of the calculation rather than being assumed a priori.
This has two consequences. First, the dispersal distance gets replaced by the more general concept of exploration efficiency, which quantifies how far explorers typically travel before trying to settle. Species with a low efficiency settle close to where they were born, while species with a high efficiency explore large parts of the network first. Second, two patches at the same distance can be coupled more or less strongly, depending on how many routes connect them. And even two patches that are not directly connected end up coupled, because explorers can reach one from the other through the patches in between. The structure of the landscape gets encoded in the coupling on its own, which is what the “emergent encoding” in the title of the paper refers to.
Settled populations (green) give birth to explorers, which move along the dispersal network (grey) and colonize free spots. Taking all their possible journeys into account at once leaves a model in which every pair of patches is coupled, with thicker lines for stronger couplings. Figure 1 of the paper (PNAS, CC BY-NC-ND 4.0).
How the structure of the landscape affects survival
Once we had a model in which the dispersal network appears explicitly, the first thing we wanted to know was how its structure affects the survival of a species, which we did by computing the metapopulation capacity in different scenarios, going from idealized networks to real landscapes. We quickly realized that our model was telling us that three properties of the dispersal network had a huge impact on the fate of a species.
The first is the shape of the network itself. We found that networks with hubs, patches connected to many others, or with a few shortcuts between distant patches, tend to have a higher metapopulation capacity. Hubs also end up with larger populations, and colonization is faster. In hindsight, this was perhaps unsurprising, but it was a kind of “sanity check” that we often do to make sure that the assumptions we built our models on give the results we can expect. Furthermore, this came out spontaneously from the encoding of the individual rules in the dispersal kernel. The effect can be large: with the same number of patches, linked in different ways, the same species can survive in one landscape and disappear from another.
The second property is fragmentation. Habitats are often made of clusters of well-connected patches, linked to each other by a few ecological corridors. If these corridors start to die out, the total population may drop only a little, because the species survives within the clusters. But as more and more links are removed, the metapopulation capacity keeps decreasing as more and more clusters get cut off from the rest of the network. So a fragmented landscape can look almost as populated as before, while being closer to the point where the species can no longer persist.
The third is topography. We took two mountain regions, around the Ene River in the Peruvian Andes and the Kauriala River in the Nepalese Himalayas, and let the explorers move more easily downhill than uphill. In both our model and Hanski’s, species that disperse little only survive in the lowlands. In ours, however, the population changes gradually with elevation and follows the branches of the river network. Furthermore, the single number describing exploration efficiency allowed us to make general predictions about the behavior of the same species in different landscapes.
How the population spreads around the Ene River in Peru (top row, maps on the left) and the Kauriala River in Nepal (bottom row, maps on the right) as dispersal increases from left to right. Warmer colours mean more individuals. Adapted from Figure 4 of the paper.
Why it’s useful. For over twenty-five years, the metapopulation capacity has been used to compare landscapes and to understand how changes to a habitat, such as losing a patch or a corridor, affect a species. Our work suggests that the way a landscape is connected, and not only how far apart its patches are, can sometimes make these predictions quite different. For instance, the classic Hanski model would predict a large loss of population when a landscape made of clusters of habitats is fragmented, while our results show that how many individuals are left may say little about how the landscape is losing metapopulation capacity. The model also makes room for features that a description based on distances cannot see, like the direction of a river or how clusters of habitat are linked to each other, and in principle it allows us to study how changes to the landscape, from changes in river flow to landslides, affect the species living there.
Of course, these were predictions of a model, and the natural next step we wanted to take was to compare them with actual ecological data collected in the field. The catch? So far, we considered only one species moving around in a dispersal network, but a landscape is rarely home to a single species. Many species coexist in the same patches, compete for the same space, and explore the landscape in different ways. That is the story for next time, before putting all the pieces together and finally using our model to study real-world data from forests around the world.
Some technical details
The classical theory. In the Hanski–Ovaskainen framework, a landscape of \(N\) patches with areas \(A_i\) and pairwise distances \(d_{ij}\) defines a landscape matrix \(M_{ij} = K^H_{ij} A_i A_j\) with the phenomenological kernel \(K^H_{ij} = e^{-d_{ij}/\alpha}\) for \(i \neq j\) (and \(K^H_{ii} = 0\)), where \(\alpha\) is the species’ average migration distance. With colonization rates \(c_i = cA_i\) and extinction rates \(e_i = e/A_i\), the metapopulation persists if and only if the leading eigenvalue \(\lambda_M\) of the landscape matrix, the metapopulation capacity, exceeds \(e/c\). The kernel is postulated, and it depends on the landscape only through distances.
The microscopic model. We instead write reactions for two classes of individuals on a dispersal network with (possibly directed and weighted) adjacency matrix \(A_{ij}\). Settled individuals \(S_i\) in patch \(i\), which has \(M\) colonizable sites, die at rate \(e_i\) and give birth to explorers in neighboring patches at rate \(C_{ij} = c_i h(f) A_{ij}\). Explorers \(X_i\) hop along the network at rate \(D_{ij} = D A_{ij}\) and attempt colonization at rate \(\lambda\), settling on an empty site and dying on an occupied one. The species parameter \(f = D/\lambda\), the exploration efficiency, sets how many patches an explorer visits before attempting to settle, and \(h(f) = \xi/(1 + 1/f)\) encodes the feasibility of exploration. At leading order in a Kramers–Moyal expansion of the master equation, which gives deterministic equations for the mean densities, and assuming that the explorers are much faster than the settled population, a quasistationary approximation (exact in the stationary limit) gives an effective equation for the densities \(\rho_i\) of the settled population that has exactly the Hanski–Ovaskainen form,
\[\dot{\rho}_i = -e_i \rho_i + (1 - \rho_i) \sum_j c_j K_{ji} \rho_j,\]except that the kernel is now derived rather than assumed,
\[\hat{K}^T = h(f) \left(\hat{I} + f \hat{L}^T\right)^{-1} \hat{A}^T = h(f) \sum_{n=0}^{\infty} (-1)^n f^n \left(\hat{L}^T\right)^n \hat{A}^T,\]where \(\hat{L}\) is the out-degree Laplacian of the dispersal network and the series is understood formally, through its analytic continuation where it does not converge. On regular networks the series becomes an explicit sum over paths, \((\hat{I} + f\hat{L}^T)^{-1}_{ij} = \sum_n p_\text{path}(n)\, N^\text{path}_{ji}(n)\), with \(N^\text{path}_{ji}(n)\) the number of paths of length \(n\) between the two patches and \(p_\text{path}(n)\) a weight that decreases with \(n\). The kernel is therefore in general nonzero between patches that are not directly connected, and at fixed distance it grows with the number of paths between them (an entropic contribution absent from distance-based kernels); it encodes the full topology of the network, and so does the generalized metapopulation capacity built from it. On a ring it decays exponentially with the network distance, as in the classical kernel, with \(f\) related to \(\alpha\); in undirected networks with equal patch areas, the capacity vanishes as \(f \to 0\) and becomes proportional to the average out-degree as \(f \to \infty\).
Topology, fragmentation, and topography. At intermediate \(f\), small-world and Barabási–Albert networks have a larger metapopulation capacity than rings, with settlement concentrated in the hubs. On modular networks the kernel develops a block structure and the capacity grows with the connection probability between communities; the classical kernel, blind to community membership, overestimates the effects of fragmentation, predicting a much lower total population when all links between communities are removed, whereas in the microscopic model the total population changes much less. Under progressive random isolation of communities, the capacity of the microscopic model decreases steadily. Finally, on digital elevation models of the Ene (Peru) and Kauriala (Nepal) river regions, we bias exploration downhill through \(D_{ij} = D\, g(z_j - z_i)\), with \(z\) the elevation and uphill moves exponentially suppressed. The stationary densities increase smoothly along the elevation gradient and follow the dendritic structure of the drainage network, whereas the classical kernel, which only sees elevation-dependent distances, concentrates the population in low-lying areas and needs a different \(\alpha\) for each region.



