Continuous-time edge modelling using non-parametric point processes

Xuhui Fan, Bin Li, Feng Zhou, Scott A. Sisson

In our hyper-connected world, data isn't just about who knows whom; it’s about the timing of their interactions. Whether it's a flurry of emails, a back-and-forth on a message board, or a sequence of trades, these "continuous-time edges" carry deep patterns of human behavior. To capture these rhythms without getting bogged down in rigid math or slow computations, researchers have introduced Continuous-Time Edge Models (CTEM), a family of non-parametric point processes that use sigmoidal Gaussian Processes to model how social interactions evolve.

By replacing rigid parametric assumptions with flexible curves and implementing a fast variational inference method, CTEM achieves state-of-the-art predictive performance on large-scale interaction datasets.

The Challenge of Modeling Interaction Over Time

When modeling interactions (edges) between nodes in a network over time, a key phenomenon is reciprocity: if Alice emails Bob, Bob is likely to email Alice back shortly after. The standard tool for this is the Hawkes process, which combines a "background rate" (how often they talk anyway) with an "excitation function" (the temporary boost in probability caused by a recent message).

However, existing Hawkes models have two major flaws:

  1. Inflexibility: They usually assume the background rate is constant and the excitation follows a simple, fixed mathematical shape (like exponential decay). In reality, people have daily or weekly cycles, and response patterns can be highly complex.
  2. Scalability: Most flexible versions of these models rely on Markov Chain Monte Carlo (MCMC) sampling, which is notoriously slow and struggles to scale to the thousands or millions of edges found in modern social networks.

Methods: Continuous-Time Edge Models (CTEM)

To bridge this gap, the researchers developed three variants of CTEM:

  • NP-PP (Nodal pair-specific Poisson process): Focuses only on time-varying background rates.
  • NP-HP (Nodal pair-specific Hawkes process): Adds the ability to model triggered responses (reciprocity).
  • NP-HP-C (Hawkes process with edge clustering): A variation where edges are grouped into "latent labels." Instead of every pair of people having a unique response curve, they share a set of common behavioral patterns (e.g., "urgent reply" vs. "casual follow-up").
Illustration of the continuous-time edge model showing event influences and intensity functions over time.

The Secret Sauce: Sigmoidal Gaussian Processes (GPs) Instead of picking a fixed formula for the rates, the authors use Gaussian Processes. To ensure the probability rate is always positive, they "squash" the GP through a sigmoid function. This allows the model to learn any shape—capturing lunch-break lulls, weekend surges, or complex reply delays automatically from the data.

Fast Inference To avoid the "MCMC crawl," the researchers utilized a Pólya-Gamma augmentation trick combined with Sparse Gaussian Processes. This turns a difficult non-conjugate problem into a much faster variational inference (VI) problem, making the model linear in the number of edges and suitable for large datasets.

Key Insights and Results

The models were evaluated on four real-world datasets from the Stanford Large Social Network collection: "instant-response" datasets (Email, College) and "slow-response" datasets (Overflow, Ubuntu).

  • Capturing Periodicity: The non-parametric approach naturally discovered weekly and daily cycles in the data (e.g., the "weekend effect" in email) without being explicitly programmed to look for them.
  • The Power of Clustering: The NP-HP-C model performed best. By allowing different edges to share response functions through clustering, the model avoids overfitting to specific pairs of people while still capturing diverse interaction styles.
  • Reciprocity Matters: Models that ignored the "triggered" nature of edges (like the NP-PP) tended to overestimate background rates because they tried to explain every reply as a random coincidence.
Table comparing Testing Log-Likelihood and AUC across models and datasets, highlighting NP-HP-C's superior performance.

The CTEM models, particularly the clustering version (NP-HP-C), outperformed several strong benchmarks, including Hawkes-IRM and HawkesNetOC. On the Email dataset, NP-HP-C achieved an AUC of 85.29, significantly higher than the 77.46 of a standard Poisson-IRM. The models showed a clear advantage in fitting the "instant-response" data, where the flexibility of the GP could capture the rapid burstiness of human conversation. Furthermore, the variational approach allowed the team to process 80,000 edges in about 6 hours—a task that would be computationally prohibitive for traditional non-parametric MCMC methods.

Limitations and Future Work

While the models excel at "instant" interactions, they were less dominant on "slow-response" datasets like Stack Overflow. In those cases, the patterns are so sparse that simple parametric models (like a basic exponential decay) are often "good enough," and the extra complexity of a Gaussian Process provides diminishing returns.

Future work could involve exploring different GP kernels to better handle these long-tail distributions or scaling the architecture even further to handle millions of nodes in real-time streaming environments.

Summary updated

BibTeX
@inproceedings{fan2021continuous,
  author = {Xuhui Fan and Bin Li and Feng Zhou and Scott A. Sisson},
  title = {{Continuous-time edge modelling using non-parametric point processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure