Abstract: This paper investigates the problem of cooperative tuning of multi-agent optimal control systems, where a network of agents (i.e. multiple coupled optimal control systems) adjusts parameters in their dynamics, objective functions, or controllers in a coordinated way to minimize the sum of their loss functions. Different from classical techniques for tuning parameters in a controller, we allow tunable parameters appearing in both the system dynamics and the objective functions of each agent. A framework is developed to allow all agents to reach a consensus on the tunable parameter, which minimizes team loss. The key idea of the proposed algorithm rests on the integration of consensus-based distributed optimization for a multi-agent system and a gradient generator capturing the optimal performance as a function of the parameter in the feedback loop tuning the parameter for each agent. Both theoretical results and simulations for a synchronous multi-agent rendezvous problem are provided to validate the proposed method for cooperative tuning of multi-agent optimal control.
Introduction
In traditional optimal control (OC) frameworks, systems are typically designed to follow specific paths or achieve goals based on fixed dynamics and pre-defined objective functions. However, real-world applications often involve evolving missions or initial models that require adjustment. "Tuning" is the critical process of refining these parameters to improve performance without necessitating a complete redesign of the control architecture.
This challenge is amplified in multi-agent systems (MAS), such as drone swarms or autonomous vehicle fleets. When these agents must cooperate—for instance, to meet at a specific rendezvous point—they must optimize their individual trajectories while simultaneously agreeing on shared parameters. This creates a complex "bi-level" optimization problem:
- Inner Level: Each agent solves its own optimal control problem based on a specific parameter.
- Outer Level: Agents must iteratively adjust that parameter to minimize a collective "team loss" while ensuring a consensus is reached across the network.
Calculating how a parameter change propagates through an entire optimal trajectory is mathematically intensive, particularly when agents only have access to local information from immediate neighbors.
Methodology
The proposed framework, Cooperative Tuning of Multi-Agent Optimal Control Systems (CT-MAOCS), addresses this by combining distributed optimization with a specialized gradient generator.
Consensus-based Distributed Optimization
To maintain decentralization, agents utilize a local update rule. Each agent $i$ maintains its own estimate of the tunable parameter $\theta_i$. In each iteration, the agent performs two steps: it averages the estimates of its neighbors to move toward consensus and then updates its estimate in a direction that reduces its local loss function. This ensures that the global objective is met through local interactions, provided the communication network remains "strongly connected."
The Gradient Generator
The core innovation lies in how agents determine the direction of improvement. To move toward an optimal $\theta$, an agent needs the gradient of its loss with respect to that parameter. Because the loss depends on the agent's optimal trajectory—which itself is a result of an optimization process—the authors employ Neighboring Extremal Optimal Control (NEOC) theory.
By differentiating through the optimality conditions derived from Pontryagin’s Maximum Principle, the framework transforms complex sensitivity analysis into a simpler Linear-Quadratic (LQ) control problem. This allows each agent to compute the exact gradient of its optimal performance relative to the tunable parameter. Notably, this method allows for the tuning of parameters within the system dynamics (how the agent moves) and the objective functions (what the agent values), rather than being limited to simple controller gains.
Experimental Validation: Multi-Agent Rendezvous
The framework was validated using a numerical simulation of a Synchronous Multi-Agent Rendezvous problem. The setup involved five mobile robots utilizing a non-linear "unicycle" kinematic model. The robots started at random initial positions and were tasked with agreeing on a single, initially unspecified rendezvous point. The objective was to minimize a combination of individual energy consumption, travel distance, and the distance to the final consensus point.
Key Results
- Consensus Convergence: Despite starting with divergent estimates of the meeting location, all five agents successfully converged to a single shared coordinate ($\theta^*$).
- Loss Minimization: The team's average loss decreased consistently over iterations, confirming that the gradient generator provided accurate sensitivity information for the optimization process.
- Trajectory Optimization: The agents successfully balanced internal constraints (energy efficiency) with the global team goal, resulting in smooth, optimized paths toward the consensus point.
Discussion and Future Work
The CT-MAOCS framework demonstrates that bi-level optimization in MAS is tractable without "guess and check" methods. By using the second variation of the Hamiltonian, the system can analytically determine how an optimal trajectory will change in response to parameter nudges. This moves beyond simple PID or LQR gain tuning, allowing agents to effectively "learn" better models or adjust underlying goals dynamically.
Future research directions include:
- Continuous-Time Systems: Expanding the current discrete-time derivation to continuous-time domains.
- Non-Convex Landscapes: Addressing convergence in scenarios where loss functions are not strictly convex.
- Infinite Horizons: Extending the mathematical proofs from finite time windows to systems that operate indefinitely.
- Computational Acceleration: Incorporating techniques like Nesterov’s Accelerated Gradient to improve the speed of consensus in larger, more complex networks.
Summary updated