Manuscript Offprint
arXiv:2610.36812Gradient flow of magnetic inclination and intensity as a GPS-free guidance mechanism
Zayed Herma , Philippe Cardin and Andréa Vassilev
Univ. Grenoble Alpes, CEA, Leti, 38000 Grenoble, France
Univ. Grenoble Alpes, CNRS, ISTerre, 38000 Grenoble, France
Abstract. It is well established that some animals, such as sea turtles, sense the Earth's magnetic field and use it as a primary cue for long-distance navigation across the vast and featureless ocean. This remarkable ability has inspired the development of bio-inspired magnetic navigation (BIMN), which seeks to mimic these animals to develop robust and frugal navigation methods. BIMN exploits the Earth's magnetic field, sometimes described as "Nature's GPS", as a natural navigation infrastructure, providing a potential alternative to vulnerable satellite navigation systems. However, unlike geographic coordinates, magnetic coordinates extracted from the Earth's magnetic field do not provide a one-to-one mapping to geographic locations. Different locations can exhibit similar magnetic signatures, creating ambiguity and making BIMN inherently more challenging. Despite this fundamental challenge, we demonstrate that, within predefined regions of the Earth, magnetic inclination and intensity provide sufficient information to navigate to any destination. By formulating BIMN as a gradient flow control and guidance problem, we show that the resulting gradient flow act as current that carries the system and can be controlled to guide it through intermediate waypoints toward the desired destination. The resulting framework provides a GPS-free navigation mechanism with potential applications in both engineering and biology. In engineering, it can be used to establish a geomagnetic navigation infrastructure through which prescribed routes can be defined and followed, while in biology, it can be used to analyse the migration routes of animals known to rely on magnetoreception.
Keywords: GPS-free navigation, bioinspired, magnetoreception, geomagnetic field, control, gradient flow
1. Introduction
The Earth’s magnetic field is one of the few consistently available sources of spatial information across the vast, featureless ocean. Sea turtles undertake remarkable long-distance migrations, suggesting that they may rely heavily on geomagnetic cues for navigation (Walker et al. 2002; Kenneth J. Lohmann and C. M. F. Lohmann 2019). It is well established that these animals sense the Earth’s magnetic field through magnetoreception (Johnsen and Kenneth J. Lohmann 2005), a sensory ability that humans are not believed to possess (Chae et al. 2022). However, despite lacking this natural ability, humans have long exploited the Earth’s magnetic field for navigation. Since the Middle Ages, magnetic needles used as compasses have enabled sailors to navigate across the oceans (Jackson et al. 2000). More recently, technologies such as magnetometers have enabled artificial sensing of the Earth’s magnetic field, allowing autonomous systems to implement navigation strategies inspired by these species. Such geomagnetic navigation provides a robust alternative to satellite-based navigation in GPS-denied environments, particularly because it is inherently resilient to jamming and spoofing. These characteristics have motivated the development of bio-inspired magnetic navigation (BIMN), which aims to provide robust and frugal navigation techniques using the Earth’s naturally available magnetic field (Zhongwei Zhao et al. 2014; Qi, Chen, et al. 2018; Taylor 2018; J. Zhang et al. 2021; Y. Zhang et al. 2021; Gill and Taylor 2024; Herma et al. 2026).
The main challenge in developing BIMN methods lies in the fact that the mechanisms by which these animals use the Earth's magnetic field for navigation remain incompletely understood. Nevertheless, two complementary mechanisms have been proposed to explain their navigation, known in the literature as the magnetic map sense and the magnetic compass sense, in which the Earth's magnetic field provides directional (compass sense) and positional (map sense) information, much like a global positioning system (GPS) (Johnsen and Kenneth J. Lohmann 2005; Kenneth J. Lohmann, C. M. F. Lohmann, and N. F. Putman 2007; Goforth et al. 2025). This is supported by growing evidence that animals likely use magnetic parameters such as intensity, inclination, and occasionally declination, which characterize the Earth's magnetic field (see figure 1(a)) and exhibit spatial variations that can be used for navigation (Dennis et al. 2007; Brothers and Kenneth J. Lohmann 2015). Although no clear consensus has emerged in research on animal navigation regarding the precise interpretation of these two mechanisms (K. Lohmann et al. 2023), their translation into engineering applications generally follows a common practical framework, which can be implemented as follows. First, the magnetic parameters associated with a given destination are memorized, providing a practical representation of the magnetic map sense. These parameters form a set of magnetic coordinates that identifies the destination, analogous to the GPS coordinates used to identify a location on Earth. During navigation, the local magnetic parameters are continuously measured, providing the magnetic coordinates of the current location. A BIMN method can then compare these local magnetic coordinates with those of the destination to infer the direction toward it, as illustrated schematically in figure 1(b). In this way, the method used to infer this direction provides a representation of the magnetic compass sense. The process can be understood through a simple analogy with GPS. In GPS navigation, the current coordinates are continuously compared with the destination coordinates to determine the direction in which to move. Similarly, a lost person may recognize a familiar landmark from far away and move toward it, progressively reducing the visual distance until reaching it. BIMN follows a similar principle. However, unlike GPS coordinates, magnetic parameters do not uniquely identify a location on Earth. Different locations can exhibit similar magnetic signatures, creating ambiguity and making BIMN more challenging. Beyond this non-uniqueness, two additional difficulties arise. First, even when navigation toward the destination is possible, the resulting trajectory may be far from optimal in terms of path length. Second, some regions of the Earth's magnetic field exhibit gradient degeneracy, where the spatial gradients of two magnetic parameters become nearly aligned or nearly vanish. For example, nearly parallel spatial gradients provide limited independent directional information, while weak spatial gradients insufficiently constrain the direction of motion (Boström et al. 2012). In both cases, the navigation method may fail to identify a suitable direction toward the destination. These challenges are shown in figure 1(c) using intensity and inclination as magnetic coordinates. These magnetic parameters are obtained from the International Geomagnetic Reference Field (IGRF) (Beggan et al. 2026), a standard model of the Earth's main magnetic field that is updated every five years using measurements collected worldwide.
The three main difficulties (non-uniqueness of magnetic coordinates, unnecessarily long trajectories, and gradient degeneracy of magnetic parameters) raise a fundamental question about the reliability of BIMN. Most proposed methods do not discuss the validity of their approach across different areas. In other words, they do not characterize magnetic regions in which a given BIMN method is suitable for navigation. Moreover, its ability to generalize even within a specific area is not guaranteed. These methods differ mainly in how they infer the local direction of motion, as if correctly identifying this direction were sufficient, without taking the complexity of the magnetic environment into consideration. Simulations are typically limited to a single trajectory between one starting point and one destination. This serves only to illustrate the feasibility of the proposed approach rather than to demonstrate its general applicability, since successful navigation between one pair of locations does not guarantee successful navigation between other locations in the same region. This leads to the central question addressed in this work: How can we characterize the regions and conditions under which BIMN is reliable? In other words, are there regions and navigation strategies for which navigation from any starting point to any destination is possible without encountering the three difficulties described above?
This study is based on the method proposed in (Herma et al. 2026), which estimates the gradients of magnetic parameters to capture their local spatial variations. It then uses gradient descent to determine the local direction of motion that minimizes the difference between the measured magnetic coordinates and the corresponding target coordinates. This is analogous to navigating toward a familiar landmark by progressively reducing the visual distance to it. While the original method uses gradient descent for navigation, it does not directly address the three main challenges. For example, the method can become trapped in a local minimum due to gradient degeneracy or converge to another global minimum that does not correspond to the actual destination due to the non-uniqueness of magnetic coordinates. We therefore study the more general structure of the resulting gradient flow, which is the set of trajectories generated by the gradient descent dynamics, to enable reliable navigation throughout predefined regions. We show that, within certain regions separated by well-defined frontiers, it is possible to perform BIMN from any initial location to any desired destination. A similar problem has been considered in (Gill and Taylor 2024), where navigable regions are characterized using local stability analysis around the destination. However, the size and shape of these regions depend on the choice of specific navigation parameters, and local stability does not guarantee navigation between arbitrary locations within these regions. In our case, stability near the destination is naturally guaranteed because, under the gradient descent mechanism, the destination acts as an attractor (a stable equilibrium corresponding to a global minimum). We therefore go beyond this local property and characterize regions in which navigation between arbitrary initial and destination locations can be guaranteed. We formulate navigation as a guidance and control problem, where the gradient flow can be seen as a current carrying the system toward the destination, which can be controlled and guided by selecting appropriate intermediate destinations. In particular, we prove that a suitable sequence of intermediate destinations always exists, enabling reliable navigation to the final destination (see section 2). A simulation example illustrates this result and shows how intermediate destinations can be used to guide the system toward the final desired destination. Finally, we compare our results with four iconic sea turtle migration trajectories reported in (N. Putman 2018; Laforge et al. 2026) to assess whether the regions identified in our work are consistent with observed migration paths known to rely on the Earth's magnetic field for navigation (K. J. Lohmann and C. Lohmann 1993; Kenneth J. Lohmann, C. M. F. Lohmann, and N. F. Putman 2007) (see section 3).
As an important practical consequence, the proposed BIMN framework enables the creation of “invisible” magnetic routes, defined by sequences of magnetic waypoints that guide the system along prescribed paths, analogous to conventional air routes in which aircraft navigate through sequences of predefined geographic waypoints. In this way, we provide a basis for further developing an alternative navigation infrastructure that does not depend on satellite positioning. Such an approach may become increasingly important as growing space debris and cascading collisions associated with Kessler syndrome threaten satellite infrastructure and the services that rely on it, including navigation (Kessler and Cour-Palais 1978; Mariappan and Crassidis 2023; Thiele et al. 2026).

(a)

(b)
— Constant Inclination [°] — Constant Intensity [ T]

(c)
Figure 1. (a) Reproduced from (Herma et al. 2026). Illustration of the magnetic field parameters in the (north, east, nadir) reference frame. The inclination (I) is the angle between the magnetic field vector and its horizontal projection , and the declination (D) is the angle between and geographic north. The total field intensity is denoted by F. (b) Schematic illustration of the navigation mechanism. The system memorizes the magnetic parameters at the destination (map sense), , and compares them with those measured at its current position, , to infer the local direction toward the target (compass sense). (c) Illustration that shows examples of the main navigation challenges. The two gray triangles represent locations with identical magnetic parameters, as do the two gray cubes, illustrating the non-uniqueness of magnetic coordinates. The gray circles indicate regions where both magnetic coordinates exhibit nearly vanishing spatial variation, while the gray ellipses indicate regions where they vary in nearly the same direction (parallel isolines). These regions exhibit gradient degeneracy, making navigation toward the destination challenging. Finally, differences in the relative scaling and spatial variation of the magnetic parameters, together with the geometry and curvature of their isolines, can affect the shape and optimality of the navigation path.
2.1. Gradient descent as navigation mechanism
We denote by the magnetic parameters associated with the destination and by the current magnetic parameters. We consider two-dimensional navigation at a fixed altitude above the Earth's surface, where the horizontal position of the system is denoted by . The proposed analysis is independent of the coordinate system used to represent . The position is unknown to the system; only the current magnetic parameters and the memorized destination parameters are known. The current magnetic parameters can be extracted using a three-dimensional magnetometer vector and an accelerometer measuring in the same sensor frame. Assuming that the system moves at a constant velocity, the gravity vector can be measured in the sensor body frame or estimated, thereby providing the vertical direction. The magnetic parameters are then given by in (microtesla),
and
The navigation problem can be formalized as following a path that continuously minimizes the objective function defined as
where is a positive normalization constant that accounts for the different units of inclination (degrees) and intensity (microtesla). For simplicity, we set here. Its utility is discussed in section 2.3. This formulation implicitly encodes the two mechanisms of map sense and compass sense. Minimizing V to nearly zero is equivalent to reaching the destination position defined by , while continuously finding the direction that minimizes it is equivalent to the compass sense. The method proposed in (Herma et al. 2026) to minimize this quantity in equation 1 is based on estimating the gradient, denoted by
The gradient is estimated by comparing the magnetic parameters measured by the system with those predicted from its current estimate. As the system moves, this comparison is used to continuously update the gradient estimate, since the gradient changes from one location to another. In more detail, the change between two consecutive positions during the gradient descent is described by the discrete-time dynamics
where v is the speed of the system, is the sampling period, and is the normalized descent direction, defined as
After the system moves from to , the magnetic parameters at the new position can be approximated using a first-order expansion:
The difference between this predicted value and the actual measurement of provides information that can be used to refine the gradient estimate. In this way, the gradient is continuously updated as the system moves. The key point in this approach is that the descent direction toward the destination, defined in 3, follows the negative gradient of the objective function, . Thus, provides the local direction that reduces the difference between the current magnetic parameters and those associated with the destination . In addition, since the measured magnetic parameters are independent of the system's heading, the gradient estimation can accommodate heading errors. If the estimated heading is biased, the gradient is estimated accordingly, so that the resulting navigation direction remains consistent with the magnetic measurements. This makes the gradient descent navigation approach robust to such errors and to external disturbances, such as wind or ocean currents. It also reflects the bio-inspired nature of the approach, as animals can navigate without relying on a highly precise estimate of their heading.
We generalize this approach from a dynamical systems perspective. Equation 2 can be rewritten as
Taking the limit , we obtain the continuous-time formulation
where
The positive scalar controls the speed of motion without changing the descent direction. For simplicity of the following analysis, we set . The system dynamics then reduce to
Equation (4) therefore describes a gradient flow, i.e., a continuous-time representation of gradient descent in which the system evolves along the negative gradient of the objective function V toward its minimum. This property can be seen by evaluating the variation of along the system trajectory. Since , applying the chain rule gives
Using 4, it follows that
Therefore, the objective function V decreases along the system trajectory, showing that the gradient flow drives the system toward lower values of the objective function. This behavior drives the system toward an equilibrium state, which may correspond to the desired magnetic coordinates (the global minimum of V) or to another local minimum of V, where . Hence, the system no longer moves according to 4. This naturally provides stability at the equilibrium point. Since the system follows the negative gradient of V, any small displacement from the equilibrium causes the system to move toward lower values of V and back toward the equilibrium. Under the assumed smoothness of the magnetic parameters, the stability of the gradient flow can be established using Lyapunov stability theory (Absil and Kurdyka 2006). However, stability alone does not guarantee reliable navigation, as the magnetic coordinates of the destination may not be unique. The potential V may therefore contain multiple global minima or local minima that can trap the system. These problems arise as a consequence of the three main challenges described in the Introduction (section 1).
This motivates the approach proposed in this study, in which we aim to control the dynamics governed by 4. We first note that, once the initial condition corresponding to the starting position is specified, the first differential equation, 4, admits a unique solution by the Cauchy–Lipschitz theorem, provided that the magnetic parameters are sufficiently smooth (Feng et al. 2016). The evolution of the path is governed by the magnetic environment, and the system follows its nominal dynamics, which do not necessarily guarantee convergence toward the desired destination characterized by the target magnetic field . This leads to the question of how to introduce a limited degree of control over this dynamical system while preserving its bio-inspired nature and its dependence on the magnetic environment. The locally measured parameters B and the estimated gradient are dictated by the actual position of the system in the magnetic environment and cannot be changed. In contrast, represents the magnetic coordinates of the desired destination and can be changed to represent another destination, thereby modifying the system trajectory. It is therefore of interest to determine a sequence of physical intermediate waypoints within the magnetic environment that act as a form of control and guide the system toward the desired configuration, for example, by ensuring convergence to the actual destination and avoiding local minima. Since these waypoints belong to the magnetic environment, the bio-inspired nature of the navigation and its dependence on the magnetic environment are preserved. The system then navigates between successive waypoints by minimizing
according to the dynamics
where is the magnetic signature of the ith intermediate waypoint . The use of successive intermediate waypoints may initially appear artificial, but it is analogous to GPS-based navigation. For example, when navigating through a city, a GPS system does not necessarily guide the user directly toward the final destination. Instead, it follows a sequence of intermediate points to avoid obstacles and follow a feasible path constrained by the urban environment. A similar strategy is commonly used in everyday navigation, where intermediate landmarks facilitate movement from an origin to a final destination, e.g., "turn at the pharmacy" or "walk until the park, then continue". Similarly, the proposed approach uses intermediate magnetic waypoints to avoid local minima that can trap the system and to guide it toward the desired destination.
2.2. Control and guidance of the gradient flow
In this section, we define the regions where navigation paths can be constructed by guiding the gradient flow through intermediate destinations. These regions are defined a priori as areas where theoretical guarantees can be established for the existence of a sequence of intermediate waypoints that controls the system dynamics. In BIMN, we use magnetic parameters as local coordinates to navigate over the two-dimensional surface of the Earth, which is known in the literature as the bi-coordinate map (Benhamou 2003; Boström et al. 2012). For these parameters to provide two independent spatial coordinates, the gradient matrix
must have full rank, i.e., . The gradient matrix has maximum rank if and only if its determinant is non-zero. We show that, within such regions, it is possible to navigate toward any destination through a sequence of intermediate waypoints, provided that the path does not cross frontiers where . In other words, these frontiers correspond to a degeneracy of the maximum rank of the gradient, separating regions characterized by opposite signs of the determinant. Since the determinant is continuous, it must be zero between these regions, according to the intermediate value theorem. Based on this, we define a navigable region as a connected area characterized by a constant sign of , in which any two positions can be connected by a path without crossing the frontiers. Such region is suitable for navigation for two main reasons. First, the gradient is invertible. When , the inverse function theorem ensures that the mapping from the spatial position to the magnetic parameters is locally one-to-one. In other words, around any point in the defined region, each position is locally characterized by a unique set of magnetic parameters. Thus, two nearby positions cannot have the same magnetic parameters.
The second reason is that the objective function
is locally strongly convex around any point w within the defined region. Intuitively, this means that w acts as a local attractor, pulling the gradient flow toward it. To see this, we use a first-order Taylor expansion of around w:
Therefore,
Let . The quadratic approximation then becomes
Since has maximum rank, is symmetric positive definite. Therefore, by the spectral theorem, it is diagonalizable and all its eigenvalues are strictly positive. If and denote these eigenvalues, then
This shows that the objective function is locally strongly convex around w, which guarantees convergence of the system to w.
These two arguments allow us to guide the system toward a desired destination using a sequence of intermediate waypoints. Although the above guarantees are local, the waypoints can be chosen sufficiently close to one another so that each waypoint lies within the local region of attraction of the next one. In this way, a navigation path can be constructed by successively guiding the system from one waypoint to the next until the final destination is reached. This provides, at least locally, a theoretical basis for the existence of a suitable sequence of control waypoints. In contrast, these guarantees are lost when approaching the frontiers where . However, this does not mean that these frontiers cannot be crossed; crossing them can simply be difficult. At these frontiers, the gradient does not have full rank and therefore has one or more null directions. As a result, the dynamics can vanish along the frontier if is not chosen appropriately to avoid these null directions. In practice, measurement noise can make this situation even more difficult by causing to point along, or close to, a null direction of the gradient, resulting in little or no motion. Even with a suitable choice of , crossing may still be impossible. For example, if has rank one, only one direction of motion remains at the frontier. If this direction is transverse to the frontier and points across it, crossing is possible, although with the risks mentioned above. If the direction is tangent to the frontier, the system can only move along the frontier and cannot cross it using the gradient descent dynamics alone. This is why we focus on navigation within the defined regions, where the gradient has full rank and provides guarantees, rather than on crossing the frontiers that separate these regions, where these guarantees are lost and the risk is higher. In particular, for the gradient descent dynamics in equation 5, these frontiers contain local minima of the objective function , where , at which the system may become trapped.
2.3. Path optimization
The use of intermediate waypoints is fundamental for guiding the gradient flow and ensuring that the system converges to the destination. However, the path between two successive waypoints may not be efficient in terms of distance traveled. The system follows the direction of steepest decrease of V, which does not necessarily coincide with the shortest direction toward the target waypoint. Two main factors can contribute to this. First, the terms and can have different scales and therefore contribute unequally to V and its gradient. If one contribution dominates, the descent direction is primarily determined by the corresponding magnetic parameter. Second, the spatial gradients of I and F can be strongly direction dependent. For example, if , variations in F contribute much more strongly to the gradient of V along the x-direction than along the y-direction. A similar anisotropy may occur for I. Consequently, the descent direction can be preferentially oriented along directions in which the magnetic parameters vary most rapidly, rather than toward the target waypoint. This can further produce longer or more indirect trajectories. To mitigate this effect, we introduce two positive adjustable parameters for each path segment connecting two consecutive waypoints. These parameters regulate the relative contributions of the magnetic quantities and their spatial variations, thereby improving the resulting trajectory. Let denote the magnetic parameters associated with the destination of a given path segment. We then define the weighted objective function as
where controls the relative contribution of the inclination term with respect to the intensity term. The corresponding modified flow is defined as
where adjusts the relative contribution of the spatial variations along the y-direction with respect to those along the x-direction. These two introduced parameters do not change the navigable regions defined in section 2.2. Indeed, the modified gradient flow can be written as
where
The determinant of the modified gradient matrix is therefore given by
Consequently, provided that and , the determinant vanishes at exactly the same locations as in the original formulation of the gradient flow in 4. Therefore, the introduction of and does not alter the frontiers or topology of the navigable regions; it only modifies the structure of the gradient flow within these regions.
The modified flow remains a descent flow for . To show this, consider a local direction of motion and a sufficiently small step . A first-order Taylor expansion gives
Thus, decreases locally whenever .
For the weighted objective function
the gradient is
On the other hand, the modified flow is given by
Therefore,
Hence, for ,
with equality only when . Therefore, the modified flow preserves the descent property of the original formulation. The parameter adjusts the relative contribution of the inclination error with respect to the intensity error in the objective function, while adjusts the relative contribution of the spatial variations along the y-direction with respect to those along the x-direction. Provided that and , these modifications preserve the decreasing behavior of while allowing the geometry of the resulting trajectory to be adjusted within the navigable region.
In summary, the proposed BIMN framework, based on guidance and control of the gradient flow, is reliable within the defined navigable regions. We have shown that, within these regions, a sequence of intermediate waypoints can always be selected to reach the destination. For each path segment, two additional parameters can be tuned to optimize the shape of the overall trajectory. From a bio-inspired perspective, these intermediate waypoints may be viewed as preferred locations acquired by animals through evolution and learning. In practice, however, determining the intermediate waypoints and their associated path optimization parameters online would require extensive exploration of the environment. For an autonomous system, such exploration is constrained by the available energy and, more importantly, by safety requirements.
A more practical solution is therefore to select the intermediate waypoints from an available magnetic map, such as the IGRF (Beggan et al. 2026), and to optimize their associated parameters offline. The resulting navigation plan is then reduced to a small set of intermediate waypoints and parameters that can be stored onboard. Thus, the magnetic map does not need to be stored onboard or accessed during navigation.
3. Results
In this section, we perform simulations using the magnetic inclination and field intensity obtained from the International Geomagnetic Reference Field (IGRF) (Beggan et al. 2026). The magnetic parameters are evaluated at an altitude of 10 km, representative of aircraft navigation, and at the reference date 01/01/2026. The Earth's main magnetic field evolves slowly with time. According to the IGRF, secular variation is generally on the order of tens to about 150 nT/year, compared with a total field intensity of approximately 22–70 T. Therefore, a one-year change in the reference date produces only a small relative change in the field intensity (Beggan et al. 2026).
3.1. Control and guidance of the gradient flow
Figure 2 shows the topology and extent of the navigable regions, which cover a large portion of the Earth's surface. These regions are obtained by numerically evaluating the gradient using the IGRF and computing its determinant. The phase portrait of the gradient flow is obtained numerically by first evaluating the vector field associated with 4 over a spatial grid and then integrating the corresponding differential equation from a set of initial conditions using the Runge–Kutta–Fehlberg method of order 5(4) (RK45). We then show an example of controlling the gradient flow between two locations. The starting position has GPS coordinates (longitude, latitude) of , and the final destination is located at , with magnetic coordinates . Both positions are shown in figure 2. Direct navigation between these two points is not feasible, as the gradient flow from the starting position, controlled by without intermediate destinations, converges to another location that has the same magnetic coordinates (see figure 3(d), shown in red-grey). We used three intermediate destinations to guide the gradient flow toward the final destination. Figure 3 shows the gradient flow computed without optimization, by setting and , as defined in section 2.3, for all segments of the navigation path. The intermediate waypoints , and have GPS coordinates and magnetic coordinates, respectively, , , , and , , .
The gradient flow guidance simulation uses three waypoints as control nodes to shape the navigation path. Additional control nodes can be introduced to further adjust the path and improve navigation robustness. This robustness is critical for compensating for heading errors encountered in real-world navigation. As long as the system remains within the region of attraction of the target waypoint, an onboard gradient estimate could be updated online based on the mismatch between the predicted and measured magnetic parameters caused by the heading error, allowing the estimated gradient to accommodate heading bias and maintain convergence toward the target. Visually, this can be seen in the figure 3, where the nominal flow trajectory is surrounded by neighboring trajectories that also converge toward the target waypoint. Thus, a heading error may shift the system from the nominal trajectory to a nearby trajectory. As long as this trajectory remains within the region of attraction, the system still converges toward the target.
Figure 4 shows the navigation path without optimization and the optimized path obtained by manually tuning the and parameters associated with each path segment, while keeping the three previous waypoints fixed (Table 1). These two trajectories are obtained using the discrete-time dynamics in 2, with a constant velocity of and a time step of . Thus, the system moves between two consecutive updates. At each update, a new measurement is taken and the gradient is accessed. A waypoint is considered reached when the magnetic mismatch satisfies
Once this condition is satisfied, the next waypoint is selected as the new destination. This process is repeated until the final destination is reached. In this example, we constructed a single magnetic route. This could be extended to form a network of interconnected magnetic routes sharing common waypoints, thereby covering a larger region and providing an alternative to satellite navigation.
| Start- | -Dest. | |||
|---|---|---|---|---|
| 0.25 | 0.20 | 0.10 | 1.00 | |
| 1.00 | 0.10 | 0.10 | 1.00 |
Table 1. Manually selected optimization parameters for each navigation segment.
Note that in figure 3, the single intermediate waypoint is sufficient to connect the starting position to the final destination. The flow from the starting position, controlled by , converges to , as shown in gray in figure 3(b). From , the flow controlled by the destination parameters converges to the final destination, as shown in gray in figure 3(d). However, introducing additional intermediate waypoints can provide better control over the path and improve the efficiency of the

Figure 2. Navigable regions, where the continuous black lines define the frontiers , the gray-blue areas indicate regions with , and the gray-red areas indicate regions with . These regions (colored gray-blue and gray-red) are separated by frontiers where the gradient exhibits a degeneracy. There are four separated areas suitable for navigation: two gray-blue and two gray-red. The starting position is indicated by a star, while the final destination is indicated by a pentagon. Both lie within the largest gray-red region.
optimization parameters. Shorter path segments allow the local parameterization of and to better capture and compensate for the complexity of the magnetic environment.
3.2. Implications of observed sea turtle migration paths
Figure 5 shows four iconic migration paths of leatherback and loggerhead turtles, together with the frontiers of the navigable regions. Three loggerhead turtle migration paths, corresponding to the South Pacific, Brazil, and Réunion Island, lie within these navigable zones. This suggests that it is plausible that these animals may rely on the Earth's magnetic field for navigation. As demonstrated by the proposed BIMN framework, intermediate waypoints can be introduced, when necessary, to guide the path toward the final destination. In natural turtle migration, such intermediate waypoints may correspond to feeding or resting sites learned through their evolutionary history. From the perspective of the proposed framework, preserving such sites may therefore be important for maintaining established migration routes and, ultimately, for the survival of these species. Given the relatively large size of these species, GPS tracking devices can be deployed to monitor their migration trajectories with minimal disturbance to the animals. The resulting data could be used to identify precise intermediate waypoints, under the hypothesis that the Earth's magnetic field serves as a primary navigation cue. Combining the proposed framework with existing models that account for ocean currents, water temperature, and the availability of feeding sites (Luschi 2013; Laforge et al. 2026) could provide a more comprehensive understanding of turtle migration mechanisms. Such an approach could help protect these species from increasing disturbances caused by human activities along their migration routes, for example, by predicting migration paths and restricting fishing activities within identified migration corridors (Baudouin et al. 2015; Iverson et al. 2020).
The Indo-Pacific migration path of the leatherback turtle does not remain entirely within a navigable region, as it crosses a frontier characterized by gradient degeneracy. As discussed in section 2.2, crossing such frontiers is not necessarily impossible, but it can be challenging when relying uniquely on magnetic navigation. However, sea turtles are multimodal navigators and may switch to other navigation cues when magnetic navigation becomes challenging. This limitation could be considered together with the navigation difficulties already reported in the literature for leatherback turtles, potentially providing a complementary explanation for observed anomalies in their migration paths (Sale and Luschi 2009; Benson

(a)

(b)

(c)

(d)
Figure 3. Example of controlling the flow to guide the system toward the destination. The initial path from the starting position, controlled by the magnetic parameters of the destination , converges to another location, as shown in (d) by the red-gray path. We therefore guide the flow sequentially through three intermediate waypoints. From the starting position, the flow is first guided to using its magnetic coordinates , as shown by the green-gray path in (a). The flow is then guided from to using in (b), from to using in (c), and finally from to the destination using in (d). The two blue points in each subfigure share the same magnetic coordinates and correspond to global minima. The red points on the frontiers are critical points, including local minima, local maxima, and saddle points, visually showing that crossing these frontiers is challenging for the gradient descent navigation mechanism. Navigation from to the final destination is not possible, as the flow converges to the fake destination. Therefore, we introduce . Navigation from to the final destination is possible, but we introduce to steer the trajectory away from the frontiers and avoid the critical points. We can see that direct navigation from either the starting point or to is not possible, as the corresponding flows, shown in gray in (c), converge to a critical point. Similarly, the flow from to the final destination converges to the fake destination, as shown in gray in (d). This highlights the importance of introducing successive intermediate waypoints to guide the flow toward the real final destination and avoid these difficulties.
et al. 2011).
4. Discussion
The planned magnetic navigation route shown in Fig. 4 is selected from the magnetic map assuming perfect knowledge of the gradients of the magnetic parameters. In practice, these gradients must be estimated, and estimation errors may cause the actual navigation path to deviate from the planned route. Therefore, Monte Carlo simulations with measurement noise, heading drifts, and magnetic perturbations can be used to represent more realistic conditions and to quantify the variability of the navigation performance under uncertainty. The navigation method in (Herma et al. 2026), based on gradient estimation and gradient descent, is then used to test the robustness of the selected navigation path. In addition, the spatial resolution of the magnetic map may affect the accuracy of the planned route. Filtering and adaptive motion strategies can help reduce this effect. For example, the system velocity or sampling period can be adjusted according to local magnetic field variations, which changes the step size in 2. If the magnetic map has a low spatial resolution and mainly represents large-scale variations, as in the IGRF, a larger step size can be used to reduce the influence of small local variations. This can be combined with online smoothing or filtering techniques to reduce the mismatch between the measured magnetic coordinates and the magnetic map used for planning the navigation route.
The selection of intermediate waypoints should account for both the spatial resolution of the magnetic map and the information it contains. Since some regions may exhibit finer spatial variations than others, the sampling period, and therefore the step size, can be adapted along the path between successive waypoints.

Figure 4. The optimized path obtained using the parameters in table 1 is shown by the dashed black line, while the original path with is shown by the solid black line. The optimized path, obtained by adjusting and for each path segment between two successive waypoints, provides a better trajectory than the original path. The evolution of the objective function V for each path segment is also shown. For both paths, V decreases within each segment and switches to the objective associated with the next target waypoint when the current waypoint is reached, resulting in the peaks observed in the figure. The original path initially exhibits a faster decrease in V, as it follows the direction of steepest descent. In contrast, the optimized path decreases V more gradually, as the parameters and modify the local flow to avoid unnecessarily long paths while maintaining a decreasing direction toward the target. Thus, a faster decrease in V does not necessarily correspond to a better navigation path. The vertical axis represents , which is treated as a dimensionless objective function. The horizontal axis represents the elapsed navigation time, with the system moving at a constant velocity of with a sampling period . Since the main interest is the evolution of the objective function, the time values are not explicitly shown.
to account for such variations. This is not the case in the present study, in which a fixed step size is used to navigate through all intermediate waypoints along the planned route shown in 4.
The planned path should also account for the information available in the magnetic map and the reliability of the estimation and filtering methods. In particular, it may be advantageous to favor regions with strong gradient, as these provide more informative measurements and can improve gradient estimation. On the other hand, regions where the gradient estimation or filtering is less reliable may lead to larger navigation errors and should therefore be avoided when possible. For example, if the sensor used for navigation has a lower resolution than the magnetic map used for planning, it is preferable to pass through regions with strong magnetic gradients. This allows the sensor to measure magnetic changes as the system moves, depending on the sampling period and the system's

Leatherback (Indo-Pacific) Loggerhead (South Pacific) Loggerhead (Brazil) Loggerhead (Réunion Island)
Figure 5. Schematic representation of iconic animal migration routes, showing the general migration patterns rather than precise trajectories, as reported by (N. Putman 2018) for the Indo-Pacific leatherback, South Pacific loggerhead, and Brazilian loggerhead turtles, and by (Laforge et al. 2026) for the Réunion Island loggerhead turtle.
velocity.
The stopping criterion, which determines whether the system has reached the destination in the magnetic coordinate space, directly affects the achievable navigation accuracy. It also depends on the magnetic map used for path planning, since the map resolution introduces uncertainty in the estimated distance to the destination. The intermediate waypoints , optimization parameters and , and step size can also be refined using optimal control, as they can be treated as control variables that influence the planned route and the accuracy of reaching the target.
The navigation frame is not discussed in this work, but it is important in practice because the heading is calculated relative to a reference direction. Magnetic north can be used as a reference, but its measured direction using a compass varies from one location to another. Similarly, a gyroscope measures angular velocity, which can be integrated to estimate the heading. However, errors accumulate over time, leading to drift. Other orientation technologies also have their own limitations and sources of error. The advantage of BIMN is its apparent robustness to changes or errors in the navigation frame heading (Qi, Xu, et al. 2023). This can be understood by considering that navigation takes place in a measurement space defined by magnetic coordinates, where the navigation process involves minimization. This minimization can compensate for heading errors in the estimated gradient (Herma et al. 2026).
The proposed BIMN framework operates in regions where the gradient matrix has full rank, as shown in 2. Crossing the frontiers of these regions can therefore be challenging. To address this limitation, the framework can be extended to include gravity measurements as additional parameters. This may increase the rank of the gradient matrix and increase the size of the navigable regions. Another, simpler approach is to temporarily switch to compass-based navigation when crossing these frontiers. Once the system reaches the other side, where the magnetic gradient again has full rank, it can return to BIMN using an intermediate waypoints defined in the new region. The main challenge during this transition is directional drift, as the compass heading may be affected by local magnetic anomalies and spatial variations in magnetic declination, since the Earth's magnetic field is not a perfect dipole. However, once the system enters the new region, the magnetic gradient can be re-estimated, and gradient descent toward the next waypoint can correct the accumulated directional error and guide the system back toward its desired goal.
5. Conclusion
In conclusion, this work demonstrates that gradient flows of magnetic inclination and intensity can serve as a GPS-free guidance mechanism. We extend the gradient descent method developed in (Herma et al. 2026) and formulate BIMN as a gradient flow control and guidance problem. Waypoints are introduced to shape the gradient flow and guide the system along the desired path within the navigable region, defined by the maximum gradient rank. The proposed BIMN framework can enhance autonomous navigation in engineering applications by providing an alternative to vulnerable satellite navigation systems. It may also serve as a complementary approach for studying animal migration trajectories, as many animals are known to use the Earth's magnetic field as a natural navigation cue.
Future work will focus on automated planning and optimization of magnetic routes using optimal control to determine the placement of magnetic waypoints and the associated path parameters. This will enable the desired navigation path to be followed and the target to be reached without manual tuning of these control variables. This formulation could also incorporate geodesic trajectories to obtain more direct paths toward the desired configuration.
The magnetic environment considered in this work should also be extended to account for temporal variations, such as those associated with solar activity, as well as crustal magnetic fields arising from the Earth's crust. These variations may introduce disturbances that affect magnetic navigation. Online filtering methods could therefore be incorporated to reduce their effects and improve the reliability of the measured magnetic parameters. Similarly, animals that rely on magnetoreception may employ biological filtering mechanisms to attenuate magnetic disturbances and extract reliable cues for navigation.
The analysis of animal migration paths should also be extended using publicly available GPS data to identify waypoints associated with feeding sites, using the IGRF model evaluated at the altitude and time relevant to the specific type of migration. This would allow a more precise analysis of the migration trajectories. The long-term evolution of the Earth's magnetic field could also be investigated to assess its possible impact on the evolution of migration paths over several years.
Finally, the simulations presented here assume perfect access to the gradients of the magnetic parameters provided by the IGRF. Future studies should consider a more realistic magnetic environment, including measurement noise and disturbances in the estimated gradient direction, such as those caused by ocean currents. The gradient could be estimated directly from magnetic measurements, as in the method developed in (Herma et al. 2026). The effects of solar activity and other magnetic disturbances on the generated trajectories could also be included. This would provide a more complete and realistic simulation framework for engineering applications, such as mission planning in GPS-denied environments, as well as for studying, monitoring or predicting the migration paths of animals that rely on magnetoreception.
References
Absil, P.-A. and K. Kurdyka (July 2006). “On the stable equilibrium points of gradient systems”. en. In: Systems & Control Letters 55.7, pp. 573–577. ISSN: 01676911. DOI: 10.1016/j.sysconle.2006.01.002. URL: https://linkinghub.elsevier.com/retrieve/pii/S0167691106000107 (visited on 08/26/2026).
Baudouin, Marie et al. (Apr. 2015). “Identification of key marine areas for conservation based on satellite tracking of post-nesting migrating green turtles (Chelonia mydas)”. en. In: Biological Conservation 184, pp. 36–41. ISSN: 00063207. DOI: 10.1016/j.biocon.2014.12.021. URL: https://linkinghub.elsevier.com/retrieve/pii/S000632071400500X (visited on 09/17/2026).
Beggan, C. D. et al. (June 2026). “International geomagnetic reference field: the fourteenth generation”. en. In: Earth, Planets and Space 78.1, p. 127. ISSN: 1880-5981. DOI: 10.1186/s40623-025-02360-0. URL: https://link.springer.com/10.1186/s40623-025-02360-0 (visited on 08/24/2026).
Benhamou, Simon (Nov. 2003). “Bicordinate navigation based on non-orthogonal gradient fields”. en. In: Journal of Theoretical Biology 225.2. Number: 2, pp. 235–239. ISSN: 00225193. DOI: 10.1016/S0022-5193(03)00242-X. URL: https://linkinghub.elsevier.com/retrieve/pii/S002251930300242X (visited on 02/19/2025).
Benson, Scott R. et al. (July 2011). “Large-scale movements and high-use areas of western Pacific leatherback turtles, Dermochelys coriacea”. en. In: Ecosphere 2.7. ISSN: 2150-8925. DOI: 10.1890/ES11-00053.1. URL: http://doi.wiley.com/10.1890/ES11-00053.1 (visited on 09/10/2026).
Boström, Jannika E. et al. (Nov. 2012). “Where on earth can animals use a geomagnetic bi-coordinate map for navigation?” en. In: Ecography 35.11, pp. 1039–1047. ISSN: 0906-7590, 1600-0587. DOI: 10.1111/j.1600-0587.2012.07507.x. URL: https://nsojournals.onlinelibrary.wiley.com/doi/10.1111/j.1600-0587.2012.07507.x (visited on 10/15/2026).
Brothers, J. Roger and Kenneth J. Lohmann (2015). "Evidence for Geomagnetic Imprinting and Magnetic Navigation in the Natal Homing of Sea Turtles". In: Current Biology. URL: https://linkinghub.elsevier.com/retrieve/pii/S0960982214016388.
Chae, Kwon-Seok et al. (May 2022). “Human magnetic sense is mediated by a light and magnetic field resonance-dependent mechanism”. In: Scientific Reports 12.1, p. 8997. ISSN: 2045-2322. DOI: 10.1038/s41598-022-12460-6. URL: https://www.
nature.com/articles/s41598-022-12460-6 (visited on 08/06/2026).
Dennis, Todd E et al. (2007). “Evidence that pigeons orient to geomagnetic intensity during homing”. In: URL: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2189574/.
Feng, Zonghong et al. (Dec. 2016). “A note on Cauchy-Lipschitz-Picard theorem”. en. In: Journal of Inequalities and Applications 2016.1, p. 271. ISSN: 1029-242X. DOI: 10.1186/s13660-016-1214-x. URL: http://journalofinequalitiesandapplications.springeropen.com/articles/10.1186/s13660-016-1214-x (visited on 08/26/2026).
Gill, Jeffrey P and Brian K Taylor (May 2024). “Navigation by magnetic signatures in a realistic model of Earth’s magnetic field”. In: Bioinspiration & Biomimetics 19. ISSN: 1748-3182, 1748-3190. DOI: 10.1088/1748-3190/ad3120. URL: https://iopscience.iop.org/article/10.1088/1748-3190/ad3120.
Goforth, Kayla M. et al. (2025). “Learned magnetic map cues and two mechanisms of magnetoreception in turtles”. In: Nature. URL: https://www.nature.com/articles/s41586-024-08554-y.
Herma, Zayed et al. (June 2026). “Bio-Inspired Magnetic Navigation Using Gradient Descent With Rao-Blackwellized Particle Filtering”. In: 2026 29th International Conference on Information Fusion (FUSION). Accepted; Paper No. 023; proceedings forthcoming. Preprint available at arXiv:2610.23097. Trondheim, Norway. DOI: 10.48550/arXiv.2610.23097. URL: https://arxiv.org/abs/2610.23097.
Iverson, Autumn R. et al. (Apr. 2020). “Migration Corridors and Threats in the Gulf of Mexico and Florida Straits for Loggerhead Sea Turtles”. en. In: Frontiers in Marine Science 7, p. 208. ISSN: 2296-7745. DOI: 10.3389/fmars.2020.00208. URL: https://www.frontiersin.org/article/10.3389/fmars.2020.00208/full (visited on 09/17/2026).
Jackson, Andrew et al. (Mar. 2000). “Four centuries of geomagnetic secular variation from historical records”. en. In: Philosophical Transactions of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences 358.1768. Ed. by D. Gubbins et al., pp. 957–990. ISSN: 1364-503X, 1471-2962. DOI: 10.1098/rsta.2000.0569. URL: https://royalsocietypublishing.org/doi/10.1098/rsta.2000.0569 (visited on 09/08/2026).
Johnsen, Sönke and Kenneth J. Lohmann (2005). “The physics and neurobiology of magnetoreception”.
In: Nature Reviews Neuroscience. URL: https://www.nature.com/articles/nrn1745.
Kessler, Donald J. and Burton G. Cour-Palais (June 1978). “Collision frequency of artificial satellites: The creation of a debris belt”. en. In: Journal of Geophysical Research: Space Physics 83.A6, pp. 2637–2646. ISSN: 0148-0227. DOI: 10.1029/JA083iA06p02637. URL: https://agupubs.onlinelibrary.wiley.com/doi/10.1029/JA083iA06p02637 (visited on 09/16/2026).
Laforge, Antoine et al. (2026). “Uncovering loggerhead (Caretta caretta) navigation strategy in the open ocean through the consideration of their diving behaviour”. en. In: Journal of The Royal Society Interface 20.209 (). ISSN: 1742-5662. DOI: 10.1098/rsif.2023.0383. URL: https://royalsocietypublishing.org/doi/10.1098/rsif.2023.0383 (visited on 09/11/2026).
Lohmann, K. J. and Cmf. Lohmann (Aug. 1993). "A Light-Independent Magnetic Compass in the Leatherback Sea Turtle". en. In: The Biological Bulletin 185.1, pp. 149–151. ISSN: 0006-3185, 1939-8697. DOI: 10.2307/1542138. URL: https://www.journals.uchicago.edu/doi/10.2307/1542138 (visited on 09/09/2026).
Lohmann, Kenneth et al. (Oct. 2023). Misconceptions about magnetic maps. en. DOI: 10.5281/ZENODO.10052196. URL: https://zenodo.org/doi/10.5281/zenodo.10052196.
Lohmann, Kenneth J. and Catherine M. F. Lohmann (2019). “There and back again: natal homing by magnetic navigation in sea turtles and salmon”. In: Journal of Experimental Biology. URL: https://journals.biologists.com/jeb/article/222/Suppl_1/jeb184077/2790/There-and-back-again-natal-homing-by-magnetic.
Lohmann, Kenneth J., Catherine M. F. Lohmann, and Nathan F. Putman (Nov. 2007). “Magnetic maps in animals: nature’s GPS”. In: Journal of Experimental Biology. URL: https://doi.org/10.1242/jeb.001313.
Luschi, Paolo (Jan. 2013). “Long-Distance Animal Migrations in the Oceanic Environment: Orientation and Navigation Correlates”. en. In: ISRN Zoology 2013. ISSN: 2090-5238. DOI: 10.1155/2013/631839. URL: https://www.hindawi.com/journals/isrn/2013/631839/ (visited on 09/10/2026).
Mariappan, Amrith and John L. Crassidis (Nov. 2023). "Kessler's syndrome: a challenge to humanity". en. In: Frontiers in Space Technologies 4, p. 1309940. ISSN: 2673-5075. DOI: 10.3389/frspt.2023.1309940. URL: https://www.frontiersin.org/articles/10.3389/frspt.2023.1309940/full (visited on 09/16/2026).
Putman, Nathan (Sept. 2018). “Marine migrations”. en. In: Current Biology 28.17, R972–R976. ISSN: 09609822. DOI: 10.1016/j.cub.2018.07.036. URL: https://linkinghub.elsevier.com/retrieve/pii/S0960982218309357 (visited on 08/12/2026).
Qi, Xiaokang, Lei Chen, et al. (Nov. 2018). “Bioinspired In-Grid Navigation and Positioning Based on an Artificially Established Magnetic Gradient”. In: IEEE Transactions on Vehicular Technology 67.11. ISSN: 1939-9359. DOI: 10.1109/TVT.2018.2866428. URL: https://ieeexplore.ieee.org/document/8443112/ (visited on 10/02/2026).
Qi, Xiaokang, Kuiwen Xu, et al. (2023). “Geographic True Navigation Based on Real-Time Measurements of Geomagnetic Fields”. en. In: IEEE Transactions on Geoscience and Remote Sensing 61, pp. 1–10. ISSN: 0196-2892, 1558-0644. DOI: 10.1109/TGRS.2023.3312164. URL: https://ieeexplore.ieee.org/document/10239458/ (visited on 09/22/2026).
Sale, Alessandro and Paolo Luschi (Nov. 2009). "Navigational challenges in the oceanic migrations of leatherback sea turtles". en. In: Proceedings of the Royal Society B: Biological Sciences 276.1674. ISSN: 0962-8452, 1471-2954. DOI: 10.1098/rspb.2009.0965. URL: https://royalsocietypublishing.org/doi/10.1098/rspb.2009.0965 (visited on 09/10/2026).
Taylor, Brian K (May 2018). “Bioinspired magnetoreception and navigation using magnetic signatures as waypoints”. In: Bioinspiration & Biomimetics 13. ISSN: 1748-3190. DOI: 10.1088/1748-3190/aabbec. URL: https://iopscience.iop.org/article/10.1088/1748-3190/aabbec.
Thiele, Sarah et al. (Nov. 2026). “An orbital house of cards: Frequent satellite close conjunctions”. en. In: Acta Astronautica 248, pp. 1289–1297. ISSN: 00945765. DOI: 10.1016/j.actaastro.2026.06.023. URL: https://linkinghub.elsevier.com/retrieve/pii/S0094576526004091 (visited on 09/16/2026).
Walker, Michael M et al. (2002). “The magnetic sense and its use in long-distance navigation by animals”. In: Current Opinion in Neurobiology. URL: https://linkinghub.elsevier.com/retrieve/pii/S0959438802003896.
Zhang, Jiayu et al. (2021). “Geomagnetic Gradient-Assisted Evolutionary Algorithm for Long-Range Underwater Navigation”. In: IEEE Trans. Instrum. Meas. DOI: 10.1109/TIM.2020.3034966.
Zhang, Yongding et al. (2021). “Bio-Inspired Approach for Long-Range Underwater Navigation Using Model Predictive Control”. In: IEEE Trans. Cybern. DOI: 10.1109/TCYB.2019.2933397.
Zhongwei Zhao et al. (2014). “Long-Distance Geomagnetic Navigation: Imitations of Animal Migration Based on a New Assumption”. In: IEEE Trans. Geosci. Remote Sens. DOI: 10.1109/TGRS.2014.2301441.