Negative-Binomial Randomized Gamma Markov Processes for Heterogeneous Overdispersed Count Time Series

Rui Huang, Sikun Yang, Heinz KoepplarXiv 2024 · DOI

Introduction

Count-valued time series data—non-negative integer observations—are ubiquitous in modern data science, appearing in contexts ranging from social media trends to genomic sequencing. Modeling these sequences is challenging because they are frequently "bursty" (exhibiting sudden spikes) and "overdispersed" (where variance significantly exceeds the mean).

Existing frameworks, such as Poisson Gamma Dynamical Systems (PGDS), often struggle with heterogeneous overdispersion, where different latent processes within the same dataset exhibit varying levels of volatility. Furthermore, many current models utilize "black box" transition matrices, making it difficult to interpret the underlying drivers of system evolution. This paper introduces the Negative-Binomial Randomized Gamma Markov Process (NBRGMP) to address these limitations.

Methodology

The NBRGMP framework innovates by replacing standard Poisson-based latent state transitions with a Negative-Binomial (NB) distribution. This shift allows for the introduction of a variance control parameter, $\psi$, which enables the model to decouple variance from the mean. This flexibility allows the model to adapt to both sparse counts and massive bursts without sacrificing predictive accuracy.

The hierarchical graphical model of NBRGMP, showing the relationships between latent states (h), parameters (theta, lambda), and observations (n).

To enhance interpretability, the authors incorporate Relational Gamma Processes. These transitions can be factor-structured or graph-structured; the latter learns a sparse binary mask ($Z$) to identify exactly which latent dimensions influence others. Inference is performed using an efficient Gibbs sampling algorithm that leverages Negative-Binomial data augmentation strategies to handle non-conjugate math.

Experimental Setup

The model was evaluated on four diverse real-world datasets and synthetic tests:

  • ICEWS: 6,000 pairwise interactions between 233 countries.
  • Last.fm: Listening history for over 7,000 music artists.
  • EQDB: Over 120,000 earthquake reports across the US (1928–1985).
  • COVID-19: Daily US death tolls (March 2020 – March 2021).
  • Synthetic Data: Generated using Zero-Inflated Negative-Binomial (ZINB) models to test performance under varying sparsity and overdispersion.

Key Insights and Results

Variance Control and Dynamics

The transition to a Negative-Binomial structure creates a "Randomized Gamma Distribution of the first type" (RG1). The parameter $\psi$ serves as a critical lever for controlling the growth, decay, and volatility of the latent processes. As illustrated in Figure 2, different values of $\psi$ allow the model to capture a wide spectrum of temporal behaviors.

Simulated time series showing how the overdispersion parameter $\psi$ controls the variance and trend (growth/decay) of the latent processes.

Performance and Interpretability

  • Superior Accuracy: NBRGDS consistently achieved the lowest Mean Absolute Error (MAE) and Mean Relative Error (MRE) across all datasets for both data imputation and forecasting.
  • Faster Convergence: The NB structure facilitated faster solutions; NBRGDS typically converged in ~100 iterations, whereas standard PGDS required nearly 1,000.
  • Latent Communities: The graph-structured version (GS-NBRGDS) revealed "communities" of variables. In the ICEWS data, it automatically grouped countries that frequently interact, demonstrating that most latent processes are independent but occasionally interact with specific others.

Conclusion

The NBRGMP provides a robust framework for modeling complex, bursty count data with heterogeneous overdispersion. By moving beyond Poisson-based transitions, the model gains both predictive power and interpretability. Future research directions include developing time-varying graph structures to model non-stationary sequences and integrating NBRGMP layers into deep hierarchical networks.

Summary updated

BibTeX
@misc{huang2024negative,
  author = {Rui Huang and Sikun Yang and Heinz Koeppl},
  title = {{Negative-Binomial Randomized Gamma Markov Processes for Heterogeneous Overdispersed Count Time Series}},
  year = {2024},
  eprint = {2402.18995},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.18995},
}
Figure