Significance
Lévy walks are common biological movements. However, the functional advantages of Lévy walks emerging near a critical point are poorly understood. We modeled Lévy walks based on nonlinear dynamical systems that were the determinants of locomotion. We showed that there could be functional advantages associated with Lévy walks emerging near a critical point, including a large dynamic range to stimuli and highly flexible switching between exploitation and exploration. Moreover, we empirically confirmed these functional advantages by analyzing movement trajectories of freely moving Drosophila larvae. These findings suggested that commonly observed Lévy walks emerge near a critical point and can be explained based on these functional advantages.
Keywords: random search, criticality, nonlinear dynamics, autonomous agent, movement ecology
Abstract
A special class of random walks, so-called Lévy walks, has been observed in a variety of organisms ranging from cells, insects, fishes, and birds to mammals, including humans. Although their prevalence is considered to be a consequence of natural selection for higher search efficiency, some findings suggest that Lévy walks might also be epiphenomena that arise from interactions with the environment. Therefore, why they are common in biological movements remains an open question. Based on some evidence that Lévy walks are spontaneously generated in the brain and the fact that power-law distributions in Lévy walks can emerge at a critical point, we hypothesized that the advantages of Lévy walks might be enhanced by criticality. However, the functional advantages of Lévy walks are poorly understood. Here, we modeled nonlinear systems for the generation of locomotion and showed that Lévy walks emerging near a critical point had optimal dynamic ranges for coding information. This discovery suggested that Lévy walks could change movement trajectories based on the magnitude of environmental stimuli. We then showed that the high flexibility of Lévy walks enabled switching exploitation/exploration based on the nature of external cues. Finally, we analyzed the movement trajectories of freely moving Drosophila larvae and showed empirically that the Lévy walks may emerge near a critical point and have large dynamic range and high flexibility. Our results suggest that the commonly observed Lévy walks emerge near a critical point and could be explained on the basis of these functional advantages.
Lévy walks are a special class of random walks with step lengths that follow a power-law distribution where is a power-law exponent. Lévy walks are observed in a variety of biological movements and agents, ranging from cells and insects to mammals, humans, and even memory retrievals in human cognition (1–8). Lévy walks are composed of many short steps and rare, long straight movements. This characteristic leads to more efficient searching or foraging strategies than normal random walks, so-called Brownian walks, when the targets (e.g., food, mates, or habitats) are unpredictably and sparsely distributed in the environment (9–12). According to the Lévy walk foraging hypothesis, evolution through natural selection can therefore explain why Lévy walks are widespread in biological movements.
However, there has been a recent debate about the origin of Lévy walks. Some findings suggest that Lévy walks might also be epiphenomena arising from interactions with a complex environment (13, 14). For example, the Lévy walks observed in the movements of plant seeds are thought to result from interactions between wind turbulence and seed shape. Thus, why Lévy walks are a common mode of biological movement and how they are generated remain controversial. One of the causes of this controversy is uncertainty about the mechanism (e.g., stochastic decisions and environment) that generates Lévy walks and their advantages (e.g., foraging efficiency). Understanding why Lévy walks are prevalent in biological movements therefore requires determining how Lévy walks emerge based on biological mechanisms and what functional advantages they provide.
One of the candidate mechanisms responsible for Lévy walks is the spontaneous dynamics generated by internal states such as nervous systems. Previous studies on spontaneous behavior have revealed that the temporal patterns of the intervals between consecutive turns or rest/movement without a stimulus often follow a power-law distribution (15–17), which is a hallmark of Lévy walks. In addition, the frequent correspondence of movement trajectories of some animal species in a featureless environment to Lévy walks has suggested that Lévy walks are generated intrinsically (18, 19). Moreover, the revelation by a recent study that Drosophila larvae exhibit Lévy walks even when their sensory neurons are blocked is strong evidence that Lévy walks are intrinsically generated, especially in the central pattern generators (CPGs) of the brain (20).
Such temporal organizations of spontaneous behavior or movement patterns in Lévy walks in some species could be based on nonlinear dynamics or chaotic dynamics (15, 21–23). Theoretical studies have shown that low-dimensional dynamical systems can produce Lévy walks (24, 25). Furthermore, power-law distributions are often observed in a system close to a critical point between order and disorder (26). Importantly, being near a critical point can lead to functional advantages such as optimal dynamic ranges, high sensitivity, and computational ability, and so on (26, 27). In particular, optimal dynamic ranges provide the ability to code information spanning several orders of magnitude, which is essential for biological systems to respond to physical stimuli (27). These findings suggest that Lévy walks emerging near a critical point may benefit from criticality. However, what advantages they may confer to biological agents remains poorly understood.
In this study, we explored the functional advantages of Lévy walks emerging near a critical point by using a model composed of simple, deterministic, nonlinear systems for generating movements. We found that Lévy walks near a critical point can have a large dynamic range for environmental stimuli. This large dynamic range implies that a system producing Lévy walks near a critical point can functionally process information and can change the movement patterns in response to several orders of stimuli. Moreover, the ability of Lévy walks to switch between exploration and exploitation based on the kind of sensory information suggests that Lévy walks provide an advantage that enables responses adapted to environmental conditions. Finally, we analyzed the movement trajectories of Drosophila larvae and confirmed that their Lévy walks could emerge near a critical point and had a large dynamic range and high flexibility that were consistent with our theoretical models. These findings provide insights into understanding how and why Lévy walks emerge in biological systems.
Results
Movements Obtained from the Model.
We modeled the movements of autonomous agents (e.g., individual animals) based on their internal states. The CPGs in brains have been shown to produce locomotion patterns even without external stimuli (28–30). Because CPGs are composed of coupled oscillators (28, 29), it is reasonable to construct a minimal model composed of a few (two in the main text) nonlinear oscillators, and , of the agents (see Materials and Methods), as pointed out by ref. 31. In Drosophila larvae, there are two neural circuits, the thoracic and abdominal networks, that produce search behavior (30). Their activities can thus be considered to correspond to and . Because the signature of chaos has been found in movements and neuronal firings (22, 32, 33), we required the nonlinear function of the model to be chaotic dynamics (here, a tent map for tractability). Moreover, because connections between elements are ubiquitous in biological systems, the model included a parameter that described the coupling (connection) strength between elements in the system. For example, corresponded to the strength of interaction between neural units. We then considered the motor outputs from the dynamics, and (Fig. 1A). In the CPGs of some taxa, some neuronal units are connected to right and left motor outputs (28). In other cases, the two variables could be the activities of two neural circuits in CPGs. For example, when the thoracic and abdominal networks in Drosophila larvae have symmetrical outputs, they exhibit straight-line crawls. In contrast, when the outputs are asymmetric, they exhibit turnings (30). Based on these observations, we assume that movement is generated from the turning angle of the movements at each time (Fig. 1A), where is a constant that connects internal dynamics and outputs (see Materials and Methods). When the two outputs are symmetric, the step corresponds to a straight motion without turns. For simplicity, we assume that the speed of movement is constant. Note that we do not assume any distributions of step lengths in the movements and turning angles.
First, we show some examples of movement trajectories of agents obtained from the model and the dependence of those trajectories on the control parameter (Fig. 1 B–D). When —namely, the components of the systems interacted weakly with each other—the movement was similar to Brownian walks (Fig. 1B). This similarity reflected the fact that the two chaotic oscillators had less influence on each other, and the turning angles could randomly fluctuate as if they were independent random numbers. In contrast, when , the movement was completely ballistic—namely, a straight line (Fig. 1D)—because the two oscillators were completely synchronized () due to the strong interaction strength. Hence and fluctuated in the same manner. At an intermediate level of interaction strength, here , it is apparent that the movement was composed of rare, long, straight movements among many short steps (Fig. 1C). This pattern is characteristic of Lévy walks. The difference of the movement trajectories between and 0.22 was also reflected in the distribution of step lengths (Fig. 1 E and F). A rigorous fitting method and the evaluation of the diffusive properties supported the conclusion that the movement trajectories for and 0.22 were Brownian walks and Lévy walks, respectively (SI Appendix, Fig. S1 and Materials and Methods) (34–36).
An illustration of the internal dynamics and the attractors corresponding to the movements makes it possible to intuitively grasp the mechanisms that produce such movements (Fig. 1 B–D, Insets and SI Appendix, Fig. S2). Note that in Fig. 1 B–D, Insets is proportional to , and thus means that and are synchronized with each other. The internal dynamics that produced the Lévy walk-like movements exhibited intermittent dynamics (Fig. 1 C, Inset). This pattern reflects the fact that intermittent searches with fractal reorientation clocks correspond to Lévy walks (37). In contrast, the dynamics were always noisy for small (Fig. 1 B, Inset) and were entirely absent for large (Fig. 1 D, Inset). These results indicate that the various movement patterns arose from the synchronous and asynchronous dynamics of the internal states.
Phase Diagram.
To elucidate the conditions that are needed for the emergence of Lévy walks in our model, we then drew a phase diagram (Fig. 2) by changing the control parameter and evaluating the internal dynamics and movement patterns. The trajectories for the same parameter set were generated by different initial conditions and (100 replicates). To characterize the internal dynamics, the order parameter of the system was equated to the SD of the distributions of averaged over 100 replicates. The demonstration in Fig. 2 that the order parameter changed drastically from positive standard deviations to zero standard deviations for suggested that the system exhibited a phase transition. This was also a critical point at which the synchronized state changed from an unstable state to a stable one with increasing . This transition can be characterized by the linear stability of (SI Appendix).
We also conducted a classification of the movements obtained with different and initial conditions using the same statistical fitting techniques used in the above section. The results showed that the region of emergence of Lévy walks was poised near the critical point between the synchronous and asynchronous phases, which correspond to straight movements and Brownian walks, respectively (Fig. 2). At , the ratio of walks was maximized, and the estimated power-law exponent was (mean SD).
The transition occurred via intermittent patterns, as shown in Fig. 1 C, Inset, which is called a blowout bifurcation (38–40). Near the critical point of the bifurcation, exhibited unbiased random walks. According to random walk theory, the return time from a value to the same value follows a power-law distribution. Thus, could exhibit intermittent behavior (40).
Because the search efficiency depends on the distribution of step lengths and the diffusiveness (9, 10), the Lévy walkers developed by our model also received the benefits of a search efficiency higher than that achieved with Brownian walks. In addition, it is worth noting that the trajectories could change as functions of the initial internal states, and , while keeping the characteristics of the movement patterns mostly in the parameter range (Fig. 1 B–D and SI Appendix, Fig. S3). This possibility can explain the variability that is often observed in animal decision-making (15, 41).
Moreover, we confirmed that the emergence of Lévy walks near a criticality is apparent in other models, including a model based on different or logistic maps (i.e., different nonlinear function form ) (SI Appendix, Figs. S4 and S5) (42), global coupled maps (i.e., many components) (SI Appendix, Fig. S6) (43), and noise-additive models (SI Appendix, Fig. S7).
Optimal Dynamic Range.
Once we had modeled the Lévy walks emerging near a critical point based on biological assumptions, we explored the functional advantages, except for searching efficiency under uninformed conditions. The demonstration that some complex systems sitting near a critical point can have large dynamic range means that they can code information spanning several orders of magnitude (26, 27). This characteristic is an advantage for information processing, and thus we expect that a model exhibiting Lévy walks will also have a large dynamic range.
To investigate dynamic ranges, we added perturbations (i.e., stimuli) of different amplitudes to the internal dynamics and then observed the movement trajectories (Fig. 3A; see the details in Materials and Methods). First, we evaluated the response as the distance between the positions of the agent with and without the perturbation. Fig. 3B shows the dependence of on . In the region below the critical point (i.e., ), was insensitive to perturbations because the stimuli were masked by the highly spontaneous, variable activities. In contrast, although in the region above the critical point () could change in response to stimuli, it could respond only to large stimuli. Near the critical point, could change in response to stimuli several orders of magnitude in size. To evaluate these characteristics, we calculated the dynamic range (Fig. 3 C, Inset and Materials and Methods). Fig. 3C shows that the dynamic range was largest near the critical point for various . This result suggested that Lévy walks had an optimal dynamic range and could respond to the stimuli of several orders of magnitude in size. These characteristics imply that systems producing Lévy walks near a critical point have information about stimuli and can functionally process that information. In addition, Lévy walks have large for most (Fig. 3B). This indicates that an agent can have high sensitivity to the stimuli and drastically change its movements. In addition to having an optimal dynamic range, an agent at a critical point has the ability to change its movement in response to stimuli. For example, when an agent obtains novel information about the presence of new resources such as food or habitat, it should change its originally planned movement trajectory. In another example, when an agent receives a stimulus about the presence of predators, it should avoid them by changing its original movement trajectory according to the intensity of the signal. Our results suggested that Lévy walks emerging near a critical point could deal with these situations.
Adaptive Switching between Exploitation and Exploration.
Whereas uninformed animals should exhibit random searches such as Lévy walks under many conditions (1), animals also need to switch between exploitation and exploration in response to sensory information about the environment (44). For instance, when they obtain information about the presence of targets close to them, they may undertake an area-restricted search for the nearby place (i.e., exploitation). In contrast, when they obtain information about the absence of targets, they may give up searching for the nearby place and look for a new place (i.e., exploration). Such switching based on sensory information allows searchers to obtain more targets (45).
To reveal the relationship between adaptive switching and criticality, we analyzed the dependence of movement patterns on a stimulus parameter (see Material and Methods). The distance between the position where the agent received a stimulus and the position after time was calculated to quantify the degree of change of movements, namely, switching between exploitation and exploration (Fig. 4A). A small means that the agents, after receiving the stimulus, stayed near the place where they received the stimulus, and vice versa. Therefore, when many targets are near the agent, a small is a better strategy (i.e., exploitation), whereas a large is a better strategy (i.e., exploration) when there are no targets near the agent. Fig. 4B shows the dependence of on the stimulus parameter . Whereas the for Brownian walks (small ) and straight movements () was less sensitive to stimuli, the for Lévy walks () could respond to a wide variety of stimuli. As we did in the previous section, we defined the dynamic range of (see details in Fig. 4 C, Inset and Materials and Methods). The large dynamic range of agents near the critical point (Fig. 4C) suggested that Lévy walks emerging near a critical point could change the movement patterns according to information about the type of stimuli (e.g., amount of food). We also investigated the response range to determine how much the response of an agent could vary as a function of the stimulus parameter. The indication in Fig. 4D that agents near the critical point have a large response range suggested that Lévy walks could flexibly switch between exploration and exploitation based on the types of stimuli they receive. This flexibility reflects the fact that the internal dynamics fluctuates intensely when is below the critical point (Fig. 1 B, Inset), and these fluctuations cause numerous turns, irrespective of . In contrast, the stable internal dynamics for above the critical point produces straight movements (i.e., few turns), even in the presence of large . Movements near the critical point have the potential ability to switch between exploitation and exploration thanks to the small positive Lyapunov exponents (SI Appendix, Fig. S8).
Verification with Empirical Data.
To verify our model, we used empirical datasets of movements of Drosophila larvae exhibiting Lévy walks from ref. 20, as shown in Fig. 5A. The exponents of the truncated power-law distributions averaged 1.59 0.45 (mean SD, ), which is similar to the exponent of 1.55 0.06 in the present model with (see Phase Diagram).
We first investigated whether the time series of turning angles (Fig. 5B) was generated from nonlinear systems or stochastic processes. To make this determination, we used a nonlinear prediction method with a parameter controlling the nonlinearity of the prediction model (see the details in Materials and Methods) (46, 47). If the time series was generated from nonlinear systems, the prediction accuracy would be higher for the nonlinear prediction () than for the linear one () (Fig. 5C). We found that the nonlinear predictions were better than the linear ones in 86.3% of the time series (251 of 291). Moreover, the differences between the nonlinear and linear predictions were found to be statistically significant in 48.1% of the time series (140 of 291). These results suggested that most of the time series were generated through nonlinear systems rather than via stochastic processes.
Once we had confirmed the nonlinearity of the turning angles, we calculated the largest Lyapunov exponents of these time series and found that they were 0.13 ± 0.15 (mean ± SD) (SI Appendix, Fig. S9). In addition, the largest Lyapunov exponents of time series obtained from the proposed model with and 0.22 were 0.32 ± 0.14 and 0.07 ± 0.04, respectively. This result suggested that some of the empirical time series could be generated from a system near a critical point.
Finally, we analyzed how perturbations could change the movement trajectories of empirical data. To carry out this analysis, we conducted a data-based simulation based on a twin surrogate algorithm (see details in Materials and Methods and SI Appendix) (48). For comparison, we also conducted the same analyses on time series obtained from the present model ( and 0.22). Fig. 5 D and E shows the response for the cases of small and large , respectively. In the empirical data and the Lévy walk model, the for large perturbations was substantially larger than the for small perturbations. This difference suggests that Lévy walks by Drosophila larvae have large dynamic ranges as well as the Lévy walk model. Fig. 5 F and G shows the response for the cases of small and large , respectively. Whereas the Brownian walks model was insensitive to perturbation size, the of the empirical data could change in response to the stimulus parameter (Fig. 5 F and G). This flexibility is reflected in Fig. 5H, which shows that the empirical (difference of between the cases of small and large ) was larger than the for the Brownian walk model. This suggests that the Lévy walks in Drosophila larvae can also change movement patterns. These results are qualitatively consistent with the predictions from our theoretical analysis. The difference of and between the empirical movements and the Lévy walk model observed in Fig. 5 D–H can be attributed to the difference of the diffusion property. The mean exponent of the mean squared displacement (MSD) for each group condition in the empirical data ranged from 0.94 to 1.41 (20), whereas the exponent of the Lévy walk model was 1.73 up to (SI Appendix, Fig. S1). It is thus plausible that a Lévy walk model with a higher diffusivity will have higher and .
Discussion
In the present study, we modeled Lévy walks based on dynamical systems such as CPGs to address the questions of why, in terms of functional advantages, animals often exhibit Lévy walks. We showed that Lévy walks emerging near a critical point can have large dynamic ranges and be highly flexible (Figs. 3 and 4). In addition, we confirmed these results by using empirical movement data. Based on these results, we propose that Lévy walks are commonplace because of the functional advantages they derive from being near a critical point.
The mechanisms that generate biological Lévy walks can be classified into two types: mechanisms based on interaction with environments and those based on internal states. Although the former mechanisms are consistent with cases of Lévy walks observed in biological movements (14), the empirical evidence for intrinsically generated Lévy walks has been accumulating (18–20). Theoretical studies on search efficiency have implicitly assumed that the movement patterns are caused by intrinsic mechanisms. However, those studies have focused only on the probability distribution of the step lengths and turning angles, and they have thus ignored the intrinsic generative mechanisms (9, 10, 12). When one tries to fully understand why Lévy walks are widely observed in biological systems, it is essential to explore how the brain or systems related to behavior can produce Lévy walks intrinsically (23, 31, 49, 50). Here, we assumed the simplest deterministic nonlinear model for intrinsically generated movements. Nevertheless, the produced movement patterns were complex enough to model the movements in real organisms and varied from Brownian walks to Lévy walks and ballistic movements, depending on the parameters (Figs. 1 and 2 and SI Appendix, Fig. S3). This variability reflects the synchronous and asynchronous dynamics of internal states that are ubiquitous in the brain (51). Whereas animals with high cognitive ability may adopt Lévy walks based on rational decision-making (49), it is reasonable that animals with low cognitive ability, such as insects, adopt a simpler mechanism comprising nonlinear chaotic oscillators, as shown in our empirical analysis (Fig. 5). The fact that only one parameter, the coupling strength, is required for controlling movement patterns in our model suggests that it is relatively easy to obtain and maintain Lévy walks through natural selection, in contrast to other mechanisms that involve many parameters.
It has been shown that power-law distributions, which are characteristic of Lévy walks, are often observed near a critical point in various systems. Examples include self-organized criticality of complex systems (26, 52) or excitable network models of the brain (27). Furthermore, it has already been reported that deterministic chaos can lead to Lévy walks in the context of physics (24, 25). As for search efficiency, the relationship between critical survival density and Lévy walks at the edge of extinction has been reported (53). It should thus be emphasized that the idea of generative mechanisms based on criticality that we proposed here is not novel, although the relationship between biological Lévy walks based on internal states such as CPGs and criticality has not been elucidated.
In our model, the coupling strength in the system can drastically alter movement patterns (Figs. 1 and 2). Theoretical studies have shown that the optimal searching strategy can change as a function of the ecological context, such as the density of targets, risk of predation, and kinds of objects being sought (54–58). Some empirical studies have reported that animals do not always exhibit Lévy walks (3–5). It is therefore possible that the plasticity of spontaneous behavior caused by changing the coupling strength of the systems can lead to adaptive responses to environmental conditions. Moreover, differences in movement patterns can also impact not only the fitness of the agent but also higher systems, such as epidemic dynamics and ecosystems, through interactions with other agents. For instance, Lévy walks allow more resilient prey–predator systems than normal diffusion movements would under degraded conditions (59). Understanding the mechanisms and controllability of Lévy walks can therefore lead to predicting and controlling the consequences in higher systems.
The main advantage of Lévy walks has previously been considered to be their high search efficiency compared to that of Brownian walks (1, 12, 13). Whereas some studies have reported the robustness of the search efficiency of Lévy walks under various conditions (11, 12), a recent study has claimed that the optimal search strategy of Lévy walks with in two or higher dimensions is not robust when nondestructive targets are randomly and sparsely distributed (58). Based on this controversy and the dependence on ecological contexts of the diversity of optimal strategies, optimal foraging could not be the only strong evolutionary force that favors Lévy walks. Our results suggest that Lévy walks near the critical point outperform Brownian walks and ballistic movements within the model in terms of dynamic range and flexibility in changing behavior (Figs. 3 and 4). A large dynamic range makes it possible to distinguish the sizes of perturbations or stimuli in various kinds of information, such as amounts of food or presence of predators. Such information can lead to adaptive responses based on the environment. One such example is the adaptive switching shown in Fig. 4 that clearly led to obtaining more targets (45). As another example, straight movements derived from a small allow the agents to keep away from dangers such as predators. These results are consistent with the fact that optimal information processing can be found near a critical point (26, 27).
In the context of brain dynamics and complex systems, a critical point hypothesis has been proposed (26, 60–64). The hypothesis claims that systems positioned at or near a critical point between ordered and disordered states have various functional advantages ranging from adaptive responses to a fluctuating environment to the production of various scale behaviors and computational abilities (26, 61, 65). It is therefore reasonable that various biological systems, including brains, gene regulatory networks, and cell and animal groups that exhibit collective motions, carry the signature of being near a critical point (26, 60, 62, 63). Likewise, in our model, agents with internal states near the criticality between stable synchronous states (i.e., order) and chaotic asynchronous states (i.e., disorder) receive benefits including high search efficiency, large dynamic range, high sensitivity, and high flexibility. The high search efficiency in an uninformed condition (9) is a result of the large variance in step length distributions (Fig. 1F), that is, the generation of short to long step lengths, which can be classified as an advantage in large repertoires of behavior (26). The large dynamic range, high sensitivity, and adaptive switching come from the characteristics of instability and robustness. Instability requires the system to have a positive Lyapunov exponent, whereas robustness requires a small Lyapunov exponent. A small, positive Lyapunov exponent therefore produces both the ability to change and the high diffusiveness derived from a long step length (SI Appendix, Fig. S8). Differences amplified by high diffusiveness consequently lead to different trajectories and positions in response to stimuli (Fig. 3A). High instability leads to masking small stimuli, whereas high robustness results in insensitivity to stimuli. It is for this reason that, although such properties have been reported in high-dimensional systems (26, 27), they are also observed in low-dimensional systems, such as the present one. Switching behavior can be related to cognitive functions. It has been shown that the critical state in brain dynamics is related to high cognitive abilities (66). Being at a critical point should therefore be a fundamental part of creating adaptive behavior. From these results and from the literature on the critical point hypothesis, the possibility emerges that the main evolutionary force of Lévy walks is not search efficiency. It is worth noting that systems near a critical point receive some kinds of benefits simultaneously, and thus Lévy walks may be widely observed in nature.
Because we have proposed a model for Lévy walks, it is important to strictly identify the core network that plays a role in the Lévy walk generator in the brain and the parameters (e.g., neuromodulators) that control movement patterns (20, 30, 67). Furthermore, although we have focused mainly on spontaneous behavior and behavioral change caused by stimuli, it is crucial to reveal how spontaneous dynamics, sensory inputs, and motor outputs are coupled with each other to be able to comprehensively understand the behavior of biological autonomous agents (68).
Materials and Methods
Model.
To model Lévy walks based on nonlinear dynamics, we consider an autonomous agent with internal states that are composed of a minimal neural network-like system. The system has only two elements, denoted by , and follows nonlinear dynamics with discrete time. The movement of the agent is determined by the internal states (see details below). We then observe the positions of the agents in a continuous two-dimensional (2D) space, and evaluate their movement trajectory.
We assume the update rules of the internal states to be the following equations:
[1] |
[2] |
where is the coupling strength between two components and , and a control parameter of the system in our analysis. For , and are independent of each other, whereas, for , and are the same. Here, we used a tent map as a nonlinear function in each component, because the tent map exhibits chaotic dynamics that can result in the randomness necessary for the random walks we seek here (22). In addition, the tent map is tractable mathematically (the extension for the other form of the function or a larger number of components is described in SI Appendix). We used the following tent map :
where is a parameter that characterizes the deformation of tent maps. In our study, we set , but the main result does not qualitatively depend on (SI Appendix, Fig. S4). The general model for such systems includes globally coupled models that are used for modeling a class of nonlinear systems, including neural networks (43).
Finally, we simply define the movement of the agent determined by and , and assume the absolute angle and the turning angle of the agent at are as follows:
where is a magnitude parameter that regulates the scale of the direction changes. We set equal to because the maximum difference between and should correspond to the largest turning angle, or . Practically, was obtained for each using more than time steps in advance. If equaled zero (i.e., was in a stable region), we set . This scenario is similar to the senario when the maximum difference exceeds zero.
The speed of the movements of the agents is kept constant, and thus we assume that the speed is equal to one unit space per time step. The position of the agent can therefore be updated at each time as follows:
The larger the differences between the two outputs, the larger the turning angles. In contrast, consecutive small differences (e.g., approximately zero) between the outputs can produce movements of straight lines such that . Note that we do not assume any specific probability distribution, including a power-law distribution, and thus the process is completely deterministic. Moreover, the parameter and function form of the system is symmetric for and because we expect unbiased movements to the right and left.
The initial conditions of and were drawn from a uniform distribution randomly and independently. We then ran and abandoned the first steps because of the possibility that the initial state was not on an attractor. We denoted the time after the first steps as . The initial position in the 2D space was set to . Because we considered the environmental space to be featureless with no borders, the agents obtained no stimuli from the environment. Even under such conditions, they could move around in space (Fig. 1 B–D). Their movement was therefore classified as spontaneous behavior resulting from internal states such as brain dynamics.
Evaluation of Movement Trajectory.
To evaluate the movement trajectories produced by the agents, we used a rigorous method for fitting probability distributions to the step length distribution as well as empirical studies (34–36). Humphries et al. (36) proposed a robust method for the analysis of movement trajectories in which the 2D trajectory is mapped onto two 1D axes, X and Y. We analyzed only one of these axes, because our model is unbiased in terms of the X and Y axes. The step lengths of the consecutive and same (i.e., no turns) directional movements were then evaluated based on a maximum likelihood estimation (see the details in ref. 35). Note that the minimum step length was set to 1 in the analysis because we knew that it was 1 in the simulation.
Moreover, to characterize the property of diffusion, we calculated the MSD defined as follows:
where represents the ensemble average for trajectories with different initial states.
Evaluation of Dynamic Ranges.
To analyze the dynamic ranges, we added a stimulus with an amplitude to the internal dynamics at in the form and , where is a random number drawn from a uniform distribution . Note that, if or fell out of the domain , the random number was generated again. We calculated the response to as the difference between the two positions of and (Fig. 3A). Then, to evaluate how to respond to the stimulus, the dynamic range was defined as , where is the size of a perturbation that produces (Fig. 3 C, Inset).
For switching behavior, we started the dynamics from initial states and , where is a parameter controlling the types of stimuli, and is a uniform random number . A small generates a straight movement because is close to 0. In contrast, a large can generate a turn. The distance between and was calculated to quantify the degree of exploitation/exploration (Fig. 4A). In addition to , we defined the dynamic range for as , where is a stimulus parameter that produces .
Analysis on Empirical Data.
To verify the result from the proposed model, we analyzed time series of turning angles in the movement trajectories from a published dataset of freely moving Drosophila larvae (20, 69). Our analysis included all conditions such as with/without blocked neurons and temperatures. To compare with the results of the constant speed model, we transformed the raw data and redefined the direction change angles for each constant step length. We used 3 times the mean movement distance per second as constant step length. For other values, the main results did not change qualitatively. In addition, movements with unusually fast speed (here more than 3 times the mean speed), which is considered a tracking error, were excluded from the time series. Finally, we removed time series with fewer than 100 data points and used 291 of 304 time series to investigate nonlinearity.
We analyzed time series by using a state space reconstruction method based on Takens’ embedding theorem (46). In the analysis, the original time series , where is the length of time series, was transformed into lagged coordinate vectors , where is an embedding dimension and is a time lag (here we used ). To obtain the embedding dimension of time series that best estimates dimension of attractor manifold, we used a simplex projection (the range of was 1 to 10) (47). We then determined whether the time series was generated from nonlinear dynamics or stochastic processes by using S-map with the best embedding dimension (47). S-map is a prediction method with a parameter that controls the nonlinearity of the prediction model. For , the prediction model produces linear predictions using data points with equal weights. In contrast, the model for uses locally weighted (i.e., state dependent) data points for prediction. Thus, if the model with produces higher prediction accuracy (correlation coefficient between observed and predicted time series), we can conclude that the time series is derived from nonlinear dynamics. In addition, we conducted a statistical test using phase-randomized (i.e., linear) surrogate time series to investigate significant increases of , where is a value that produces the maximum . Then, we calculated values by identifying the position of empirical among surrogate data (100 replicates). Once we confirmed that a time series was generated from nonlinear dynamics, we calculated the largest Lyapunov exponents by using Kantz algorithm (SI Appendix, Fig. S9A) (70). In the analysis, we used the embedding dimension estimated by simplex projection. Likewise, Kantz algorithm was used for the time series from the proposed model to compare the Lyapunov exponents.
Finally, to reveal responses to perturbations in real organisms, we developed a data-based method based on the idea of the twin surrogate method (48). This makes it possible to simulate the changes of time series by perturbations only from observational data. After we constructed lagged coordinated vectors from empirical time series by using the best , we looked for indistinguishable points in reconstructed phase space. These points are called twins (see the details in SI Appendix). By randomly switching the trajectory to another trajectory at the point with a twin pair, we could generate another time series from the same system (i.e., attractor) with the original time series (see the details in SI Appendix). This method is an original twin surrogate method (48).
To examine for the small case, we started with a randomly chosen point, and then we generated a subsequent time series with the twin surrogate method. Based on the generated time series, a movement trajectory was created and compared to the position of the original movement trajectory with the same initial point after a time . In the case of a large perturbation (corresponding to the large case), the starting point was randomly selected from the points of the embedded vectors that fell within the top 5% of the distribution of , where means the Euclidean norm, and subsequent time series were generated with the twin surrogate method and similarly compared to the original movement trajectory. To examine behavioral switching according to the type of stimulus, we randomly selected initial values from the bottom 5% and top 5% of the distribution of to correspond to the small and large case, respectively (Fig. 4). We then generated subsequent time series with the twin surrogate method in order to calculate the distance between the initial position and the position after . In these analyses, we used 100 replications for each original time series. See the details of this method in SI Appendix.
Supplementary Material
Acknowledgments
I thank two anonymous referees for helpful comments. I also thank M. Otake-Matsuura, M. Shiraishi, Y. Katada, L. Kuæmierz, and T. Toyoizumi for fruitful discussions, and D. W. Sims for helpful comments on the manuscript. M.S.A. was supported by Japan Society for the Promotion of Science KAKENHI Grant JP18K18140.
Footnotes
The author declares no competing interest.
This article is a PNAS Direct Submission.
This article contains supporting information online at https://www.pnas.org/lookup/suppl/doi:10.1073/pnas.2001548117/-/DCSupplemental.
Data Availability.
All data analyzed in this study are available in Dryad (http://doi.org/10.5061/dryad.7m0cfxpq0) (69).
References
- 1.Viswanathan G. M., da Luz M. G. E., Raposo E. P., Stanley H. E., The Physics of Foraging: An Introduction to Random Searches and Biological Encounters (Cambridge University Press, 2011). [Google Scholar]
- 2.Harris T. H., et al. , Generalized Lévy walks and the role of chemokines in migration of effector CD8+ T cells. Nature 486, 545–548 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Huda S., et al. , Lévy-like movement patterns of metastatic cancer cells revealed in microfabricated systems and implicated in vivo. Nat. Commun. 9, 4539 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Humphries N. E., et al. , Environmental context explains lévy and brownian movement patterns of marine predators. Nature 465, 1066–1069 (2010). [DOI] [PubMed] [Google Scholar]
- 5.Raichlen D. A., et al. , Evidence of Lévy walk foraging patterns in human hunter–gatherers. Proc. Natl. Acad. Sci. U.S.A. 111, 728–733 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Reynolds A., Ceccon E., Baldauf C., Medeiros T. K., Miramontes O., Lévy foraging patterns of rural humans. PLoS One 13, e0199099 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Kello C. T., et al. , Scaling laws in cognitive sciences. Trends Cogn. Sci. 14, 223–232 (2010). [DOI] [PubMed] [Google Scholar]
- 8.Rhodes T., Turvey M. T., Human memory retrieval as Lévy foraging. Phys. A. Stat. Mech. Appl. 385, 255–260 (2007). [Google Scholar]
- 9.Viswanathan G. M., et al. , Optimizing the success of random searches. Nature 401, 911–914 (1999). [DOI] [PubMed] [Google Scholar]
- 10.Bartumeus F., da Luz M. G. E., Viswanathan G. M., Catalan J., Animal search strategies: A quantitative random-walk analysis. Ecology 86, 3078–3087 (2005). [Google Scholar]
- 11.Wosniack M. E., Santos M. C., Raposo E. P., Viswanathan G. M., da Luz M. G. E., Robustness of optimal random searches in fragmented environments. Phys. Rev. E 91, 052119 (2015). [DOI] [PubMed] [Google Scholar]
- 12.Wosniack M. E., Santos M. C., Raposo E. P., Viswanathan G. M., da Luz M. G. E., The evolutionary origins of Lévy walk foraging. PLoS Comput. Biol. 13, e1005774 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Reynolds A., Liberating Lévy walk research from the shackles of optimal foraging. Phys. Life Rev. 14, 59–83 (2015). [DOI] [PubMed] [Google Scholar]
- 14.Reynolds A. M., Current status and future directions of Lévy walk research. Biol. Open 7, bio030106 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Alexander M., Hsieh C.-h., George S., Brembs B., Order in spontaneous behavior. PLoS One 2, e443 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Proekt A., Banavar J. R., Maritan A., Pfaff D. W., Scale invariance in the dynamics of spontaneous behavior. Proc. Natl. Acad. Sci. U.S.A. 109, 10564–10569 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Wearmouth V. J., et al. , Scaling laws of ambush predator ‘waiting’ behaviour are tuned to a common ecology. Proc. R. Soc. B Biol. Sci. 281, 20132997 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Kölzsch A., et al. , Experimental evidence for inherent Lévy search behaviour in foraging animals. Proc. R. Soc. B Biol. Sci. 282, 20150424 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Nagaya N., et al. , Anomalous diffusion on the servosphere: A potential tool for detecting inherent organismal movement patterns. PLoS One 12, e0177480 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Sims D. W., Humphries N. E., Hu N., Medan V., Berni J., Optimal searching behaviour generated intrinsically by the central pattern generator for locomotion. eLife 8, e50316 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Blaine J. C., Is animal behaviour chaotic? Evidence from the activity of ants. Proc. R. Soc. Lond. Series B Biol. Sci. 244, 253–259 (1991). [Google Scholar]
- 22.Reynolds A. M., Bartumeus F., Kölzsch A., Van De Koppel J., Signatures of chaos in animal search patterns. Sci. Rep. 6, 23492 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Gutiérrez E. D., Cabrera J. L., A neural coding scheme reproducing foraging trajectories. Sci. Rep. 5, 18009 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Geisel T., Thomae S., Anomalous diffusion in intermittent chaotic systems. Phys. Rev. Lett. 52, 1936–1939 (1984). [Google Scholar]
- 25.Shlesinger M. F., Zaslavsky G. M., Klafter J., Strange kinetics. Nature 363, 31–37 (1993). [Google Scholar]
- 26.Munoz M. A., Colloquium: Criticality and dynamical scaling in living systems. Rev. Mod. Phys. 90, 031001 (2018). [Google Scholar]
- 27.Kinouchi O., Copelli M., Optimal dynamical range of excitable networks at criticality. Nat. Phys. 2, 348–351 (2006). [Google Scholar]
- 28.Ijspeert A. J., Central pattern generators for locomotion control in animals and robots: A review. Neural Netw. 21, 642–653 (2008). [DOI] [PubMed] [Google Scholar]
- 29.Marder E., Bucher D., Schulz D. J., Taylor A. L., Invertebrate central pattern generation moves along. Curr. Biol. 15, R685–R699 (2005). [DOI] [PubMed] [Google Scholar]
- 30.Berni J., Genetic dissection of a regionally differentiated network for exploratory behavior in Drosophila larvae. Curr. Biol. 25, 1319–1326 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Nepomnyashchikh V. A., Podgornyj K. A., Emergence of adaptive searching rules from the dynamics of a simple nonlinear system. Adapt. Behav. 11, 245–265 (2003). [Google Scholar]
- 32.Hayashi H., Ishizuka S., Ohta M., Hirakawa K., Chaotic behavior in the onchidium giant neuron under sinusoidal stimulation. Phys. Lett. A 88, 435–438 (1982). [Google Scholar]
- 33.Mpitsos G. J., Burton R. M. Jr, Creech H. C., Soinila S. O., Evidence for chaos in spike trains of neurons that generate rhythmic motor patterns. Brain Res. Bull. 21, 529–538 (1988). [DOI] [PubMed] [Google Scholar]
- 34.Clauset A., Shalizi C. R., Newman M. E. J., Power-law distributions in empirical data. SIAM Rev. 51, 661–703 (2009). [Google Scholar]
- 35.Humphries N. E., Weimerskirch H., Queiroz N., Southall E. J., Sims D. W., Foraging success of biological Lévy flights recorded in situ. Proc. Natl. Acad. Sci. U.S.A. 109, 7169–7174 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Humphries N. E., Weimerskirch H., Sims D. W., A new approach for objective identification of turns and steps in organism movement data relevant to random walk modelling. Methods Ecol. Evol. 4, 930–938 (2013). [Google Scholar]
- 37.Bartumeus F., Levin S. A., Fractal reorientation clocks: Linking animal behavior to statistical patterns of search. Proc. Natl. Acad. Sci. U.S.A. 105, 19072–19077 (2008). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Arkady S. P., Grassberger P., Symmetry breaking bifurcation for coupled chaotic attractors. J. Phys. A Mat. Gen. 24, 4587–4597 (1991). [Google Scholar]
- 39.Ott E., Sommerer J. C., Blowout bifurcations: The occurrence of riddled basins and on-off intermittency. Phys. Lett. A 188, 39–47 (1994). [Google Scholar]
- 40.Pikovsky A., Kurths J., Rosenblum M., Kurths J., Synchronization: A Universal Concept in Nonlinear Sciences (Cambridge University Press, 2003), Vol. 12. [Google Scholar]
- 41.Brembs B., Towards a scientific concept of free will as a biological trait: Spontaneous actions and decision-making in invertebrates. Proc. R. Soc. B Biol. Sci. 278, 930–939 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.May R. M., Simple mathematical models with very complicated dynamics. Nature 261, 459–467 (1976). [DOI] [PubMed] [Google Scholar]
- 43.Kaneko K., Clustering, coding, switching, hierarchical ordering, and control in a network of chaotic elements. Phys. D Nonlinear Phenom. 41, 137–172 (1990). [Google Scholar]
- 44.Hills T. T., et al. , Exploration versus exploitation in space, mind, and society. Trends Cogn. Sci. 19, 46–54 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Benhamou S., How many animals really do the Lévy walk? Ecology 88, 1962–1969 (2007). [DOI] [PubMed] [Google Scholar]
- 46.Takens F., “Detecting strange attractors in turbulence” in Dynamical Systems and Turbulence, Warwick 1980, Rand D. A., Young L.-S., Eds. (Springer, 1981), pp. 366–381. [Google Scholar]
- 47.Hsieh C.-h., Glaser S. M., Lucas A. J., Sugihara G., Distinguishing random environmental fluctuations from ecological catastrophes for the North Pacific Ocean. Nature 435, 336–340 (2005). [DOI] [PubMed] [Google Scholar]
- 48.Thiel M., Romano M. C., Kurths J., Rolfs M., Kliegl R., Twin surrogates to test for complex synchronisation. EPL (Europhysics Letters) 75, 535–541 (2006). [Google Scholar]
- 49.Namboodiri V. M. K., Levy J. M., Mihalas S., Sims D. W., Shuler M. G. H., Rationalizing spatial exploration patterns of wild animals and humans through a temporal discounting framework. Proc. Natl. Acad. Sci. U.S.A. 113, 8747–8752 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Kuśmierz Ł., Toyoizumi T., Emergence of Lévy walks from second-order stochastic optimization. Phys. Rev. Lett. 119, 250601 (2017). [DOI] [PubMed] [Google Scholar]
- 51.Buzsaki G., Rhythms of the Brain (Oxford University Press, 2006). [Google Scholar]
- 52.Bak P., Tang C., Wiesenfeld K., Self-organized criticality: An explanation of the 1/f noise. Phys. Rev. Lett. 59, 381–384 (1987). [DOI] [PubMed] [Google Scholar]
- 53.Faustino C. L., Da Silva L. R., Da Luz M. G. E., Raposo E. P., Viswanathan G. M., Search dynamics at the edge of extinction: Anomalous diffusion as a critical survival state. EPL (Europhysics Letters) 77, 30002 (2007). [Google Scholar]
- 54.Bartumeus F., Fulco U. L., Catalan J., Lyra M. L., Viswanathan G. M., Optimizing the encounter rate in biological interactions: Lévy versus Brownian strategies. Phys. Rev. Lett. 88, 097901 (2002). [DOI] [PubMed] [Google Scholar]
- 55.Palyulin V. V., Chechkin A. V., Metzler R., Lévy flights do not always optimize random blind search for sparse targets. Proc. Natl. Acad. Sci. U.S.A. 111, 2931–2936 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Abe M. S., Shimada M., Lévy walks suboptimal under predation risk. PLoS Comput. Biol. 11, e1004601 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Mizumoto N., Abe M. S., Dobata S., Optimizing mating encounters by sexually dimorphic movements. J. R. Soc. Interface 14, 20170086 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Levernier N., Textor J., Bénichou O., Voituriez R., Inverse square Lévy walks are not optimal search strategies for d 2. Phys. Rev. Lett. 124, 080601 (2020). [DOI] [PubMed] [Google Scholar]
- 59.Dannemann T., Boyer D., Miramontes O., Lévy flight movements prevent extinctions and maximize population abundances in fragile Lotka–Volterra systems. Proc. Natl. Acad. Sci. U.S.A. 115, 3794–3799 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Mora T., Bialek W., Are biological systems poised at criticality? J. Stat. Phys. 144, 268–302 (2011). [Google Scholar]
- 61.Hidalgo J., et al. , Information-based fitness and the emergence of criticality in living systems. Proc. Natl. Acad. Sci. U.S.A. 111, 10095–10100 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Krakauer D. C., Daniels B. C., Flack J. C., Control of finite critical behaviour in a small-scale social system. Nat. Commun. 8, 14301 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Daniels B. C., et al. , Criticality distinguishes the ensemble of biological regulatory networks. Phys. Rev. Lett. 121, 138102 (2018). [DOI] [PubMed] [Google Scholar]
- 64.Feinerman O., Pinkoviezky I., Gelblum A., Fonio E., Gov N. S., The physics of cooperative transport in groups of ants. Nat. Phys. 14, 683–693 (2018). [Google Scholar]
- 65.Boedecker J., Obst O., Lizier J. T., Mayer N. M., Asada M., Information processing in echo state networks at the edge of chaos. Theor. Biosci. 131, 205–213 (2012). [DOI] [PubMed] [Google Scholar]
- 66.Ezaki T., dos Reis E. F., Watanabe T., Sakaki M., Masuda N., Closer to critical resting-state neural dynamics in individuals with higher fluid intelligence. Commun. Biol. 3, 52 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Martin J.-R., Faure P., Ernst R., The power law distribution for walking-time intervals correlates with the ellipsoid-body in Drosophila. J. Neurogenet. 15, 205–219 (2001). [DOI] [PubMed] [Google Scholar]
- 68.Friston K., Life as we know it. J. R. Soc. Interface 10, 20130475 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 69.Sims D. W., Humphries N. E., Hu N., Medan V., Berni J., Optimal searching behaviour generated intrinsically by the central pattern generator for locomotion. Dryad. 10.5061/dryad.7m0cfxpq0. Deposited 14 May 2020. [DOI] [PMC free article] [PubMed]
- 70.Hegger R., Kantz H., Schreiber T., Practical implementation of nonlinear time series methods: The TISEAN package. Chaos: An Interdisciplinary J. Nonlinear Sci. 9, 413–435 (1999). [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All data analyzed in this study are available in Dryad (http://doi.org/10.5061/dryad.7m0cfxpq0) (69).