cs.LGFeb 17, 2026

MMCAformer: Macro-Micro Cross-Attention Transformer for Traffic Speed Prediction with Microscopic Connected Vehicle Driving Behavior

Authors: Lei Han, Mohamed Abdel-Aty, Younggun Kim, Yang-Jun Joo, Zubayer Islam

Organizations: Smart and Safe Transportation lab at the Department of Civil, Environmental and Construction Engineering, University of Central Florida, USA

Abstract

Accurate speed prediction is crucial for proactive traffic management to enhance traffic efficiency and safety. Existing studies have primarily relied on aggregated, macroscopic traffic flow data to predict future traffic trends, whereas road traffic dynamics are also influenced by individual, microscopic human driving behaviors. Recent Connected Vehicle (CV) data provide rich driving behavior features, offering new opportunities to incorporate these behavioral insights into speed prediction. To this end, we propose the Macro-Micro Cross-Attention Transformer (MMCAformer) to integrate CV data-based micro driving behavior features with macro traffic features for speed prediction. Specifically, MMCAformer employs self-attention to learn intrinsic dependencies in macro traffic flow and cross-attention to capture spatiotemporal interplays between macro traffic status and micro driving behavior. MMCAformer is optimized with a Student-t negative log-likelihood loss to provide point-wise speed prediction and estimate uncertainty. Experiments on four Florida freeways demonstrate the superior performance of the proposed MMCAformer compared to baselines. Compared with only using macro features, introducing micro driving behavior features not only enhances prediction accuracy (e.g., overall RMSE, MAE, and MAPE reduced by 9.0%, 6.9%, and 10.2%, respectively) but also shrinks model prediction uncertainty (e.g., mean predictive intervals decreased by 10.1-24.0% across the four freeways). Results reveal that hard braking and acceleration frequencies emerge as the most influential features. Such improvements are more pronounced under congested, low-speed traffic conditions.

Explore similar work

CardsList
  1. FAST: A Synergistic Framework of Attention and State-space Models for Spatiotemporal Traffic Prediction

    Apr 15, 2026Xinjin Li, Jinghan Cao, Mengyue Wang +5Spatiotemporal ForecastingTraffic Forecasting

  2. Efficient Traffic State Prediction With Dynamic Joint Spatio-Temporal Relation Inference

    Apr 10, 2025Zhifeng Hao, Kai Hu, Juncai Zhang +2Temporal Convolutional NetworksDynamic Graph Learning

  3. ADMFormer: An Adaptive-Decomposition Transformer with Time-Varying Masked Spatial Attention for Traffic Forecasting

    May 25, 2026Ruiwen Gu, Qitai Tan, Yahao Liu +1Attention MechanismsSpatiotemporal Forecasting