Manuscript Offprint

arXiv:2608.25935

TAU-Agent: An Agentic Retrieval-Augmented Framework for Traffic Anomaly Understanding

Yuqiang Lin, Yan Shi, Sam Lockyer, Harish Tayyar Madabushi, Adrian Evans, Wenbin Li, Yinhai Wang, Nic Zhang

Yuqiang Lin 1∗^{1*}, Yan Shi 2∗^{2*}, Sam Lockyer 1^{1}, Harish Tayyar Madabushi 1^{1}, Adrian Evans 1^{1}, Wenbin Li 1^{1}, Yinhai Wang 2^{2}, and Nic Zhang 1^{1}

1^{1} University of Bath, Bath BA2 7AY, UK

2^{2} University of Washington, Seattle, WA 98195, USA

∗^{*}Equal contribution

Abstract. Traffic Anomaly Understanding (TAU) requires models and systems to detect, reason about, and explain anomalous events in transportation videos. To address this challenge, we propose TAU-Agent, an agentic retrieval-augmented framework for traffic anomaly understanding. Given a task query, a central retrieval agent orchestrates two visual perception tools, namely a Video Captioning Tool and an Open-Vocabulary Tracking Tool, to retrieve and select query-relevant evidence, including captions, temporal intervals, and object trajectories. The selected evidence, together with sampled video frames and the input query, is provided to a supervised fine-tuned vision-language model for final reasoning and answer generation. We evaluate TAU-Agent on both the in-domain and the out-of-domain benchmarks from the AI City Challenge 2026. TAU-Agent achieves scores of 0.6779 on Track 3, 0.3998 on Track 7, and 67.9275 on Track 8, ranking second, twelfth, and fifth, respectively. Code is available at: https://github.com/siri-rouser/TAU-Agent.

Keywords: Traffic Anomaly Understanding · Agentic AI · Vision-Language Model

1 Introduction

Video understanding has received substantial attention from the computer vision community in recent years. With the rapid development of Multi-modal Large Language Models (MLLMs), e.g., [4,33], video understanding has evolved beyond conventional perception-oriented tasks, such as video classification, toward comprehensive semantic reasoning. Modern video models are increasingly capable of interpreting complex events, temporal relationships, and interactions in videos [11,18]. These advances have substantially expanded the capabilities of video understanding systems, enabling a transition from coarse, high-level perception to fine-grained reasoning over dynamic visual content.

Building upon these advances, Track 3 of the AI City Challenge, Anomalous Events in Transportation, focuses on a specific but challenging subdomain of video understanding: traffic video anomaly understanding. This task requires participants to build a unified system capable of detecting, reasoning about, and

Y. Lin et al.

explaining anomalous events in transportation videos from multiple perspectives. In practice, the system is expected to answer different types of questions, ranging from binary and multiple-choice questions to temporal grounding and free-text questions.

Despite the remarkable capabilities of recent video MLLMs, e.g., [6, 19], in general video understanding, directly applying them to this challenge remains difficult because the task has several characteristics that are not adequately addressed by conventional video reasoning approaches. Based on our observations of the challenge data, we identify two main challenges. First, the benchmark is highly query-dependent. A single video may contain multiple traffic anomalies as well as numerous normal traffic events, while each question may refer to only one specific anomaly, a particular object or interaction, or even contextual information unrelated to the anomaly itself. Therefore, different questions about the same video may require different temporal segments, objects, and types of evidence. Second, the useful information required for reasoning is inherently sparse in both space and time. Spatially, the target object may occupy only a small region of the frame. Temporally, the event related to the query may occur only briefly within a long video. Therefore, uniform temporal sampling may either miss critical evidence or introduce excessive redundant information that interferes with the reasoning process. Based on these observations, we argue that a more effective problem-solving process should first understand the task-specific query, identify the relevant event both spatially and temporally, and then reason over explicit visual evidence and implicit contextual information to generate a comprehensive answer.

Recent agentic AI systems [10, 30] have demonstrated strong capabilities in decomposing complex reasoning tasks into multiple coordinated stages. We find that the nature of agentic AI systems closely aligns with the problem-solving process described above. Motivated by this observation, we propose TAU-Agent, an agentic framework that addresses the TAU task through the multi-stage process described above, as illustrated in Figure 1. Rather than directly reasoning over uniformly sampled video frames, TAU-Agent first interprets the task query to determine the required evidence. It then calls the video captioning tool and open vocabulary tracking tool to retrieve and select query relevant evidence while also determine query relevant frame range. Finally, the questions, video source and all retrieved evidence are integrated by a fine-tuned question-answering VLM to predict the final answer.

Our contributions are summarized as follows:

– We propose TAU-Agent, an agentic retrieval-augmented framework in which a main agent decomposes complex transportation anomaly understanding tasks and adaptively retrieves query-relevant evidence using two specialized tools: the Video Captioning Tool and the Open-Vocabulary Tracking Tool. The retrieved visual and textual evidence is then integrated by a supervised fine-tuned VLM to generate the final answer.

– We evaluate TAU-Agent on both in-domain and out-of-domain transportation video understanding benchmarks. TAU-Agent ranks second on the in-

Figure

Fig. 1: TAU-Agent pipeline example with comparison of other end-to-end unified sampled video anomaly models. TAU-Agent follows multi-stage pipeline to decompose the complex TAU task.

domain AI City Challenge Track 3 benchmark and achieves competitive performance on the out-of-domain Track 8 PSI-VQA and Track 7 FETV benchmarks, ranking fifth and twelfth, respectively. These results demonstrate the effectiveness of TAU-Agent and provide evidence of its ability to generalize across different traffic-video domains and task formulations.

References (41)