{"title":"Traffic Signal Control Using Lightweight Transformers: An Offline-to-Online RL Approach","authors":"Xingshuai Huang;Di Wu;Benoit Boulet","doi":"10.1109/OJITS.2026.3654547","DOIUrl":null,"url":null,"abstract":"Efficient traffic signal control is of critical importance for minimizing traffic congestion and enhancing transportation efficiency. Researchers have turned to Reinforcement Learning (RL) for traffic signal control (TSC) due to the dynamic nature of traffic flow. Despite its potential, the real-world application of RL-based controllers is constrained by low sample efficiency and high computational demands. To address these challenges, we propose DTLight, a simple yet powerful lightweight Decision Transformer (DT)-based offline-to-online TSC method that can learn policy from pre-collected offline datasets while maintaining the capability to refine policy with minimal online interactions. Specifically, we propose three novel adaptive knowledge distillation methods to learn a lightweight offline controller from a well-trained larger teacher model to reduce implementation computation. Additionally, we integrate adapter modules to mitigate the expenses associated with fine-tuning, which makes DTLight practical for online enhancement with minimal computation and only a few fine-tuning steps during real deployment. Extensive experiments have been implemented on different traffic scenarios. The results show that DTLight pre-trained purely on offline datasets can outperform state-of-the-art methods in most scenarios. Additionally, online fine-tuning further improves the performance by up to 40.7% over the best online RL baseline methods. Moreover, we introduce <inline-formula> <tex-math>$D$ </tex-math></inline-formula>atasets specifically designed for <inline-formula> <tex-math>$T$ </tex-math></inline-formula>SC with offline RL (referred to as DTRL). Our datasets and code are publicly available: <uri>https://github.com/xingshuaihuang/dtlight</uri>.","PeriodicalId":100631,"journal":{"name":"IEEE Open Journal of Intelligent Transportation Systems","volume":"7 ","pages":"396-411"},"PeriodicalIF":4.6000,"publicationDate":"2026-01-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=11352509","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Open Journal of Intelligent Transportation Systems","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/11352509/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Efficient traffic signal control is of critical importance for minimizing traffic congestion and enhancing transportation efficiency. Researchers have turned to Reinforcement Learning (RL) for traffic signal control (TSC) due to the dynamic nature of traffic flow. Despite its potential, the real-world application of RL-based controllers is constrained by low sample efficiency and high computational demands. To address these challenges, we propose DTLight, a simple yet powerful lightweight Decision Transformer (DT)-based offline-to-online TSC method that can learn policy from pre-collected offline datasets while maintaining the capability to refine policy with minimal online interactions. Specifically, we propose three novel adaptive knowledge distillation methods to learn a lightweight offline controller from a well-trained larger teacher model to reduce implementation computation. Additionally, we integrate adapter modules to mitigate the expenses associated with fine-tuning, which makes DTLight practical for online enhancement with minimal computation and only a few fine-tuning steps during real deployment. Extensive experiments have been implemented on different traffic scenarios. The results show that DTLight pre-trained purely on offline datasets can outperform state-of-the-art methods in most scenarios. Additionally, online fine-tuning further improves the performance by up to 40.7% over the best online RL baseline methods. Moreover, we introduce $D$ atasets specifically designed for $T$ SC with offline RL (referred to as DTRL). Our datasets and code are publicly available: https://github.com/xingshuaihuang/dtlight.