English

Real-Time Optimal Control via Transformer Networks and Bernstein Polynomials

Optimization and Control 2025-11-20 v1

Abstract

In this paper, we propose a Transformer-based framework for approximating solutions to infinite-dimensional optimization problems: calculus of variations problems and optimal control problems. Our approach leverages offline training on data generated by solving a sample of infinite- dimensional optimization problems using composite Bernstein collocation. Once trained, the Transformer efficiently generates near-optimal, feasible trajectories, making it well-suited for real-time applications. In motion planning for autonomous vehicles, for instance, these trajectories can serve to warm- start optimal motion planners or undergo rigorous evaluation to ensure safety. We demonstrate the effectiveness of this method through numerical results on a classical control problem and an online obstacle avoidance task. This data-driven approach offers a promising solution for real-time optimal control of nonlinear, nonconvex systems.

Keywords

Cite

@article{arxiv.2511.15588,
  title  = {Real-Time Optimal Control via Transformer Networks and Bernstein Polynomials},
  author = {Gage MacLin and Venanzio Cichella and Andrew Patterson and Irene Gregory},
  journal= {arXiv preprint arXiv:2511.15588},
  year   = {2025}
}

Comments

Accepted to 2025 IEEE Conference on Decision and Control (CDC)

R2 v1 2026-07-01T07:45:40.615Z