Official implementation of VLMLight: Traffic Signal Control via Vision-Language Meta-Control and Dual-Branch Reasoning.
- [September 2025] ๐ VLMLight accepted at NeurIPS 2025! Paper Link
- [June 2025] Codebase open-sourced.
- [May 2025] Initial preprint released on arXiv, VLMLight.
VLMLight presents a novel vision-language multimodal framework for adaptive traffic signal control, featuring:
- The first vision-based traffic control system utilizing visual foundation models for scene understanding;
- A dual-branch architecture combining fast RL policies with deliberative LLM reasoning
- Enhanced handling of safety-critical scenarios through multi-agent collaboration
First multi-view visual traffic simulator enabling context-aware decision making:
| BEV | North | East | South | West |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
- Fast RL Policy: Efficient handling of routine traffic
- Deliberative Reasoning: Structured analysis for complex scenarios
- Meta-Controller: Dynamic branch selection based on real-time context
Specialized pipeline for emergency vehicle prioritization:
Deliberative Reasoning policy for complex traffic in Massy.
- Install TransSimHub:
git clone https://github.com/Traffic-Alpha/TransSimHub.git
cd TransSimHub
pip install -e ".[all]"- Install Qwen-Agent:
pip install -U "qwen-agent[gui,rag,code_interpreter,mcp]"
# Or use `pip install -U qwen-agent` for the minimal requirements.
# The optional requirements, specified in double brackets, are:
# [gui] for Gradio-based GUI support;
# [rag] for RAG support;
# [code_interpreter] for Code Interpreter support;
# [mcp] for MCP support.VLMLight provides both English and Chinese implementations. The following examples demonstrate the English version usage. For Chinese version, simply replace vlm_tsc_en with vlm_tsc_zh in all paths and commands.
Configure your LLM/VLM endpoints in vlm_tsc_en/vlmlight_decision.py:
llm_cfg = {
'model': 'Qwen/Qwen2.5-72B-Instruct-AWQ',
'model_type': 'oai',
'model_server': 'http://localhost:5070/v1',
'api_key': 'token-abc123',
'generate_cfg': {
'top_p': 0.8,
}
} # Language Model
llm_cfg_json = {
'model': 'Qwen/Qwen2.5-72B-Instruct-AWQ',
'model_type': 'oai',
'model_server': 'http://localhost:5070/v1',
'api_key': 'token-abc123',
'generate_cfg': {
'top_p': 0.8,
'response_format': {"type": "json_object"},
}
} # Language Model
vlm_cfg = {
'model': 'Qwen/Qwen2.5-VL-32B-Instruct-AWQ',
'model_type': 'qwenvl_oai',
'model_server': 'http://localhost:5030/v1',
'api_key': 'token-abc123',
'generate_cfg': {
'top_p': 0.8,
}
} # Vision Language ModelTrain RL policies for baseline control:
cd rl_tsc
python train_rl_tsc.pyPretrained models available in rl_tsc/results:
| Hongkong YMT | France Massy | SouthKorea Songdo |
|---|---|---|
![]() |
![]() |
![]() |
Execute the decision pipeline:
cd vlm_tsc_en
python vlmlight_decision.py.
โโโ assets/ # Visual assets for documentation
โโโ result_analysis/ # Trip information analysis tools
โ โโโ analysis_tripinfo.py # Performance metric calculation
โโโ rl_tsc/ # Reinforcement learning components
โ โโโ _config.py # RL training configuration
โ โโโ eval_rl_tsc.py # RL policy evaluation
โ โโโ train_rl_tsc.py # RL policy training
โ โโโ utils/ # RL helper functions
โโโ sim_envs/ # Traffic simulation scenarios
โ โโโ France_Massy/ # Massy, France intersection
โ โโโ Hongkong_YMT/ # YMT, Hong Kong intersection
โ โโโ SouthKorea_Songdo/ # Songdo, South Korea intersection
โโโ vlm_tsc_en/ # English version implementation
โ โโโ _config.py # English agent configuration
โ โโโ utils/ # English processing utilities
โ โโโ vlmlight_decision.py # English decision pipeline
โโโ vlm_tsc_zh/ # Chinese version implementation
โโโ _config.py # Chinese agent configuration
โโโ utils/ # Chinese processing utilities
โโโ vlmlight_decision.py # Chinese decision pipeline
If you find our work useful in your research, we would be grateful if you could cite our papers:
@inproceedings{wang2025vlmlight,
author = {Wang, Maonan and Chen, Yirong and Pang, Aoyu and Cai, Yuxin and Chen, Chung Shue and Kan, Yuheng and Pun, Man On},
booktitle = {Advances in Neural Information Processing Systems},
editor = {D. Belgrave and C. Zhang and H. Lin and R. Pascanu and P. Koniusz and M. Ghassemi and N. Chen},
pages = {39590--39621},
publisher = {Curran Associates, Inc.},
title = {{VLMLight}: Safety-Critical Traffic Signal Control via Vision-Language Meta-Control and Dual-Branch Reasoning Architecture},
url = {https://proceedings.neurips.cc/paper_files/paper/2025/file/3849b5861dcaeaf4758eef0979a98cc6-Paper-Conference.pdf},
volume = {38},
year = {2025}
}You may also be interested in our earlier work on LLM- and RL-based traffic signal control (TSC):
@article{wang2024llm,
title={LLM-Assisted Light: Leveraging Large Language Model Capabilities for Human-Mimetic Traffic Signal Control in Complex Urban Environments},
author={Wang, Maonan and Pang, Aoyu and Kan, Yuheng and Pun, Man-On and Chen, Chung Shue and Huang, Bo},
journal={arXiv preprint arXiv:2403.08337},
year={2024}
}
@ARTICLE{pang2026illmtsc,
author={Pang, Aoyu and Wang, Maonan and Pun, Man-On and Chen, Chung Shue and Xiong, Xi},
journal={IEEE Transactions on Vehicular Technology},
title={iLLM-TSC: Integration Reinforcement Learning and Large Language Model for Traffic Signal Control Policy Improvement},
year={2026},
volume={75},
number={8},
pages={15762-15776},
doi={10.1109/TVT.2026.3674284}
}
@ARTICLE{wang2024unitsa,
author={Wang, Maonan and Xiong, Xi and Kan, Yuheng and Xu, Chengcheng and Pun, Man-On},
journal={IEEE Transactions on Vehicular Technology},
title={UniTSA: A Universal Reinforcement Learning Framework for V2X Traffic Signal Control},
year={2024},
volume={73},
number={10},
pages={14354-14369},
doi={10.1109/TVT.2024.3403879}
}
@ARTICLE{wang2024ccda,
author={Wang, Maonan and Chen, Yirong and Kan, Yuheng and Xu, Chengcheng and Lepech, Michael and Pun, Man-On and Xiong, Xi},
journal={IEEE Transactions on Intelligent Transportation Systems},
title={Traffic Signal Cycle Control With Centralized Critic and Decentralized Actors Under Varying Intervention Frequencies},
year={2024},
volume={25},
number={12},
pages={20085-20104},
doi={10.1109/TITS.2024.3462153}
}
@ARTICLE{pang2024delaytsc,
author={Pang, Aoyu and Wang, Maonan and Chen, Yirong and Pun, Man-On and Lepech, Michael},
journal={IEEE Open Journal of Vehicular Technology},
title={Scalable Reinforcement Learning Framework for Traffic Signal Control Under Communication Delays},
year={2024},
volume={5},
pages={330-343},
doi={10.1109/OJVT.2024.3368693}
}We thank our collaborators from SenseTime and Shanghai AI Lab (in alphabetical order):
- Yuheng Kan (้ๅฎ่กก)
- Zian Ma (้ฉฌๅญๅฎ)
- Chengcheng Xu (ๅพๆฟๆ)
for their contributions to the TransSimHub simulator development.
If you have any questions, please open an issue in this repository. We will respond as soon as possible.









