Traffic Signal Control Using Lightweight Transformers: An Offline-to-Online RL Approach

Xingshuai Huang, Di Wu, Benoit Boulet
12/12/2023
cs.LGcs.AI

No official code found. Best implementation: XingshuaiHuang/DTLight (15 stars, MIT, last commit 2024-05-10). 1 more below.

Abstract

Efficient traffic signal control is critical for reducing traffic congestion and improving overall transportation efficiency. The dynamic nature of traffic flow has prompted researchers to explore Reinforcement Learning (RL) for traffic signal control (TSC). Compared with traditional methods, RL-based solutions have shown preferable performance. However, the application of RL-based traffic signal controllers in the real world is limited by the low sample efficiency and high computational requirements of these solutions. In this work, we propose DTLight, a simple yet powerful lightweight Decision Transformer-based TSC method that can learn policy from easily accessible offline datasets. DTLight novelly leverages knowledge distillation to learn a lightweight controller from a well-trained larger teacher model to reduce implementation computation. Additionally, it integrates adapter modules to mitigate the expenses associated with fine-tuning, which makes DTLight practical for online adaptation with minimal computation and only a few fine-tuning steps during real deployment. Moreover, DTLight is further enhanced to be more applicable to real-world TSC problems. Extensive experiments on synthetic and real-world scenarios show that DTLight pre-trained purely on offline datasets can outperform state-of-the-art online RL-based methods in most scenarios. Experiment results also show that online fine-tuning further improves the performance of DTLight by up to 42.6% over the best online RL baseline methods. In this work, we also introduce Datasets specifically designed for TSC with offline RL (referred to as DTRL). Our datasets and code are publicly available.

View on arXivView PDF

Code Implementations(2)

MIT

Traffic Signal Control Using Lightweight Transformers: An Offline-to-Online RL Approach

152PythonMay 9, 20242 years agoMIT
MIT

Traffic Signal Control Using Lightweight Transformers: An Offline-to-Online RL Approach (https://arxiv.org/abs/2312.07795)

40PythonAug 14, 20232 years agoMIT

Similar Papers

Cite this paper

@article{huang2023traffic,
  title  = {Traffic Signal Control Using Lightweight Transformers: An Offline-to-Online RL Approach},
  author = {Xingshuai Huang and Di Wu and Benoit Boulet},
  year   = {2023},
  eprint = {2312.07795},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.07795v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.07795.svg)](https://codeofpaper.com/paper/2312.07795)

Discussion