NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LPMARL: Linear Programming based Implicit Task Assigment for Hiearchical Multi-Agent Reinforcement Learning

Kyuree Ahn, Jinkyoo ParkOpenReview 2021

TL;DR

This paper introduces LPMARL, a novel hierarchical multi-agent reinforcement learning (MARL) framework that tackles the challenge of sparse rewards by using linear programming (LP) for explicit task assignment. By integrating a graph neural network (GNN) to generate state-dependent LP costs and training end-to-end with an implicit function theorem, LPMARL effectively decomposes complex tasks and achieves superior performance in challenging cooperative environments.

What Problem Does This Paper Address?

Training multi-agent reinforcement learning (MARL) systems is notoriously difficult, especially when rewards are sparse. In such scenarios, the success or failure of a task depends on a complex interplay of actions from multiple agents, making it hard to assign credit and learn effective coordination strategies. Existing hierarchical MARL approaches often require task-specific designs for high-level and low-level actions or rely on intrinsic rewards, which can limit their generality. This paper aims to address this by developing a more robust and generalizable framework for learning cooperative policies in sparse-reward settings through a structured, hierarchical approach.

Methods

LPMARL employs a two-level hierarchical decision-making process:

  1. High-Level Policy: Agent-Task Assignment (Linear Programming): The core innovation is formulating the agent-task assignment problem as a constrained resource assignment problem, a type of linear programming (LP). A graph neural network (GNN) takes the global state as input and generates state-dependent cost coefficients for the LP. The solution to this LP provides an explicit assignment of agents to tasks, effectively decomposing the global objective into sub-goals. This approach offers interpretability and allows for incorporating inductive biases through LP constraints.
  2. Low-Level Policy: Cooperative Game Solving: For each sub-task assigned by the high-level policy, a standard MARL strategy is used to train a local cooperative policy among the assigned agents.

The GNN for generating LP coefficients and the low-level MARL policy are trained end-to-end using an implicit function theorem, enabling gradient propagation through the LP solver.

Datasets

The paper evaluates LPMARL on three environments:

  • Single-Step, Static Assignment: Single-Step Grouping Environment: A task assignment problem where agents need to be grouped into a specific number of clusters.
  • Multi-Step, Static Assignment: Cooperative Navigation: Agents must reach and occupy distinct destinations, requiring coordinated navigation. Both dense and sparse reward settings are used.
  • Multi-Step, Dynamic Assignment: StarCraft II Micromanagement (SMAC): A challenging real-time strategy game environment used to test MARL algorithms in complex, dynamic scenarios with sparse rewards.

Key Insights and Ideas

  • LP for Explicit Task Decomposition: Framing task assignment as an LP problem provides a principled and interpretable way to decompose complex tasks and assign agents to sub-goals, overcoming the ambiguity of sparse rewards.
  • GNN-driven LP Coefficients: Using a GNN to generate state-dependent cost coefficients for the LP allows the system to dynamically adapt task assignments based on the current state, making the approach more flexible than static assignment methods.
  • End-to-End Differentiable Training: Training the GNN and the low-level policies together via implicit differentiation enables effective credit assignment and optimization across hierarchical levels.
  • Interpretability and Controllability: The LP formulation allows for the explicit incorporation of constraints (e.g., minimum agents per task), offering greater control and interpretability compared to methods that learn latent task representations.
  • Robustness to Sparse Rewards: LPMARL demonstrates strong performance in sparse-reward settings where other state-of-the-art methods struggle, highlighting its effectiveness in credit assignment.

Key Results

LPMARL consistently outperforms baseline algorithms (MAAC, QMIX, MADDPG, CommNet, CMAE, SEAC) across the evaluated environments, particularly in sparse-reward settings.

  • Single-Step Grouping: Achieved the highest average winning ratio with the lowest standard deviation, demonstrating effective agent clustering.
  • Cooperative Navigation: Showed significantly better performance in sparse-reward settings compared to baselines, maintaining a high landmark occupation ratio even with increasing agent numbers.
  • StarCraft II Micromanagement: Achieved competitive or superior winning ratios in dense-reward settings and demonstrated meaningful success in sparse-reward settings where other algorithms failed, with lower variance.

Limitations and Future Work

  • Computational Cost of LP: Solving LPs can be computationally intensive, especially with a large number of agents and tasks. The paper mentions using CVXPY for solving LPs, which might be a bottleneck for very large-scale problems.
  • Centralized High-Level Policy: The high-level agent-task assignment is performed in a centralized manner. Future work could explore decentralized or partially decentralized high-level decision-making.
  • Exploration in LP Constraints: While the paper mentions the ability to add constraints for exploration, further research could delve deeper into how to leverage LP constraints for more sophisticated exploration strategies.
  • Generalization to More Complex Dynamics: While tested on challenging environments, exploring LPMARL's performance in environments with more complex state-action dynamics or non-stationary opponents would be valuable.

Summary updated

BibTeX
@misc{ahn2021lpmarl,
  author = {Kyuree Ahn and Jinkyoo Park},
  title = {{LPMARL: Linear Programming based Implicit Task Assigment for Hiearchical Multi-Agent Reinforcement Learning}},
  year = {2021},
  url = {https://openreview.net/forum?id=9KVfvieKho6},
  howpublished = {OpenReview},
}
Figure