MIR: Efficient Exploration in Episodic Multi-Agent Reinforcement Learning via Mutual Intrinsic Reward

Kesheng Chen, Wenjian Luo, Bang Zhang, Zeping Yin, Zipeng Ye · DOI

Abstract

In Multi-Agent Reinforcement Learning (MARL), sparse rewards present a significant challenge, often exacerbated by the exponential growth of the joint action space and the necessity for coordinated exploration. Traditional intrinsic reward mechanisms, which incentivize individual curiosity, frequently fail to foster the cooperative behaviors required to unlock complex environments. This paper introduces Mutual Intrinsic Reward (MIR), a novel framework that rewards agents for actions that enhance the observational novelty of their teammates. By shifting the focus from individual discovery to mutual influence, MIR enables agents to coordinate "helper" actions—such as opening doors or activating switches—that are prerequisites for team success. Experimental results on the MiniGrid-MA benchmark demonstrate that MIR significantly outperforms state-of-the-art methods, particularly in large-scale, sparse-reward scenarios where traditional algorithms fail to achieve any progress.

1. Introduction

Reinforcement Learning (RL) agents typically learn through trial and error, guided by environmental rewards. However, in many real-world and complex simulated tasks, these rewards are "sparse," occurring only upon successful completion of a long sequence of specific actions. In Multi-Agent Reinforcement Learning (MARL), this problem is compounded by the "curse of dimensionality": as the number of agents increases, the state-action space grows exponentially, making the random discovery of a reward signal statistically improbable.

While single-agent RL has seen success with intrinsic rewards—bonuses given for visiting novel states—these methods often struggle in cooperative multi-agent settings. Individual curiosity does not inherently encourage coordination. For instance, an agent might need to perform a task that provides no immediate novelty to itself but is essential for a teammate to explore a new area. Without a mechanism to reward this "mutual" benefit, agents often remain trapped in local optima, failing to discover the cooperative strategies necessary for the task.

2. The MIR Framework

The core innovation of this research is the Mutual Intrinsic Reward (MIR) mechanism. Unlike standard exploration strategies that measure how much an agent's action changes its own understanding of the environment, MIR quantifies how much an agent’s action influences the observational novelty of its teammates.

2.1 Technical Integration

MIR is designed to operate within the Centralized Training with Decentralized Execution (CTDE) paradigm, specifically integrated with the Multi-Agent Proximal Policy Optimization (MAPPO) algorithm. It acts as an enhancement layer rather than a standalone replacement, making it compatible with existing state-of-the-art (SOTA) intrinsic reward methods such as:

  • DEIR: Utilizes discriminative models to learn observation embeddings.
  • NovelD: Employs Random Network Distillation (RND) to calculate novelty based on the difference between successive states.

2.2 Softmax Weighting Mechanism

A critical challenge in implementing mutual rewards is preventing agents from becoming "distracted" by their teammates' exploration at the expense of their own. To address this, the authors implement a softmax-based mixing function. This function prioritizes the distribution of mutual rewards to agents who are already demonstrating high individual novelty, ensuring that the team's exploration efforts remain balanced and focused on productive discovery.

3. Experimental Methodology

To rigorously test MIR, the authors developed MiniGrid-MA, an extension of the single-agent MiniGrid environment tailored for multi-agent coordination. The benchmark consists of 2D grid worlds containing doors, keys, and switches that require synchronized actions.

3.1 Scenarios

The evaluation focused on several high-difficulty scenarios:

  • DoorKeyB: Agents must coordinate to find keys and unlock doors to reach a goal.
  • DoorSwitch (A-D): These maps require one agent to maintain a position (e.g., standing on a switch) to allow another agent to pass through a door. These tasks are particularly difficult because the "helper" agent receives no individual novelty or reward for standing on the switch.

Maps varied in size from 6x6 to 16x16. The larger maps (12x12 and 16x16) represent extreme sparse-reward challenges where the probability of reaching the goal through random exploration is near zero.

4. Results and Discussion

The experimental results highlight a significant performance gap between standard algorithms and those enhanced with MIR.

4.1 Overcoming the Exploration Ceiling

In the most challenging environments, such as DoorSwitch12x12 and DoorSwitch16x16, baseline algorithms—including MAPPO, RND, and the original versions of NovelD and DEIR—consistently achieved a score of 0.00. These agents were unable to coordinate the necessary "helper" actions to even begin exploring the goal-relevant areas of the map.

4.2 Performance Gains

When MIR was integrated, the agents successfully solved these tasks. For example, in the DoorSwitch12x12 environment, the base DEIR algorithm scored 0.13, while DEIR-MIR achieved a score of 1.44. Across nearly all tested environments, the addition of MIR resulted in a measurable increase in both learning speed and final performance, effectively "breaking the ceiling" that limited previous exploration methods.

5. Conclusion and Future Work

MIR represents a shift in how we approach multi-agent exploration, moving from individualistic curiosity to a team-based "mutual discovery" model. By rewarding agents for creating opportunities for their teammates, MIR facilitates the complex coordination required for sparse-reward environments.

Despite its success, the authors identify several areas for future research. MIR is currently optimized for cooperative tasks; in competitive or non-cooperative settings, it could potentially lead to suboptimal behavior by incentivizing unnecessary interactions. Furthermore, capturing long-term causality—where an action now helps a teammate much later in the episode—remains a significant challenge. Future iterations of MIR will likely explore more sophisticated weighting strategies to maintain stability across an even broader range of multi-agent scenarios.

Summary updated

BibTeX
@inproceedings{chen2025mir,
  author = {Kesheng Chen and Wenjian Luo and Bang Zhang and Zeping Yin and Zipeng Ye},
  title = {{MIR: Efficient Exploration in Episodic Multi-Agent Reinforcement Learning via Mutual Intrinsic Reward}},
  booktitle = {ICIC},
  year = {2025},
  doi = {10.1007/978-981-96-9908-7\_43},
}
Figure