Skip to content

zhaozijie2022/mg2l

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MG2L: Meta Multi-Agent Reinforcement Learning

This repository is the implementation of the paper Meta Learning Task Representation in Multi-Agent Reinforcement Learning: from Global Inference to Local Inference.

Overview

We propose MG2L, a mutual-information-based Global-to-Local training scheme with a multi-level task encoder. A centralized global representation is learned by maximizing MI with the task, while agents minimize conditional MI reduction to align local representations with global context. MG2L provides a versatile solution for meta-MARL.

The structure of MG2L


⚙️ Installation

The source code of MAMujoCo and MPE has been included in this repository, but you still need to install OpenAI gym, mujoco-py, RWARE and MAgent support.

conda create -n mg2l python=3.8
conda activate mg2l
pip install gym==0.21.0 mujoco_py==2.1.2.14 omegaconf rware==1.0.3

🚀 Quick Start

You can run the experiments by the following command:

python train.py --expt=default --algo=mg2l --env=mujoco-cheetah-dir gpu_id=0

The --env flag can be followed with any existing config name in the mg2l/config/algo_config/ directory, and any other config named xx (such as gpu_id) can be passed by xx=value.


Demos

encoder pia pia pia


🙏 Acknowledgement & 📜 Citation

Our code is built upon MAPPO and MATE. We thank all these authors for their nicely open sourced code and their great contributions to the community.

@article{zhao2025mg2l,
  author={Zhao, Zijie and Fu, Yuqian and Chai, Jiajun and Zhu, Yuanheng and Zhao, Dongbin},
  journal={IEEE Transactions on Neural Networks and Learning Systems}, 
  title={Meta Learning Task Representation in Multiagent Reinforcement Learning: From Global Inference to Local Inference}, 
  year={2025},
  volume={36},
  number={8},
  pages={14908-14921}
}

About

a novel algo for meta-MARL; 元-多智能体强化学习算法

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages