Energy-Efficient Ground-Air-Space Vehicular Crowdsensing by Hierarchical Multi-Agent Deep Reinforcement Learning with Diffusion Models
Figure 1: Policy Visualization of gMADRL-VCS in ROMA map.
This project is the official implementation of gMADRL-VCS, an energy-efficient, goal-directed hierarchical multi-agent deep reinforcement learning method with discrete diffusion models capable of learning the optimal sensing policy for heterogeneous vehicular crowdsensing.
conda create -n vcs python=3.8
conda activate vcs
pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117
pip install -r requirements.txt
Run the following command to train the model on ROMA map.
export PYTHONPATH="../gMADRL-VCS/:$PYTHONPATH"
python methods/train.py dataset=ROMA seed=2 device=0 uav_n=4 ugv_n=4
To change more parameters, please refer to the file cfgs/config.yaml
.
Results are saved under ./exp_local
Config the file_path
(path contained save_data.npz
) in plot/plot.py
and run the following command to plot the metric curve during training.
cd plot
python plot.py
Download the checkpoints from Google Drive and find all the results here.
- D3PM-Pytorch, Austin et al.
- GARL, Wang et al.
If you have any questions, please contact linda.chao.007@gmail.com
.
@ARTICLE{10679184,
author={Zhao, Yinuo and Liu, Chi Harold and Yi, Tianjiao and Li, Guozheng and Wu, Dapeng},
journal={IEEE Journal on Selected Areas in Communications},
title={Energy-Efficient Ground-Air-Space Vehicular Crowdsensing by Hierarchical Multi-Agent Deep Reinforcement Learning With Diffusion Models},
year={2024},
volume={42},
number={12},
pages={3566-3580},
doi={10.1109/JSAC.2024.3459039}}