Abstract
Numerous powerful point process models have been developed to understand temporal patterns in sequential data from fields such as health-care, electronic commerce, social networks, and natural disaster forecasting. In this paper, we develop novel models for learning the temporal distribution of human activities in streaming data (e.g., videos and person trajectories). We propose an integrated framework of neural networks and temporal point processes for predicting when the next activity will happen. Because point processes are limited to taking event frames as input, we propose a simple yet effective mechanism to extract features at frames of interest while also preserving the rich information in the remaining frames. We evaluate our model on two challenging datasets. The results show that our model outperforms traditional statistical point process approaches significantly, demonstrating its effectiveness in capturing the underlying temporal dynamics as well as the correlation within sequential activities. Furthermore, we also extend our model to a joint estimation framework for predicting the timing, spatial location, and category of the activity simultaneously, to answer the when, where, and what of activity prediction.
Introduction
In the field of computer vision, identifying current activities in video has reached a high level of maturity. However, the next frontier is anticipation: predicting what will happen next, exactly when it will occur, and where it will take place. This capability is essential for applications ranging from autonomous driving and robotics to advanced sports analytics. Predicting future activity is inherently difficult because meaningful events are often sparse and embedded within a dense stream of "background" data.
A recent study by Zhong et al. introduces the Time Perception Machine (TPM), a framework that integrates the deep learning capabilities of Recurrent Neural Networks (RNNs) with the statistical rigor of Temporal Point Processes (TPPs). By bridging the gap between dense visual feature extraction and probabilistic event modeling, the TPM offers a comprehensive solution for activity anticipation.
Methodology
The TPM architecture is designed to handle the multi-resolution nature of video data, where hundreds of frames may pass between significant semantic events. It consists of two primary components: a hierarchical RNN and a Neural Temporal Point Process.
Hierarchical RNN
To effectively process both dense frame data and sparse events, the authors employ a two-tier LSTM structure. The lower-level RNN processes every frame in the sequence, extracting fine-grained features. The higher-level RNN updates only at the moments an activity occurs, taking the accumulated features from the lower level as input. This hierarchy allows the model to maintain a "history" of semantic events while still being informed by the visual cues present in the frames leading up to those events.
Neural Temporal Point Processes
Instead of treating time prediction as a simple regression task, the TPM models the "arrival rate" of the next event using a conditional intensity function $\lambda^*(t)$. This probabilistic approach captures the inherent uncertainty and temporal "rhythm" of activities. The authors propose two variants, TPM-A and TPM-B, which model time dependence either explicitly or through the RNN's hidden states. Crucially, they identify and correct a mathematical constraint issue in prior neural TPP research, ensuring the validity of the resulting probability distributions.
Joint Likelihood Framework
The model is trained to maximize a joint likelihood that covers three dimensions:
- When: The TPP probability density for the next event time.
- What: A Gibbs distribution for predicting the action category.
- Where: A bivariate Gaussian distribution modeling the spatial shift from the current event to the next.
Experimental Evaluation
The TPM was evaluated on two high-intensity sports datasets: the STATS SportVU NBA dataset, containing 2D trajectories, and the SPORTLOGiQ NHL dataset, consisting of raw broadcast hockey videos. The NHL dataset is particularly challenging, requiring the model to extract features from player bounding boxes and handle varying numbers of participants on screen.
Key Results
The results demonstrate that the TPM significantly outperforms traditional statistical point process approaches and standard regression baselines.
- Timing Accuracy: On the NBA dataset, TPM achieved a Mean Absolute Error (mAE) of 282ms, compared to 365ms for a Poisson process and 363ms for a Hawkes process.
- Relative Error: Using the Mean Deviation Rate (mDR) metric—which accounts for the relative urgency of an event—TPM showed massive improvements, particularly on the NHL dataset (172% mDR versus ~290% for baselines).
- Spatial and Categorical Prediction: TPM consistently outperformed k-order Markov chains, suggesting that the RNN-based history is more expressive and better at capturing long-term dependencies than simple transition matrices.
Conclusion
The Time Perception Machine represents a significant step forward in activity anticipation. By combining hierarchical deep learning with temporal point processes, it effectively captures the underlying dynamics and correlations within sequential activities. While the inherent randomness of sports remains a challenge for perfect tracking, the TPM's probabilistic framework provides a robust foundation for future research in multi-step prediction and the integration of higher-level tactical knowledge.
Summary updated