Imagine you’re piloting a spacecraft through the gravitational tug-of-war between the Earth and the Moon. You’re using a low-thrust electric engine—efficient, but about as powerful as the breath of a house cat. Suddenly, a thruster glitches out for a few hours. You’re off course, and in this chaotic "three-body" environment, a small nudge in the wrong direction can send you spiraling into deep space or crashing into the lunar surface.
Normally, you’d radio Earth and wait days for a team of experts to crunch the numbers for a new trajectory. But what if your spacecraft could "think" its way back on track in seconds?
TL;DR
This paper introduces a way for spacecraft to autonomously redesign their flight paths in the complex Earth-Moon neighborhood using neural networks. By training a model to predict the "mathematical DNA" of an optimal trajectory (called costates), the authors enable a spacecraft to recover from engine failures with 60 times less computing power than traditional onboard optimization.
What Problem Does This Paper Address?
Navigating cislunar space—the corridor between Earth and the Moon—is notoriously difficult. Unlike simple orbits around a single planet, the gravity of both the Earth and the Moon creates a dynamic, non-convex "landscape" where the shortest path isn't a straight line, and the "best" path is incredibly sensitive to initial conditions.
For low-thrust missions, the engines must run for days or weeks. If a navigation error occurs or a thruster fails (an "outage"), the original plan is toast. Solving for a new optimal path from scratch (a "cold start") is computationally expensive—often too much for the radiation-hardened, but relatively slow, processors we send into space. Current methods usually try to "track" the old path, which is fuel-inefficient and often fails if the deviation is too large.
Methods
The authors use an indirect method of optimal control. Instead of trying to find the path directly, they look for initial costates. Think of costates as a set of "steering instructions" that, when plugged into the laws of physics, automatically produce the most fuel-efficient path.
The core of their approach involves four clever tricks:
- BGOE (Backward Generation of Optimal Examples): Instead of solving thousands of hard "how do I get there?" problems for training data, they start at the target and run the physics backward in time. This is mathematically much easier and guarantees that every example in the dataset is perfectly optimal.
- Anchor Trajectories: In the chaotic Earth-Moon system, backward integration can be "patchy," leaving gaps in the training data. The authors solve a few "anchor" problems from off-nominal states to ensure the neural network sees a representative sample of the entire flight corridor.
- Costate Rescaling & Hamiltonian Loss: Costates are "homogeneous," meaning you can scale them up or down without changing the steering direction. To keep the neural network from getting confused by multiple valid answers, the authors rescale them to a consistent magnitude. They also add a "Hamiltonian loss" term—a physics-based penalty that forces the network to obey the conservation laws of optimal control.
- Replanning Loop: Rather than trusting a single network guess, the spacecraft queries the network repeatedly as it flies, refining its plan every few hours to squash any lingering errors.
Datasets
The researchers generated several synthetic datasets (labeled D1 through D6) using their BGOE and Anchor Trajectory methods. These datasets contain millions of state-costate pairs representing optimal transfers from High Earth Orbit (HEO) to "halo orbits" around the L1 and L2 Lagrange points (stable-ish spots in the Earth-Moon system).
They evaluated the system on three levels of difficulty—Easy, Medium, and Hard—which combined random navigation errors with thruster outages of varying durations.
Key Insights and Ideas
- Physics-Informed Learning is Essential: Simply training a network to map "Position A" to "Steering Instruction B" isn't enough. By forcing the network to respect the Hamiltonian (a value that should be zero for optimal paths), the authors made the guidance significantly more robust.
- The "Anchor" Fix: The chaotic nature of the three-body problem means that simple perturbations around a single path don't cover enough ground. Without the "anchor trajectories" to fill in the gaps, the network's performance plummeted on the "Hard" test cases.
- Replanning Beats Perfection: Even a slightly imperfect neural network can be highly effective if you let it "re-think" the problem frequently. This iterative approach allows the system to correct its own small prediction errors over time.
Key Results
The method was tested on two challenging transfers: one to a stable orbit near the Moon (L1) and one to a highly unstable orbit on the far side of the Moon (L2).
- Success Rate: On the hardest L1 test cases, the neural guidance reached the target 94% of the time, compared to just 72% for standard PD tracking and 51% for LQR tracking.
- Speedup: The onboard computation required was reduced by more than an order of magnitude (roughly 60x) compared to full numerical re-optimization.
- Efficiency: The fuel cost was nearly identical to a full ground-based optimization and significantly better than simple tracking methods.
Limitations and Future Work
While the results for the L1 orbit were stellar, the L2 orbit proved much tougher. Because L2 orbits are inherently unstable, tiny errors early in the flight can balloon into mission-ending misses. The authors noted that when the spacecraft gets pushed too far from its training data, the network's predictions can degrade.
Future work will focus on making the system more robust to these "out-of-distribution" scenarios and incorporating uncertainty quantification—essentially teaching the spacecraft to know when it doesn't know the answer, so it can safely ask for help or switch to a more conservative backup mode.
Summary updated