Transformer-Based Model Predictive Control: Trajectory Optimization via Sequence Modeling
Model predictive control (MPC) has established itself as the primary methodology for constrained control, enabling general-purpose robot autonomy in diverse real-world scenarios. However, for most problems of interest, MPC relies on the recursive solution of highly non-convex trajectory optimization problems, leading to high computational complexity and strong dependency on initialization. In this work, we present a unified framework to combine the main strengths of optimization-based and learning-based methods for MPC. Our approach entails embedding high-capacity, transformer-based neural network models within the optimization process for trajectory generation, whereby the transformer provides a near-optimal initial guess, or target plan, to a non-convex optimization problem. Our experiments, performed in simulation and the real world onboard a free flyer platform, demonstrate the capabilities of our framework to improve MPC convergence and runtime. Compared to purely optimization-based approaches, results show that our approach can improve trajectory generation performance by up to 75%, reduce the number of solver iterations by up to 45%, and improve overall MPC runtime by 7x without loss in performance.
Authors
- Davide Celestini (ORCID: https://orcid.org/0000-0002-0267-5365)
- Simone D’Amico (ORCID: https://orcid.org/0000-0002-6165-4986)
- Daniele Gammelli (ORCID: https://orcid.org/0000-0003-1802-4388)
- Elisa Capello (ORCID: https://orcid.org/0000-0001-9364-5817)
- Marco Pavone (ORCID: https://orcid.org/0000-0002-0206-4337)
- Tommaso Guffanti (ORCID: https://orcid.org/0009-0003-0985-8417)
Institutions
- Vaughn College of Aeronautics and Technology (US)
- Politecnico di Torino (IT)
- Stanford University (US)
Publication Details
- Journal
- IEEE Robotics and Automation Letters
- Published
- 2024-09-20
- DOI
- https://doi.org/10.1109/lra.2024.3466069
- Citations
- 33
- Primary Topic
- Advanced Control Systems Optimization
- Type
- article
- Field-Weighted Citation Impact
- 10.83
Funders
- National Aeronautics and Space Administration
- Nuclear Safety and Security Commission