[KongchangAI]
· 2 min read· 1,364 words

Flow Matching Surrogate Model Accelerates Lunar Flyby Trajectory Design

Flow Matching Surrogate Model Accelerates Lunar Flyby Trajectory Design

A conditional flow matching surrogate enables fast multi-family sampling and beam-search construction for lunar flyby trajectory design.

This paper presents a conditional flow matching generative surrogate model for lunar flyby trajectory design, addressing the high cost of multi-body trajectory optimization. Unlike deterministic networks that output a single solution per boundary condition, it samples multiple solution families. Within a 10,000 km tolerance, 256 samples recall 97.5% of optimized solutions versus 13.1% for retrieval. With constraint-residual filtering and beam search, it builds full tours in seconds on one GPU, beating retrieval in 71%-84% of cases. Limitations include the planar CR3BP simplification and reliance on large training datasets.

Title

Flow Matching Surrogate Model Accelerates Lunar Flyby Trajectory Design

Meta Description

This paper proposes a generative surrogate model based on conditional flow matching for lunar flyby trajectory design under solar perturbation. The model can sample flyby legs from multiple solution families and, combined with beam search, construct trajectories within seconds; in tests, 71% to 84% of cases outperform retrieval-based methods.

Article Content

The growth of commercial lunar delivery missions has made low-cost lunar flyby trajectory design that leverages solar perturbation a hot topic. Such missions construct trajectories by chaining multiple lunar flybys (Moon-to-Moon legs), and each flyby requires solving a trajectory optimization problem under multi-body dynamics—a computationally expensive process. Although traditional neural networks can avoid online optimization, they return only a single solution per query, whereas the boundary conditions of a flyby leg often correspond to multiple solution families. A recent paper proposes a generative surrogate model based on conditional flow matching that, within the planar Sun-Earth circular restricted three-body problem, samples flyby legs from multiple solution families according to boundary conditions, offering a new approach for trajectory search.

Paper source screenshot

Lunar flyby trajectory design is essentially a "tour search" problem: given a sequence of lunar flyby nodes, one must solve a trajectory optimization problem for the transfer leg between each pair of nodes to evaluate the feasibility of a candidate trajectory. Due to the presence of solar perturbation, the dynamical model is a multi-body problem, and each optimization requires numerical iteration, which is significantly time-consuming. In a tour search, a large number of candidate legs must be evaluated at each flyby point, causing the total computational load to balloon.

Traditional neural network surrogate models can bypass online optimization and directly predict trajectories from boundary conditions, but their output is deterministic—for a given set of boundary conditions, they can provide only one solution. However, the actual boundary conditions of a flyby leg may correspond to multiple solution families (e.g., different flyby directions or energy states), and a single solution may fail to cover all feasible options.

The Circular Restricted Three-Body Problem (CR3BP) is a classic simplified model in multi-body dynamics: two massive bodies (such as the Sun and the Earth) move in circular orbits around their common barycenter, and a third small-mass body (such as a spacecraft) moves in the gravitational field of these two bodies, with its mass being small enough not to affect the motion of the two massive bodies. The model eliminates dimensions through normalization, making the dynamical equations depend on only one parameter—the mass ratio. In the Sun-Earth system, CR3BP can reasonably capture the qualitative influence of solar perturbation on lunar transfer trajectories and is a common tool for trajectory design and solution-space analysis. The "planar" version further restricts motion to a two-dimensional plane, sacrificing some realism in exchange for computational efficiency and visualization convenience, making it suitable for preliminary validation of surrogate models.

Flow Matching Model: Generating Multiple Solution Families at Once

The core idea of the conditional flow matching model proposed in the paper is to represent the solution of a flyby leg as a "collocation vector" and to exploit the diversity of generative modeling to sample multiple flyby legs belonging to different solution families from the same set of boundary conditions. Specifically, the model is trained within the framework of the planar Sun-Earth circular restricted three-body problem; it takes boundary conditions as input and outputs a set of candidate collocation vectors, each corresponding to a flyby trajectory.

Compared with deterministic neural networks, the advantage of the flow matching model lies in its ability to capture the multimodal distribution of solutions. Experiments show that, within a root-mean-square distance tolerance of 10,000 km, the 256 samples generated by the model recall on average 97.5% of the optimized solutions, whereas directly retrieving 256 trajectories from the nearest training condition yields a recall rate of only 13.1%. This indicates that generative sampling has a significant advantage in covering the solution space.

Conditional Flow Matching is a class of generative modeling methods based on continuous normalizing flows. Its core idea is to learn a time-dependent vector field that transforms a simple prior distribution (such as a Gaussian distribution) along continuous trajectories into a target conditional distribution. Compared with diffusion models, flow matching directly regresses the vector field, resulting in a simpler training objective and higher sampling efficiency. "Conditional" means that the model takes boundary conditions (such as departure/arrival states) as input, thereby learning the solution distribution under given conditions. In trajectory design, this enables the model to sample diverse solutions belonging to different solution families from the same set of boundary conditions, rather than outputting only a single deterministic prediction.

Filtering and Beam Search: From Samples to Trajectories

After generating a large number of samples, how to efficiently filter out feasible trajectories is key. The paper uses a constraint residual for preliminary screening of samples, allowing feasibility to be assessed without trajectory propagation. Subsequently, beam search is used to perform precise correction only on the leading candidate trajectories and to chain them into a complete tour trajectory.

This "filter first, correct later" strategy greatly reduces the computational burden. In three benchmarks modeled on past and planned missions, after offline training, beam search can construct trajectories within seconds on a single GPU. Compared with methods using retrieved trajectories, beam search found better trajectories in 71% to 84% of test cases.

Beam Search is a heuristic sequence search algorithm commonly used for sequence generation in natural language processing. At each step, it retains the k highest-scoring candidates (called the beam width) rather than only the single best one, thereby exploring the search space more comprehensively. In the trajectory construction scenario of this paper, beam search treats each flyby leg as a "word" in a sequence, ranks candidate legs using constraint residuals or surrogate model scores, and performs precise trajectory correction and chaining only on the top-ranked candidates, thereby balancing computational cost and solution quality. Compared with greedy search, beam search can effectively avoid local optima and increase the probability of finding a better tour trajectory.

Significance and Outlook

The value of this work lies in introducing generative modeling into surrogate models for trajectory design, solving the pain point that traditional neural networks cannot handle multiple solution families. The flow matching model not only improves the diversity of candidate solutions but also, through combination with beam search, achieves fast, high-quality trajectory construction. For commercial lunar missions, this method is expected to lower the computational barrier to trajectory design, enabling low-cost missions to more flexibly exploit solar-perturbed flybys.

However, the current model is still limited to the planar circular restricted three-body problem, and future work needs to extend it to more realistic dynamical environments (such as three-dimensional and elliptical orbits). In addition, although the model has fast inference after offline training, the training process requires a large number of optimized solutions as supervision; how to reduce dependence on training data is also a direction worth exploring.

Paper source screenshot

One-line Summary

A conditional flow matching generative surrogate model provides fast sampling of multiple solution families and beam-search-based construction for lunar flyby trajectory design.

Paragraph Summary

This article introduces a generative surrogate model based on conditional flow matching for solving the high computational cost of multi-body trajectory optimization in commercial lunar flyby trajectory design. Traditional neural network surrogate models output only a single solution for each set of boundary conditions and cannot cover the multiple solution families that exist for flyby legs. The model is trained in the planar Sun-Earth circular restricted three-body problem and can sample multiple flyby-leg collocation vectors belonging to different solution families from the same set of boundary conditions. Experiments show that, within a 10,000 km tolerance, 256 generated samples recall on average 97.5% of the optimized solutions, far exceeding the 13.1% of retrieval methods. Combined with constraint residual filtering and beam search correction, the model constructs complete tour trajectories within seconds on a single GPU and outperforms retrieval methods in 71%-84% of test cases. Current limitations include the planar CR3BP simplification and dependence on large amounts of optimized solutions as training data.

#lunar flyby trajectory design#conditional flow matching#generative surrogate model#circular restricted three-body problem#beam search#trajectory optimization
Share:

Related articles