NEXICA: Discovering Road Traffic Causality (Extended arXiv Version)

Siddharth Srikanth, John Krumm, Jonathan QinarXiv 2025 · DOI

Introduction

Traffic congestion is a multi-billion dollar drain on the global economy. Effective mitigation strategies require more than just identifying where traffic is slow; they require understanding the "root causes" of these slowdowns. Congestion often propagates like a wave through a network; a slowdown detected at one sensor might be the downstream effect of a bottleneck located miles away.

Conceptual diagram of causal connection between traffic sensors.

The challenge lies in "causal discovery"—the mathematical process of proving that an event at one location (the cause) triggered an event at another (the effect). Traditional statistical methods, such as Granger Causality, often struggle with the highly nonlinear and complex nature of traffic flow. Meanwhile, modern state-of-the-art algorithms like PCMCI or DYNOTEARS are computationally intensive, often requiring days of processing time for just a few months of data, rendering them impractical for real-time urban planning or large-scale network analysis.

Methodology: The NEXICA Framework

To address these challenges, we introduce NEXICA (Natural Event eXtraction for Inference of CAusality). NEXICA shifts the paradigm from analyzing continuous time-series speed data to identifying and correlating discrete "slowdown events." This approach consists of three primary innovations:

1. Event-Based Representation

Instead of processing raw speed values, NEXICA identifies the "leading edge" of a slowdown. This is defined as the exact moment traffic speed begins to drop unexpectedly relative to a historical median. By focusing on these "slowdown starts," the framework converts a noisy, high-resolution signal into a simple binary series of events. This abstraction strips away daily periodic fluctuations and highlights the "natural experiments" occurring on the roadway.

Extraction of discrete slowdown events from continuous speed data.

2. Probabilistic MLE Model

We developed a Maximum Likelihood Estimation (MLE) model to calculate the probability ($p_c$) that an event at a potential "cause" location triggered an event at an "effect" location. This model accounts for a specific time lag and incorporates the possibility of spontaneous slowdowns, such as those caused by random accidents or local incidents, ensuring that the inferred causality is robust.

3. Supervised Classification via Random Forest

Because "ground truth" causality is difficult to observe directly in the real world, we utilized physical heuristics—such as the fact that traffic jams typically propagate upstream on the same road—to create a benchmark dataset. We then trained a Random Forest classifier using features derived from the counts of four specific event-pairing scenarios.

Experimental Setup and Datasets

The study utilized data from the California Caltrans Performance Measurement System (PeMS), focusing on District 7 (Los Angeles).

  • Scope: 195 "Mainline" highway sensors.
  • Duration: Six months of data from the first half of 2024.
  • Granularity: Five-minute aggregates of mean speed, resulting in over 52,000 samples per station.
  • Ground Truth: A benchmark of 1,771 positive causal pairs was generated based on road geometry and traffic flow physics, contrasted against a set of "negative" pairs (e.g., sensors on different roads or those separated by excessive distance).

Key Results

NEXICA demonstrates significant improvements over existing state-of-the-art (SoTA) baselines in both predictive accuracy and computational efficiency.

  • Unprecedented Accuracy: On a balanced dataset, NEXICA achieved an AUC of 0.9995. This significantly outperforms Granger Causality (0.9185) and DYNOTEARS (0.5626).
  • Dramatic Speedup: NEXICA processed the entire 195-station dataset in just 1 minute and 51 seconds. In comparison, DYNOTEARS required over 111 hours (nearly 5 days) for the same task, while F-PCMCI took over 33 hours.
  • Robustness: The model maintained high effectiveness (AUC > 0.93) even in highly "unbalanced" scenarios where non-causal pairs outnumbered causal pairs by a ratio of 100 to 1.

Discussion and Future Work

While NEXICA represents a major step forward, several areas for future research remain. The method currently relies on high-quality data; sensors with significant missing values must be filtered out to avoid missing critical event triggers. Additionally, while the current study focused on "Mainline" highways, future iterations will explore more complex environments such as surface streets, intersections, and the "rubbernecking" effect across highway dividers. Finally, we aim to expand the framework from pairwise analysis to complex causal graphs that can account for multi-node chains where one event results from multiple converging causes.

Summary updated

BibTeX
@misc{srikanth2025nexica,
  author = {Siddharth Srikanth and John Krumm and Jonathan Qin},
  title = {{NEXICA: Discovering Road Traffic Causality (Extended arXiv Version)}},
  year = {2025},
  eprint = {2508.09447},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.09447},
}
Figure