Introduction
Human activities, such as cooking or sports, are naturally represented as Continuous-Time Action Sequences (CTAS). These sequences are characterized by high variability in action duration and inter-event gaps. While Marked Temporal Point Processes (MTPPs) are standard for modeling discrete events in continuous time, existing neural MTPPs often fail to capture the physical constraints of actions or the hierarchical relationship between low-level actions and high-level goals.
ProActive is a novel neural MTPP framework that addresses these gaps. By combining self-attention with temporal normalizing flows, it achieves state-of-the-art performance in predicting future actions, identifying sequence goals early, and generating complete action sequences from scratch.
Methodology
ProActive introduces several architectural innovations to better model CTAS:
- Self-Attentive History Encoding: Utilizing masked self-attention, the model captures long-range dependencies within action histories more effectively than traditional RNN-based approaches.
- Cluster-Based Temporal Normalizing Flows: To account for the physical time required for actions, ProActive employs LogNormal normalizing flows. Actions are clustered by their mean completion times, allowing the model to learn appropriate minimum time thresholds for different activity types.
- Early Goal Detection via Margin Loss: A margin-based ranking loss with a time-varying discount factor encourages the model to gain confidence in the correct goal early in the sequence.
- Generative Modeling: By conditioning temporal flows on a target goal, ProActive can iteratively sample action types and timestamps to generate entire sequences end-to-end.
Experimental Evaluation
The framework was evaluated on three diverse datasets: Breakfast (kitchen activities), Multi-THUMOS (sports), and Activity-Net (complex YouTube videos). These datasets provide a range of complexity and environmental control.
Performance in Time Prediction
ProActive significantly outperforms baselines like RMTPP and THP in time prediction accuracy. By modeling action durations more realistically, it achieves an 8–27% reduction in Mean Absolute Error (MAE) across the tested datasets.
Early Goal Identification
A key strength of ProActive is its ability to predict the overarching goal of a sequence before it is completed. Using the custom margin loss, the model maintains high accuracy even when only a fraction of the sequence has been observed.
Conclusion and Future Work
ProActive demonstrates that MTPPs can be extended beyond simple forecasting into robust generative models for human activity. While the model shows strong performance, challenges remain in perfectly matching sequence lengths during generation due to compounding errors. Future research may explore integrating Generative Adversarial Networks (GANs) to further refine the realism of generated activity sequences.
Summary updated