TL;DR
The paper introduces the Dirichlet Mixture model of Hawkes Processes (DMHP), a novel model-based framework for clustering asynchronous, continuous-time event sequences. By integrating Hawkes processes with a Dirichlet prior and optimizing the inference via an open-loop control strategy, DMHP directly learns cluster structures without relying on error-prone, two-stage feature extraction pipelines.
What Problem Does This Paper Address?
Clustering sequential data is a cornerstone of modern data science, with applications ranging from patient health tracking to user recommendation systems. However, real-world event sequences—like a patient moving between hospital care units or a user watching IPTV programs—are inherently irregular and asynchronous, making them difficult to represent.
Traditional clustering methods typically discretize continuous time into fixed bins or use a two-stage approach: first extracting parametric/nonparametric features from the sequences, and then applying a standard clustering algorithm like a Gaussian Mixture Model. This two-stage pipeline suffers from two major flaws:
- High Overfitting Risk: Modeling each sequence individually requires a massive number of parameters.
- Sensitivity to Feature Quality: The clustering step is entirely decoupled from the feature extraction step, meaning poor feature representations lead to chaotic and over-segmented clusters.
The authors tackle this challenge by proposing an end-to-end, model-based clustering approach that treats the entire sequence as a realization of a cluster-specific point process.
Methods
The authors introduce DMHP (Dirichlet Mixture model of Hawkes Processes). The core components of their methodology include:
- Generative Mixture Model: Each event sequence is assumed to be generated by one of $K$ possible clusters. Each cluster is modeled as a multi-dimensional Hawkes process—a self- and mutually-triggering point process where past events influence the probability of future ones. The cluster assignments are governed by a Dirichlet prior.
- Basis Function Representation: To keep the model flexible yet tractable, the impact functions (which dictate how past events trigger future ones) are represented using a linear combination of Gaussian basis functions.
- Nested Variational EM Framework: Learning the model parameters requires a nested Expectation-Maximization (EM) algorithm. The outer loop updates cluster responsibilities (E-step) and parameters (M-step), while the inner loop iteratively optimizes the Hawkes process parameters.
- Open-Loop Control for Iteration Allocation: A key algorithmic innovation is the use of open-loop control theory to adaptively allocate the number of inner EM iterations. Instead of fixing the number of inner loops, the algorithm dynamically decides whether to continue optimizing parameters or to jump back and update cluster responsibilities, significantly accelerating convergence.
- Local Identifiability Proof: The authors provide a mathematical proof demonstrating that their mixture model is locally identifiable, ensuring that the learned parameters are unique and well-defined.
Datasets
The model was evaluated on both synthetic benchmarks and two large-scale, real-world datasets:
- Synthetic Data: Sequences generated via Hawkes processes using both sine-like and piecewise constant impact functions to test robustness against model misspecification.
- ICU Patient Flow Data (MIMIC II): Contains the transition records of 30,308 patients moving between various intensive care units.
- IPTV User Data: Contains the viewing logs of 7,100 users across 16 different TV program categories over a continuous time domain.
Key Insights and Ideas
- End-to-End Joint Learning: By optimizing the clustering assignments and the Hawkes process parameters simultaneously, DMHP forces the model to learn features that are explicitly useful for discrimination, leading to cleaner cluster definitions.
- Dynamic Iteration Allocation: Frame optimization as a control problem. In the early stages of training, cluster responsibilities are highly uncertain. Spending too many inner iterations optimizing parameters based on wrong cluster assignments leads to bad local optima. The open-loop control strategy naturally favors fewer inner iterations early on, updating responsibilities more frequently when it matters most.
- Robustness to Misspecification: Even when evaluated on data generated by piecewise constant functions (which cannot be perfectly matched by DMHP's Gaussian basis functions), DMHP still drastically outperformed feature-based alternatives, proving its structural robustness.
Key Results
- Clustering Purity: On synthetic data with 5 clusters, DMHP achieved a clustering purity of 0.9055 (sine-like) and 0.6774 (piecewise constant), vastly outperforming its closest competitor, MMHP+DPGMM, which scored 0.4656 and 0.3245 respectively.
- Real-World Consistency: On the ICU and IPTV datasets, DMHP achieved the highest clustering consistency scores (0.3778 and 0.2004), proving that its cluster assignments remain stable across random data splits.
- Interpretability: While baseline methods over-segmented the ICU data into over 20 chaotic clusters, DMHP discovered a compact set of 6 highly structured clusters. The resulting infectivity matrices clearly map out distinct, sparse patient transition patterns that are easily interpretable by medical administrators.
Limitations and Future Work
While DMHP demonstrates excellent performance, the authors note a few areas for improvement:
- Cluster Number Estimation: The current method relies on heuristic MCMC merge/split moves to adjust the number of clusters ($K$). The authors suggest exploring Determinantal Point Processes (DPP) as a prior to more elegantly estimate $K$.
- Infinite Mixtures: The framework could be extended into a true infinite mixture model ($K \to \infty$) using advanced Bayesian nonparametric techniques.
Summary updated