Fast Learning of Multidimensional Hawkes Processes via Frank-Wolfe

Renbo Zhao, Niccolo Dalmasso, Mohsen Ghassemi, Vamsi K. Potluru, Tucker Balch, Manuela Veloso

TL;DR

Fitting multidimensional Hawkes processes with $\ell_1$-regularization is challenging because the maximum likelihood objective lacks Lipschitz-continuous gradients. This paper reformulates the objective into a log-barrier optimization problem over a probability simplex and solves it using an Away-Step Frank-Wolfe (ASFW) algorithm. The resulting method naturally discovers sparse excitation patterns, matches or exceeds the accuracy of existing first-order methods, and runs over an order of magnitude faster than standard C++ implementations.

What Problem Does This Paper Address?

Multidimensional Hawkes processes model sequential, self- and mutually-exciting events—such as financial transactions, disease contagion, or earthquake aftershocks—where an occurrence of one event type alters the probability of subsequent events.

When dealing with many event types, learning the cross-activation matrix requires promoting sparsity (most event types only excite a small subset of others). However, the standard $\ell_1$-regularized negative log-likelihood objective is convex but neither Lipschitz continuous nor does it have Lipschitz gradients on the feasible set. Standard first-order optimization routines struggle with convergence. Existing specialized solvers either require knowing prior bounds on dual variables or, like the popular ADMM-based Hawkes ADM4 algorithm, offer no theoretical guarantees that intermediate or final iterates remain within the feasible parameter domain.

Methods

The authors introduce an optimization reformulation paired with a projection-free algorithm:

  1. Simplex Reformulation: By separating the log-likelihood across dimensions and using an element-wise coordinate scaling ($y = v \cdot z$, where $v > 0$ contains horizon and regularization terms), minimizing the negative log-likelihood is re-cast into: $$\min_{x \in \Delta_q} -\sum_{i=1}^p \ln(\tilde{w}_i^\top x)$$ where $\Delta_q = \{x \in \mathbb{R}^q : x \ge 0, \mathbf{e}^\top x = 1\}$ is the unit simplex. Once an optimal $x^*$ is found, the original parameters $z^*$ are recovered directly via $z^* = p x^* / v$.

  2. Away-Step Frank-Wolfe for Log-Homogeneous Barriers (AFW-LHB): Rather than taking classical Frank-Wolfe steps (which slowly spiral toward simplex boundaries), the algorithm includes away steps. When moving away from a bad vertex with a step size reaching the boundary ($\alpha_k = \bar{\alpha}_k$), the coordinate drops to exactly zero.

  3. Step Size Strategies: The authors adapt AFW using either an exact line search (AFW-LHB-E) or an analytic adaptive step size (AFW-LHB-A) tailored for self-concordant barrier functions.
Standard Objective (Non-Lipschitz, z ≥ 0)
         │
         ▼ (Variable substitution & normalization)
Log-Barrier over Simplex (x ∈ Δ)
         │
         ▼ (Away-Step Frank-Wolfe)
Iteratively zeroes inactive coordinates ──► Exact Sparsity & Fast Convergence

Datasets

The authors evaluate algorithms exclusively on synthetic event sequences generated via Ogata's thinning / persistent cascade simulations:

  • Baseline Experiment: Dimension $m = 3$ event types over a time horizon $t = 10^4$.
  • Scaling Experiments: Higher dimensions $m = 5$ ($t = 5 \times 10^4$) and $m = 10$ ($t = 10^5$), evaluated across three synthetic ground-truth sparsity levels: 30%, 50%, and 70%.
  • No real-world datasets were evaluated in this workshop paper.

Key Insights and Ideas

  • Geometry Drives Sparsity: Classical first-order methods produce small, non-zero weights on truly inactive parameters. In contrast, the away step in Frank-Wolfe explicitly removes active vertices from the active set. Geometrically, this forces the iterate directly onto a lower-dimensional face of the simplex, identifying the true sparsity pattern.
  • Sparsity Accelerates Convergence: Once the algorithm identifies the correct zero-indices, optimization is restricted to a much smaller sub-face, yielding rapid local linear convergence.
  • Python Beats Optimized C++: Even implemented purely in Python, the adaptive Frank-Wolfe algorithm ran significantly faster than the widely used, C++-backed tick library, illustrating that choosing an algorithm well-aligned with the problem geometry trumps low-level language optimization.

Key Results

  • Exact Recovery of Zero Coefficients: In the $m=3$ setting, ASFW variants were the only algorithms to estimate the true zero-valued cross-activation parameter as exactly 0.000. In contrast, tick returned 0.003, while relatively smooth gradient methods (RSGM) returned values between 0.009 and 0.050.
  • Order-of-Magnitude Speedup: For $m=3$, ASFW-LHB-A averaged a runtime of 0.02 ± 0.01 seconds, compared to 0.74 ± 0.74 seconds for tick (Hawkes ADM4)—a ~37× runtime reduction—while achieving identical parameter estimation error ($2.036 \times 10^{-2}$ vs. $2.049 \times 10^{-2}$).
  • Scalability: Across $m \in \{3, 5, 10\}$ and across all tested sparsity levels (30%, 50%, 70%), ASFW-LHB-A and ASFW-LHB-E consistently matched the estimation accuracy of tick while scaling linearly and maintaining a major runtime advantage.

Limitations and Future Work

  • Absence of Real-World Benchmarks: Experiments were conducted entirely on synthetic data with exponential decay kernels; performance on complex real-world point processes (e.g., financial order books or social cascades) remains unverified.
  • Kernel Restriction: The current derivation explicitly uses standard exponential decay kernels $\zeta(t) = \exp(-t)$, meaning adaptation to power-law or non-parametric kernels would require re-deriving the separable barrier formulation.
  • Future Directions: The authors suggest applying the framework to downstream machine learning tasks and studying implications for differentially private Hawkes processes, where faster convergence with fewer optimization passes directly translates to tighter privacy budgets.

Summary updated

BibTeX
@inproceedings{zhao2022fast,
  author = {Renbo Zhao and Niccolo Dalmasso and Mohsen Ghassemi and Vamsi K. Potluru and Tucker Balch and Manuela Veloso},
  title = {{Fast Learning of Multidimensional Hawkes Processes via Frank-Wolfe}},
  booktitle = {SyntheticData4ML @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=nbw3zjN3fu},
}
Figure