Abstract
Learning and understanding heterogeneous patterns in complex spatio-temporal data is an important and challenging task across domains in science and engineering. In this work, we develop a model for learning heterogeneous and dynamic patterns of velocity field data, motivated by applications in the transportation domain. We draw from basic nonparametric Bayesian modeling elements such as the infinite hidden Markov model and Gaussian process and focus on making the learning of such a stochastic model scalable for voluminous and streaming data. This is achieved by employing sequential MAP estimates from the infinite HMM model, an efficient sequential sparse GP posterior computation, and refinement of the estimates using the Viterbi algorithm, which is shown to work effectively on a careful simulation study. We demonstrate the efficacy of our techniques to the NGSIM dataset of complex multi-vehicle interactions.
Introduction
Analyzing movement in complex environments, such as busy urban intersections, reveals underlying structures amidst apparent chaos. These structures, represented as velocity fields, describe the expected speed and direction of objects at specific coordinates. However, modeling these fields is challenging due to the dynamic nature of traffic—where patterns switch over time—and the massive scale of modern streaming data. Traditional Bayesian methods often fail to scale, as their computational complexity grows cubically with the number of observations. This paper introduces iHMM-GP, a framework designed to learn these heterogeneous and dynamic patterns efficiently.
Methodology: The iHMM-GP Framework
The iHMM-GP model combines the temporal flexibility of Infinite Hidden Markov Models with the spatial modeling power of Sparse Gaussian Processes.
- Infinite Hidden Markov Model (iHMM): Acts as a high-level controller that assumes an unknown, potentially infinite number of traffic patterns. It learns to switch between these patterns based on temporal data.
- Sparse Gaussian Processes (SGP): For each pattern, a GP defines a smooth spatial field of velocity vectors. To ensure scalability, the authors use inducing points (fixed knots in space), reducing computational complexity from $O(n^3)$ to $O(m^3)$.
The framework employs a two-pass inference algorithm. First, a forward pass uses a greedy approach to process data sequentially, identifying or creating new patterns. Second, a refinement step utilizes the Viterbi algorithm to prune redundant clusters and ensure distinct, meaningful patterns.
Experimental Evaluation
Simulation Studies
The model was tested on synthetic environments with known ground-truth patterns (e.g., 4 or 9 distinct velocity fields). Results showed that iHMM-GP accurately estimates the number of components and transitions, significantly outperforming baselines like G-HMM, which exhibited much higher estimation errors (0.13 vs 4.0).
Real-World Application: NGSIM Dataset
The efficacy of iHMM-GP was demonstrated using the NGSIM dataset from Lankershim Boulevard in Los Angeles, involving over 318,000 vehicle observations. The model automatically discovered 44 interpretable traffic patterns, including complex behaviors like vehicles entering bus terminals against the main flow.
Key Results and Discussion
- Scalability: iHMM-GP processed over 50,000 observations in under 2 minutes, whereas competing methods like DP-GP required significantly more time and struggled with accuracy.
- Outlier Detection: By establishing a baseline for "normal" behavior within a pattern, the model can effectively flag anomalies, such as accidents or stalled vehicles.
- Refinement Impact: The Viterbi refinement step proved essential, correcting the overestimation of patterns typical of greedy sequential passes.
Conclusion and Future Work
iHMM-GP provides a scalable solution for learning dynamic velocity fields in big data contexts. Future work may involve incorporating additional covariates like vehicle type or lane IDs and exploring non-RBF kernels to better capture the stop-and-go physics of urban traffic.
Summary updated