mlsanityData to 26 Nov 2026

A Transformer-based Approach for Real-time Multi-agent Path Planning with Varying Initial/Final Conditions

arXiv 2610.30388 ↗Submitted 21 Oct 2026math.OC cs.LG cs.NAcited by 0

Not on the map. Why?

Abstract (arXiv)

We address the problem of real-time multi-agent path planning under prescribed initial and final configurations, formulated as a high-dimensional optimal control problem subject to inter-agent collision avoidance and obstacle constraints. Classical solvers based on the Hamilton--Jacobi--Bellman equation or Pontryagin's maximum principle (PMP) become computationally intractable as the number of agents grows, due to the curse of dimensionality and the non-convexity introduced by interaction constraints. We propose OCFormer, a transformer-based neural network that parameterizes the inverse of a coordinate transformation mapping a simple, analytically tractable latent space, in which agents evolve independently under a decoupled Hamiltonian, to the physical space of the coupled, interacting system. The model is trained by minimizing a physics-informed loss comprising the Hamiltonian ODE residual from the PMP and a boundary matching term, without requiring pre-computed trajectory data. The self-attention mechanism endows OCFormer with permutation equivariance over agents, a structural symmetry that prior symplectic network approaches do not natively enforce. When trained on a distribution of boundary conditions, the amortized OCFormer produces near-optimal trajectories for unseen initial and final configurations in a single forward pass (~220ms), enabling real-time inference without retraining. We further introduce a lightweight transfer learning framework that adapts a pretrained OCFormer to out-of-distribution perturbations in seconds via L-BFGS fine-tuning. Numerical experiments on two- and three-dimensional multi-agent navigation with up to 128 agents demonstrate the scalability and efficiency of the proposed approach.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 17 of its 27 references that are in the map. Submitted 21 Oct 2026.

Builds on

17 of 27 references.

References · 17

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,279
  3. 2017The Deep Ritz method: A deep learning-based numerical algorithm for solving variational problemscited by 599
  4. 2017Solving high-dimensional partial differential equations using deep learningcited by 573
  5. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 431
  6. 2020OT-Flow: Fast and Accurate Continuous Normalizing Flows via Optimal Transportcited by 146
  7. 2019Graph Neural Networks for Decentralized Multi-Robot Path Planningcited by 88
  8. 2019Adaptive Deep Learning for High-Dimensional Hamilton-Jacobi-Bellman Equationscited by 41
  9. 2016Algorithms for Overcoming the Curse of Dimensionality for Certain Hamilton-Jacobi Equations Arising in Control Theory and Elsewherecited by 27
  10. 2025Operator Learning for Reconstructing Flow Fields from Sparse Measurements: an Energy Transformer Approachcited by 15
  11. 2022SympOCnet: Solving optimal control problems with applications to high-dimensional multi-agent path planning problemscited by 10
  12. 2022Spiking Neural Operators for Scientific Machine Learningcited by 9
5 more
  1. 2021AOSLO-net: A deep learning-based method for automatic segmentation of retinal microaneurysms from adaptive optics scanning laser ophthalmoscope imagescited by 6
  2. 2022SMS: Spiking Marching Scheme for Efficient Long Time Integration of Differential Equationscited by 6
  3. 2024Randomized Forward Mode Gradient for Spiking Neural Networks in Scientific Machine Learningcited by 2
  4. 2018A Splitting Method For Overcoming the Curse of Dimensionality in Hamilton-Jacobi Equations Arising from Nonlinear Optimal Control and Differential Games with Applications to Trajectory Generationcited by 1
  5. 2026Operator Learning for Reconstructing Flow Fields from Sparse Measurements: a Language Model Approachcited by 1

Built on by

Not cited yet.