In many real-world domains, data arrives not as a static table, but as a stream of discrete events occurring in continuous time. A patient is admitted to a hospital, a stock is traded, or an earthquake strikes. To model these phenomena, researchers use Temporal Point Processes (TPPs).
The fundamental goal of a TPP is to answer two questions: When will the next event happen, and what kind of event will it be? While early models focused almost exclusively on the timing, recent research has shifted toward Marked Temporal Point Processes (MTPPs), where each event is accompanied by a "mark"—a piece of metadata that describes the event's characteristics.
The Intuition of Event Pressure
At the heart of point process modeling is the conditional intensity function, $\lambda(t)$. You can think of this as the "instantaneous pressure" for an event to occur at time $t$, given everything that has happened in the past.
In a simple Poisson process, this pressure is constant. However, real-world events are often "self-exciting": one event increases the pressure for others. This is the core of the Hawkes Process, famously used to model aftershocks or viral retweets. Hongyuan Zha and Liangda Li extended this intuition to energy usage in Energy Usage Behavior Modeling in Energy Disaggregation via Marked Hawkes Process, showing how the use of one appliance (a mark) "excites" the likelihood of using another related appliance later.
Why Marks Matter
A "mark" is any attribute associated with a timestamp. In geophysics, it might be the magnitude of a tremor; in finance, the volume of a trade. Traditional models often treated these marks as secondary or ignored them entirely. However, Hideitsu Hino and colleagues argue in mmpp: A Package for Calculating Similarity and Distance Metrics for Simple and Marked Temporal Point Processes that incorporating these marks is critical for identifying meaningful patterns. An earthquake of magnitude 2.0 has a vastly different "triggering power" than one of magnitude 7.0.
The challenge is that marks are often high-dimensional and mixed-type. Felix Draxler and Theofanis Karaletsos highlight in Transformers for Mixed-type Event Sequences that real-world event sequences, like Electronic Health Records, contain a messy mix of categorical labels (diagnosis codes) and continuous measurements (blood pressure). Modeling the joint distribution of these marks alongside time is the central difficulty of modern MTPPs.
From Parametric Kernels to Neural Representations
Classical models rely on fixed mathematical kernels to describe how past events influence the future. But human behavior is rarely so predictable. To capture non-linear, long-range dependencies, researchers have turned to deep learning.
Shixiang Zhu and Yao Xie introduced the Deep Attention Point Process (DAPP) in Deep Fourier Kernel for Self-Attentive Point Processes, which uses a neural spectrum Fourier kernel to learn complex triggering patterns that traditional RNNs might miss. Similarly, Takahiro Omi and Naonori Ueda proposed modeling the integral of the intensity function directly using neural networks in Fully Neural Network based Model for General Temporal Point Processes, bypassing the need for complex numerical integration during training.
Bypassing the Intensity Headache
The standard way to train a TPP is to maximize the log-likelihood of the observed sequence. This requires calculating the integral of the intensity function over time—a "computational headache" that often limits model flexibility.
Recent work has sought "intensity-free" alternatives:
- Cumulative Distribution Functions (CDFs): Maolin Wang and Xiangyu Zhao introduced CuFun in Cumulative Distribution Function based General Temporal Point Processes, which models the CDF of the next event time directly, making the math much simpler.
- Generative Adversarial Networks (GANs): Shuai Xiao and Junchi Yan developed WGANTPP in Wasserstein Learning of Deep Generative Point Process Models, which learns to generate realistic event sequences by minimizing the Wasserstein distance between generated and real data, avoiding likelihood calculations entirely.
Generative Modeling and Flow Matching
The most recent frontier in MTPPs involves moving away from autoregressive (one-step-ahead) prediction toward global generation.
David Lüdke and Stephan Günnemann have pioneered the use of diffusion and flow matching for events. In Add and Thin: Diffusion for Temporal Point Processes, they treat event generation as a denoising process, starting with random noise and "thinning" it into a structured sequence. Their follow-up work, Edit-Based Flow Matching for Temporal Point Processes, introduces EDITPP, which uses a continuous-time "Edit Flow" to insert, delete, and substitute events, providing a unified framework for modeling both the timing and the marks of complex sequences.
By treating event sequences as dynamic, marked trajectories rather than simple lists of timestamps, these models allow us to capture the full richness of the continuous-time world.