Skip to content

nuomizai/gMADRL-VCS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

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

Training

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

Visualize results

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

Checkpoints

Download the checkpoints from Google Drive and find all the results here.

Acknowledgement

Contact

If you have any questions, please contact linda.chao.007@gmail.com.

Citation

@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}}

About

The official implementation of gMADRL-VCS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages