This study introduces a novel approach for traffic control systems by using Large Language Models (LLMs) as traffic controllers. The study utilizes their logical reasoning, scene understanding, and decision-making capabilities to optimize throughput and provide feedback based on traffic conditions in real-time. LLMs centralize traditionally disconnected traffic control processes and can integrate traffic data from diverse sources to provide context-aware decisions. LLMs can also deliver tailored outputs using various means such as wireless signals and visuals to drivers, infrastructures, and autonomous vehicles. To evaluate LLMs ability as traffic controllers, this study proposed a four-stage methodology. The methodology includes data creation and environment initialization, prompt engineering, conflict identification, and fine-tuning. We simulated multi-lane four-leg intersection scenarios and generates detailed datasets to enable conflict detection using LLMs and Python simulation as a ground truth. We used chain-of-thought prompts to lead LLMs in understanding the context, detecting conflicts, resolving them using traffic rules, and delivering context-sensitive traffic management solutions. We evaluated the prformance GPT-mini, Gemini, and Llama as traffic controllers. Results showed that the fine-tuned GPT-mini achieved 83% accuracy and an F1-score of 0.84. GPT-mini model exhibited a promising performance in generating actionable traffic management insights, with high ROUGE-L scores across conflict identification of 0.95, decision-making of 0.91, priority assignment of 0.94, and waiting time optimization of 0.92. We demonstrated that LLMs can offer precise recommendations to drivers in real-time including yielding, slowing, or stopping based on vehicle dynamics.


    Access

    Download


    Export, share and cite



    Title :

    Large Language Models (LLMs) as Traffic Control Systems at Urban Intersections: A New Paradigm


    Contributors:

    Publication date :

    2024


    Remarks:

    The data and code that support the findings of this study are openly available in Zenodo at https://doi.org/10.5281/zenodo.14171745, reference number 14171745


    Type of media :

    Preprint


    Type of material :

    Electronic Resource


    Language :

    English





    Large Language Models (LLMs) Assisted Wireless Network Deployment in Urban Settings

    Sevim, Nurullah / Ibrahim, Mostafa / Ekin, Sabit | IEEE | 2024


    Traffic performance at urban street intersections

    Greenshields, B.D. / Schapiro, D. / Ericksen, E.L. | Engineering Index Backfile | 1947


    Traffic signals control of urban traffic intersections group based on fuzzy control

    Mu, HaiBo / Yu, Jianning / Liu, LinZhong | Tema Archive | 2010