Visual Reasoning at Urban Intersections: FineTuning GPT-4o for Traffic Conflict Detection

Sari Masri, Huthaifa I. Ashqar, Mohammed Elhenawy
2/27/2025
cs.CVcs.CL

No confident code implementation found for this paper.

Abstract

Traffic control in unsignalized urban intersections presents significant challenges due to the complexity, frequent conflicts, and blind spots. This study explores the capability of leveraging Multimodal Large Language Models (MLLMs), such as GPT-4o, to provide logical and visual reasoning by directly using birds-eye-view videos of four-legged intersections. In this proposed method, GPT-4o acts as intelligent system to detect conflicts and provide explanations and recommendations for the drivers. The fine-tuned model achieved an accuracy of 77.14%, while the manual evaluation of the true predicted values of the fine-tuned GPT-4o showed significant achievements of 89.9% accuracy for model-generated explanations and 92.3% for the recommended next actions. These results highlight the feasibility of using MLLMs for real-time traffic management using videos as inputs, offering scalable and actionable insights into intersections traffic management and operation. Code used in this study is available at https://github.com/sarimasri3/Traffic-Intersection-Conflict-Detection-using-images.git.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{masri2025visual,
  title  = {Visual Reasoning at Urban Intersections: FineTuning GPT-4o for Traffic Conflict Detection},
  author = {Sari Masri and Huthaifa I. Ashqar and Mohammed Elhenawy},
  year   = {2025},
  eprint = {2502.20573},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.20573v1}
}

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

Discussion