LiangZhang1996 / AttentionLight

Official code for "Knowledge intensive state design for traffic signal control"
GNU General Public License v3.0
21 stars 3 forks source link

1. Introduction

Official code for article Leveraging Queue Length and Attention Mechanisms for Enhanced Traffic Signal Control Optimization.

This article has been received by ECML PKDD 2023.

If you use our method, please cite our article.

@inproceedings{attentionlight,
  title={Leveraging Queue Length and Attention Mechanisms for Enhanced Traffic Signal Control Optimization},
  author={Zhang, Liang and Xie, Shubin and Deng, Jianming},
  booktitle={Joint European Conference on Machine Learning and Knowledge Discovery in Databases},
  pages={141--156},
  year={2023},
  organization={Springer}
}

2. Requirements

python3.6,tensorflow=2.4, cityflow, pandas, numpy

cityflow needs a Linux environment, and we run the code on Manjaro Linux.

3. Quick start

For the method in our article, run the following:

python run_attention_light.py
python run_max_ql.py
python run_ql_dqn.py
python run_ql_frap.py
python run_ql_gat.py

For the baseline methods,

4.2、Reference

The code is modified from Efficient_XLight. The Max-Pressure is created by ourselves, based on MaxPressure.

License

This project is licensed under the GNU General Public License version 3 (GPLv3) - see the LICENSE file for details.