MOCHA: Discovering Multi-Order Dynamic Causal Structure in Temporal Point Processes

Yunyang Cao, Juekai Lin, Wenhao Li, Bo JinNeurIPS 2026

TL;DR

Real-world events—like a patient’s shifting lab vitals in an ICU—trigger one another in chain reactions whose rules evolve over time, yet standard sequence models usually treat cause-and-effect as static, direct, one-to-one links. MOCHA is a neural framework that learns time-evolving causal graphs from continuous-time event streams, explicitly separating direct triggers from multi-step domino effects. It predicts future events more accurately than existing baselines while uncovering complex, clinically plausible hypotheses directly from raw observational data.

What Problem Does This Paper Address?

Imagine watching a hospital patient develop acute kidney injury. Early on, high lactic acid drives up blood urea nitrogen (BUN). Hours later, the two interact to spike the patient's anion gap, which eventually loops back to push lactic acid even higher.

Figure 1: Illustration of an event sequence and its causal graphs. Multi-order paths capture indirect influences over time.

When modeling asynchronous, continuous-time event streams like this, researchers turn to Temporal Point Processes (TPPs)—probabilistic models that estimate the instantaneous likelihood (or intensity) of the next event given the past. However, existing TPPs struggle to explain why events happen due to two simplifying assumptions:

  1. Static structures: Even causal-aware TPPs aggregate history into a single, frozen graph. If $A$ causes $B$ at 9:00 AM, the model assumes $A$ causes $B$ at 9:00 PM, completely missing evolving or reversing relationships.
  2. First-order myopia: Models typically lump historical influences together or only look at direct pairwise triggers ($A \to B$), entangling direct effects with multi-hop causal chains ($A \to B \to C$).

The authors ask: Can we simultaneously uncover time-varying causal graphs and quantify multi-hop domino effects within a unified, continuous-time framework?

Methods

Enter MOCHA (Multi-Order Causal Hierarchical Architecture), an end-to-end differentiable model that jointly learns dynamic causal structures and predicts future events.

Figure 2: The overall framework of the proposed MOCHA. The architecture consists of three main components: (1) Dynamic Context Encoding, which embeds historical event sequences using time and type encodings; (2) Dynamic Causal Graph Learner, which utilizes a dense attention structural learner to construct time-evolving DAGs while enforcing acyclicity; and (3) Multi-Order Intensity Decomposition, which calculates the total conditional intensity by aggregating the base intensity with 1st-order and higher-order causal influences derived from the learned graph structure.

MOCHA operates in three stages:

  • Dynamic Context Encoding: Instead of processing an infinitely growing history, MOCHA summarizes the current state by looking at the most recent occurrence of each event type. It combines sinusoidal encodings of the elapsed time with learnable event-type embeddings.
  • Dynamic Causal Graph Learner: Using an asymmetric dense attention mechanism over these context embeddings, MOCHA generates a continuous structural weight matrix $\mathbf{W}_t$ at any given timestamp $t$. To ensure this matrix represents a valid Directed Acyclic Graph (DAG) (meaning no instantaneous causal loops), the authors apply continuous acyclicity trace constraints alongside $\ell_1$ sparsity penalties during training. Self-excitation (an event type triggering itself) is handled separately so it doesn't create graph cycles.
  • Multi-Order Intensity Decomposition: Rather than collapsing history into one black-box score, MOCHA explicitly calculates event intensity as a sum of base rate, self-history, 1st-order (direct) paths, and higher-order (indirect, up to $K-1$ hops) paths through the learned DAG, modulated by an MLP-based time-decay kernel.

What’s clever here: Summing over all multi-hop paths naively takes $\mathcal{O}(K^L)$ time (for $K$ event types and path length $L$). By routing signals through the most recent events of each type, the authors reformulate path summation into recursive matrix multiplications, dropping complexity to $\mathcal{O}(LK^2)$ per step.

Datasets

MOCHA is evaluated across seven real-world benchmarks (plus one synthetic benchmark deferred to the appendix):

  • Clinical care (4 datasets): Acute Kidney Injury (AKI), Coronary Artery Disease (CAD), Sepsis (SE), and Stroke (ST).
  • Social & E-commerce (3 datasets): Retweet (RT), Taobao user behavior (TB), and StackOverflow badges (SO).

Key Insights and Ideas

  • Acyclicity bounds the domino effect: Because each snapshot graph $\mathcal{G}_t$ is constrained to be a DAG over $K$ event types, any valid causal chain cannot exceed $K-1$ steps without repeating a node. This mathematically bounds the multi-order expansion, keeping recursion finite and gradients stable.
  • Dynamics and multi-order paths are synergistic: Ablation studies reveal that adding only multi-order paths or only dynamic graphs to a multivariate Hawkes process yields modest gains, whereas combining both triggers dramatic improvements—proving that multi-step pathways themselves emerge and dissolve over time.
  • Unsupervised hypothesis generation: Without any medical priors, MOCHA surfaced watching-brief clinical cascades in deteriorating AKI patients—identifying Lactic Acid High as a key intermediate bridge linking early electrolyte drops (Sodium Low $\to$ Anion Gap High) to eventual arterial pH crashes.

Key Results

  • Predictive Fit: Across all seven real-world datasets, MOCHA achieves the best (lowest) Negative Log-Likelihood (NLL) against 10 TPP baselines, including state-of-the-art neural and state-space models like THP, AttNHP, and S2P2. Gains are sharpest in complex clinical settings—for example, slashing NLL on Coronary Artery Disease from 1.29 (S2P2) down to 0.69, and on Taobao from 0.01 to -0.36.
Table 1: Negative Log-Likelihood (NLL) comparison across benchmarks (↓is better).
  • Clinical Alignment: When tested against 10 literature-backed clinical pathways leading to Stage III AKI, MOCHA's inferred graphs matched 92.10% of first-order rules on average, and captured major multi-hop rules like Sodium Low $\to$ Anion Gap High $\to$ Phase III 99.39% of the time.

Limitations and Future Work

  • Surrogate history: To keep computation fast, MOCHA approximates the entire historical context using only the latest timestamp of each event type, potentially losing nuance if the frequency or clustering of older events matters.
  • Cubic scaling in event types: Evaluating the matrix exponential for the DAG acyclicity constraint costs $\mathcal{O}(K^3)$ per event, which could become a bottleneck for systems with thousands of distinct event types.
  • Observational scope & theoretical gaps: Causal interpretations rely on strict structural assumptions (e.g., no unmeasured confounders, deferred to Appendix A), and the authors explicitly note that a complete convergence theory for the full dynamic neural TPP requires further mathematical assumptions beyond their current restricted proofs. Future work points toward clinically validating the candidate medical hypotheses surfaced by the model.

Summary updated

Abstract

Modeling event sequences requires understanding when future events will occur and how event types causally influence one another over time. Existing temporal point process (TPP) models typically assume static or first-order dependence structures, which limits their ability to capture the dynamic and multi-order causal mechanisms commonly observed in real-world systems. We propose MOCHA, a Multi-Order Causal Hierarchical Architecture for multivariate TPP that jointly models time-varying causal structure and multi-hop influence propagation in continuous time. MOCHA learns latent dynamic weighted directed acyclic graphs (DAG) over event types, where acyclicity and sparsity constraints promote structurally valid causal graphs. Based on the learned graph, the model decomposes event dynamics into multi-order causal paths, and incorporates both direct influence and indirect propagation into the intensity function. The entire framework is end-to-end differentiable and optimized jointly for event prediction and causal structure discovery. Experiments on seven real-world datasets from different domains show that MOCHA achieves lower negative log-likelihood than the evaluated TPP baselines, while learning dynamic structural patterns consistent with domain knowledge. These results support MOCHA as a framework integrating dynamic causal structure learning with TPP fitting and event prediction.
BibTeX
@inproceedings{cao2026mocha,
  author = {Yunyang Cao and Juekai Lin and Wenhao Li and Bo Jin},
  title = {{MOCHA: Discovering Multi-Order Dynamic Causal Structure in Temporal Point Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=vUoDNsnEOj},
}
Figure