Abstract
Understanding novel situations in the traffic domain requires an intricate combination of domain-specific and causal commonsense knowledge. Prior work has provided sufficient perception-based modalities for traffic monitoring; in this paper, we focus on a complementary research aspect of Intelligent Transportation: traffic understanding. We scope our study to text-based methods and datasets given the abundant commonsense knowledge that can be extracted using language models from large corpora and knowledge graphs. We adopt three knowledge-driven approaches for zero-shot QA over traffic situations, based on prior natural language inference methods, commonsense models with knowledge graph self-supervision, and dense retriever-based models. We constructed two text-based multiple-choice question answering sets: BDD-QA for evaluating causal reasoning in the traffic domain and HDT-QA for measuring the possession of domain knowledge akin to human driving license tests. Among the methods, Unified-QA reaches the best performance on the BDD-QA dataset. Language models trained with inference information and commonsense knowledge are also good at predicting cause and effect in the traffic domain but perform poorly on human-driving QA sets. For such sets, DPR+Unified-QA performs the best due to its efficient knowledge extraction.
Introduction
Most current Intelligent Transportation systems excel at perception—tasks like counting cars, tracking pedestrians, or identifying lane lines. However, true situational awareness requires reasoning. An autonomous system shouldn't just see a car stopping; it needs to understand why (e.g., a red light vs. a mechanical failure) and know the rules (e.g., speed limits in school zones). This paper addresses the gap in evaluating how AI models handle the complex association of domain-specific rules and causal commonsense in traffic by shifting the focus from pixels to text, leveraging the knowledge stored in Large Language Models (LLMs) and Knowledge Graphs.
The Knowledge-Driven Framework
The study evaluates three knowledge-driven approaches in a zero-shot setting, where models are tested without specific training on the new traffic datasets:
- NLI-based Models: These use Natural Language Inference to determine if a premise entails a hypothesis, leveraging general coherence learned from the massive MNLI corpus.
- KG-based Models: These are commonsense reasoners trained using self-supervision from a massive Knowledge Graph (CSKG) containing 7 million statements.
- Retrieval-based Models (DPR + Unified-QA): This approach functions like an "open-book exam," using Dense Passage Retrieval to find relevant sections in US driving manuals to provide context for a Unified-QA model.
Benchmarks for Traffic Understanding
To evaluate these models, two novel text-based multiple-choice question-answering (MCQA) benchmarks were introduced:
- BDD-QA (Berkeley Deep-Drive QA): Focused on causal reasoning, it asks models to predict the effect given a cause or the cause given an effect across over 6,000 QA pairs.
- HDT-QA (Human Driving Test QA): Focused on domain knowledge, this dataset consists of over 10,000 QA pairs scraped from official driving permit tests and manuals across all 51 US states.
Results and Analysis
The experimental results highlight a clear distinction between general reasoning and domain-specific knowledge. While NLI and KG-based models showed competence in causal reasoning on BDD-QA, they struggled with the specific legal and policy questions in HDT-QA. Conversely, the retrieval-based approach (DPR + Unified-QA) was the clear winner for the driving test, scoring 61.3% average accuracy.
On the BDD-QA benchmark, Unified-QA-v2 achieved the best performance with a 69.6% average accuracy. Interestingly, models were significantly better at predicting the effect (Event Prediction) of an action than identifying the cause (Cause Prediction). This disparity likely stems from the open-ended nature of causes compared to more constrained traffic effects. Furthermore, an overlap analysis revealed that NLI and KG models often succeed on different questions; an ensemble of these models could potentially reach 87% accuracy, approaching supervised human-level performance.
Discussion and Future Work
A notable finding was that humans scored approximately 71% on the causal BDD-QA task, reflecting the inherent ambiguity of traffic situations where multiple reasonable causes can exist for a single action. The primary limitation of this work is the modality gap—reasoning currently occurs over text descriptions rather than direct visual sensor data.
Future research will focus on multi-modal integration to combine these reasoning frameworks with computer vision, developing architectures for joint causal and legal reasoning, and refining causal datasets to reduce ambiguity.
Summary updated