Scalable nonparametric Bayesian learning for heterogeneous and dynamic velocity fields

Sunrit Chakraborty, Aritra Guha, Rayleigh Lei, XuanLong NguyenarXiv 2021

Abstract

Analysis of heterogeneous patterns in complex spatio-temporal data finds usage across various domains in applied science and engineering, including training autonomous vehicles to navigate in complex traffic scenarios. Motivated by applications arising in the transportation domain, in this paper we develop a model for learning heterogeneous and dynamic patterns of velocity field data. We draw from basic nonparameric Bayesian modeling elements such as hierarchical Dirichlet process and infinite hidden Markov model, while the smoothness of each homogeneous velocity field element is captured with a Gaussian process prior. Of particular focus is a scalable approximate inference method for the proposed model; this is achieved by employing sequential MAP estimates from the infinite HMM model and an efficient sequential GP posterior computation technique, which is shown to work effectively on simulated data sets. Finally, we demonstrate the effectiveness of our techniques to the NGSIM dataset of complex multi-vehicle interactions.

Introduction: The Challenge of Dynamic Traffic Modeling

Navigating a busy intersection is a significant challenge for autonomous vehicles because traffic is both heterogeneous and dynamic. Patterns change based on traffic lights, time of day, and varying driver behaviors. To model this, researchers use velocity fields—mathematical representations of the expected speed and direction of a vehicle at any given spatial point.

Mapping real-world intersection data to learned velocity field representations.

Existing methods face two major hurdles: complexity and scalability. Traffic patterns are not static, requiring models that can account for transitions between states (e.g., North-South flow vs. East-West flow). Furthermore, Gaussian Processes (GPs), the standard for modeling smooth fields, suffer from computational costs that grow cubically with the number of data points, making them impractical for large, streaming datasets.

Methodology: A Scalable Bayesian Architecture

This paper proposes a "two-layer" nonparametric Bayesian architecture designed to overcome these limitations. The framework combines temporal state discovery with spatial field modeling:

  • The Temporal Layer (iHMM): An Infinite Hidden Markov Model uses a Hierarchical Dirichlet Process (HDP) to allow an unknown number of traffic states to emerge automatically as data is observed.
  • The Spatial Layer (MRGP): Each discovered state is associated with a Multi-Response Gaussian Process, ensuring that the velocity field is spatially smooth and accounts for correlations between directional components.
The hierarchical Bayesian architecture combining iHMM for temporal transitions and MRGP for spatial velocity fields.

To achieve scalability, the authors implemented sequential Maximum A Posteriori (MAP) estimation instead of slow MCMC sampling. They further optimized the GP posterior updates using Schur complements, block inversion, and spectral decomposition, reducing computational complexity from $O(N^3)$ to nearly linear time in specific cases.

Experimental Evaluation and Key Insights

The model was evaluated using both simulated data and the high-fidelity NGSIM dataset of vehicle trajectories at a Los Angeles intersection.

Key results include:

  • Superior Clustering: In simulations with 8 hidden patterns, the proposed model correctly identified all states, whereas traditional Dirichlet Process models failed to handle the temporal transitions.
  • Efficiency: The algorithm processed 10,000 observations in approximately 118 seconds. On the massive NGSIM dataset, it identified 99 distinct traffic states in about 75 minutes.
  • Interpretability: Discovered states aligned perfectly with known traffic light cycles. In one instance, the model identified a pattern corresponding to a hidden driveway not explicitly labeled in the map data, demonstrating its power for unsupervised geographic discovery.

Conclusion and Future Work

While the sequential MAP approach provides impressive speed, it offers point estimates rather than full probability distributions, which limits uncertainty quantification. Future work involves integrating this model directly into autonomous vehicle path-planning algorithms to predict the "intent" of overall traffic flow. Despite current sensitivities to hyperparameter selection, the framework represents a significant step toward real-time, interpretable traffic analysis in complex environments.

Summary updated

BibTeX
@misc{chakraborty2021scalable,
  author = {Sunrit Chakraborty and Aritra Guha and Rayleigh Lei and XuanLong Nguyen},
  title = {{Scalable nonparametric Bayesian learning for heterogeneous and dynamic velocity fields}},
  year = {2021},
  eprint = {2102.07695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.07695},
}
Figure