Jointly Modeling Time and Marks in Temporal Point Processes

39 concepts20 papers1 proposal

When modeling sequences of real-world events—such as medical interventions, financial transactions, or user clicks—we are rarely interested in just when an event occurs. We also care about what happens. In the language of point processes, each event is a tuple consisting of an arrival time $t_i$ and a categorical label $k_i$, known as a mark.

For years, the standard recipe for building Marked Temporal Point Processes (MTPPs) relied on a convenient mathematical simplification: the mark conditional independence assumption. As reviewed by Shchur et al., traditional architectures split the prediction task into two independent heads. Given the historical context $\mathcal{H}_i$, one head computes the probability distribution of the next time interval $\Delta t_i$, while an entirely separate head predicts the categorical mark $k_i$. Mathematically, this factors the joint distribution as:

$$P(k_i, \Delta t_i \mid \mathcal{H}_i) = P(k_i \mid \mathcal{H}_i) P(\Delta t_i \mid \mathcal{H}_i)$$

While this independence makes the math tractable, it fundamentally misrepresents reality. In almost every real-world event stream, what happens is intrinsically tied to when it happens, and vice versa.

Why Independence Fails

To see why the independence assumption breaks down, consider Electronic Health Records (EHRs). As Enguehard et al. demonstrate, if a patient returns to a clinic two days after a procedure versus two months later, the likely reason (the mark) is drastically different. A short interval implies an emergency or complication; a long interval implies a routine checkup. The time elapsed directly alters the category probabilities.

Conversely, the nature of an action dictates its timing. Statistical evidence compiled by Liu et al. shows that time interval distributions vary significantly depending on the specific event type being predicted. For instance, the time required to complete an activity is physically bound to the category of that activity.

When models ignore this coupling, they suffer from several distinct failure modes:

  • Unrealistic Temporal Forecasts: In business process modeling, decoupled models generate event sequences that violate the internal logic of the process, predicting steps that are structurally impossible given the elapsed time (Taymouri et al.).
  • Physical Constraint Violations: In human activity tracking, treating start and end times as independent variables fails to account for the physical duration constraints of short-duration events (Yamagata et al.).
  • Inefficient Uncertainty Estimation: When constructing prediction regions to bound future outcomes, assuming independence yields overly conservative, massive prediction windows that fail to exploit the correlation between timing and type (Dheur et al.).

Mechanisms for Temporal-Categorical Coupling

To capture these real-world dynamics, modern architectures explicitly couple time and marks. Instead of treating them as parallel outputs, they model the joint distribution $P(k_i, \Delta t_i \mid \mathcal{H}_i)$ through a few key architectural patterns.

Explicit Conditioning via Dual-Head Augmentation

The most direct way to relax the independence assumption is to condition the mark distribution directly on the continuous inter-arrival time. Bosser et al. propose an elegant modification to standard neural TPPs: they feed the current time interval $\Delta t_i$ directly into the mark classification head.

[ History Representation (H_i) ] ───┬───> [ Time Prediction Head ] ───> Δt_i
                                    │                                    │
                                    └───> [ Concatenation ] <────────────┘
                                                 │
                                                 ▼
                                      [ Mark Prediction Head ] ───────> k_i

By concatenating the history representation with a temporal feature vector representing the exact moment the event occurs, the model can dynamically shift mark probabilities as time ticks forward. Crucially, the authors demonstrate that adding this temporal dependency to the mark head improves categorical accuracy without degrading arrival time predictions.

Joint Latent Embeddings

Rather than choosing whether time conditions the mark or vice versa, many modern frameworks project both features into a shared latent space. As outlined in the comprehensive survey by Liguori et al., joint mark-time embeddings allow neural networks to learn reciprocal dependencies. The latent representation of an event becomes a unified blend where the timing of an action influences its perceived nature, and its category simultaneously alters its temporal influence on the future.

Interacting Generative Processes

For long-horizon forecasting, autoregressive models often suffer from error accumulation. To bypass this, Zeng et al. introduce interacting diffusion processes. Instead of predicting events one-by-one, their framework co-evolves event types and intervals simultaneously through a denoising process. This interaction allows the system to capture complex real-world correlations where specific event types are inherently bound to shorter or longer inter-arrival times across an entire sequence.

Similarly, Zagatti et al. utilize triangular maps via normalizing flows to map the joint distribution of times and marks to a base space, allowing for exact likelihood computation and efficient sampling without relying on expensive approximations.

The Payoff of Joint Modeling

Transitioning from decoupled to joint models fundamentally changes how a network perceives an event stream.

In text-heavy event streams, such as user review platforms, Cvejoski et al. show that coupling a deep language model with a recurrent temporal point process allows the "when" of a review to inform its textual content, and vice versa. In complex systems where instantaneous events interact with continuous state variables (like a medical event altering blood glucose levels), Bhattacharjya et al. demonstrate that integrating these dynamics into a single directed graph prevents the modeling mismatches common to decoupled systems.

Ultimately, treating event timing and categorical marks as co-equal, interacting outputs of a single generative framework—an approach validated across early Bayesian nonparametric models like those by Lin et al.—yields significantly higher log-likelihoods and tighter, more calibrated predictions. By acknowledging that "what" and "when" are two sides of the same coin, joint modeling unlocks the true predictive power of temporal data.

Key Foundational Work

Infinite Hidden Semi-Markov Modulated Interaction Point Process (2016) — contributed 1 concept elements to this direction.
mmpp: A Package for Calculating Similarity and Distance Metrics for Simple and Marked Temporal Point Processes (2015) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_temporal_categorical_coupling_3e3f3719,
  title = {temporal-categorical coupling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/temporal-categorical-coupling/rdr_3e3f3719404049bd9e05db618c94ec06},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_temporal_categorical_coupling_3e3f3719_v1,
  title = {temporal-categorical coupling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/temporal-categorical-coupling/rdr_3e3f3719404049bd9e05db618c94ec06/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake