Skip to content

This is the official implementation of [AAAI'25 Oral] accepted paper: Bridging Training and Execution via Dynamic Directed Graph-Based Communication in Cooperative Multi-Agent Systems.

Notifications You must be signed in to change notification settings

ZhuohuiZhang/TGCNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TGCNet (Transformer-Based Graph Coarsening Network)

Official implementation of the paper "Bridging Training and Execution via Dynamic Directed Graph-Based Communication in Cooperative Multi-Agent Systems" (AAAI Oral 2025). This repository contains PyTorch code for training and evaluating TGCNet on cooperative multi-agent benchmarks including StarCraft Multi-Agent Challenge (SMAC), Level-Based Foraging (LBF), and Hallway. The implementation is built upon the EPyMARL framework.

Overview

Framework Overview: Dynamic graph construction and coarsening process during agent interactions TGCNet Diagram
Paper Details:
📄 Bridging Training and Execution via Dynamic Directed Graph-Based Communication in Cooperative Multi-Agent Systems

Repository Structure

.
├── README.md
└── src
    ├── components/          # Core components (buffers, schedules, transforms)
    ├── config/              # Configuration files
    │   ├── algs/tgcnet.yaml # TGCNet hyperparameters
    │   ├── default.yaml     # Base configuration
    │   └── envs/           # Environment-specific settings
    ├── controllers/         # Training controllers
    ├── envs/                # Environment wrappers
    ├── learners/            # Learning algorithms
    ├── modules/             # Neural network modules
    │   ├── agents/         # Agent architectures
    │   ├── layers/         # Custom neural layers
    │   └── mixers/         # Value mixing networks
    ├── runners/             # Experiment runners
    └── utils/               # Utility functions

Installation

  1. Clone the repository:
git clone https://github.com/ZhuohuiZhang/tgcnet.git
cd tgcnet
  1. Install dependencies:
conda create -n tgcnet python=3.11
conda activate tgcnet
pip install -r requirements.txt

Usage

Training

python src/main.py --alg-config=tgcnet --env-config=sc2 with env_args.map_name="corridor"

Supported Tasks

Environment Config File Example Command
SMAC config/envs/sc2.yaml --env-config=sc2 with env_args.map_name="2s_vs_1sc"
LBF config/envs/gymma.yaml --env-config=gymma with env_args.time_limit=25 env_args.key="lbforaging:Foraging-11x11-6p-4f-v2"
Hallway config/envs/hallway.yaml --env-config=hallway

Citation

Please consider to cite our paper if you find TGCNet helpful in your research:

@inproceedings{zhang2024bridging,
  title={Bridging Training and Execution via Dynamic Directed Graph-Based Communication in Cooperative Multi-Agent Systems},
  author={Zhang, Zhuohui and He, Bin and Cheng, Bin and Li, Gang},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  year={2025},
  address = {Philadelphia, Pennsylvania, USA}
}

About

This is the official implementation of [AAAI'25 Oral] accepted paper: Bridging Training and Execution via Dynamic Directed Graph-Based Communication in Cooperative Multi-Agent Systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages