Prompt to Transfer: Sim-to-Real Transfer for Traffic Signal Control with Prompt Learning

Longchao Da, Minquan Gao, Hao Mei, Hua Wei
8/28/2023
79 citations
cs.AI
rl

Official code: DaRL-LibSignal/PromptGAT (35 stars, Python, last commit 2024-09-12).

Abstract

Numerous solutions are proposed for the Traffic Signal Control (TSC) tasks aiming to provide efficient transportation and mitigate congestion waste. In recent, promising results have been attained by Reinforcement Learning (RL) methods through trial and error in simulators, bringing confidence in solving cities' congestion headaches.

Show full abstract

However, there still exist performance gaps when simulator-trained policies are deployed to the real world. This issue is mainly introduced by the system dynamic difference between the training simulator and the real-world environments. The Large Language Models (LLMs) are trained on mass knowledge and proved to be equipped with astonishing inference abilities. In this work, we leverage LLMs to understand and profile the system dynamics by a prompt-based grounded action transformation. Accepting the cloze prompt template, and then filling in the answer based on accessible context, the pre-trained LLM's inference ability is exploited and applied to understand how weather conditions, traffic states, and road types influence traffic dynamics, being aware of this, the policies' action is taken and grounded based on realistic dynamics, thus help the agent learn a more realistic policy. We conduct experiments using DQN to show the effectiveness of the proposed PromptGAT's ability in mitigating the performance gap from simulation to reality (sim-to-real).

View on arXivView PDF

Code Implementations(1)

AAAI'24: Prompt to Transfer: Sim-to-Real Transfer for Traffic Signal Control with Prompt Learning

353PythonDec 14, 20232 years ago

Similar Papers

Cite this paper

@article{da2023prompt,
  title  = {Prompt to Transfer: Sim-to-Real Transfer for Traffic Signal Control with Prompt Learning},
  author = {Longchao Da and Minquan Gao and Hao Mei and Hua Wei},
  year   = {2023},
  eprint = {2308.14284},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.14284v6}
}

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/2308.14284.svg)](https://codeofpaper.com/paper/2308.14284)

Discussion