Dynamic Hawkes Processes for Discovering Time-evolving Communities' States behind Diffusion Processes

Maya Okawa, Tomoharu Iwata, Yusuke Tanaka, Hiroyuki Toda, Takeshi Kurashima, Hisashi Kashima · DOI

Introduction

Diffusion processes—the spread of information, pathogens, or behaviors through a network—are fundamental to understanding social and biological systems. Whether it is a virus moving between urban centers, a viral meme jumping between subreddits, or a protest movement gaining momentum across international borders, these events are rarely independent. To model these phenomena, researchers frequently employ Hawkes processes, a class of temporal point processes where past events increase the probability of future ones through a mechanism known as self-excitation.

However, traditional Hawkes models suffer from a significant limitation: they assume the "triggering kernel"—the parameters governing how much influence a past event exerts over time—is static. In reality, communities are dynamic. During a pandemic, public awareness and preventive behaviors shift, altering the rate of transmission. On social media, a community’s receptivity to a topic fluctuates based on current trends and fatigue. This paper introduces Dynamic Hawkes Processes (DHP), a framework designed to capture these hidden, time-varying states while maintaining the mathematical efficiency required for large-scale applications.

The Challenge of Non-Stationarity

The primary obstacle in creating dynamic Hawkes models is the trade-off between flexibility and tractability. If one attempts to make the triggering parameters dynamic using complex functions like standard neural networks, the model's likelihood function typically becomes impossible to calculate analytically. Specifically, calculating the likelihood requires computing an integral of the intensity function over time. If this function is too arbitrary, researchers must rely on expensive numerical approximations, which are often too slow for practical training on large datasets.

Proposed Methodology: Dynamic Hawkes Processes (DHP)

DHP bridges the gap between deep learning flexibility and statistical tractability through several key innovations:

1. The Latent Dynamics Function ($f_m(t)$)

For each community or dimension in the system, the model learns a hidden function, $f_m(t)$, representing its current "excitatbility" or state. A high value indicates a community that is highly reactive to new information or events.

2. Time Rescaling and the Reverse Chain Rule

Instead of simply scaling the magnitude of influence, DHP uses the integral of $f_m(t)$ to "stretch" or "shrink" time. When a community is highly engaged, time effectively "speeds up," making the influence of past events feel more immediate and powerful.

To keep the model tractable, the authors use a clever mathematical "reverse chain rule." By designing the triggering kernel as a composite function involving the integral of the latent dynamics, they can use the substitution rule to find a closed-form solution for the integral. This allows the model to be trained using standard maximum likelihood estimation (MLE) without falling into a computational bottleneck.

3. Mixture of Monotonic Neural Networks

To represent $f_m(t)$, the authors utilize a mixture of neural networks designed to be strictly monotonic. This architectural choice ensures that the resulting intensity function remains non-negative—a fundamental requirement for any valid point process—while still being expressive enough to capture complex temporal patterns.

Experimental Evaluation

The authors evaluated DHP against five baselines, including standard Hawkes processes and the Recurrent Marked Temporal Point Process (RMTPP), across four diverse real-world datasets:

  • Reddit: Hyperlinks between 25 subreddits over a six-month period.
  • News (GDELT): Approximately 20,000 COVID-19 related articles from 40 news outlets.
  • Protest (ACLED): Over 20,000 demonstration events across 35 countries.
  • Crime: 30,000 reported crimes across 13 areas in Chicago.

Quantitative Results

DHP consistently outperformed all baselines across all datasets. In terms of Negative Log-Likelihood (NLL) and Mean Absolute Percentage Error (MAPE), DHP showed significant improvements. For example, on the Reddit dataset, DHP achieved an NLL of -6.447, compared to the standard Hawkes process's -5.696, indicating a much better fit to the underlying event patterns.

Qualitative Insights

Beyond predictive accuracy, DHP provides interpretability by uncovering the underlying social reality. In the Protest dataset, the learned latent functions ($f_m(t)$) successfully captured the sharp decline in protest activity in China following the initial COVID-19 lockdowns and their subsequent return to moderate levels as restrictions eased. This demonstrates that the model "understands" the shifting context of the data without being explicitly told about external events.

Discussion and Future Work

A core insight of this work is that in many diffusion processes, the strength of an influence and the speed at which it decays are intrinsically linked. DHP captures this by using the same latent function to scale both factors.

However, the model currently assumes that latent dynamics are tied to individual communities. Future extensions could explore pairwise dynamics, where the relationship between two specific communities evolves (e.g., two countries becoming more politically aligned). Additionally, while the coupling of magnitude and speed works for many scenarios like disease spread, future iterations could investigate architectures where these two factors evolve independently to capture even more complex social phenomena.

By combining the expressive power of deep learning with the elegant, exact solutions of classical statistics, DHP offers a robust new tool for understanding the "mood" and evolving states of complex, interconnected communities.

Summary updated

BibTeX
@inproceedings{okawa2021dynamic,
  author = {Maya Okawa and Tomoharu Iwata and Yusuke Tanaka and Hiroyuki Toda and Takeshi Kurashima and Hisashi Kashima},
  title = {{Dynamic Hawkes Processes for Discovering Time-evolving Communities' States behind Diffusion Processes}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2021},
  doi = {10.1145/3447548.3467248},
}
Figure