Introduction
Landing a spacecraft during powered descent is a high-stakes optimization problem. Traditional numerical solvers, while precise, are often slow and sensitive to initial conditions. Researchers at MIT have introduced TrajDiffuser, a framework that utilizes compositional diffusion models to generate high-quality 6-degree-of-freedom (6-DoF) trajectories. By treating constraints as modular components, TrajDiffuser provides "warm starts" for optimizers, reducing runtime by up to 86% while maintaining flexibility for on-the-fly mission changes.
The Challenge of Powered Descent Guidance
Powered descent guidance (PDG) typically relies on algorithms like Successive Convexification (SCvx) to find fuel-optimal paths. However, these solvers require a good "initial guess" to converge quickly. While previous machine learning approaches have attempted to provide these guesses, they are often "brittle"—changing a single constraint (like a new obstacle) usually requires retraining the entire model. TrajDiffuser solves this by making trajectory generation compositional and multi-modal.
Methods: Compositional Diffusion
The core innovation lies in representing trajectories as 2D matrices (states and actions over time) and applying diffusion models, similar to those used in image generation.
By interpreting the diffusion model's score function as the gradient of an energy function, the researchers can "compose" different constraints during inference:
- Product: Intersecting multiple constraints (e.g., thrust limits AND obstacle avoidance).
- Mixture: Combining different flight strategies.
- Negation: Actively steering the model away from undesirable states, such as excessive tilt angles.
Training and Data
The model was trained on a dataset of approximately 20,000 optimal trajectories generated using standard numerical solvers. The training data spanned a wide range of initial positions, velocities, orientations, and spacecraft masses to ensure robust learning of flight dynamics across 20 time discretization nodes.
Key Results and Insights
TrajDiffuser demonstrates significant improvements in both speed and adaptability.
- Efficiency: Generating a batch of 100 trajectories took ~45 seconds, compared to ~315 seconds for traditional solvers—an 86% reduction in runtime.
- Zero-Shot Adaptation: The model successfully handled new constraints at test time. For instance, using "Negation Composition" reduced violations of a previously unseen angle-of-attack constraint from 15.8% to just 0.6% without retraining.
- Multi-Modality: Unlike standard neural networks that might "average" solutions, diffusion models can represent multiple distinct valid paths around obstacles, avoiding the "middle-path" failure common in unimodal models.
Limitations and Future Work
While highly effective, TrajDiffuser is a statistical generator and can occasionally produce physically inconsistent results, such as a spacecraft's mass increasing during flight. Current implementations use manual sanity checks to correct these. Future work aims to improve sampling algorithms to tighten error bounds and explore Markov Chain Monte Carlo (MCMC) methods for even more complex, non-linear mission requirements.
Summary updated