TrafSeqFormer: Sequence Modeling With Multiagent Reinforcement Learning for Adaptive Traffic Signal Control

Rui Zhao, Haofeng Hu, Yuxin Zhai, Yuze Fan, Fei Gao, Chengyuan Zheng, Zhenhai Gao, Zhengcai Yang

Abstract

Urban traffic congestion is becoming increasingly complex, necessitating innovative solutions for adaptive traffic signal control (ATSC). The multi-agent reinforcement learning (MARL) framework offers a promising approach by enabling coordinated decision-making across multiple intersections. However, in large-scale scenarios, more intersections worsen issues like poor credit assignment and low data efficiency, degrading performance. In this paper, we introduce the Traffic Sequence Transformer (TrafSeqFormer), a novel MARL-based framework that leverages sequence modeling for cooperative traffic signal control. TrafSeqFormer incorporates an encoder-decoder architecture for actor and critic networks and applies the Multi-Agent Advantage Decomposition Theorem to transform the joint policy search in multi-intersection traffic control into a sequential decision-making process. Using auto-regressive action generation and self-attention, TrafSeqFormer improves credit assignment, data efficiency, and agent collaboration, enhancing scalability for real-world traffic systems. We compare TrafSeqFormer to both MARL and domain-specific baselines. In synthetic traffic networks, it reduces queue length by up to 83%, increases throughput by 15%, and cuts delay by 65%. In real-world datasets from Beijing, Hangzhou, and Jinan, TrafSeqFormer further reduces queue length by 27% and delay by 73.7%, consistently outperforming competitive baselines across diverse urban scenarios.
BibTeX
@article{zhao2026trafseqformer,
  author = {Rui Zhao and Haofeng Hu and Yuxin Zhai and Yuze Fan and Fei Gao and Chengyuan Zheng and Zhenhai Gao and Zhengcai Yang},
  title = {{TrafSeqFormer: Sequence Modeling With Multiagent Reinforcement Learning for Adaptive Traffic Signal Control}},
  journal = {IEEE Internet of Things Journal},
  year = {2026},
  doi = {10.1109/jiot.2025.3633873},
}

Loading related content...

Figure