LIGS: Learnable Intrinsic-Reward Generation Selection for Multi-Agent Learning

David Henry Mguni, Taher Jafferjee, Jianhong Wang, Oliver Slumbers, Nicolas Perez-Nieves, Feifei Tong, Li Yang, Jiangcheng Zhu, Yaodong Yang, Jun Wang

TL;DR

LIGS (Learnable Intrinsic-Reward Generation Selection) introduces an adaptive "Generator" agent that dynamically injects intrinsic rewards to coordinate exploration in multi-agent reinforcement learning (MARL). By utilizing a novel switching control mechanism, LIGS selectively modifies rewards only at critical states, significantly boosting sample efficiency in sparse-reward environments like StarCraft II without altering the underlying optimal policy.

What Problem Does This Paper Address?

Cooperative Multi-Agent Reinforcement Learning (MARL) is notoriously difficult because agents must not only learn individual skills but also coordinate their exploration to find optimal joint policies. Standard environment rewards are often sparse (e.g., simply "win" or "lose" in a strategy game), failing to provide enough feedback to guide multiple agents through complex joint trajectories.

While reward shaping can alleviate this sparsity by adding auxiliary rewards, hand-crafting these functions requires extensive domain expertise. Furthermore, poorly designed rewards can inadvertently change the underlying problem, leading agents to maximize the wrong objectives. Existing value-factorization methods (like QMIX) also struggle when coordination penalties create non-monotonic reward structures, frequently causing agents to get trapped in suboptimal local minima.

Methods

The authors propose LIGS, a framework that models cooperative MARL as a Markov Game with an extra player: the Generator.

Figure 1: Schematic of the LIGS framework.

Key components of the architecture include:

  • Adaptive Reward Generation: The Generator observes the base agents and learns an online policy to construct intrinsic rewards ($F^\theta$). Crucially, $F^\theta$ uses a potential-based formulation ($\gamma \theta_{t+1} - \theta_t$) that mathematically guarantees the agents' original optimal policy is preserved.
  • Switching Control Mechanism: Instead of calculating and adding rewards at every single state—which is computationally expensive and can destabilize learning—the Generator uses a binary switching policy ($g_c \in \{0, 1\}$). It only "switches on" intrinsic rewards at critical states, penalized by a small activation cost to encourage selectivity.
  • Exploration Bonus: The Generator's objective is augmented with an exploration bonus $L$ (implemented via Random Network Distillation (RND) or count-based metrics) to reward the system when agents explore novel joint actions.

LIGS is completely "plug-and-play" and can seamlessly wrap around existing MARL algorithms like MAPPO or QMIX.

Datasets

The framework was evaluated on two primary multi-agent benchmarks:

  1. Level-based Foraging (LBF): A grid-world environment modified to explicitly test coordinated exploration, avoidance of suboptimal local minima, and sparse rewards. Agents must simultaneously choose a "collect" action near an apple to receive a reward; uncoordinated attempts incur penalties.
  2. StarCraft Multi-Agent Challenge (SMAC): A highly complex combat benchmark. Testing included hard and super-hard maps: 5m_vs_6m, 6h_vs_8z, corridor, 3s5z_vs_3s6z, and MMM2.

Key Insights and Ideas

  • The Power of Selective Intervention: The Generator does not need to guide the agents constantly. By utilizing switching controls, it identifies narrow subregions of the state space where coordination fails and intervenes precisely there. For example, in foraging tasks, it only activates rewards when agents are close to the target, ensuring they coordinate their arrival time and avoid penalties.
Heatmap of Generator activations
  • Policy Invariance via Switching Controls: Extending single-agent potential-based reward shaping to a dynamic, multi-agent switching control setting is theoretically challenging. The authors prove that despite the Generator changing rewards online, the base agents' optimal joint policy remains unchanged, and the overall environment return is weakly increased.
  • Automated Task Decomposition: LIGS effectively breaks down complex, sparse-reward tasks into manageable sub-goals by dynamically shaping the reward landscape on the fly, allowing decentralized agents to solve tasks that vanilla MARL algorithms cannot.

Key Results

  • StarCraft II Superiority: LIGS consistently outperformed baselines (MAPPO, QMIX, LIIR, LICA, MAVEN) across all SMAC maps. On the challenging corridor map, vanilla MAPPO required over an extra million steps to match the win rate achieved rapidly by LIGS. On maps like 5m_vs_6m and 6h_vs_8z, the baselines failed to approach LIGS's performance entirely.
SMAC learning curves
  • Robustness to Sparse Rewards: In the sparse-reward LBF setting, LIGS and MAPPO both successfully mastered the environment, while other intrinsic reward and exploration baselines failed to learn any coordinated behavior.
  • Ablation Validation: Disabling the switching control mechanism (either by adding rewards randomly or constantly everywhere) severely degraded performance. This confirms that selective intervention is vital to stabilizing the learning dynamics of the $N+1$ agent game.

Limitations and Future Work

  • Theory vs. Practice Gap: The theoretical convergence guarantees provided in the paper rely on linear function approximators, whereas the actual implementation uses deep neural networks (MLPs trained via PPO), leaving a slight gap between formal proofs and practical execution.
  • Hyperparameter Sensitivity: The framework introduces additional hyperparameters, such as the switch activation cost ($c$) and the specific formulation of the exploration bonus ($L$), which require careful tuning depending on the environment's complexity.
  • Extension to Mixed Environments: LIGS is designed for cooperative settings. Extending this framework to competitive or mixed-motive (semi-cooperative) multi-agent environments remains an open direction for future research.

Summary updated

BibTeX
@inproceedings{mguni2022ligs,
  author = {David Henry Mguni and Taher Jafferjee and Jianhong Wang and Oliver Slumbers and Nicolas Perez-Nieves and Feifei Tong and Li Yang and Jiangcheng Zhu and Yaodong Yang and Jun Wang},
  title = {{LIGS: Learnable Intrinsic-Reward Generation Selection for Multi-Agent Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=CpTuR2ECuW},
}
Figure