FORMULA: FORmation MPC with neUral barrier Learning for safety Assurance
Authors: Qintong Xie, Weishu Zhan, Peter Chin
Organizations: Thayer School of Engineering, Dartmouth College, NH 03784. · Department of Computer Science, The University of Manchester, Manchester M13 9PL, United Kingdom.
Multi-robot systems (MRS) are essential for large-scale applications such as disaster response, material transport, and warehouse logistics, yet ensuring robust, safety-aware formation control in cluttered and dynamic environments remains a major challenge. Existing model predictive control (MPC) approaches suffer from limitations in scalability and provable safety, while control barrier functions (CBFs), though principled for safety enforcement, are difficult to handcraft for large-scale nonlinear systems. This paper presents FORMULA, a safe distributed, learning-enhanced predictive control framework that integrates MPC with Control Lyapunov Functions (CLFs) for stability and neural network-based CBFs for decentralized safety, eliminating manual safety constraint design. This scheme maintains formation integrity during obstacle avoidance, resolves deadlocks in dense configurations, and reduces online computational load. Simulation results demonstrate that FORMULA enables scalable, safety-aware, formation-preserving navigation for multi-robot teams in complex environments.
Figures & tables
Fig. 1: Cooperative formation and safety-aware navigation for multiple mobile robots.
Fig. 2: Overview of the proposed FORMULA framework. Left: each robot runs a distributed MPC-CLF optimizer for formation stability and a NN–CBF module for safety, with an event-triggered deadlock-resolution mechanism. Right: one of the multi-robot simulation environments.
Fig. 3: Formation control in obstacle-dense environments. (a) Planar trajectories of the leader (red) and followers (magenta, blue, green, cyan) among randomly placed obstacles (gray circles). (b) Formation tracking error ∥eNi∥ over time for all followers, showing a temporary increase during obstacle negotiation followed by convergence as the formation re-stabilizes.
Followers
Method
Safety rate ↑
Avg. form. err. [m] ↓
Avg. min. dist. [m] ↑
2
APF
0.297
1.090
0.059
MPC-CBF
0.755
1.129
0.417
CLF+CBF-QP
0.717
0.787
0.409
Proposed
0.863
0.705
0.490
4
APF
0.220
0.925
0.078
MPC-CBF
0.456
1.045
0.353
TABLE I: Safety rate, average formation error, and average minimum distance for different controllers and team sizes. Each entry is averaged over one representative rollout.
Fig. 4: Deadlock resolution in FORMULA . Colored trajectories show four robots safely crossing at an intersection near the origin. The event-triggered mechanism perturbs the nominal states x^i when Ei<0 , breaking potential deadlocks while maintaining safety and formation coherence.
This paper proposes a fully decentralized model predictive control (MPC) framework with control barrier function (CBF) constraints for safety-critical trajectory planning in multi-robot legged systems. The incorporation of CBF constraints introduces explicit inter-agent coupling, which prevents direct decomposition of the resulting optimal control problems. To address this challenge, we reformulate the centralized safety-critical MPC problem using a structured distributed optimization framework based on the alternating direction method of multipliers (ADMM). By introducing a novel node-edge splitting formulation with consensus constraints, the proposed approach decomposes the global problem into independent node-local and edge-local quadratic programs that can be solved in parallel using only neighbor-to-neighbor communication. This enables fully decentralized trajectory optimization with symmetric computational load across agents while preserving safety and dynamic feasibility. The proposed framework is integrated into a hierarchical locomotion control architecture for quadrupedal robots, combining high-level distributed trajectory planning, mid-level nonlinear MPC enforcing single rigid body dynamics, and low-level whole-body control enforcing full-order robot dynamics. The effectiveness of the proposed approach is demonstrated through hardware experiments on two Unitree Go2 quadrupedal robots and numerical simulations involving up to four robots navigating uncertain environments with rough terrain and external disturbances. The results show that the proposed distributed formulation achieves performance comparable to centralized MPC while reducing the average per-cycle planning time by up to 51% in the four-agent case, enabling efficient real-time decentralized implementation.
Yicheng Zeng, Ruturaj S. Sambhus, Basit Muhammad Imran +3
Department of Mechanical Engineering, Virginia Tech, Blacksburg, VA 24061, USA · The University of Texas at El Paso, El Paso, TX 79968, USA
Control barrier functions (CBFs) have become one of the most popular tools for encoding and enforcing state constraints in safety-critical robotics. Standard CBF approaches are inherently myopic in nature as they enforce safety only at the current time step. Consequently, the system can be driven toward the boundary of the safe set where no feasible safe control exists at a future timestep. Model predictive control (MPC) based approaches address this by enforcing state constraints over a receding horizon. However, such approaches generally require the model to be known for solving a constrained optimization problem at every step, which is computationally expensive for real-time deployment. We propose BarrierFormer, a barrier-supervised transformer framework that addresses these limitations by encoding rollout-level CBF constraints in learning a model-free safe policy. A causal transformer encodes observation-action history, autoregressively generates a predictive rollout through the dynamics head to replace the model, and provides a residual correction to a nominal controller through the action head to replace the online computation. A barrier critic operating on local observations evaluates CBF constraint violations along this rollout, and a safety teacher computes barrier-consistent actions satisfying these constraints as direct supervision targets for the learned control policy. During inference, the policy maps observation-action history to control actions without any online optimization or model knowledge, enabling real-time model-free predictive safety enforcement. Evaluations across linear and nonlinear, 2D and 3D dynamical systems for safe goal-directed navigation demonstrate that BarrierFormer outperforms existing reinforcement learning (RL)-based, diffusion-based, MPC-based, and transformer-based approaches in safety rate and inference latency.
We consider safety-critical multi-agent systems with distributed control architectures and potentially varying network topologies. While learning-based distributed control enables scalability and high performance, a lack of formal safety guarantees in the face of unforeseen disturbances and unsafe network topology changes may lead to system failure. To address this challenge, we introduce structured control barrier functions (s-CBFs) as a multi-agent safety framework. The s-CBFs are augmented to a distributed predictive control barrier function (D-PCBF), a predictive, optimization-based safety layer that uses model predictions to guarantee recoverable safety at all times. The proposed approach enables a permissive yet formal plug-and-play protocol, allowing agents to join or leave the network while ensuring safety recovery if a change in network topology requires temporarily unsafe behavior. We validate the formulation through simulations and real-time experiments of a miniature race-car platoon.
Jonas Ohnemus, Alexandre Didier, Ahmed Aboudonia +2
Institute for Dynamic Systems and Control, ETH Zurich, 8092 Zurich, Switzerland · University of California Berkeley, 94720 CA, USA