Distributed Inverse Constrained Reinforcement Learning for Multi-agent Systems

Shicheng Liu, Minghui ZhuNeurIPS 2022

Introduction

In the realm of Multi-Agent Systems (MAS)—such as fleets of delivery drones or swarms of warehouse robots—manually programming complex behavior is notoriously difficult. Inverse Reinforcement Learning (IRL) offers an elegant alternative: instead of hard-coding rules, agents observe "expert" demonstrations and infer the underlying reward function driving those actions.

However, applying standard IRL to real-world multi-agent scenarios presents three significant hurdles:

  1. Constraints Matter: Behavior is rarely just about maximizing rewards; it often involves strict operational limits, like avoiding obstacles or restricted zones. A single, complex reward function struggles to capture these "hard limits."
  2. Data Silos: Demonstration data is frequently scattered across different locations or organizations. Due to privacy concerns or massive data volumes, centralizing this data is often unfeasible.
  3. Centralization Risks: Most existing IRL methods rely on a central server, creating a single point of failure and a potential communication bottleneck.

To address these challenges, this paper introduces Distributed Inverse Constrained Reinforcement Learning (D-ICRL). This novel framework allows a group of distributed learners to collaboratively deduce the hidden rewards and constraints of multiple experts without ever sharing their raw demonstration data.

D-ICRL Framework

Methodology: A Bi-Level Optimization Approach

D-ICRL operates on a peer-to-peer (P2P) network without a central server. The core of the algorithm is structured as a bi-level optimization problem:

  • The Outer Loop (Constraint Inference): Learners collaboratively estimate the constraints (e.g., "do not enter this zone"). They utilize a distributed Maximum Likelihood Estimation (MLE) approach, communicating intermittently to reach a consensus on the environment's constraints.
  • The Inner Loop (Reward & Policy Learning): Given the estimated constraints from the outer loop, learners use Maximum Causal Entropy (MCE) to find the reward function and policy that best explain the experts' actions. This step resolves the inherent ambiguity in IRL, where multiple reward functions could theoretically explain the same behavior.

To enable this distributed learning process, the authors employ three mathematical techniques:

  • Local Gradient Approximation (LGA): Allows individual learners to estimate their local progress.
  • Global Gradient Approximation (GGA): Helps learners track the average progress of the entire network.
  • Local Successive Convex Approximation (LSCA): Manages the non-convex nature of the global objective function, ensuring stable convergence.

Experiments and Key Results

The researchers evaluated D-ICRL across two distinct environments: a massive Synthetic Grid World (featuring over 387 million possible state-action pairs with three navigating experts) and a high-fidelity Drones in Gazebo physics simulation (where drones navigate continuous space to target doors while avoiding collisions).

Grid World Results and Metrics

The empirical results highlight several major successes:

  • Outperforming Baselines: In the grid world, D-ICRL achieved a 0.00 False Positive Rate (FPR) for constraints, successfully avoiding "hallucinated" obstacles. It consistently outperformed traditional greedy methods (like ME-greedy) across metrics such as cumulative reward and constraint violation rates.
  • High Success in Continuous Space: In the Gazebo drone simulation, D-ICRL achieved a 97% success rate in reaching goals without collisions, significantly surpassing the standard MCE-greedy baseline's 84% success rate.
  • Matching Centralized Performance: Remarkably, the distributed D-ICRL performed on par with a theoretical "Centralized ICRL" (C-ICRL) that had full access to all data simultaneously. This proves that distributing the learning process does not necessitate a compromise in accuracy.

Key Insights

  • Constraints are "Cleaner" than Rewards: The paper demonstrates that expert behavior is often more accurately and simply explained by a straightforward reward combined with explicit constraints, rather than a single, overly convoluted reward function.
  • Privacy by Design: Because learners only exchange model parameters (gradients and weights) rather than raw trajectory data, D-ICRL inherently preserves the privacy of the expert demonstrations.
  • Theoretical Robustness: The authors provide formal proofs guaranteeing that the distributed learners will asymptotically reach a consensus, and that this consensus represents a stationary point of the complex bi-level optimization problem.

Limitations and Future Work

While D-ICRL presents a significant step forward, the authors note two primary limitations. First, the current model assumes that reward and cost functions are linear combinations of features; real-world "black box" rewards may require non-linear approximations. Second, the algorithm requires frequent communication between learners to maintain consensus, which could become a bottleneck in low-bandwidth environments. Future work will likely focus on relaxing the linearity assumption and optimizing communication efficiency for larger-scale deployments.

Summary updated

BibTeX
@inproceedings{liu2022distributed,
  author = {Shicheng Liu and Minghui Zhu},
  title = {{Distributed Inverse Constrained Reinforcement Learning for Multi-agent Systems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=qv1JHOb-QH},
}
Figure