Skip to content
Projects

le-liang/MARLspectrumSharingV2X

View on GitHub

About

Spectrum sharing in vehicular networks based on multi-agent reinforcement learning. Published in IEEE Journal on Selected Areas in Communications.

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Spectrum sharing in vehicular networks based on multi-agent reinforcement learning

L. Liang, H. Ye, and G. Y. Li, "Spectrum sharing in vehicular networks based on multi-agent reinforcement learning," IEEE Journal on Selected Areas in Communications, vol. 37, no. 10, pp. 2282-2292, Oct. 2019.

Trained and tested with Python 3.6 + TensorFlow 1.12.0.

How to use the code:

  • To train the multi-agent RL model: main_marl_train.py + Environment_marl.py + replay_memory.py
  • To train the benchmark single-agent RL model: main_sarl_train.py + Environment_marl.py + replay_memory.py
  • To test all models in the same environment: main_test.py + Environment_marl_test.py + replay_memory.py + '/model'.
    • Figures 3 and 4 in the paper can be directly reproduced from running "main_test.py". Change the V2V payload size by "self.demand_size" in "Environment_marl_test.py".
    • Figure 5 can only be obtained from recording returns during training.
    • Figures 6-7 show performance of an arbitrary episode (but with failed random baseline and successful MARL transmission). In fact, most of such episodes exhibit some interesting observations demonstrating multi-agent cooperation. Interpretation is up to the readers.
    • Use of "Test" mode in "main_marl_train.py" is not recommended.

NOTE: Kai Huang has released a more refined repo of this project, written in PyTorch, which runs much faster than this TensorFlow version. Please check it out here: https://github.com/huangkk99/MARLV2X

Explore related projects

Loading…