Abstract
In many real-world multi-agent systems, agents must maximize rewards while adhering to safety constraints that are initially unknown and vary with environmental context. This paper introduces c.z.AdaNormalGP, a novel algorithm designed for multi-agent learning in these complex settings. By integrating Gaussian Process (GP) uncertainty modeling with a "sleeping expert" framework, the algorithm achieves sublinear regret and ensures that cumulative constraint violations vanish over time. We demonstrate the effectiveness of our approach in both synthetic games and a high-fidelity multi-building temperature control simulation.
Introduction
Traditional game-theoretic models often assume that the set of feasible or "safe" actions is known to all agents. However, in applications like autonomous drone navigation or smart grid management, safety boundaries are often unknown a priori and depend on dynamic environmental factors, or context. For instance, a temperature controller in a smart building must minimize energy costs while maintaining occupant comfort, but the thermal response of the building changes with external weather conditions.
This paper addresses the challenge of learning in contextual games where both reward and constraint functions are unknown. The goal is twofold: achieving no-regret (performing as well as the best fixed policy in hindsight) and no-violation (ensuring the average number of safety violations approaches zero).
The c.z.AdaNormalGP Algorithm
The proposed algorithm, c.z.AdaNormalGP, relies on three core components:
- Gaussian Process (GP) Modeling: The algorithm maintains probabilistic models of unknown reward and constraint functions. It utilizes Upper Confidence Bounds (UCB) to encourage the exploration of high-reward actions and Lower Confidence Bounds (LCB) for constraints to identify actions that are likely to be safe.
- The "Sleeping Expert" Analogy: To handle unknown constraints, the authors map the problem to a "sleeping expert" framework. Actions whose constraint LCBs indicate a high risk of violation are treated as "asleep" and temporarily removed from the agent's available action set. This allows the use of regret-minimization tools like AdaNormalHedge.
- Context Management: For finite context spaces, the algorithm tracks separate distributions for each state. For infinite or continuous context spaces, it employs an $\epsilon$-net approach, grouping similar contexts to share learning data efficiently.
Experimental Evaluation
The researchers evaluated c.z.AdaNormalGP using two primary benchmarks:
- Synthetic N-Player Games: A controlled setup with three players and randomly generated reward/constraint functions.
- Multi-Building Temperature Control: A simulation using Energym and Modelica involving three buildings with heat pumps. The objective was to tune controllers to minimize energy costs while keeping room temperatures within occupant comfort zones.
Key Results and Insights
Theoretical Guarantees
The authors prove that c.z.AdaNormalGP achieves sublinear bounds for both regret and cumulative constraint violations. In finite context spaces, the regret scales at $O(\sqrt{T})$, matching the performance of standard unconstrained contextual learning algorithms.
Safety and Performance in Practice
In the building simulation, c.z.AdaNormalGP successfully minimized energy costs while strictly adhering to comfort constraints. As shown in Figure 1, the algorithm converges to the minimum feasible cost. In contrast, unconstrained baselines like GPMW achieved lower costs by frequently violating safety constraints, which would be unacceptable in real-world deployments.
Equilibrium Convergence
The paper introduces a new equilibrium concept: constrained contextual coarse correlated equilibria (c.z.CCE). The authors demonstrate that if all agents in a system adopt a no-regret, no-violation strategy like c.z.AdaNormalGP, the system as a whole converges toward this stable and safe equilibrium.
Limitations and Future Work
While c.z.AdaNormalGP provides a robust framework for unknown constraints, several challenges remain:
- Coupling Constraints: The current model assumes constraints only depend on an agent's own actions. Future work will address scenarios where one agent's actions affect the safety of others.
- Computational Complexity: The use of Gaussian Processes can become computationally expensive over many rounds. Sparse GP approximations or neural network-based uncertainty estimation could improve scalability.
- Initial Feasibility: The algorithm assumes a feasible policy exists. Future research could explore how to handle environments where constraints are so restrictive that no safe actions are initially apparent.
Summary updated