Transformer-based Model Predictive Control: Trajectory Optimization via Sequence Modeling

Davide Celestini, Daniele Gammelli, Tommaso Guffanti, Simone D'Amico, Elisa Capello +1 more
10/31/2024
cs.ROcs.AImath.OC

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{celestini2024transformerbased,
  title  = {Transformer-based Model Predictive Control: Trajectory Optimization via Sequence Modeling},
  author = {Davide Celestini and Daniele Gammelli and Tommaso Guffanti and Simone D'Amico and Elisa Capello and Marco Pavone},
  year   = {2024},
  eprint = {2410.23916},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.23916v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.23916.svg)](https://codeofpaper.com/paper/2410.23916)

Discussion