Marked Temporal Point Processes (MTPPs) are a fundamental tool for modeling sequences of events that occur in continuous time, where each event is associated with a discrete "mark" or type. These sequences are ubiquitous in the modern digital world, appearing in social media logs, financial transaction streams, and electronic health records. However, accurately capturing the complex, often non-linear dependencies between the timing of an event and its specific type remains a significant challenge for existing generative models.
The Challenge of Joint Modeling
Traditional approaches to MTPPs often struggle with two primary hurdles. First, there is the difficulty of joint modeling. Many modern generative frameworks, such as standard Diffusion models, are natively designed for continuous data. Adapting these to handle the hybrid nature of MTPPs—where timestamps are continuous but event marks are discrete—often results in cumbersome architectures or loss of information.
Second, many models overlook the deep interdependence between time and marks. In real-world scenarios, the "when" and the "what" are rarely independent. For example, in a medical context, the specific type of emergency (the mark) directly influences the urgency and timing of the subsequent follow-up (the timestamp). Traditional "intensity-based" models attempt to capture these dynamics using complex calculus and restrictive functional assumptions (like Hawkes processes), which can limit their expressive power and increase computational costs.
The BMTPP Framework
To address these limitations, the authors introduce BMTPP (Marked Temporal Bayesian Flow Point Processes). This novel framework shifts away from standard diffusion-based approaches toward Bayesian Flow Networks (BFN).
Unlike diffusion models that add noise directly to the raw data samples, BFNs operate within the parameter space of the data's distribution. This shift allows BMTPP to naturally integrate continuous time intervals ($\tau$) and discrete categorical marks ($m$) into a single, unified generative process. By working with distribution parameters, the model avoids the discretization issues that typically plague diffusion models when dealing with categorical variables.
The "Joint Noise" Strategy
A key innovation of BMTPP is the Joint Noise (JN) strategy. Rather than treating time and marks as independent variables subjected to separate noise processes, the authors inject joint noise defined by a covariance vector $c$. This explicitly links the continuous and discrete spaces during training, forcing the model to learn the intricate correlations between the timing and the type of events. The authors mathematically demonstrate that this joint covariance remains stable and positive definite, ensuring a robust learning process.
Historical Context
To provide the necessary context for predicting the next event, BMTPP utilizes an attention-based encoder. This encoder transforms the sequence of past events into a high-dimensional embedding ($h_{i-1}$), which serves as the conditional input for the BFN. This allows the model to capture long-range dependencies and historical patterns that influence future events.
Experimental Evaluation
The BMTPP framework was evaluated across four diverse real-world datasets: MOOC (user interactions), Retweet (Twitter sequences), Reddit (subreddit posting behaviors), and Stack Overflow (badge awards). These datasets vary significantly in their number of event types, ranging from just 3 in Retweet to nearly 1,000 in Reddit.
Key Results and Ablation Study
BMTPP demonstrated state-of-the-art (SOTA) performance across several critical metrics. In terms of Time Prediction, measured by Mean Absolute Percent Error (MAPE), BMTPP consistently ranked as the top or second-best model, outperforming classical neural models like RMTPP and SAHP. Even more striking was the improvement in Mark Accuracy (ACC). On the MOOC dataset, for instance, BMTPP achieved an accuracy of 0.483, a significant jump from the 0.333 achieved by the next best baseline.
The importance of the Joint Noise strategy was further validated through an ablation study. As shown in the results, removing the JN component ("W/O JN") led to a consistent and measurable decline in performance across all datasets and metrics (MAPE, CRPS, and ACC). This confirms that explicitly modeling the interdependence between time and marks is vital for high-fidelity event sequence generation.
Conclusion and Future Directions
BMTPP represents a significant step forward in the generative modeling of marked temporal point processes. By leveraging Bayesian Flow Networks and a unique joint noise strategy, it offers a flexible, high-performance alternative to traditional intensity-based or diffusion-based models.
While the model currently faces a trade-off between the number of sampling steps and inference speed, future work aims to optimize this process. Additionally, the authors suggest extending BMTPP to model "coupled" data streams, where multiple interacting event sequences influence one another simultaneously, and exploring more advanced encoders to capture even longer-range historical dependencies.
Summary updated