Assume-Guarantee Reinforcement Learning

Milad Kazemi, Mateo Perez, Fabio Somenzi, Sadegh Soudjani, Ashutosh Trivedi, Alvaro Velasquez

Introduction

Training centralized controllers for large-scale multi-agent systems, such as urban traffic networks or industrial HVAC systems, is notoriously difficult. The "curse of dimensionality" causes state spaces to grow exponentially with the number of agents, while purely decentralized reinforcement learning (RL) often suffers from non-stationarity as agents adapt to each other's changing behaviors. This paper introduces a modular "Assume-Guarantee" (AG) framework designed to enable independent learning while providing mathematically sound global performance guarantees.

The Assume-Guarantee Framework

The core innovation lies in decomposing a complex global objective into local contracts. Instead of treating neighboring agents as part of a stochastic environment, each agent interacts with its neighbors through an AG contract.

The two-step AG framework: solving local Markov games under assumptions followed by global composition.

This process involves two primary steps:

  1. Contract-Based Learning: Each agent's local environment is modeled as a two-player Markov game. The agent (the controller) aims to satisfy its specific guarantee, while the "environment" (representing neighbors) is treated as an adversary constrained by the "Assumption" part of the contract.
  2. Compositional Reasoning: The authors provide a theoretical proof that if each agent satisfies its local contract with a certain probability, the product of these local probabilities serves as a rigorous lower bound for the global system's success probability. This allows for global performance estimation without the need for massive joint simulations.

Formal Specifications and Robust Learning

To handle complex temporal goals (e.g., "Reach point A, then B, while avoiding C"), the framework utilizes Deterministic Finite Automata (DFA). This allows for precise mathematical definitions of success. Crucially, agents do not need full state information from their neighbors; they only require the current state of the neighbor's objective DFA. This abstraction significantly reduces communication overhead and enhances scalability.

The local games are solved using Minimax-Q learning (including deep learning variants). This approach ensures that the resulting policies are robust against the worst-case behaviors of neighbors, provided those neighbors adhere to their contractual assumptions.

Experimental Evaluation

The framework was evaluated on three distinct scenarios: a multi-agent grid world, a 16-room temperature control network, and a 3x3 traffic light grid.

Simulation environment for the 3x3 traffic light control task.

In the traffic control task, the goal was to maintain vehicle queues below a critical threshold. The AG framework successfully derived lower bounds for global satisfaction that closely tracked empirical results. Notably, the system demonstrated high efficiency, solving the 16-room problem in approximately 10 minutes and the 9-intersection traffic problem in 100 minutes on standard consumer hardware. The results also highlighted that "Limited Communication" (sharing DFA states) performs significantly better than no communication while remaining far more scalable than full-state sharing.

Insights and Limitations

A key theoretical contribution is the method for breaking circular dependencies (where Agent A's safety depends on B, and vice versa) through mathematical induction over time steps. Furthermore, the use of homogeneous agent policies—training one policy and cloning it—allowed for massive computational savings in symmetric systems like the traffic grid.

However, the current framework is limited to finitary properties representable by DFAs and does not yet support infinite-horizon Linear Temporal Logic (LTL). Additionally, the adversarial nature of the local games can lead to conservative policies compared to centralized solutions. Future work aims to extend these bounds to full LTL and explore coarser abstractions to further tighten performance estimates.

Summary updated

BibTeX
@inproceedings{kazemi2024assume,
  author = {Milad Kazemi and Mateo Perez and Fabio Somenzi and Sadegh Soudjani and Ashutosh Trivedi and Alvaro Velasquez},
  title = {{Assume-Guarantee Reinforcement Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i19.30116},
}
Figure