Adaptive Testing Environment Generation for Connected and Automated Vehicles with Dense Reinforcement Learning
This project contains the source code and data for the paper titled "Adaptive Testing Environment Generation for Connected and Automated Vehicles with Dense Reinforcement Learning".
Note that data/ and results/ are publicly available on the Hugging Face Hub.
|- data/
|- figures/
|- results/
|- example_results/
|- utils/
|- __init__.py
|- comb_coef.py
|- config.py
|- evaluation.py
|- extnp.py
|- importance_function.py
|- index.py
|- state.py
|- surrogate_model.py
|- test.py
|- train.py
bootstrap_AdaTE.py
bootstrap_NADE.py
bootstrap_NDE.py
generate_AdaTE.py
generate_NADE.py
Makefile
README.md
requirements.txt
results_analysis.ipynb
test_AdaTE.py
test_NADE.py
test_NDE.pyPlease create a new environment via conda and install the required packages as follows. Note that this project can be used on both Windows and Linux.
conda create -n denserl python=3.10
conda activate denserl
pip install -r requirements.txtPlease first configure the settings in Makefile (number of CPU cores, number of tests, etc.), and then use the following commands to run experiments.
make allInstead, you can run testing and evaluation separately as follows.
make test # test AV in NDE, NADE and AdaTE
make eval # bootstrap testing results of NDE, NADE and AdaTEFor development, to quickly check the pipeline, please use make dev.
Please run results_analysis.ipynb for results analysis. The example results are provided in results/example_results/.
Any contributions are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Yang, J., Bai, R., Ji, H., Zhang, Y., Hu, J., & Feng, S. (2025). Adaptive testing environment generation for connected and automated vehicles with dense reinforcement learning. IEEE Transactions on Intelligent Transportation Systems, 26(4), 5135-5145. https://www.doi.org/10.1109/TITS.2025.3535866
@article{yang2025adaptive,
title={Adaptive testing environment generation for connected and automated vehicles with dense reinforcement learning},
author={Yang, Jingxuan and Bai, Ruoxuan and Ji, Haoyuan and Zhang, Yi and Hu, Jianming and Feng, Shuo},
journal={IEEE Transactions on Intelligent Transportation Systems},
volume={26},
number={4},
pages={5135--5145},
year={2025},
publisher={IEEE}
}This code is licensed under the PolyForm Noncommercial License 1.0.0.
Jingxuan Yang ([email protected])
For help or issues using the code, please create an issue for this repository or contact Jingxuan Yang ([email protected]).
For general questions about the paper, please contact Shuo Feng ([email protected]).