TrafficVLM: A Controllable Visual Language Model for Traffic Video Captioning
Quang Minh Dinh, Minh Khoi Ho, Anh Quan Dang, Hung Phong Tran
TL;DR
TrafficVLM tackles dense, multi-target captioning of traffic videos by combining sub-global and local visual features with a temporal encoder and a T5-based decoder to produce long, phase-aware captions for vehicles and pedestrians. The model reframes traffic safety analysis as joint temporal localization and dense captioning, with a controllable generation component and a two-task fine-tuning objective. Evaluated on the AI City Challenge Track 2 WTS dataset, it achieves third place, demonstrating strong performance across vehicle ego and overhead views. The approach advances practical traffic video understanding and offers a path toward traffic QA, summarization, and more controllable video-language systems.
Abstract
Traffic video description and analysis have received much attention recently due to the growing demand for efficient and reliable urban surveillance systems. Most existing methods only focus on locating traffic event segments, which severely lack descriptive details related to the behaviour and context of all the subjects of interest in the events. In this paper, we present TrafficVLM, a novel multi-modal dense video captioning model for vehicle ego camera view. TrafficVLM models traffic video events at different levels of analysis, both spatially and temporally, and generates long fine-grained descriptions for the vehicle and pedestrian at different phases of the event. We also propose a conditional component for TrafficVLM to control the generation outputs and a multi-task fine-tuning paradigm to enhance TrafficVLM's learning capability. Experiments show that TrafficVLM performs well on both vehicle and overhead camera views. Our solution achieved outstanding results in Track 2 of the AI City Challenge 2024, ranking us third in the challenge standings. Our code is publicly available at https://github.com/quangminhdinh/TrafficVLM.
